@charset "UTF-8";

/* =========================================================
   【Leafull】Standard CSS (抽出・完全整理版)
========================================================= */

/* 1. 基本設定・カラー定義 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }

/* Lenis 最新版安定化（v1.3.x） */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }
body {
    background: #ffffff; color: #111;
    font-family: "Shippori Mincho", serif;
    overflow-x: hidden; line-height: 1.8; letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
:root {
    --deep: #061409;
    --green: #4A8E51;
    --ash: #e8ede8;
    --ink: #111;
    --gray: #666;
}
.inner { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; }
a { text-decoration: none; }

/* 2. REVEAL ANIMATIONS
   ★GPU最適化版：transition:allを廃止し opacity+transform のみをアニメート
   ★will-change・backface-visibility でコンポジタースレッドに昇格
========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    /* transition:all→個別指定に変更（layoutを巻き込まない） */
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.reveal.is-active {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}
.rev-fade {
    opacity: 0;
    transform: translateY(36px);
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.rev-fade.is-active { opacity: 1; transform: translateY(0) translateZ(0); }

.rev-scale {
    opacity: 0;
    transform: scale(0.95) translateZ(0);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.rev-scale.is-active { opacity: 1; transform: scale(1) translateZ(0); }

.d-1 { transition-delay: 0.12s; }
.d-2 { transition-delay: 0.24s; }
.d-3 { transition-delay: 0.36s; }

/* 3. HEADER */
header {
    width: 100%; position: fixed; top: 0; z-index: 9999;
    padding: 15px 0; background: transparent; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
header.lit { background: rgba(255,255,255,0.98); border-bottom: 1px solid #f0f0f0; padding: 12px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.03); backdrop-filter: blur(10px); }

.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo-text a { font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 900; color: #fff; letter-spacing: 0.15em; transition: 0.3s; }
.logo-text a span { color: var(--green); }
header.lit .logo-text a { color: var(--ink); }

.nav-wrap { display: flex; align-items: center; gap: 40px; }
.nav-list { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-list > li { position: relative; padding: 15px 0; }
.nav-list a { font-family: "Shippori Mincho", serif; font-size: 13px; color: #fff; font-weight: 700; transition: 0.3s; }
header.lit .nav-list a { color: var(--ink); }
.nav-list > li > a:hover { color: var(--green); }

.dropdown { 
    position: absolute; top: 100%; left: 0; 
    background: rgba(6, 20, 9, 0.85);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1); 
    box-shadow: 0 15px 40px rgba(0,0,0,0.2); min-width: 340px; list-style: none; 
    opacity: 0; visibility: hidden; transform: translateY(15px); transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); 
    padding: 15px 0; z-index: 10000; 
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { padding: 0; }
.dropdown a { display: block; padding: 12px 30px; font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.8) !important; transition: 0.3s; }
.dropdown a:hover { background: rgba(255,255,255,0.05); color: #fff !important; padding-left: 35px; }

header.lit .dropdown { background: rgba(255, 255, 255, 0.98); border: 1px solid #eee; box-shadow: 0 15px 40px rgba(0,0,0,0.06); }
header.lit .dropdown a { color: #444 !important; }
header.lit .dropdown a:hover { background: #fcfcfc; color: var(--green) !important; }

/* ライトヘッダー（会社概要・サービス等）用：最初から白背景のヘッダー */
header.header-light { background: rgba(255,255,255,0.98) !important; border-bottom: 1px solid #f0f0f0 !important; }
header.header-light .logo-text a { color: var(--ink) !important; }
header.header-light .nav-list a { color: var(--ink) !important; }
header.header-light .dropdown { background: rgba(255, 255, 255, 0.98) !important; border: 1px solid #eee !important; box-shadow: 0 15px 40px rgba(0,0,0,0.06) !important; }
header.header-light .dropdown a { color: #444 !important; }
header.header-light .dropdown a:hover { background: #fcfcfc !important; color: var(--green) !important; }
header.header-light .hamburger span { background: #111 !important; }

.header-cta {
    font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
    background: var(--green); color: #fff !important; padding: 12px 24px; border-radius: 2px; transition: 0.3s;
}
.header-cta:hover { background: #3a7540; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(74, 142, 81, 0.3); }

/* 4. HERO */
.hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; justify-content: center; background: var(--deep); overflow: hidden; }
.hero-bg-wrap { position: absolute; top: -10%; left: 0; width: 100%; height: 120%; z-index: 1; will-change: transform; transform: translateZ(0); backface-visibility: hidden; }
.hero-bg {
    width: 100%; height: 100%; background-color: var(--deep);
    /* パスを外部CSS用に修正済み */
    background-image: url('../images/top/hero_bg.jpg');
    background-position: center; background-size: cover; background-repeat: no-repeat;
}
.hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0.72; filter: saturate(0.7) brightness(0.85); }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(6,20,9,0.88) 0%, rgba(6,20,9,0.5) 55%, rgba(6,20,9,0.2) 100%), linear-gradient(to bottom, rgba(6,20,9,0.2) 0%, rgba(6,20,9,0.5) 100%);
    z-index: 2;
}
.hero-content { position: relative; z-index: 3; width: 100%; max-width: 1280px; padding: 0 40px; will-change: transform; }
.hero-label { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--green); font-weight: 900; letter-spacing: 0.5em; margin-bottom: 20px; display: block; opacity: 0; transform: translateY(20px); animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards; }
.hero-title { font-size: clamp(32px, 5vw, 68px); font-weight: 700; line-height: 1.35; color: #fff; letter-spacing: 0.1em; margin-bottom: 30px; text-shadow: 0 10px 30px rgba(0,0,0,0.5); opacity: 0; transform: translateY(30px); animation: heroFadeUp 1.0s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards; }
.hero-desc { font-size: clamp(14px, 2vw, 18px); color: rgba(255,255,255,0.8); line-height: 2; max-width: 700px; margin-bottom: 50px; font-feature-settings: "palt"; opacity: 0; transform: translateY(20px); animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards; }
.hero-btns { opacity: 0; transform: translateY(20px); animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.8s forwards; }
@keyframes heroFadeUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }

.hero-btn { display: inline-flex; align-items: center; gap: 15px; background: #fff; color: var(--deep); padding: 18px 40px; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); border-radius: 2px; }
.hero-btn:hover { background: var(--green); color: #fff; transform: translateX(10px); box-shadow: 0 10px 30px rgba(74, 142, 81, 0.3); }

/* 5. INTRO */
section { padding: 120px 0; }
.intro-section { background: #fff; text-align: center; }
.sec-label { font-family: 'Inter', sans-serif; font-size: 11px; color: var(--green); font-weight: 900; letter-spacing: 0.5em; margin-bottom: 20px; display: block; }
.sec-title { font-size: clamp(26px, 4vw, 42px); font-weight: 700; color: var(--ink); line-height: 1.5; margin-bottom: 40px; }
.intro-text { font-size: clamp(15px, 2vw, 18px); color: var(--gray); line-height: 2.2; max-width: 800px; margin: 0 auto; font-feature-settings: "palt"; }
.intro-text strong { color: var(--deep); font-weight: 700; border-bottom: 2px solid rgba(74, 142, 81, 0.3); }

/* 6. SERVICES */
.services-section { background: var(--ash); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.service-card { background: #fff; padding: 40px 30px; position: relative; overflow: hidden; border: 1px solid transparent; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); color: inherit; text-decoration: none; display: block; cursor: pointer; }
.service-card:hover { border-color: var(--green); transform: translateY(-15px); box-shadow: 0 30px 60px rgba(0,0,0,0.08); }
.svc-img-wrap { width: 100%; height: 180px; margin-bottom: 30px; overflow: hidden; border-radius: 2px; }
.svc-img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.service-card:hover .svc-img { transform: scale(1.05); }
.svc-num { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--green); font-weight: 900; margin-bottom: 15px; display: block; }
.svc-title { font-size: 22px; font-weight: 700; margin-bottom: 15px; color: var(--ink); line-height: 1.4; min-height: 62px; display: flex; align-items: flex-start; }
.svc-desc { font-size: 14px; color: var(--gray); line-height: 1.9; min-height: 80px; }
.svc-link { display: inline-block; margin-top: 20px; font-size: 13px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px; transition: 0.3s; }
.service-card:hover .svc-link { color: var(--green); border-color: var(--green); }

/* 7. VALUES */
.values-section { background: #fff; }
.values-wrap { display: flex; align-items: center; gap: 80px; margin-top: 60px; }
.values-img-wrap { flex: 1; height: 500px; overflow: hidden; border-radius: 2px; }
.values-img { width: 100%; height: 100%; object-fit: cover; }
.values-list { flex: 1; display: flex; flex-direction: column; gap: 40px; }
.value-item { border-left: 2px solid #eee; padding-left: 30px; transition: 0.3s; }
.value-item:hover { border-color: var(--green); }
.v-ttl { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.v-txt { font-size: 15px; color: var(--gray); line-height: 1.9; }

/* 8. BOTTOM CTA */
.cta-section { background: var(--deep); color: #fff; text-align: center; padding: 150px 0; transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.cta-title { font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin-bottom: 20px; transition: color 0.5s; }
.cta-desc { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 40px; line-height: 2; transition: color 0.5s; }
.cta-btn-lg { display: inline-block; padding: 22px 60px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.15em; background: var(--green); color: #fff; transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); border: 1px solid var(--green); }
.cta-btn-lg:hover { transform: scale(1.05); box-shadow: 0 15px 30px rgba(74, 142, 81, 0.4); }
.cta-section:hover { background: #fff; }
.cta-section:hover .cta-title { color: var(--ink); }
.cta-section:hover .cta-desc { color: var(--gray); }
.cta-section:hover .cta-btn-lg { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 9. FOOTER */
footer { background: var(--deep); color: #fff; padding: 80px 0 40px; border-top: 1px solid rgba(255, 255, 255, 0.05); } 
.footer-flex { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 60px; gap: 60px; }
.f-company { flex: 1; max-width: 400px; } 
.f-name { font-family: 'Inter', sans-serif; font-size: 28px; font-weight: 900; margin-bottom: 20px; letter-spacing: 0.1em; }
.f-name a { color: #fff; text-decoration: none; }
.f-summary { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 2; margin-bottom: 30px; font-feature-settings: "palt"; }
.f-address { font-style: normal; color: rgba(255,255,255,0.8); font-size: 13px; line-height: 2; font-weight: 700; letter-spacing: 0.1em; }
.f-sitemap { flex: 2; display: flex; justify-content: space-between; gap: 40px; }
.f-nav-col h5 { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--green); letter-spacing: 0.2em; margin-bottom: 20px; font-weight: 700; }
.f-nav-col ul { list-style: none; }
.f-nav-col li { margin-bottom: 12px; }
.f-nav-col a { font-family: "Shippori Mincho", serif; color: rgba(255,255,255,0.6); font-size: 13px; transition: 0.3s; }
.f-nav-col a:hover { color: #fff; }
.copyright { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; text-align: center; font-family: 'Inter', sans-serif; font-size: 10px; color: rgba(255,255,255,0.4); letter-spacing: 0.2em; }

@media screen and (max-width: 1024px) {
    .nav-list { display: none; }
    .nav-wrap { gap: 12px; }
    .services-grid { grid-template-columns: 1fr; }
    .values-wrap { flex-direction: column; }
    .values-img-wrap { width: 100%; height: 300px; }
    .footer-flex, .f-sitemap { flex-direction: column; width: 100%; gap: 40px; }
    .header-cta { display: none !important; }
    .hamburger { display: flex !important; }
    .hamburger span { background: #fff !important; }
    header.lit .hamburger span { background: #111 !important; }
    .sp-nav { display: flex !important; }
}

/* ===== ハンバーガーメニュー ===== */
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; width: 28px; padding: 4px 0; background: none; border: none; z-index: 10000; position: relative; }
.hamburger span { display: block; width: 100%; height: 2px; background: #fff; transition: 0.4s cubic-bezier(0.2, 1, 0.2, 1); transform-origin: center; }
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.sp-nav { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: #fff; z-index: 9998; flex-direction: column; padding: 90px 32px 60px; overflow-y: auto; opacity: 0; transform: translateY(-8px); transition: opacity 0.35s ease, transform 0.35s ease; pointer-events: none; }
.sp-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: all; }
.sp-nav-list { list-style: none; margin-bottom: 40px; }
.sp-nav-list > li { border-bottom: 1px solid #eee; }
.sp-nav-list > li > a { display: block; padding: 18px 0; font-family: "Shippori Mincho", serif; font-size: 17px; font-weight: 700; color: #111; text-decoration: none; letter-spacing: 0.08em; transition: color 0.3s; }
.sp-nav-list > li > a:hover { color: #4A8E51; }
.sp-nav-sub { list-style: none; padding: 0 0 14px 16px; }
.sp-nav-sub li { border: none; }
.sp-nav-sub a { display: block; padding: 10px 0; font-family: "Shippori Mincho", serif; font-size: 13px; font-weight: 500; color: #666; text-decoration: none; transition: 0.3s; }
.sp-nav-sub a:hover { color: #4A8E51; }
.sp-nav-cta { display: block; background: #4A8E51; color: #fff; text-align: center; padding: 18px; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.15em; text-decoration: none; transition: 0.3s; }
/* ハンバーガー追加スタイル */
.header-dark .hamburger span { background: #fff; }
.sp-nav-cta:hover { background: #3a7540; }

/* =========================================================
   【company】会社概要ページ固有スタイル
========================================================= */

/* Lenis安定化 */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* HERO */
.company-hero {
    position: relative; height: 100vh; min-height: 600px;
    background: var(--deep); overflow: hidden;
    animation: heroBgShift 3.5s cubic-bezier(0.25, 1, 0.4, 1) forwards;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
@keyframes heroBgShift { 0%, 30% { background-color: var(--deep); } 75%, 100% { background-color: #ffffff; } }

.hero-rings { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 1; animation: ringsOut 3.5s forwards; }
@keyframes ringsOut { 0%, 30% { opacity: 1; } 75%, 100% { opacity: 0; } }
.hero-rings svg { width: 100vmax; height: 100vmax; position: absolute; }
.ring { fill: none; stroke: rgba(74, 142, 81, 0.55); stroke-width: 1.5; animation: drawRing 4s both; }
.ring-thin { fill: none; stroke: rgba(74, 142, 81, 0.25); stroke-width: 0.8; animation: drawRing 4s both; }
.ring-glow { fill: none; stroke: rgba(74, 142, 81, 0.15); stroke-width: 6; animation: drawRing 4s both; filter: blur(4px); }
@keyframes drawRing { from { stroke-dashoffset: 3000; } to { stroke-dashoffset: 0; } }
.ring:nth-child(1) { animation-delay: 0s; }
.ring:nth-child(2) { animation-delay: 0.2s; }
.ring-thin:nth-child(3) { animation-delay: 0.4s; }
.ring-thin:nth-child(4) { animation-delay: 0.1s; }
.ring-glow:nth-child(5) { animation-delay: 0s; }
.ring-glow:nth-child(6) { animation-delay: 0.2s; }

.hero-inner-wrap {
    position: relative; height: 100%; width: 100%; max-width: 1280px; margin: 0 auto;
    z-index: 10; padding: 0 40px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.hero-text-mover {
    width: auto; max-width: 100%; text-align: center;
    animation: scaleUp 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes scaleUp {
    0% { opacity: 0; transform: scale(0.9); filter: blur(10px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); }
}
.hero-text-inner { text-align: center; }

.company-hero .hero-label {
    display: block; margin-bottom: 24px; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 900; color: var(--green); letter-spacing: 0.5em;
    opacity: 0; transform: translateY(20px); animation: smoothReveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s forwards;
}
.company-hero .hero-title {
    font-size: clamp(32px, 5vw, 72px); font-weight: 700; line-height: 1.36; letter-spacing: 0.08em; color: #ffffff;
    opacity: 0; transform: translateY(30px);
    animation: smoothReveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards,
               heroColorShift 3.5s cubic-bezier(0.25, 1, 0.4, 1) forwards;
    will-change: transform, opacity, color;
    word-break: keep-all; overflow-wrap: break-word;
    text-shadow: none;
}
.company-hero .hero-title em { font-style: normal; color: var(--green); }
@keyframes smoothReveal { to { opacity: 1; transform: translateY(0); } }
@keyframes heroColorShift { 0%, 30% { color: #ffffff; } 75%, 100% { color: var(--ink); } }

.hero-sub {
    font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 400;
    letter-spacing: 0.4em; line-height: 2; margin-top: 32px;
    opacity: 0; transform: translateY(10px);
    animation: smoothReveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 1.8s forwards,
               heroSubColorShift 2.2s cubic-bezier(0.25, 1, 0.4, 1) forwards;
}
@keyframes heroSubColorShift { 0%, 50% { color: rgba(255,255,255,0.6); } 85%, 100% { color: #888888; } }

.hero-scroll {
    position: absolute; bottom: 48px;
    left: 0; right: 0; margin: 0 auto;
    width: fit-content;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    opacity: 0; animation: smoothReveal 0.8s ease 2.0s forwards;
    z-index: 10;
}
.hero-scroll span {
    font-family: 'Inter', sans-serif; font-size: 9px; font-weight: 700;
    letter-spacing: 0.5em; padding-left: 0.5em;
    animation: heroScrollColorShift 2.2s cubic-bezier(0.25, 1, 0.4, 1) forwards;
}
@keyframes heroScrollColorShift { 0%, 50% { color: rgba(255,255,255,0.4); } 85%, 100% { color: #aaaaaa; } }
.hero-scroll-line {
    width: 1px; height: 48px;
    background: linear-gradient(to bottom, transparent, currentColor);
    animation: heroScrollColorShift 2.2s cubic-bezier(0.25, 1, 0.4, 1) forwards,
               scrollPulse 2s ease-in-out 2.2s infinite;
}
@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.6); opacity: 0.4; }
}

/* STORY */
.story-section { padding: 180px 0 !important; background: #f9faf9; }
.story-header { text-align: center; margin-bottom: 120px; }
.editorial-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 80px; align-items: start; position: relative; }
.story-sticky-col { position: sticky; top: 160px; }
.sticky-num {
    font-family: 'Inter', sans-serif; font-size: clamp(100px, 12vw, 180px); font-weight: 900; line-height: 0.8;
    color: transparent; -webkit-text-stroke: 2px rgba(74, 142, 81, 0.5); margin-bottom: 20px; transition: all 0.4s ease;
}
.sticky-num.is-active { color: rgba(74, 142, 81, 0.15); -webkit-text-stroke: 2px var(--green); }
.sticky-title { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.8; letter-spacing: 0.05em; transition: 0.4s ease; }
.story-scroll-col { display: flex; flex-direction: column; gap: 150px; }
.story-block { position: relative; padding-bottom: 60px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.story-block:last-child { border-bottom: none; padding-bottom: 0; }
.story-img-wrap { width: 100%; height: 400px; margin-bottom: 40px; overflow: hidden; background: #000; border-radius: 2px; }
.story-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.1); transition: transform 2s ease, filter 1.2s ease; }
.story-block.is-active .story-img { filter: grayscale(0%) contrast(1); }
.story-block:hover .story-img { transform: scale(1.05); }
.story-block-title { font-size: clamp(24px, 3vw, 36px); font-weight: 700; color: var(--ink); margin-bottom: 25px; line-height: 1.4; }
.story-block-text { font-size: 16px; color: var(--gray); line-height: 2.2; text-align: justify; font-feature-settings: "palt"; max-width: 700px; }

/* PHILOSOPHY */
.philosophy-section {
    position: relative; padding: 200px 0 !important;
    background: var(--deep); color: #fff; text-align: center; overflow: hidden;
}
.phil-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 120%; z-index: 1;
    background: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    opacity: 0.15; will-change: transform;
}
.phil-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.phil-quote { font-size: clamp(22px, 3vw, 40px); font-weight: 700; line-height: 1.8; margin-bottom: 60px; letter-spacing: 0.08em; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.phil-quote em { font-style: normal; color: var(--green); border-bottom: 1px solid var(--green); }
.phil-text { font-size: 16px; line-height: 2.4; color: rgba(255,255,255,0.7); margin-bottom: 60px; text-align: justify; font-feature-settings: "palt"; }
.phil-author { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; }
.phil-name { font-size: 24px; font-weight: 700; margin-bottom: 5px; letter-spacing: 0.1em; color: #fff; }
.phil-role { font-family: 'Inter', sans-serif; font-size: 10px; color: var(--green); letter-spacing: 0.3em; font-weight: 700; }

/* COMPANY INFO */
.info-section { padding: 160px 0 !important; background: #ffffff; }
.info-wrap { max-width: 1000px; margin: 0 auto; border-top: 2px solid var(--ink); }
.info-row { display: grid; grid-template-columns: 280px 1fr; border-bottom: 1px solid #eee; padding: 40px 0; align-items: start; }
.info-key { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 900; color: var(--gray); letter-spacing: 0.3em; }
.info-val { font-size: 16px; color: var(--ink); font-weight: 500; line-height: 2; }

/* CTA (会社概要用：白背景・テキストリンク型) */
.cta-section-light { padding: 0 0 160px !important; background: #ffffff; text-align: center; }
.cta-btn { display: inline-flex; align-items: center; gap: 20px; color: var(--green); font-weight: 700; border-bottom: 1px solid rgba(74,142,81,0.3); padding-bottom: 10px; transition: 0.3s; font-size: 14px; letter-spacing: 0.1em; }
.cta-btn:hover { transform: translateX(10px); border-bottom-color: var(--green); }

/* レスポンシブ（会社概要固有） */
@media screen and (max-width: 1024px) {
    .hero-inner-wrap { align-items: center; padding: 0 24px; }
    .hero-text-mover { text-align: center; animation: none; }
    .hero-text-inner { text-align: center !important; }
    .hero-scroll {
        position: absolute !important;
        left: 0 !important; right: 0 !important;
        transform: none !important;
        width: fit-content !important;
        margin: 0 auto !important;
    }
    .editorial-grid { grid-template-columns: 1fr; gap: 40px; }
    .story-sticky-col { position: relative !important; top: auto !important; text-align: center; margin-bottom: 0; }
    .sticky-num { font-size: 80px; display: block !important; margin-bottom: 10px; opacity: 1 !important; transform: none !important; }
    .sticky-title { display: none; }
    .story-scroll-col { gap: 80px; }
    .story-img-wrap { height: 250px; }
    .story-block { padding-bottom: 40px; }
    .philosophy-section { padding: 120px 0 !important; }
    .info-section { padding: 80px 0 !important; }
    .info-row { grid-template-columns: 1fr; gap: 15px; padding: 30px 0; }
}

/* =========================================================
   【it-dx】IT/DX/AIコンサルティングページ固有スタイル
========================================================= */

/* main上部余白（固定ヘッダー分） */
.itdx-main { padding-top: 79px; }

/* HERO */
.tech-hero {
    height: 75vh; min-height: 550px; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; background: var(--deep);
}
.tech-hero-bg {
    position: absolute; inset: 0; z-index: 1;
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, rgba(74, 142, 81, 0.25) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(74, 142, 81, 0.25) 1px, transparent 1px);
    transform: perspective(500px) rotateX(60deg) translateY(-100px) scale(3);
    animation: gridMove 20s linear infinite;
}
@keyframes gridMove { 0% { background-position: 0 0; } 100% { background-position: 0 50px; } }

.tech-hero-lines {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) scale(3);
}
.tech-hero-lines svg { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }

.draw-line-h {
    fill: none; stroke: rgba(74,142,81,0.9); stroke-width: 0.5;
    filter: drop-shadow(0 0 3px rgba(74,142,81,1));
    stroke-dasharray: 1000; stroke-dashoffset: 1000;
    animation: drawH 8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.draw-line-v {
    fill: none; stroke: rgba(74,142,81,0.9); stroke-width: 0.5;
    filter: drop-shadow(0 0 3px rgba(74,142,81,1));
    stroke-dasharray: 1000; stroke-dashoffset: 1000;
    animation: drawV 8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.draw-line-h:nth-child(1)  { animation-delay: 0s; }
.draw-line-h:nth-child(2)  { animation-delay: 2s; }
.draw-line-h:nth-child(3)  { animation-delay: 4s; }
.draw-line-h:nth-child(4)  { animation-delay: 6s; }
.draw-line-h:nth-child(5)  { animation-delay: 8s; }
.draw-line-h:nth-child(6)  { animation-delay: 10s; }
.draw-line-h:nth-child(7)  { animation-delay: 12s; }
.draw-line-v:nth-child(8)  { animation-delay: 1s; }
.draw-line-v:nth-child(9)  { animation-delay: 3s; }
.draw-line-v:nth-child(10) { animation-delay: 5s; }
.draw-line-v:nth-child(11) { animation-delay: 7s; }
.draw-line-v:nth-child(12) { animation-delay: 9s; }
.draw-line-v:nth-child(13) { animation-delay: 11s; }
.draw-line-v:nth-child(14) { animation-delay: 13s; }

@keyframes drawH {
    0%   { stroke-dashoffset: 1000; opacity: 1; }
    70%  { stroke-dashoffset: 0;    opacity: 1; }
    85%  { stroke-dashoffset: 0;    opacity: 0; }
    100% { stroke-dashoffset: 1000; opacity: 0; }
}
@keyframes drawV {
    0%   { stroke-dashoffset: 1000; opacity: 1; }
    70%  { stroke-dashoffset: 0;    opacity: 1; }
    85%  { stroke-dashoffset: 0;    opacity: 0; }
    100% { stroke-dashoffset: 1000; opacity: 0; }
}

.tech-hero .hero-content {
    position: relative; z-index: 10; text-align: center;
    animation: itdxScaleUp 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes itdxScaleUp {
    0%   { opacity: 0; transform: scale(0.9); filter: blur(10px); }
    100% { opacity: 1; transform: scale(1);   filter: blur(0); }
}
.tech-hero .hero-label { font-family: 'Inter', sans-serif; font-size: 11px; color: var(--green); font-weight: 900; letter-spacing: 0.8em; margin-bottom: 30px; display: block; }
.tech-hero .hero-title { font-size: clamp(32px, 5vw, 64px); font-weight: 700; line-height: 1.3; letter-spacing: 0.1em; color: #fff; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* STATEMENT */
.stmt-section { padding: 140px 0 80px !important; background: #fff; text-align: center; }
.stmt-main { font-size: clamp(20px, 2.5vw, 36px); font-weight: 700; line-height: 1.8; letter-spacing: 0.05em; color: var(--ink); }
.stmt-main strong { color: var(--green); border-bottom: 2px solid rgba(74, 142, 81, 0.3); }
.stmt-sub { font-size: 16px; color: var(--gray); line-height: 2.2; max-width: 700px; margin: 40px auto 0; font-feature-settings: "palt"; }

/* SOLUTIONS (STACK CARDS) */
.stack-section { padding: 80px 0 160px !important; background: #fff; position: relative; }
.stack-container { display: flex; flex-direction: column; gap: 40px; margin-top: 60px; }
.stack-card {
    position: sticky;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08); border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    display: grid; grid-template-columns: 1fr 1fr;
    height: 480px; overflow: hidden; will-change: transform;
}
.stack-card:nth-child(1) { top: 120px; z-index: 1; }
.stack-card:nth-child(2) { top: 150px; z-index: 2; box-shadow: 0 -20px 40px rgba(0,0,0,0.06); }
.stack-card:nth-child(3) { top: 180px; z-index: 3; box-shadow: 0 -20px 40px rgba(0,0,0,0.06); }
.s-card-content { padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.s-card-num { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 900; color: var(--green); letter-spacing: 0.3em; margin-bottom: 20px; display: block; }
.s-card-title { font-size: 32px; font-weight: 700; color: var(--ink); line-height: 1.4; margin-bottom: 30px; }
.s-card-desc { font-size: 16px; color: var(--gray); line-height: 2; text-align: justify; }
.s-card-visual { background: #000; height: 100%; position: relative; overflow: hidden; }
.s-card-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 2s ease; }
.stack-card:hover .s-card-visual img { transform: scale(1.05); opacity: 1; }

/* HOW WE WORK */
.process-section { padding: 160px 0 !important; background: var(--ash); }
.process-wrap { max-width: 800px; margin: 60px auto 0; }
.process-list { border-left: 2px solid rgba(74, 142, 81, 0.2); padding-left: 50px; margin-left: 20px; position: relative; }
.process-item { position: relative; margin-bottom: 80px; }
.process-item:last-child { margin-bottom: 0; }
.process-item::before {
    content: ''; position: absolute; left: -57px; top: 5px;
    width: 12px; height: 12px; border-radius: 50%; background: var(--green);
    box-shadow: 0 0 0 6px rgba(74, 142, 81, 0.1); transition: all 0.4s ease;
}
.process-item:hover::before { box-shadow: 0 0 0 10px rgba(74, 142, 81, 0.2); }
.p-num { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 900; color: var(--green); letter-spacing: 0.2em; display: block; margin-bottom: 10px; }
.p-title { font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 15px; }
.p-desc { font-size: 16px; color: var(--gray); line-height: 1.9; }

/* レスポンシブ（IT/DX/AI固有） */
@media screen and (max-width: 1024px) {
    .stack-card { display: flex; flex-direction: column; height: auto; position: relative; top: 0 !important; box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important; }
    .s-card-content { padding: 40px 24px; order: 2; }
    .s-card-visual { height: 250px; order: 1; }
    .process-list { border-left: none; padding-left: 0; margin-left: 0; }
    .process-item::before { display: none; }
    .process-item { padding: 30px; background: #fff; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); margin-bottom: 20px; }
    .stmt-section { padding: 80px 0 40px !important; }
    .stack-section { padding: 40px 0 80px !important; }
    .process-section { padding: 80px 0 !important; }
}

/* =========================================================
   【solar】太陽光発電ページ固有スタイル
========================================================= */

/* Lenis安定化 */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ユーティリティ */
.ib { display: inline-block; white-space: nowrap; }

/* main上部余白 */
.solar-main { padding-top: 80px; position: relative; z-index: 1; }

/* HERO */
.clean-hero {
    position: relative;
    min-height: calc(100vh - 80px);
    background: #fdfdfd; overflow: hidden;
    display: flex; align-items: center;
    padding: 0;
}
.hero-grid { display: flex; align-items: center; width: 100%; height: 100%; }
.hero-text-col { position: relative; z-index: 2; width: 60%; padding: 60px 20px 60px 0; }

.clean-hero .hero-label {
    font-family: 'Inter', sans-serif; font-size: 11px; color: var(--green); font-weight: 900;
    letter-spacing: 0.5em; margin-bottom: 25px; display: block;
    opacity: 0; animation: solarFadeUp 1s ease 0.2s forwards;
}
.clean-hero .hero-title {
    font-size: clamp(34px, 4.5vw, 64px); font-weight: 700; line-height: 1.15;
    color: var(--ink); letter-spacing: 0.08em; margin-bottom: 30px; text-shadow: none;
}

/* ★元の設定に戻しました（他のページへの悪影響を防ぐため） */
.title-line { display: block; overflow: hidden; padding-bottom: 8px; padding-right: 10px; }

.title-inner {
    display: inline-block; white-space: nowrap;
    opacity: 0; transform: translateY(100%);
    animation: solarRevealText 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.title-line:nth-of-type(1) .title-inner { animation-delay: 0.4s; }
.title-line:nth-of-type(2) .title-inner { animation-delay: 0.5s; }

.clean-hero .hero-desc {
    font-size: 16px; color: var(--gray); line-height: 2.1; margin-bottom: 50px;
    opacity: 0; animation: solarFadeUp 1s ease 0.8s forwards;
    font-feature-settings: "palt"; max-width: 100%;
}
.hero-cta-area { opacity: 0; animation: solarFadeUp 1s ease 1s forwards; }

.btn-hero-special {
    display: inline-flex; align-items: center; justify-content: center; padding: 20px 45px;
    background: var(--ink); color: #fff; font-family: 'Inter', sans-serif; font-size: 13px;
    font-weight: 900; letter-spacing: 0.15em; text-decoration: none;
    border-radius: 4px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.btn-hero-special:hover { background: var(--green); transform: translateY(-3px); box-shadow: 0 15px 35px rgba(74,142,81,0.25); }
.btn-hero-special::after { content: '→'; margin-left: 15px; font-size: 18px; transition: 0.3s; }
.btn-hero-special:hover::after { transform: translateX(5px); }

.hero-visual-col {
    position: absolute; z-index: 1;
    top: 0; right: 0;
    height: 100%; width: 55vw;
    overflow: hidden; border-radius: 0;
}
.hero-visual-col::before {
    content: ''; position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(to right, #fdfdfd 0%, transparent 15%);
    pointer-events: none;
}
.hero-visual-bg {
    position: absolute; inset: -10%;
    background: url('../images/solar/solar_top02.jpg') center/cover;
    opacity: 0; transform: scale(1.05) translateZ(0);
    animation: solarFadeScale 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
    will-change: transform, opacity;
}

@keyframes solarFadeUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes solarRevealText { 0% { opacity: 0; transform: translateY(100%); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes solarFadeScale { 0% { opacity: 0; transform: scale(1.05) translateZ(0); } 100% { opacity: 1; transform: scale(1) translateZ(0); } }

/* STATEMENT */
.statement-section { padding: 160px 0 120px !important; background: #fff; text-align: center; }
.stmt-text { font-size: clamp(22px, 3.5vw, 42px); font-weight: 700; line-height: 2; color: var(--ink); max-width: 1000px; margin: 0 auto; letter-spacing: 0.05em; }
.stmt-text strong { color: var(--green); border-bottom: 2px solid rgba(74, 142, 81, 0.3); }

/* PRODUCTS */
.products-section { padding: 0 0 160px !important; background: #fff; }
.product-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 140px; }
.product-row:last-child { margin-bottom: 0; }
.product-visual { height: 550px; border-radius: 4px; overflow: hidden; background: #f5f7f5; position: relative; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 2s ease; will-change: transform; }
.product-row:hover .product-visual img { transform: scale(1.05) translateZ(0); }
.product-text { padding: 0 20px; }

/* solar専用クラス（IT/DX/AIの.p-num等と衝突回避） */
.sol-num { font-family: 'Inter', sans-serif; font-size: 60px; font-weight: 900; color: rgba(74,142,81,0.1); line-height: 1; -webkit-text-stroke: 1px rgba(74,142,81,0.3); display: block; margin-bottom: 10px; }
.sol-title { font-size: clamp(28px, 3vw, 40px); font-weight: 700; color: var(--ink); line-height: 1.4; margin-bottom: 20px; }
.sol-subtitle { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 900; color: var(--green); letter-spacing: 0.3em; display: block; margin-bottom: 30px; }
.sol-desc { font-size: 16px; color: var(--gray); line-height: 2.2; text-align: justify; }

/* SPECIAL PROJECT */
.project-section { padding: 140px 0 !important; background: #f5f7f5; text-align: center; }
.pj-label { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 900; color: var(--green); letter-spacing: 0.5em; margin-bottom: 30px; display: block; }
.pj-title { font-size: clamp(28px, 4vw, 48px); font-weight: 700; color: var(--ink); line-height: 1.5; margin-bottom: 40px; }
.pj-desc { font-size: 16px; color: var(--gray); margin-bottom: 60px; line-height: 2.2; max-width: 700px; margin-left: auto; margin-right: auto; }
.btn-project {
    display: inline-flex; align-items: center; justify-content: center; padding: 22px 60px;
    background: #fff; color: var(--ink); font-family: 'Inter', sans-serif; font-size: 13px;
    font-weight: 900; letter-spacing: 0.15em; text-decoration: none;
    border: 1px solid rgba(0,0,0,0.1); transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.btn-project:hover { border-color: var(--green); color: var(--green); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(74,142,81,0.1); }
.btn-project::after { content: '→'; margin-left: 15px; font-size: 18px; transition: 0.3s; }
.btn-project:hover::after { transform: translateX(5px); }

/* レスポンシブ（solar固有） */
@media screen and (max-width: 1024px) {
    .clean-hero { display: block; padding-top: 40px; }
    .hero-grid { display: block; }
    .hero-text-col { width: 100%; padding-left: 0; padding-top: 0; padding-bottom: 40px; padding-right: 0; }
    .title-inner { transform: translateY(0); opacity: 1; filter: none; }
    .hero-visual-col { position: relative; height: 380px; width: 100vw; margin-left: calc(50% - 50vw); border-radius: 0; }
    .hero-visual-col::before { display: none; }
    .product-row { grid-template-columns: 1fr; gap: 40px; margin-bottom: 100px; }
    .product-row .product-text,
    .product-row:nth-child(even) .product-text { order: 1; padding: 0; }
    .product-row .product-visual,
    .product-row:nth-child(even) .product-visual { order: 2; }
    .product-visual { height: 350px; }
    .statement-section { padding: 80px 0 60px !important; }
    .products-section { padding: 0 0 80px !important; }
    .project-section { padding: 80px 0 !important; }
}

/* =========================================================
   【equipment】住宅設備ページ固有スタイル
========================================================= */

/* main上部余白 */
.eq-main { padding-top: 80px; position: relative; z-index: 1; }

/* HERO */
.eq-hero {
    position: relative;
    min-height: calc(100vh - 80px);
    background: #fdfdfd; overflow: hidden;
    display: flex; align-items: center;
    padding: 0;
}
.eq-hero .hero-text-col { position: relative; z-index: 2; width: 50%; padding: 60px 40px 60px 0; }

.hero-label-wrap { display: flex; align-items: center; gap: 15px; margin-bottom: 30px; opacity: 0; animation: eqFadeRight 1s ease 0.2s forwards; }
.hero-line { display: block; height: 1px; background-color: var(--green); width: 40px; }
.eq-hero .hero-label { font-family: 'Inter', sans-serif; font-size: 11px; color: var(--green); font-weight: 900; letter-spacing: 0.5em; }

.eq-hero .hero-title { font-size: clamp(42px, 5.5vw, 76px); font-weight: 700; line-height: 1.15; color: var(--ink); letter-spacing: 0.08em; margin-bottom: 30px; text-shadow: none; }

/* ★住宅設備ページ専用の修正：他のページ（太陽光など）に影響を出さずに、文字が切れるバグだけを直す */
.eq-hero .title-line { width: max-content; }

.eq-hero .hero-desc { font-family: 'Inter', sans-serif; font-size: clamp(14px, 2vw, 18px); color: var(--green); font-weight: 700; line-height: 1.8; letter-spacing: 0.15em; opacity: 0; animation: eqFadeUp 1s ease 0.8s forwards; }

.eq-hero .hero-visual-col {
    position: absolute; z-index: 1;
    top: 0; right: 0;
    height: 100%; width: 55vw;
    overflow: hidden; border-radius: 0;
}
.eq-hero .hero-visual-col::before {
    content: ''; position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(to right, #fdfdfd 0%, transparent 15%);
    pointer-events: none;
}
.eq-hero .hero-visual-bg {
    position: absolute; inset: -10%;
    background: url('../images/equipment/equipment_01.jpg') center/cover;
    opacity: 0; transform: scale(1.05) translateZ(0);
    animation: eqFadeScale 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
    will-change: transform, opacity;
}

@keyframes eqFadeUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes eqFadeRight { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes eqFadeScale { 0% { opacity: 0; transform: scale(1.05) translateZ(0); } 100% { opacity: 1; transform: scale(1) translateZ(0); } }

/* STATEMENT */
.eq-statement-section { padding: 140px 0 !important; background: #fff; text-align: center; }
.eq-stmt-text { font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; line-height: 2.2; color: var(--ink); margin: 0 auto; letter-spacing: 0.1em; font-feature-settings: "palt"; word-break: keep-all; overflow-wrap: break-word; }
.eq-stmt-text p { margin-bottom: 2.5em; }
.eq-stmt-text p:last-child { margin-bottom: 0; }
.eq-stmt-text strong { color: var(--green); border-bottom: 2px solid rgba(74, 142, 81, 0.3); }

/* SOLUTIONS */
.solutions-section { padding: 0 0 160px !important; background: #fff; }
.sec-header { margin-bottom: 100px; text-align: center; }

.gallery-list { display: flex; flex-direction: column; gap: 180px; }
.gallery-item { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; }
.gallery-item:nth-child(even) { grid-template-columns: 7fr 5fr; }
.gallery-item:nth-child(even) .gal-text-col { order: 2; padding-left: 40px; padding-right: 0; }
.gallery-item:nth-child(even) .gal-visual-col { order: 1; }
.gal-text-col { padding-right: 40px; }
.gal-num { font-family: 'Inter', sans-serif; font-size: 80px; font-weight: 900; color: rgba(74,142,81,0.1); line-height: 1; -webkit-text-stroke: 1px rgba(74,142,81,0.3); display: block; margin-bottom: 10px; }
.gal-title { font-size: clamp(28px, 3.5vw, 42px); font-weight: 700; color: var(--ink); line-height: 1.4; margin-bottom: 20px; }
.gal-subtitle { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 900; color: var(--green); letter-spacing: 0.3em; display: block; margin-bottom: 30px; text-transform: uppercase; }
.gal-desc { font-size: 16px; color: var(--gray); line-height: 2.2; text-align: justify; font-feature-settings: "palt"; }
.gal-visual-col { height: 600px; position: relative; overflow: hidden; background: #f5f7f5; border-radius: 2px; }
.gal-visual-col img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.95); transition: transform 2s ease; will-change: transform; }
.gallery-item:hover .gal-visual-col img { transform: scale(1.05) translateZ(0); }

/* レスポンシブ（equipment固有） */
@media screen and (max-width: 1024px) {
    .eq-hero { display: block; padding-top: 40px; }
    .eq-hero .hero-text-col { width: 100%; padding-left: 0; padding-top: 0; padding-bottom: 40px; padding-right: 0; }
    .eq-hero .hero-visual-col { position: relative; height: 380px; width: 100vw; margin-left: calc(50% - 50vw); border-radius: 0; }
    .eq-hero .hero-visual-col::before { display: none; }
    .gallery-item, .gallery-item:nth-child(even) { grid-template-columns: 1fr; gap: 40px; }
    .gallery-item .gal-text-col, .gallery-item:nth-child(even) .gal-text-col { order: 1; padding: 0; }
    .gallery-item .gal-visual-col, .gallery-item:nth-child(even) .gal-visual-col { order: 2; }
    .gal-visual-col { height: 350px; }
    .gallery-list { gap: 100px; }
    .eq-statement-section { padding: 80px 0 !important; }
    .solutions-section { padding: 0 0 80px !important; }
    .ib { white-space: normal; }
}

/* =========================================================
   【media】メディアページ固有スタイル
========================================================= */

/* main上部余白 */
.media-main { padding-top: 79px; }

/* UPDATE PAGE */
.update-wrap {
    height: calc(100vh - 79px);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; background: #f8f8f9;
    animation: pulseBG 8s ease-in-out infinite;
}
@keyframes pulseBG { 0%, 100% { background: #f8f8f9; } 50% { background: #f0f0f2; } }

.up-label { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--green); font-weight: 700; letter-spacing: 0.8em; margin-bottom: 35px; }
.typing-box { min-height: 1.6em; display: flex; align-items: center; margin-bottom: 25px; }
.up-title { font-size: clamp(26px, 4.5vw, 42px); font-weight: 700; color: var(--ink); line-height: 1.6; display: inline; }

.cursor { display: inline-block; width: 3px; height: 1.2em; background-color: var(--green); margin-left: 8px; animation: blink 0.8s step-end infinite; vertical-align: middle; }
@keyframes blink { from, to { opacity: 1; } 50% { opacity: 0; } }

.up-text { font-size: 16px; color: var(--gray); margin-bottom: 60px; opacity: 0; transform: translateY(10px); transition: 1s ease 0.5s; font-feature-settings: "palt"; }
.up-links { display: flex; gap: 30px; opacity: 0; transform: translateY(10px); transition: 1s ease 0.8s; }
.is-visible { opacity: 1 !important; transform: translateY(0) !important; }

.btn-link { display: inline-flex; align-items: center; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: 0.3em; padding: 15px 30px; border: 1px solid #ddd; background: #fff; transition: 0.4s; border-radius: 2px; }
.btn-link:hover { color: var(--green); border-color: var(--green); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* レスポンシブ（media固有） */
@media screen and (max-width: 1024px) {
    .up-links { flex-direction: column; gap: 20px; }
}

/* =========================================================
   【contact】お問い合わせページ固有スタイル
========================================================= */

/* main上部余白 */
.contact-main { padding-top: 80px; }

/* HERO */
.contact-hero { background: #f5f5f7; border-bottom: 1px solid #e0e0e0; padding: 120px 0 80px !important; text-align: center; }
.contact-label { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--green); font-weight: 900; letter-spacing: 0.6em; margin-bottom: 20px; display: block; }
.contact-title { font-size: clamp(32px, 5vw, 48px); font-weight: 700; color: #111; letter-spacing: 0.1em; }

/* FORM */
.form-section { padding: 100px 0 160px !important; max-width: 900px; margin: 0 auto; }
.form-item { margin-bottom: 50px; }
.form-label { font-size: 14px; font-weight: 800; color: #111; display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.form-label span { font-size: 10px; background: var(--green); color: #fff; padding: 2px 8px; border-radius: 2px; font-weight: 500; letter-spacing: 0.05em; }

input[type="text"], input[type="email"], textarea {
    width: 100%; padding: 20px; border: 1px solid #ddd; background: #fafafa; border-radius: 4px;
    font-family: "Shippori Mincho", serif; font-size: 16px; transition: 0.3s; outline: none; letter-spacing: 0.05em;
}
input:focus, textarea:focus { border-color: #111; background: #fff; }
textarea { min-height: 200px; line-height: 1.8; }

.radio-group { display: flex; flex-wrap: wrap; gap: 20px 40px; }
.radio-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; color: #444; transition: 0.3s; }
.radio-label:hover { color: #111; }
input[type="radio"] { appearance: none; width: 20px; height: 20px; border: 1px solid #ddd; border-radius: 50%; background: #fff; position: relative; cursor: pointer; }
input[type="radio"]:checked { border-color: var(--green); background: var(--green); }
input[type="radio"]:checked::after { content: ''; width: 8px; height: 8px; background: #fff; border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.submit-wrap { text-align: center; margin-top: 60px; }
.btn-submit { display: inline-flex; align-items: center; justify-content: center; padding: 25px 100px; background: #111; color: #fff; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 900; letter-spacing: 0.2em; text-decoration: none; border: none; border-radius: 4px; cursor: pointer; transition: 0.4s; }
.btn-submit:hover { background: var(--green); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(74,142,81,0.2); }

/* レスポンシブ（contact固有） */
@media screen and (max-width: 1024px) {
    .radio-group { flex-direction: column; gap: 15px; }
    .btn-submit { width: 100%; padding: 20px; }
    .form-section { padding: 60px 0 80px !important; }
}

/* =========================================================
   【news】インフォメーションページ固有スタイル
========================================================= */

/* main上部余白 */
.news-main { padding-top: 79px; }

/* HERO */
.news-hero { background: #f5f5f7; border-bottom: 1px solid #e0e0e0; padding: 160px 0 120px !important; position: relative; }
.hero-flex { display: flex; justify-content: flex-end; width: 100%; }
.news-hero .hero-content { width: 60%; text-align: right; position: relative; z-index: 2; }
.news-hero .hero-label-wrap { display: flex; align-items: center; justify-content: flex-end; gap: 15px; margin-bottom: 40px; }
.news-hero .hero-line { display: block; height: 1px; background-color: var(--green); width: 0; opacity: 0; animation: newsDrawLine 0.8s cubic-bezier(0.2, 1, 0.2, 1) 0.2s forwards; }
.news-hero .hero-label { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--green); letter-spacing: 0.8em; font-weight: 900; opacity: 0; transform: translateX(15px); animation: newsFadeLabelRight 0.8s cubic-bezier(0.2, 1, 0.2, 1) 0.6s forwards; margin: 0; }
.news-hero .hero-title { font-size: clamp(34px, 5vw, 60px); font-weight: 700; line-height: 1.5; color: #111; letter-spacing: 0.1em; text-shadow: none; }
.news-hero .title-line { display: inline-block; overflow: visible; white-space: nowrap; }
.news-hero .title-inner { display: inline-block; opacity: 0; transform: translateY(30px); filter: blur(8px); animation: newsRevealText 1.2s cubic-bezier(0.2, 1, 0.2, 1) 0.9s forwards; }

@keyframes newsDrawLine { 0% { width: 0; opacity: 0; } 100% { width: 60px; opacity: 1; } }
@keyframes newsFadeLabelRight { 0% { opacity: 0; transform: translateX(15px); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes newsRevealText { 0% { opacity: 0; transform: translateY(30px); filter: blur(8px); } 100% { opacity: 1; transform: translateY(0); filter: blur(0); } }

/* NEWS LIST & FILTER */
.news-section { padding: 60px 0 160px !important; }

.filter-wrap { display: flex; align-items: center; border-bottom: 1px solid #eee; margin-bottom: 0; }
.filter-btn {
    font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700;
    letter-spacing: 0.25em; color: #bbb; background: none; border: none;
    padding: 18px 28px; cursor: pointer; transition: 0.3s; white-space: nowrap; position: relative;
}
.filter-btn::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 0; height: 2px; background: #111; transition: 0.3s; }
.filter-btn:hover { color: #555; }
.filter-btn.active { color: #111; }
.filter-btn.active::after { width: 100%; }
.filter-num { font-size: 9px; color: #bbb; margin-left: 6px; transition: 0.3s; }
.filter-btn.active .filter-num { color: var(--green); }

.news-list { list-style: none; margin-top: 0; }
.news-item {
    display: flex; align-items: center; padding: 30px 0;
    border-bottom: 1px solid #eee; text-decoration: none; color: #111;
    gap: 35px; transition: 0.4s;
}
.news-item:first-child { border-top: 1px solid #eee; margin-top: 0; }
.news-item:hover { background: #fafafa; padding-left: 20px; padding-right: 20px; margin-left: -20px; margin-right: -20px; }
.news-date { font-family: 'Inter', sans-serif; font-size: 12px; color: #999; letter-spacing: 0.08em; flex-shrink: 0; width: 95px; }
.news-cat { font-family: 'Inter', sans-serif; font-size: 9px; font-weight: 900; letter-spacing: 0.2em; padding: 5px 12px; flex-shrink: 0; width: 80px; text-align: center; }
.cat-news { background: #111; color: #fff; }
.cat-info { background: var(--green); color: #fff; }
.cat-service { background: #f0f0f0; color: #111; }
.news-title { font-size: 15px; font-weight: 600; color: #111; flex: 1; line-height: 1.8; transition: 0.3s; }
.news-item:hover .news-title { color: var(--green); }
.news-arrow { display: flex; align-items: center; gap: 10px; flex-shrink: 0; transition: 0.3s; }
.news-arrow::after { content: ''; display: block; width: 30px; height: 1px; background: #ccc; transition: 0.3s; }
.news-item:hover .news-arrow::after { width: 50px; background: var(--green); }

.no-results { display: none; padding: 80px 0; text-align: center; }
.no-results.is-show { display: block; }
.no-results p { font-size: 14px; color: #aaa; }

/* レスポンシブ（news固有） */
@media screen and (max-width: 1024px) {
    .hero-flex, .news-hero .hero-content { width: 100%; text-align: left; }
    .news-hero .hero-label-wrap { justify-content: flex-start; flex-direction: row-reverse; }
    .news-item:hover { margin-left: 0; margin-right: 0; padding-left: 15px; padding-right: 15px; }
    .news-date { width: auto; }
    .news-section { padding: 40px 0 80px !important; }
}

/* =========================================================
   【privacy】プライバシーポリシーページ固有スタイル
========================================================= */

/* main上部余白 */
.privacy-main { padding-top: 79px; }

/* HERO */
.privacy-hero { background: #f5f5f7; border-bottom: 1px solid #e0e0e0; padding: 120px 0 80px !important; text-align: center; }
.privacy-label { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--green); font-weight: 900; letter-spacing: 0.6em; margin-bottom: 20px; display: block; }
.privacy-title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: #111; letter-spacing: 0.05em; }

/* CONTENT */
.privacy-content { padding: 100px 0 160px !important; max-width: 900px; margin: 0 auto; }
.privacy-intro { margin-bottom: 80px; font-size: 16px; color: #555; text-align: justify; }
.policy-item { margin-bottom: 80px; }
.policy-num { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--green); font-weight: 900; display: block; margin-bottom: 15px; }
.policy-head { font-size: 22px; font-weight: 700; color: #111; margin-bottom: 25px; border-bottom: 1px solid #111; padding-bottom: 10px; display: inline-block; }
.policy-text { font-size: 15px; color: #444; margin-bottom: 20px; text-align: justify; }
.policy-list { list-style: none; padding-left: 10px; }
.policy-list li { font-size: 15px; color: #444; margin-bottom: 15px; position: relative; padding-left: 20px; }
.policy-list li::before { content: "・"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.contact-info-box { background: #f9f9f9; padding: 40px; border-radius: 4px; border: 1px solid #eee; margin-top: 40px; }
.contact-info-box p { font-size: 15px; margin-bottom: 10px; }
.contact-info-box strong { color: #111; }

/* レスポンシブ（privacy固有） */
@media screen and (max-width: 1024px) {
    .privacy-content { padding: 60px 0 80px !important; }
    .privacy-hero { padding: 80px 0 60px !important; }
}

/* =========================================================
   ページトランジション：緑のカーテン（Barba不使用・純CSS+JS）
========================================================= */
#page-curtain {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(6, 20, 9, 0.92);
    z-index: 99999;
    pointer-events: none;
    transform: translateX(-100%);
    will-change: transform;
}
#page-curtain.is-enter {
    animation: curtainEnter 0.42s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}
#page-curtain.is-leave {
    animation: curtainLeave 0.42s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}
@keyframes curtainEnter {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(0%); }
}
@keyframes curtainLeave {
    0%   { transform: translateX(0%); }
    100% { transform: translateX(100%); }
}