/*
Theme Name: 孝新興業 採用サイト
Description: STAR WARS FULL FORCE EDITION (Ultimate Master Version)
Author: 採用コンサルタント
Version: 43.0
*/

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Noto+Sans+JP:wght@400;700;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }

:root {
    --sw-blue: #00e5ff; 
    --sw-deep-blue: #0066ff;
    --sw-yellow: #ffe81f; 
    --sw-hologram: rgba(0, 229, 255, 0.2);
    --glass-bg: rgba(5, 10, 18, 0.85); 
    --glass-border: rgba(0, 229, 255, 0.4);
}

body { font-family: "Noto Sans JP", sans-serif; color: #f0f0f0; line-height: 1.8; overflow-x: hidden; background-color: #010205; }
.sf-font { font-family: 'Orbitron', sans-serif; letter-spacing: 2px; }

/* ========================================================
   ▼ 星空背景 ▼
   ======================================================== */
.space-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -10;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 229, 255, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(rgba(255,255,255,1), rgba(255,255,255,0.6) 1px, transparent 1.5px),
        radial-gradient(rgba(255,255,255,1), rgba(255,255,255,0.4) 1.5px, transparent 2px),
        radial-gradient(rgba(255,232,31,0.8), rgba(255,232,31,0.3) 1px, transparent 2px);
    background-size: 100% 100%, 100% 100%, 200px 200px, 350px 350px, 500px 500px;
    animation: starScroll 150s linear infinite; 
}
@keyframes starScroll { 100% { background-position: 0 0, 0 0, 200px 200px, 350px 350px, 500px 500px; } }

/* ========================================================
   ▼ サイバーヘッダー＆メニュー ▼
   ======================================================== */
header#masthead, .site-header { display: none !important; }

.koushin-header { background: rgba(2, 5, 12, 0.9); position: fixed; width: 100%; top: 0; left: 0; z-index: 9999; border-bottom: 2px solid var(--sw-blue); box-shadow: 0 5px 20px rgba(0,0,0,0.8), 0 0 15px var(--sw-hologram); backdrop-filter: blur(15px); }
.koushin-header-inner { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; max-width: 1400px; margin: 0 auto; }
.koushin-logo a { text-decoration: none; font-family: 'Orbitron', sans-serif; color: var(--sw-yellow); font-size: 1.5rem; font-weight: 900; text-shadow: 0 0 10px var(--sw-yellow); }
.koushin-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.koushin-nav a { position: relative; display: inline-block; color: #ccc; font-weight: bold; font-size: 0.9rem; text-transform: uppercase; font-family: 'Orbitron', sans-serif; text-decoration: none; overflow: hidden; height: 1.2em; line-height: 1.2em; vertical-align: top; }
.koushin-nav a span { display: inline-block; transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); }
.koushin-nav a::after { content: attr(data-ja); position: absolute; top: 100%; left: 0; width: 100%; color: var(--sw-yellow); text-shadow: 0 0 10px var(--sw-yellow); transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); font-family: "Noto Sans JP", sans-serif; font-size: 0.85rem; text-align: center; }
.koushin-nav a:hover span { transform: translateY(-100%); opacity: 0; }
.koushin-nav a:hover::after { top: 0; }
.koushin-header-right { display: flex; align-items: center; gap: 25px; }

.koushin-cta { background: rgba(0,0,0,0.5); color: var(--sw-blue); border: 1px solid var(--sw-blue); padding: 10px 25px; font-weight: 900; font-size: 12px; font-family: 'Orbitron', sans-serif; transition: 0.3s; text-decoration: none; transform: skewX(-15deg); display: inline-block; box-shadow: inset 0 0 10px var(--sw-hologram); }
.koushin-cta:hover { background: var(--sw-yellow); border-color: var(--sw-yellow); color: #000; box-shadow: 0 0 20px var(--sw-yellow); transform: skewX(-15deg) scale(1.05); }

/* ハンバーガー */
.koushin-hamburger { display: none; width: 32px; height: 24px; background: transparent; border: none; cursor: pointer; position: relative; z-index: 10001; }
.koushin-hamburger span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--sw-blue); box-shadow: 0 0 8px var(--sw-blue); transition: 0.4s; border-radius: 2px; }
.koushin-hamburger span:nth-child(1) { top: 0; }
.koushin-hamburger span:nth-child(2) { top: 11px; }
.koushin-hamburger span:nth-child(3) { bottom: 0; }
.koushin-hamburger.is-open span:nth-child(1) { transform: translateY(11px) rotate(45deg); background: var(--sw-yellow); }
.koushin-hamburger.is-open span:nth-child(2) { opacity: 0; }
.koushin-hamburger.is-open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); background: var(--sw-yellow); }

/* オーバーレイメニュー */
.koushin-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(2, 4, 10, 0.95); backdrop-filter: blur(20px); z-index: 10000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.4s ease; }
.koushin-overlay.is-open { opacity: 1; visibility: visible; }
.koushin-overlay-nav { text-align: center; width: 100%; padding: 0 20px; }
.koushin-overlay-nav ul { list-style: none; padding: 0; margin: 0 0 50px; }
.koushin-overlay-nav li { margin-bottom: 30px; }
.koushin-overlay-nav a { position: relative; display: inline-block; color: #fff; font-size: 1.5rem; font-weight: 900; text-decoration: none; font-family: 'Orbitron', sans-serif; letter-spacing: 3px; overflow: hidden; height: 1.2em; line-height: 1.2em; }
.koushin-overlay-nav a span { display: inline-block; transition: 0.3s; }
.koushin-overlay-nav a::after { content: attr(data-ja); position: absolute; top: 100%; left: 0; width: 100%; color: var(--sw-yellow); text-shadow: 0 0 15px var(--sw-yellow); transition: 0.3s; font-family: "Noto Sans JP", sans-serif; font-size: 1.2rem; text-align: center; }
.koushin-overlay-nav a:hover span { transform: translateY(-100%); opacity: 0; }
.koushin-overlay-nav a:hover::after { top: 0; }
.koushin-overlay-cta { display: inline-block; background: var(--sw-blue); color: #000; font-weight: 900; padding: 15px 40px; text-decoration: none; font-size: 1.2rem; border-radius: 4px; box-shadow: 0 0 20px var(--sw-blue); }

/* ========================================================
   ▼ 共通セクション＆FV ▼
   ======================================================== */
.koushin-main { width: 100%; overflow: hidden; position: relative; z-index: 10; }
.koushin-main * { box-sizing: border-box; }

.hero { position: relative; width: 100%; min-height: 100vh; display: flex; align-items: flex-end; justify-content: center; text-align: center; padding-bottom: 60px; background-image: url('https://koushinkogyo.jp/wp-content/uploads/2026/04/2025忘年会２.jpg') !important; background-size: cover !important; background-position: center !important; background-attachment: fixed; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.9) 100%); z-index: 1; pointer-events: none; }
.hero-content { position: relative; z-index: 10; width: 100%; padding: 0 5%; }
.hero-intro { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--sw-yellow); font-weight: bold; letter-spacing: 5px; margin-bottom: 10px; font-family: 'Orbitron', sans-serif; text-shadow: 0 2px 10px #000; }
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 5rem); color: var(--sw-yellow); font-weight: 900; line-height: 1.2; margin: 0; letter-spacing: 2px; text-shadow: 0 5px 15px rgba(0,0,0,0.9), 0 0 30px rgba(255, 232, 31, 0.5); }
.hero h1 span { color: #fff; display: inline-block; text-shadow: 0 5px 15px rgba(0,0,0,0.9), 0 0 30px rgba(255, 255, 255, 0.4); }

.section-padding { padding: 80px 5%; position: relative; z-index: 10; }
.bg-panel { background: var(--glass-bg); backdrop-filter: blur(15px); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.inner-container { max-width: 1100px; margin: 0 auto; position: relative; z-index: 10; }
.sec-title { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 900; color: #fff; text-align: center; margin-bottom: 50px; font-family: 'Orbitron', sans-serif;}
.sec-title span { color: var(--sw-yellow); text-shadow: 0 0 15px rgba(255, 232, 31, 0.5); }
.episode-tag { font-family: 'Orbitron', sans-serif; color: var(--sw-blue); font-size: 1.1rem; letter-spacing: 5px; display: block; margin-bottom: 10px; text-align: center; text-shadow: 0 0 10px rgba(0,229,255,0.6); }

/* ========================================================
   ▼ TOP用：クロール＆年表 ▼
   ======================================================== */
.crawl-section { padding: 60px 5%; background: rgba(0,0,0,0.8); perspective: 800px; border-bottom: 2px solid var(--sw-yellow); }
.crawl-container { max-width: 850px; margin: 0 auto; transform: rotateX(15deg); text-align: center; }
.crawl-title { color: var(--sw-yellow); font-size: 2rem; font-weight: 900; margin-bottom: 20px; text-shadow: 0 0 20px var(--sw-yellow); }
.crawl-text { color: var(--sw-yellow); font-size: 1.1rem; font-weight: bold; line-height: 2; text-align: justify; text-shadow: 0 0 5px #000;}

.history-section { padding: 80px 0; background: var(--glass-bg); backdrop-filter: blur(15px); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); position: relative; overflow: hidden; }
.history-full-block { position: relative; width: 100%; margin-bottom: 5px; background: #000; border-top: 1px solid var(--sw-deep-blue); border-bottom: 1px solid var(--sw-deep-blue); }
.history-marquee-container { display: flex; width: max-content; }
.history-marquee-container img { height: 300px; width: auto; object-fit: cover; margin-right: 5px; filter: brightness(0.85) contrast(1.1); transition: 0.4s ease; border: 1px solid var(--sw-blue); }
.history-marquee-container:hover img { filter: brightness(0.5); } 
.history-marquee-container img:hover { filter: brightness(1.1) contrast(1.2); box-shadow: 0 0 20px var(--sw-yellow); border-color: var(--sw-yellow); transform: scale(1.02); z-index: 10; position: relative;}
.marquee-left { animation: marquee-l 40s linear infinite; }
.marquee-right { animation: marquee-r 40s linear infinite; }
.history-marquee-container:hover { animation-play-state: paused; } 
@keyframes marquee-l { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marquee-r { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.history-text-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 25%, rgba(0,0,0,0.5) 75%, rgba(0,0,0,0.9) 100%); pointer-events: none; padding: 0 5%; text-align: center; }
.history-text-overlay .date { font-family: 'Orbitron', sans-serif; color: var(--sw-yellow); font-size: 1.8rem; font-weight: 900; text-shadow: 0 0 20px rgba(0,0,0,1); margin-bottom: 10px; }
.history-text-overlay .title { color: var(--sw-blue); font-size: 1.4rem; font-weight: 900; text-shadow: 0 0 15px rgba(0,0,0,1); margin-bottom: 15px; }
.history-text-overlay p { color: #fff; font-weight: bold; max-width: 800px; line-height: 1.6; text-shadow: 2px 2px 10px rgba(0,0,0,1); margin: 0; }

/* ========================================================
   ▼ 共通：ホログラムカード＆ティザーBOX ▼
   ======================================================== */
.hologram-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.holo-card { background: rgba(10, 15, 25, 0.7); border: 1px solid var(--glass-border); padding: 40px 30px; border-radius: 10px; text-align: center; transition: 0.3s; }
.holo-card:hover { transform: translateY(-10px); border-color: var(--sw-yellow); box-shadow: 0 0 30px rgba(255,232,31,0.4); }
.holo-icon { font-size: 3rem; margin-bottom: 20px; color: var(--sw-yellow); filter: drop-shadow(0 0 10px var(--sw-yellow)); }
.holo-title { font-size: 1.3rem; color: var(--sw-blue); font-weight: 900; margin-bottom: 15px; }
.holo-desc { color: #fff; font-weight: bold;}

.teaser-box { display: flex; align-items: center; gap: 40px; background: rgba(5, 10, 18, 0.85); border: 1px solid var(--glass-border); padding: 30px; border-radius: 12px; margin-bottom: 40px; transition: 0.3s; }
.teaser-box:hover { border-color: var(--sw-blue); box-shadow: 0 0 30px var(--sw-hologram); }
.teaser-box.reverse { flex-direction: row-reverse; }
.teaser-img { flex: 1; height: 250px; background-size: cover; background-position: center; border-radius: 8px; border: 1px solid var(--sw-blue); }
.teaser-content { flex: 1.2; text-align: left; }
.teaser-content h3 { font-size: 1.5rem; color: var(--sw-yellow); font-weight:900; margin-bottom: 15px; text-shadow: 0 0 5px rgba(0,0,0,0.8);}
.teaser-content p { color: #fff; font-weight: bold; text-shadow: 0 0 5px rgba(0,0,0,0.8);}

.beginner-box { background: rgba(0, 229, 255, 0.05); border: 1px solid var(--sw-blue); padding: 20px; margin-top: 20px; border-radius: 8px; backdrop-filter: blur(5px); }
.beginner-box h4 { color: var(--sw-yellow); font-size: 1.2rem; margin-bottom: 10px; }

/* ========================================================
   ▼ 職種紹介専用：サイバーコンソールUI ▼
   ======================================================== */
.works-console { background: rgba(2, 5, 12, 0.95); border: 1px solid var(--sw-blue); padding: 40px; border-radius: 12px; box-shadow: 0 0 30px var(--sw-hologram); }
.works-nav { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; flex-wrap: wrap; }
.works-btn { background: transparent; border: 1px solid var(--sw-blue); color: var(--sw-blue); padding: 12px 20px; font-family: 'Orbitron', "Noto Sans JP", sans-serif; font-weight: 900; font-size: 0.95rem; cursor: pointer; transform: skewX(-15deg); transition: 0.3s; position: relative; overflow: hidden; min-width: 220px; }
.works-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--sw-yellow); transition: 0.4s; z-index: -1; }
.works-btn span { display: inline-block; transform: skewX(15deg); }
.works-btn.is-active, .works-btn:hover { color: #000; border-color: var(--sw-yellow); box-shadow: 0 0 20px var(--sw-yellow); }
.works-btn.is-active::before, .works-btn:hover::before { left: 0; }

.works-image-wrapper { position: relative; padding: 12px; border: 1px dashed rgba(0,229,255,0.3); margin-bottom: 20px; }
.works-image-wrapper::before, .works-image-wrapper::after { content: ''; position: absolute; width: 30px; height: 30px; border: 3px solid var(--sw-yellow); z-index: 5; }
.works-image-wrapper::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.works-image-wrapper::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }
.works-img { width: 100%; height: 400px; object-fit: cover; display: block; border: 1px solid var(--sw-blue); filter: brightness(1.1); }

.works-panel { display: none; width: 100%; animation: holoFlicker 0.5s ease forwards;}
.works-panel.is-active { display: block; }
@keyframes holoFlicker {
    0% { opacity: 0; transform: scale(0.98) translateY(10px); filter: blur(5px); }
    100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

.works-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.works-data-box { background: rgba(0, 0, 0, 0.5); border-left: 3px solid var(--sw-blue); padding: 20px; margin-bottom: 20px; }
.works-data-box h4 { color: var(--sw-blue); font-family: 'Orbitron', sans-serif; margin-bottom: 15px; font-size: 1.2rem; letter-spacing: 1px; border-bottom: 1px dashed rgba(0,229,255,0.3); padding-bottom: 8px;}
.works-data-box ul { list-style: none; padding: 0; }
.works-data-box li { position: relative; padding-left: 20px; color: #fff; margin-bottom: 10px; font-weight: bold; line-height: 1.6;}
.works-data-box li::before { content: '>'; position: absolute; left: 0; color: var(--sw-yellow); font-weight: 900;}
.works-data-box p { color: #ccc; font-size: 0.95rem; margin-top: 10px; line-height: 1.6; font-weight: bold;}

.mission-timeline { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; margin-top: 30px; }
.mission-step { display: flex; gap: 20px; margin-bottom: 15px; background: rgba(255,255,255,0.02); padding: 15px; border-radius: 6px; border-left: 2px solid var(--sw-blue);}
.step-time { color: var(--sw-yellow); font-family: 'Orbitron', sans-serif; font-weight: 900; min-width: 80px; font-size: 1.1rem;}
.step-desc { color: #fff; font-weight: bold; line-height: 1.6;}

/* ========================================================
   ▼ 日常ギャラリー（Works追加分） ▼
   ======================================================== */
.gallery-section { padding: 80px 0; background: var(--glass-bg); backdrop-filter: blur(15px); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); position: relative; overflow: hidden; }
.gallery-full-block { position: relative; width: 100%; margin-bottom: 5px; background: #000; border-top: 1px solid var(--sw-deep-blue); border-bottom: 1px solid var(--sw-deep-blue); }
.gallery-marquee-container { display: flex; width: max-content; }
.gallery-marquee-container img { height: 300px; width: auto; object-fit: cover; margin-right: 5px; filter: brightness(0.85) contrast(1.1); transition: 0.4s ease; border: 1px solid var(--sw-blue); }
.gallery-marquee-container:hover img { filter: brightness(0.5); } 
.gallery-marquee-container img:hover { filter: brightness(1.1) contrast(1.2); box-shadow: 0 0 20px var(--sw-yellow); border-color: var(--sw-yellow); transform: scale(1.02); z-index: 10; position: relative;}

/* ========================================================
   ▼ フッター＆ボタン ▼
   ======================================================== */
.cta-footer { background: #000; padding: 80px 5%; text-align: center; border-top: 3px solid var(--sw-blue); }
.btn-jedi { background: rgba(0,0,0,0.7); color: var(--sw-blue); border: 2px solid var(--sw-blue); padding: 15px 40px; font-weight: 900; font-size: 1.1rem; text-transform: uppercase; font-family: 'Orbitron', sans-serif; cursor: pointer; transition: 0.3s; display: inline-block; text-decoration: none; box-shadow: inset 0 0 10px var(--sw-hologram);}
.btn-jedi:hover { background: var(--sw-yellow); border-color: var(--sw-yellow); color: #000; box-shadow: 0 0 30px var(--sw-yellow); transform: scale(1.05); }

/* ========================================================
   ▼ レスポンシブ対応（スマホ画面） ▼
   ======================================================== */
@media (max-width: 900px) {
    .koushin-nav, .koushin-cta { display: none; } 
    .koushin-hamburger { display: block; }
    .hero h1 { font-size: 2rem; }
    .teaser-box, .teaser-box.reverse { flex-direction: column; }
    .history-marquee-container img { height: 200px; } 
    .history-text-overlay .date { font-size: 1.3rem; }
    .history-text-overlay .title { font-size: 1.1rem; }
    .gallery-marquee-container img { height: 200px; } 
    .works-grid { grid-template-columns: 1fr; }
    .works-img { height: 250px; }
    .works-btn { width: 100%; margin-bottom: 5px; min-width: auto; }
}
