@charset "UTF-8";
:root {
    --bg-dark: #050a0f;
    --brand-skyblue: #0090ff;
    --brand-orange: #FF8C00;
    --text-main: #FFFFFF;
    --text-sub: rgba(255, 255, 255, 0.7);
    --nav-height: 100px;
}
* { box-sizing: border-box; }
body, html {
    margin: 0; 
    padding: 0;
    background-color: var(--bg-dark);
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    color: var(--text-main);
    scroll-behavior: smooth;
    overflow-x: hidden;
}
section,
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
section { position: relative; z-index: 10; padding: 120px 10%; min-height: auto; display: flex; flex-direction: column; justify-content: center; scroll-margin-top: var(--nav-height); }
section.is-visible,
[data-aos].is-visible { opacity: 1; transform: translateY(0); }
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="120"] { transition-delay: 0.12s; }
[data-aos-delay="150"] { transition-delay: 0.15s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }

/* 2. Background Effects & Canvas */
#bgContainer { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 1; 
    background: #000; 
    overflow: hidden; 
}

#bgContainer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(5, 10, 15, 0.4) 0%, 
        rgba(5, 10, 15, 0.25) 40%, 
        rgba(5, 10, 15, 0.5) 100%
    );
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}
body.scrolled #bgContainer::after {
    opacity: 0.5;
}

#bgCanvas { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 1; 
}
.horizon-bg {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: radial-gradient(circle at 50% 120%, #004a66 0%, #050a0f 70%);
    opacity: 0; 
    transition: opacity 1.5s ease; 
    z-index: 2; 
    pointer-events: none;
}
body.scrolled .horizon-bg { opacity: 0.35; }
/* 3. Header & Navigation */
.drop-check,
.footer-drop-check,
#menu-btn-check { display: none !important; appearance: none; -webkit-appearance: none; }
.logo { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 1.6rem; }
.logo a { 
    color: var(--brand-skyblue); 
    text-decoration: none; 
    display: inline-flex; 
    align-items: center; 
    gap: 12px; 
}
.logo-symbol {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: inline-block;
    flex-shrink: 0;
}
nav {
    position: fixed; 
    top: 0; 
    width: 100%; 
    height: var(--nav-height);
    padding: 0 24px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    z-index: 2000; 
    background: rgba(5, 10, 15, 0.85);
    backdrop-filter: blur(15px); 
    border-bottom: 1px solid rgba(0, 209, 255, 0.2);
    transition: transform 0.4s ease-in-out;
}
nav.nav-hidden { transform: translateY(-100%); }
.nav-links { display: flex; gap: 0.8rem; height: 100%; align-items: center; }
.nav-item { height: 100%; display: flex; align-items: center; position: static; }
.nav-item > a { 
    padding: 0 1.2rem; 
    color: var(--text-main); 
    text-decoration: none; 
    font-size: 0.75rem; 
    font-weight: 900; 
    text-transform: uppercase; 
    transition: 0.3s;
}
.nav-item:hover > a { color: var(--brand-skyblue); }
.nav-item.nav-contact > a {
    border: 1px solid var(--brand-skyblue); 
    padding: 8px 20px; 
    border-radius: 4px;
    background: rgba(0, 144, 255, 0.05); 
    box-shadow: 0 0 15px rgba(0, 144, 255, 0.5);
}
.nav-sub-label {
    font-size: 0.7rem;
    opacity: 0.8;
    font-weight: normal;
    font-family: "Josefin Sans", sans-serif;
}
.mega-menu {
    position: absolute; 
    top: var(--nav-height); 
    left: 0; 
    width: 100%;
    background: rgba(7, 18, 26, 0.98); 
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(0, 209, 255, 0.1);
    padding: 0 10%; 
    display: grid; 
    gap: 0;
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(-10px);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    z-index: 1999;
}
.nav-item:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-item { 
    text-decoration: none; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    height: calc(var(--nav-height) * 0.8); 
    border-right: 1px solid rgba(255,255,255,0.05); 
    padding: 0 25px; 
    transition: 0.3s;
}
.mega-item:last-child { border-right: none; }
.mega-item:hover { background: rgba(0, 209, 255, 0.1); }
.mega-item h4 { 
    color: var(--brand-orange); 
    margin: 0 0 2px 0; 
    font-size: 0.8rem;
    font-weight: 900; 
}
.mega-item p { 
    margin: 0; 
    font-size: 0.7rem;
    color: var(--text-main); 
    font-family: "Josefin Sans", sans-serif;
    white-space: nowrap; 
}
.drop-arrow { display: none; }
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2100;
}
.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* 4. Common Layout Containers & Cards */
/* 全サブページ共通コンテナ（ガラスモルフィズム） */
[class*="-container"],
.container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 40px auto;
    padding: 120px 40px 80px;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

/* コンテナごとの横幅調整 */
.culture-container,
.news-container { max-width: 1200px; }
.tech-container,
.works-container,
.training-container,
.company-container,
.service-container,
.contact-container { max-width: 1100px; }
.container,
.legal-page-container { max-width: 900px; }

/* 共通カード */
.content-card,
.legal-content-card,
.form-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    border-radius: 4px;
    margin-bottom: 40px;
}

/* ガラスモルフィズム背景を持つコンテナ直下のカード（二重枠・二重ぼかし防止） */
[class*="-container"] > .content-card,
[class*="-container"] > .legal-content-card,
.container > .content-card {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    padding: 0;
    margin-bottom: 0;
}
.legal-content-card { padding: 60px; }
.message-box {
    background: rgba(0, 144, 255, 0.05);
    border: 1px dashed var(--brand-skyblue);
    padding: 40px; 
    border-radius: 8px;
    margin-bottom: 40px;
}

/* 区切り線 */
.section-divider {
    width: 600px;
    max-width: 100%;
    height: 0.5px;
    background-color: var(--brand-skyblue);
    margin: 0 auto 30px auto;
    border: none;
    opacity: 0.7;
}

/* イントロテキスト */
.intro-text {
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.8;
    color: var(--text-sub);
}

/* 5. Typography & Headings */
h1, .page-title {
    color: var(--brand-skyblue);
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
}
.page-title-jp {
    display: block;
    color: var(--brand-orange);
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.25;
}
.page-title-en {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: "Josefin Sans", sans-serif;
    margin-top: 4px;
    letter-spacing: 0.05em;
}
.news-container h1,
.culture-container h1,
.company-container h1 { font-size: 2.5rem; }
.tech-container h1,
.works-container h1,
.training-container h1,
.service-container h1 { font-size: 2rem; }
.sub-title {
    color: var(--text-sub);
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    display: block;
}
.section-title { 
    font-size: 3.5rem; 
    font-weight: 900; 
    margin-bottom: 2rem; 
    border-left: 10px solid var(--brand-skyblue); 
    padding-left: 20px; 
}
.section-title-en {
    font-size: 60%;
    font-weight: 700;
}
h2 { 
    border-left: 4px solid var(--brand-skyblue); 
    padding-left: 15px; 
    color: var(--text-main); 
    font-size: 1.5rem; 
    margin-top: 25px; 
    margin-bottom: 25px; 
}
.legal-content-card h2 {
    border-left-color: var(--brand-orange);
    color: #ffffff;
    margin-top: 50px;
    margin-bottom: 20px;
}
.legal-content-card ul {
    list-style-type: disc;
    padding-left: 24px;
    margin-bottom: 20px;
}
.legal-content-card ul li {
    margin-bottom: 8px;
    line-height: 1.8;
}
h3 { 
    color: var(--brand-skyblue); 
    font-size: 1.1rem; 
    margin-bottom: 15px; 
}
p, li { 
    color: var(--text-sub); 
    line-height: 1.8; 
    margin-bottom: 10px; 
}
strong { color: var(--text-main); }

/* Responsive visibility utilities */
.sp-only { display: none; }
.pc-only { display: block; }

/* 6. Buttons & Links */
.btn-apply,
.btn-submit,
.btn-filled {
    display: inline-block;
    background: var(--brand-skyblue);
    color: #ffffff;
    padding: 18px 80px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 900;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}
.btn-apply { 
    padding: 16px 48px; 
    font-size: 1.1rem; 
    white-space: nowrap; 
    max-width: 100%;
}
.btn-filled { 
    padding: 12px 20px; 
    display: block; 
    margin-top: 15px; 
    font-size: 1rem; 
    line-height: 1.4;
}
.btn-submit { display: block; margin: 0 auto; }
.btn-submit:hover,
.btn-apply:hover,
.btn-filled:hover { opacity: 0.8; transform: translateY(-2px); }
.btn-submit:disabled { background: #444444; color: #888888; cursor: not-allowed; transform: none; }
.btn-link {
    flex: 1;
    display: block;
    padding: 12px 10px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    font-weight: 700;
    text-align: center;
    border: 1px solid var(--brand-skyblue);
    color: var(--brand-skyblue);
    background: rgba(0, 144, 255, 0.05);
    font-size: 0.9rem;
}
.btn-link:hover { background: var(--brand-skyblue); color: #ffffff; }
.btn-secondary {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 10px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    border-color: var(--brand-skyblue);
    color: var(--brand-skyblue);
    background: rgba(0, 144, 255, 0.1);
    transform: translateX(-3px);
}

/* トップへ戻るボタン */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(5, 10, 15, 0.85);
    backdrop-filter: blur(10px);
    border: 1.5px solid var(--brand-skyblue);
    color: var(--brand-skyblue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 3000;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 144, 255, 0.3);
}
.back-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.back-to-top:hover {
    background: rgba(0, 144, 255, 0.25);
    color: #ffffff;
    border-color: var(--brand-skyblue);
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 144, 255, 0.6);
}
.back-to-top::after {
    content: '';
    width: 11px;
    height: 11px;
    border-top: 2.5px solid currentColor;
    border-right: 2.5px solid currentColor;
    transform: rotate(-45deg);
    margin-top: 4px;
    transition: border-color 0.3s ease;
}
.apply-area { 
    text-align: center; 
    margin-top: 60px; 
    padding-top: 40px; 
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
}
.contact-note { margin-top: 20px; font-size: 0.85rem; color: var(--text-sub); }
.map-link {
    display: inline-block;
    margin-top: 5px;
    color: var(--brand-skyblue);
    text-decoration: none;
    border-bottom: 1px solid var(--brand-skyblue);
    font-size: 0.95rem;
}
.map-link:hover { opacity: 0.7; }

/* 7. Tables (Job, Info, Training) */
.job-table,
.info-table { 
    width: 100%; 
    border-collapse: collapse; 
    margin-top: 10px; 
    table-layout: fixed; 
}
.job-table th,
.info-table th { 
    width: 200px; 
    background: rgba(255, 255, 255, 0.05); 
    color: var(--brand-skyblue); 
    padding: 10px 20px; 
    text-align: left; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    font-size: 0.95rem; 
    vertical-align: middle; 
}
.job-table th {
    padding: 20px;
    font-size: 0.9rem;
    vertical-align: top;
}
.job-table td,
.info-table td { 
    padding: 10px 20px; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    font-size: 1rem; 
    line-height: 1.6; 
    color: var(--text-sub);
}
.job-table td {
    padding: 20px;
    font-size: 0.95rem;
    line-height: 1.8;
}
.job-table ul { list-style: none; padding-left: 0; margin: 0; line-height: 1.6; }
.bullet-list,
.job-table ul.bullet-list,
.info-table ul { padding-left: 1.2em; margin: 0; list-style: none; }
.bullet-list li,
.job-table ul.bullet-list li,
.info-table ul li { position: relative; margin-bottom: 2px; }
.bullet-list li::before,
.job-table ul.bullet-list li::before,
.info-table ul li::before {
    content: "・";
    position: absolute;
    left: -1.2em;
    color: var(--brand-skyblue);
}

/* 研修テーブル */
.training-table-wrapper {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    margin-bottom: 40px;
}
.training-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}
.training-table th, 
.training-table td { padding: 16px 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.training-table th {
    background: rgba(0, 144, 255, 0.15);
    color: var(--brand-skyblue);
    font-weight: 700;
    letter-spacing: 0.05em;
}
.training-table tr:last-child td { border-bottom: none; }
.training-table tr { transition: background-color 0.3s ease; }
.training-table tr:hover { background: rgba(255, 255, 255, 0.03); }
.col-num { width: 80px; font-weight: bold; color: var(--brand-skyblue); text-align: center; }
.back-to-service { text-align: center; margin-top: 40px; }

/* 8. Forms & Inputs */
.form-group { margin-bottom: 30px; }
.form-group label { 
    display: block; 
    color: var(--text-main); 
    margin-bottom: 10px; 
    font-weight: 700; 
    font-size: 0.9rem; 
}
.form-group label span { 
    background: var(--brand-skyblue); 
    color: #ffffff; 
    font-size: 0.7rem; 
    padding: 2px 8px; 
    border-radius: 2px; 
    margin-left: 10px; 
    vertical-align: middle; 
}
.form-group label span.optional { background: rgba(255, 255, 255, 0.2); color: var(--text-sub); }
.form-control {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #ffffff;
    font-size: 1rem;
    appearance: none;
    -webkit-appearance: none;
}
input[type="file"].form-control { padding: 12px; }
select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white'%3E%3Cpath d='M0 3l6 6 6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    cursor: pointer;
}
select.form-control option { background-color: #1a1f24; color: #ffffff; }
.form-control:focus { 
    outline: none; 
    border-color: var(--brand-skyblue); 
    background-color: rgba(255, 255, 255, 0.12); 
}
textarea.form-control { min-height: 150px; resize: vertical; }
.privacy-check { 
    text-align: center; 
    margin: 40px 0; 
    color: var(--text-sub); 
    font-size: 0.9rem; 
}
.privacy-check a { color: var(--brand-skyblue); text-decoration: underline; }
.form-help-text {
    font-size: 0.8rem;
    color: var(--text-sub);
    display: block;
    margin-top: 5px;
}

/* 9. Page-Specific Components & Modules */
/* --- Hero Section --- */
.hero { 
    min-height: 100vh; 
    justify-content: flex-end; 
    align-items: flex-start;
    padding-bottom: 10%; 
    opacity: 1; 
    transform: none; 
    text-align: left;
}
.hero .sub-label { 
    color: var(--brand-orange); 
    font-weight: 900; 
    letter-spacing: 0.5em; 
    margin-bottom: 2.5rem; 
    font-size: 1.1rem; 
    text-align: left;
}
.hero h1 { 
    font-size: 5rem; 
    line-height: 1.35; 
    margin: 0; 
    font-weight: 900; 
    text-align: left;
}
.hero-line {
    display: inline-block;
    white-space: nowrap;
}
.hero .lead-text { 
    margin-top: 3rem; 
    font-size: 1.1rem; 
    font-weight: 700; 
    color: var(--text-sub); 
    text-align: left;
}

/* --- Policy Card (Company Section) --- */
.policy-card { margin-bottom: 1.3rem; position: relative; }
.policy-card h3 { 
    color: var(--brand-orange); 
    font-size: 2.5rem; 
    margin-bottom: 0.3rem; 
    font-weight: 900; 
    font-family: 'Noto Serif JP', serif; 
    letter-spacing: 0.1em;
    display: flex; 
    flex-direction: column; 
    align-items: center;
}
.policy-card h3 span {
    font-size: 0.8rem; 
    font-family: 'Inter', sans-serif; 
    font-weight: 400;
    color: var(--brand-skyblue); 
    margin-top: 4px; 
    letter-spacing: 0.3em; 
    text-transform: uppercase;
}
.policy-card p { 
    font-family: 'Noto Serif JP', serif;
    font-size: 1.15rem; 
    line-height: 1.6; 
    color: rgb(255, 255, 255); 
    max-width: 680px; 
    margin: 0 auto; 
    text-align: center;
}
.policy-message-body {
    font-family: 'Noto Serif JP', serif;
    color: #ffffff;
}
.policy-message-body p {
    font-family: 'Noto Serif JP', serif;
    color: #ffffff;
}
.policy-card::before {
    content: attr(data-watermark); 
    position: absolute; 
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%); 
    font-family: 'Noto Serif JP', serif;
    font-size: 6rem; 
    font-weight: 900; 
    color: rgba(0, 144, 255, 0.03);
    z-index: -1; 
    pointer-events: none;
}

/* --- Vision Section (Policy Page) --- */
.vision-section {
    text-align: left;
    margin-top: 15px;
    margin-bottom: 0;
    padding: 5px 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.vision-item {
    position: relative;
    margin-bottom: 16px;
    padding-left: 20px;
    padding-top: 2px;
    padding-bottom: 2px;
    border-left: 3px solid var(--brand-orange);
}
.vision-item:last-child { margin-bottom: 0; }
.vision-prefix {
    display: inline-block;
    color: var(--brand-orange);
    font-size: 1.05rem;
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}
.vision-text {
    display: block;
    color: var(--text-main);
    font-size: 1.25rem;
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    line-height: 1.6;
}

/* --- Content Modules (Top Page) --- */
.section-intro-left { max-width: 1000px; margin-bottom: 3rem; text-align: left; }
.section-intro-left p { font-size: 1.1rem; line-height: 1.8; color: var(--text-sub); margin-bottom: 1.5rem; }
.service-list { 
    list-style: none; 
    padding: 0; 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}
.service-list > li { 
    position: relative; 
    padding-left: 25px; 
    font-size: 1rem; 
    line-height: 1.6;
}
.service-list-title {
    display: block;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}
.service-list-desc {
    display: block;
    font-weight: 400;
    color: var(--text-sub);
    font-size: 0.95rem;
    line-height: 1.6;
}
.service-list > li::before { 
    content: ""; 
    position: absolute; 
    left: 0; 
    top: 12px; 
    width: 8px; 
    height: 2px; 
    background: var(--brand-skyblue); 
}
.service-sub-list {
    list-style: circle;
    padding-left: 20px;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.service-sub-list li {
    font-weight: 400;
    color: var(--text-sub);
    font-size: 0.9rem;
    padding-left: 0;
    position: static;
}
.service-sub-list li::before {
    display: none;
}
.section-intro-center { max-width: 900px; margin: 0 auto 4rem; text-align: center; }
.bento-item {
    position: relative; 
    overflow: hidden; 
    background: rgba(8, 15, 30, 0.85); /* 背景色・不透明度 */
    backdrop-filter: blur(12px); /* 背景ぼかし */
    border: 1.5px solid rgba(255, 255, 255, 0.75); /* ホワイトの縁取り */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* カード影 */
    border-radius: 24px; 
    padding: 40px;
    display: flex; 
    flex-direction: column; 
    transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 240px; 
    text-decoration: none; 
    color: inherit;
}
.bento-item:hover { 
    border-color: var(--brand-orange); 
    background: rgba(10, 20, 40, 0.95); 
    transform: translateY(-8px); 
    box-shadow: 0 15px 35px rgba(255, 140, 0, 0.2);
}
.bento-img { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    z-index: -1; 
    opacity: 0.25; /* 背景写真の透明度 */
    transition: 0.8s ease; 
    mix-blend-mode: luminosity; 
}
.bento-item:hover .bento-img { opacity: 0.5; transform: scale(1.1); mix-blend-mode: normal; }
.bento-item h3 { 
    margin: 0 0 12px 0; 
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9); /* 黒い影を追加 */
}
.bento-title-jp {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--brand-orange);
    line-height: 1.25;
}
.bento-status-closed {
    font-size: 0.85rem;
    font-weight: normal;
    color: #ff4d4d;
    margin-left: 8px;
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
}
.bento-title-en {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    font-family: "Josefin Sans", sans-serif;
    margin-top: 4px;
    letter-spacing: 0.03em;
}
.bento-item p { 
    font-size: 0.9rem; 
    line-height: 1.6; 
    color: var(--text-main); 
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.95); /* 濃さ */
}
.news-list { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.1); }
.news-entry {
    display: flex; 
    align-items: center; 
    padding: 25px 15px; 
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-decoration: none; 
    color: var(--text-main); 
    transition: 0.3s;
}
.news-entry:hover { background: rgba(255,255,255,0.03); color: var(--brand-skyblue); }
.news-date { 
    font-family: 'Inter', sans-serif; 
    font-size: 0.85rem; 
    color: var(--text-sub); 
    width: 120px; 
}
.news-title { font-size: 1rem; font-weight: 700; flex: 1; }
.service-bento { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    grid-auto-rows: 280px; 
    gap: 24px; 
}
.item-ai { grid-column: 1 / 3; }
.common-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.common-grid.two-column-grid { grid-template-columns: repeat(2, 1fr); }
/* --- Service / Technology / Works Accordion Cards --- */
.service-grid,
.tech-grid,
.works-grid { display: flex; flex-direction: column; gap: 15px; width: 100%; }
.service-card,
.tech-card,
.works-card {
    background-size: cover;
    background-position: center;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    border-radius: 24px;
    background-color: rgba(8, 15, 30, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative; 
    padding: 25px 30px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}
.service-card::before,
.tech-card::before,
.works-card::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.service-card:hover,
.tech-card:hover,
.works-card:hover {
    border-color: var(--brand-orange);
    background-color: rgba(10, 20, 40, 0.95);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(255, 140, 0, 0.2);
}
.service-content,
.tech-content,
.works-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
    flex-grow: 0; 
    margin: 0;
}
.service-title,
.tech-title,
.works-title { margin-bottom: 0; text-align: center; }
.service-card .jp,
.tech-card .jp,
.works-card .jp {
    display: block;
    color: var(--brand-orange);
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
}
.service-card .en,
.tech-card .en,
.works-card .en {
    display: block;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: "Josefin Sans", sans-serif;
    margin-top: 4px;
    letter-spacing: 0.03em;
    text-align: center;
}
.service-details-link,
.tech-details-link,
.works-details-link {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: bold;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 6px 16px;
    border-radius: 20px;
    margin: 0 auto; 
    align-self: center;
    flex-shrink: 0;
    min-width: 120px;
    text-align: center;
}
.service-card:hover .service-details-link,
.tech-card:hover .tech-details-link,
.works-card:hover .works-details-link {
    border-color: var(--brand-skyblue);
    color: var(--brand-skyblue);
    background: rgba(0, 144, 255, 0.1);
}
.service-details,
.tech-details,
.works-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1), padding 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
    color: #eeeeee;
    font-size: 1rem;
    line-height: 1.7;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(25, 38, 60, 0.94) 0%, rgba(8, 12, 22, 0.97) 100%);
    border-radius: 16px;
    border: 1px solid transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    padding: 0 30px;
    margin-top: 0;
    opacity: 0;
    z-index: 3;
    box-sizing: border-box;
    text-align: center;
}
.service-card.is-open .service-details,
.tech-card.is-open .tech-details,
.works-card.is-open .works-details {
    max-height: 6000px;
    padding: 20px 30px;
    margin-top: 15px;
    border-color: rgba(255, 255, 255, 0.18);
    opacity: 1;
    position: static;
}
.card-detail-inner { text-align: left; max-width: 800px; margin: 0 auto; padding: 10px 0; }
.card-detail-title { font-size: 1.15rem; color: var(--brand-skyblue); margin-bottom: 8px; font-weight: bold; }

/* --- Works Project Accordion List (Inside Business Info) --- */
.works-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    width: 100%;
}
.works-item-accordion {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
}
.works-item-accordion:hover {
    border-color: rgba(0, 144, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}
.works-item-accordion.is-active {
    border-color: var(--brand-skyblue);
    background: rgba(0, 20, 45, 0.6);
    box-shadow: 0 4px 20px rgba(0, 144, 255, 0.12);
}
.works-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    cursor: pointer;
    user-select: none;
    gap: 12px;
}
.works-project-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex: 1;
    min-width: 0;
}
.works-project-tag {
    font-size: 0.72rem;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(0, 144, 255, 0.18);
    color: var(--brand-skyblue);
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid rgba(0, 144, 255, 0.35);
    flex-shrink: 0;
    display: inline-block;
}
.works-project-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.45;
    text-align: left;
    transition: color 0.2s ease;
    word-break: break-word;
}
.works-item-accordion:hover .works-project-title,
.works-item-accordion.is-active .works-project-title {
    color: var(--brand-skyblue);
}
.works-item-toggle-icon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-skyblue);
    white-space: nowrap;
    margin-left: 8px;
    flex-shrink: 0;
}
.works-item-toggle-icon .toggle-symbol {
    font-size: 1.15rem;
    line-height: 1;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.works-item-accordion.is-active .works-item-toggle-icon .toggle-symbol {
    transform: rotate(45deg);
    color: var(--brand-orange);
}
.works-item-accordion.is-active .works-item-toggle-icon .toggle-text {
    color: var(--brand-orange);
}

@media (min-width: 768px) {
    .works-item-header {
        padding: 15px 20px;
        gap: 16px;
    }
    .works-project-main {
        flex-direction: row;
        align-items: center;
        gap: 14px;
    }
    .works-project-tag {
        font-size: 0.75rem;
        padding: 3px 9px;
    }
    .works-project-title {
        font-size: 0.95rem;
    }
    .works-item-toggle-icon {
        font-size: 0.8rem;
        margin-left: 12px;
        gap: 6px;
    }
}
.works-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid transparent;
}
.works-item-accordion.is-active .works-item-body {
    max-height: 800px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.works-item-content {
    padding: 18px 20px;
    text-align: left;
}
.works-spec-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
}
.works-spec-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
@media (min-width: 768px) {
    .works-spec-group {
        flex-direction: row;
        gap: 16px;
        align-items: flex-start;
    }
    .works-spec-group dt {
        width: 150px;
        min-width: 150px;
        flex-shrink: 0;
    }
    .works-spec-group dd {
        flex: 1;
    }
}
.works-spec-group dt {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--brand-skyblue);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    line-height: 1.5;
    flex-shrink: 0;
    margin: 0;
}
.works-spec-group dt::before {
    content: '';
    display: block;
    width: 3px;
    height: 13px;
    background: var(--brand-skyblue);
    border-radius: 2px;
    flex-shrink: 0;
}
.works-spec-group dd {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-sub);
    line-height: 1.65;
}
.works-bullet-list {
    margin: 0;
    padding-left: 1.2rem;
    list-style-type: disc;
}
.works-bullet-list li {
    margin-bottom: 6px;
    line-height: 1.6;
}
.works-bullet-list li:last-child {
    margin-bottom: 0;
}

/* --- Work Detail Page Styles --- */
.work-detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: calc(var(--nav-height) + 40px) 24px 80px;
    position: relative;
    z-index: 10;
}
.work-detail-header {
    margin-bottom: 30px;
}
.work-detail-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    background: rgba(0, 144, 255, 0.2);
    color: var(--brand-skyblue);
    border: 1px solid rgba(0, 144, 255, 0.4);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.work-detail-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 8px;
}
.work-detail-en {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text-sub);
    letter-spacing: 0.05em;
}
.work-detail-card {
    background: rgba(10, 18, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 36px 32px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 40px;
}
.work-detail-section {
    margin-bottom: 32px;
}
.work-detail-section:last-child {
    margin-bottom: 0;
}
.work-detail-section h2 {
    font-size: 1.2rem;
    color: var(--brand-skyblue);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 3px solid var(--brand-skyblue);
    padding-left: 12px;
}
.work-detail-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-sub);
    margin-bottom: 12px;
}
.work-detail-section p:last-child {
    margin-bottom: 0;
}
.work-detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}
.work-detail-table th,
.work-detail-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    line-height: 1.6;
}
.work-detail-table th {
    width: 160px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--brand-skyblue);
    font-weight: 700;
    vertical-align: top;
    text-align: left;
}
.work-detail-table td {
    color: var(--text-sub);
}
.work-detail-table tr:last-child th,
.work-detail-table tr:last-child td {
    border-bottom: none;
}
.back-to-works-wrap {
    text-align: center;
    margin-top: 40px;
}
.btn-back-works {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-back-works:hover {
    background: rgba(0, 144, 255, 0.2);
    border-color: var(--brand-skyblue);
    color: var(--brand-skyblue);
    transform: translateY(-2px);
}
/* --- News Page Module --- */
.category-filter-area {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-tab {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-sub);
    padding: 8px 18px;
    font-size: 0.95rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-tab:hover { border-color: var(--brand-skyblue); color: var(--brand-skyblue); }
.filter-tab.active {
    background-color: var(--brand-skyblue);
    border-color: var(--brand-skyblue);
    color: #ffffff;
    font-weight: bold;
}
.news-list-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.news-item {
    display: flex;
    align-items: center;
    padding: 20px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease;
}
.news-item.hidden { display: none !important; }
.news-item:hover { background-color: rgba(255, 255, 255, 0.05); }
.news-item:hover .news-title-text { color: #0055ff; }
.news-date-tag-row { display: flex; align-items: center; }
.news-tag {
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 3px;
    margin-right: 20px;
    text-align: center;
    width: 70px;
    flex-shrink: 0;
    text-transform: uppercase;
}
.news-tag.press { background-color: #e65100; color: #ffffff; }
.news-tag.info { background-color: #006064; color: #ffffff; }
.news-tag.recruit { background-color: #1b5e20; color: #ffffff; }
.news-title-text { font-size: 1.05rem; line-height: 1.5; color: var(--text-main); transition: color 0.2s ease; flex: 1; }
.news-detail-btn {
    margin-left: auto;
    font-size: 0.9rem;
    color: var(--brand-skyblue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    padding-left: 15px;
    transition: color 0.2s ease;
}
.news-item:hover .news-detail-btn,
.news-entry:hover .news-detail-btn {
    color: #58b6ff;
}
.news-detail-arrow {
    display: inline-block;
    vertical-align: middle;
    width: 10px;
    height: 7px;
    transition: transform 0.2s ease;
}
.news-item:hover .news-detail-arrow,
.news-entry:hover .news-detail-arrow {
    transform: translateY(2px);
}
.news-pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 50px; user-select: none; }
.page-btn { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; border-radius: 50%; border: none; font-size: 0.95rem; cursor: pointer; transition: all 0.2s ease; }
.page-num { background-color: #e0e0e0; color: #333333; }
.page-num:hover { background-color: #d0d0d0; }
.page-num.active { background-color: #0055ff; color: #ffffff; font-weight: bold; }
.page-arrow { background-color: #3a3a3a; color: #ffffff; font-size: 1.1rem; }
.page-arrow:hover { background-color: #4a4a4a; }
.page-btn:disabled { background-color: #222222 !important; color: #666666 !important; cursor: not-allowed; opacity: 0.5; }
.news-header-flex { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.news-more-link { color: var(--brand-skyblue); text-decoration: none; font-weight: 700; }

/* --- Culture / Event List --- */
.event-grid { display: flex; flex-direction: column; gap: 10px; }
.event-item { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.event-item:nth-child(even) { grid-template-columns: 1fr 1fr; direction: rtl; }
.event-item:nth-child(even) .event-text { direction: ltr; }
.event-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.event-text h2 {
    color: var(--brand-skyblue);
    font-size: 1.6rem;
    margin-bottom: 8px;
    border-left: 4px solid var(--brand-skyblue);
    padding-left: 15px;
    margin-top: 0;
}
.event-text p { color: var(--text-sub); line-height: 1.7; margin-bottom: 10px; }
.event-meta { font-size: 0.9rem; color: var(--brand-skyblue); font-weight: bold; }

/* --- Contact & Access Module --- */
.row { display: flex; flex-direction: column; gap: 20px; margin-bottom: 20px; }
.col-left, .col-right { width: 100%; min-width: 0; }
.contact-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px; 
}
.contact-card-inner {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 4px;
    margin-top: 20px;
}
.contact-info-item { margin-bottom: 20px; font-size: 1.1rem; }
.contact-label { color: var(--brand-skyblue); font-size: 0.9rem; display: block; margin-bottom: 5px; }
.emergency-box { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 25px; padding-top: 20px; }
.emergency-title { color: #ff4d4d; font-weight: bold; display: inline-block; margin-bottom: 5px; }
.btn-group-horizontal { display: flex; gap: 12px; margin-top: 15px; }
.map-container {
    position: relative;
    width: 100%;
    height: 520px;
    margin-top: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    overflow: hidden;
}
#gMapFrame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    pointer-events: auto;
}
.contact-box { margin-top: 30px; padding: 20px; background: rgba(255, 255, 255, 0.05); border-radius: 4px; }
.contact-box strong { color: var(--brand-skyblue); display: block; margin-bottom: 10px; }
.legal-footer-info { 
    margin-top: 60px; 
    padding-top: 30px; 
    border-top: 1px solid rgba(255,255,255,0.1); 
    font-size: 0.95rem;
    line-height: 1.8;
}

/* --- Organization --- */
.org-chart-container { width: 100%; padding: 20px 0; }
.file-tree { list-style: none; margin: 0; padding: 0; position: relative; }
.file-tree ul { list-style: none; margin: 0; padding: 0 0 0 32px; margin-top: 12px; position: relative; }
.file-tree li { position: relative; margin-bottom: 16px; }
.file-tree li:last-child { margin-bottom: 0; }
.file-tree ul > li::before { content: ''; position: absolute; left: -18px; width: 0; border-left: 1px dashed rgba(0, 144, 255, 0.45); top: 0; bottom: -16px; }
.file-tree ul > li:first-child::before { top: -12px; }
.file-tree ul > li:last-child::before { bottom: auto; height: 18px; }
.file-tree ul > li:first-child:last-child::before { top: -12px; bottom: auto; height: 30px; }
.file-tree ul > li::after { content: ''; position: absolute; top: 18px; left: -18px; width: 15px; height: 0; border-top: 1px dashed rgba(0, 144, 255, 0.45); }
.file-tree > li::before,
.file-tree > li::after { display: none; }
.org-box {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #0e1722;
    color: #ffffff;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.org-box.director {
    background: linear-gradient(135deg, rgba(0, 144, 255, 0.25), rgba(0, 80, 160, 0.35)), #0e1722;
    border-color: var(--brand-skyblue);
    color: var(--brand-skyblue);
    font-size: 1.05rem;
    padding: 10px 20px;
}
.org-box.department {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.2), rgba(180, 90, 0, 0.25)), #0e1722;
    border-color: var(--brand-orange);
    color: var(--brand-orange);
    font-size: 1rem;
}
.org-box.group, .org-box.innovation, .org-box.finance, .org-box.ses { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }
.org-box.unit { background: #000000; border-color: #444444; font-weight: 400; font-size: 0.85rem; color: var(--text-sub); }
.org-item-flex { display: flex; align-items: flex-start; gap: 15px; flex-wrap: wrap; }
.org-desc { font-size: 0.85rem; color: var(--text-sub); line-height: 1.5; }
.desc-title { color: var(--brand-skyblue); font-weight: bold; display: block; }
.desc-text { margin: 2px 0 0 0; }

/* 10. Utility Classes */
.text-skyblue { color: var(--brand-skyblue); }
.text-orange { color: var(--brand-orange); }
.text-white { color: #ffffff; }
.text-sub { color: var(--text-sub); }
.text-main { color: var(--text-main); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-bold { font-weight: bold; }
.font-sm { font-size: 0.85rem; }
.font-xs { font-size: 0.8rem; }
.block { display: block; }
.mt-0 { margin-top: 0; }
.mt-5 { margin-top: 5px; }
.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }
.mb-0 { margin-bottom: 0; }
.mb-5 { margin-bottom: 5px; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.underline { text-decoration: underline; }
.list-disc { list-style-type: disc; padding-left: 20px; }
.mega-menu-2 { grid-template-columns: repeat(2, 1fr); }
.mega-menu-3 { grid-template-columns: repeat(3, 1fr); }
.mega-menu-5 { grid-template-columns: repeat(5, 1fr); }

/* 11. Footer */
footer { padding: 100px 5% 40px; background: #020508; position: relative; z-index: 20; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto 60px auto; align-items: start; justify-content: center; text-align: center; }
.footer-info { min-width: 230px; text-align: left; }
.footer-links h5 { 
    color: var(--text-main); 
    font-size: 0.8rem; 
    margin: 0 0 12px 0; 
    padding-bottom: 8px; 
    border-bottom: 1px solid var(--brand-skyblue); 
    text-transform: uppercase; 
    font-weight: 900; 
    white-space: nowrap !important; 
    letter-spacing: 0.08em;
    display: block;
    width: 100%;
    box-sizing: border-box;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-sub); text-decoration: none; transition: 0.3s; white-space: nowrap; }
.footer-links a:hover { color: var(--brand-skyblue); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.copyright { font-size: 0.7rem; color: rgba(255, 255, 255, 0.5); }
.footer-control { font-size: 0.8rem; }
.footer-drop-check { display: none; }
.footer-logo-wrap { margin-bottom: 15px; }
.footer-catchphrase { font-size: 0.7rem; color: var(--text-sub); }
.footer-heading-label { display: block; width: 100%; }
.footer-heading-label h5 a { color: var(--text-main); text-decoration: none; line-height: 1.35; display: block; }
.footer-sub-title { font-size: 0.75em; opacity: 0.8; font-weight: normal; display: block; margin-top: 2px; }
.footer-subnav-container { border-top: 1px solid rgba(255,255,255,0.05); margin-top: 30px; padding: 30px 20px; }
.footer-sub-links a { color: var(--text-sub); text-decoration: none; transition: color 0.3s ease; }
.footer-sub-links a:hover { color: var(--brand-skyblue) !important; }
.footer-sub-links-wrap { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.footer-sub-links { display: flex; gap: 25px; flex-wrap: wrap; }
.p-mark-img { height: 100px; width: auto; border: 0; }
.footer-bottom-inner { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding: 15px 0; }
.footer-child-menu a { font-size: 0.8rem; }
.p-mark-area { display: flex; align-items: center; gap: 15px; }
.p-mark-text {  font-size: 0.7rem; color: var(--text-sub); line-height: 1.5; text-align: left; margin: 0; }

/* 12. モバイル・タブレット用サイズ調整（レスポンシブ） */
@media (max-width: 1100px) {
    section { padding: 80px 5%; }
    
    .hero {
        min-height: auto;     
        padding-top: calc(var(--nav-height) + 40px); 
        padding-bottom: 40px;
        justify-content: flex-start; 
    }
    
    .hero h1 { font-size: clamp(1.8rem, 4.5vw, 3rem); }
    .hero .sub-label { font-size: 0.85rem; letter-spacing: 0.35em; margin-bottom: 1.2rem; }
    .hero .lead-text { font-size: 0.95rem; margin-top: 1.8rem; }
    .section-title { font-size: 2.25rem; }
    .service-bento,
    .common-grid,
    .common-grid.two-column-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .item-ai { grid-column: auto; }
    .bento-item { min-height: auto; padding: 20px; }
    .bento-item h3 { margin-bottom: 6px; }
    .bento-title-jp { font-size: 1.25rem; }
    .bento-title-en { font-size: 0.75rem; margin-top: 2px; }
    .bento-item p { font-size: 0.85rem; margin: 0; }

    /* ハンバーガーメニュー */
    .menu-toggle { display: flex; }
    #menu-btn-check:checked ~ .menu-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); background-color: var(--brand-skyblue); }
    #menu-btn-check:checked ~ .menu-toggle span:nth-child(2) { opacity: 0; }
    #menu-btn-check:checked ~ .menu-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background-color: var(--brand-skyblue); }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: rgba(5, 10, 15, 0.98);
        backdrop-filter: blur(25px);
        flex-direction: column;
        align-items: flex-start;
        padding: calc(var(--nav-height) + 20px) 5% 40px;
        gap: 0;
        overflow-y: auto;
        transition: right 0.35s ease-in-out;
        border-left: 1px solid rgba(0, 209, 255, 0.1);
    }
    #menu-btn-check:checked ~ .nav-links { right: 0; }
    .nav-item {
        width: 100%;
        height: auto;
        position: relative;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .nav-item > a {
        display: inline-block;
        width: 80%;
        padding: 14px 0;
        font-size: 0.85rem;
        line-height: 1.3;
    }
    .drop-arrow {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 20%;
        height: 100%;
        cursor: pointer;
        z-index: 10;
    }
    .drop-arrow::after {
        content: '+';
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--brand-skyblue);
        transition: transform 0.2s;
        line-height: 1;
    }
    .nav-item.nav-contact > a {
        border: none;
        background: none;
        box-shadow: none;
        padding: 14px 0;
        border-radius: 0;
    }
    .mega-menu {
        position: static;
        width: 100%;
        grid-template-columns: 1fr;
        padding: 0 0 15px 15px;
        background: none;
        backdrop-filter: none;
        border-bottom: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .drop-check:checked ~ .mega-menu { display: grid; }
    .drop-check:checked ~ .drop-arrow::after { content: '−'; color: var(--brand-orange); }
    .mega-item {
        height: auto;
        padding: 10px 0;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.02);
    }
    .mega-item h4 { font-size: 0.85rem; }
    .mega-item p { display: none; }
}

@media (max-width: 850px) {
    .service-card,
    .tech-card,
    .works-card {
        flex-direction: column;
        align-items: center;
        padding: 20px 15px;
    }
    .service-content,
    .tech-content,
    .works-content {
        margin-right: 0;
        margin-bottom: 8px;
        text-align: center;
    }
    .service-details-link,
    .tech-details-link,
    .works-details-link {
        align-self: center;
        margin-left: 0;
        padding: 5px 14px;
        font-size: 0.8rem;
    }
    .service-details,
    .tech-details,
    .works-details { padding: 0 15px; }
    .service-card.is-open .service-details,
    .tech-card.is-open .tech-details,
    .works-card.is-open .works-details { padding: 15px; }
    .company-grid { grid-template-columns: 1fr; }
    .event-item,
    .event-item:nth-child(even) { grid-template-columns: 1fr; gap: 15px; direction: ltr; }
    .event-image img { height: 180px; }
}
@media (max-width: 768px) {
    .sp-only { display: inline; }
    .pc-only { display: none; }
    .hero h1 { font-size: clamp(1.35rem, 5.2vw, 2.0rem); }
    .hero .sub-label { font-size: 0.8rem; letter-spacing: 0.25em; margin-bottom: 1.0rem; }
    .hero .lead-text { font-size: 0.85rem; margin-top: 1.5rem; }
    .section-title { font-size: 1.8rem; }
    .content-card,
    .legal-content-card,
    .form-card { padding: 40px 20px; }
    .job-table th, .job-table td,
    .info-table th, .info-table td { display: block; width: 100%; padding: 8px 15px; }
    .job-table th, .info-table th { border-bottom: none; padding-bottom: 5px; background: rgba(255, 255, 255, 0.08); }
    .btn-apply {
        padding: 14px 28px;
        font-size: 0.95rem;
        white-space: nowrap;
        box-sizing: border-box;
    }
    .news-item, .news-entry { flex-direction: column; align-items: flex-start; gap: 8px; padding: 15px 10px; }
    .news-item .news-detail-btn, .news-entry .news-detail-btn { align-self: flex-end; margin-left: 0; padding-left: 0; font-size: 0.85rem; }
    .news-date-tag-row { gap: 15px; }
    .news-date { width: auto; }
    .news-tag { margin-right: 0; }
    .news-title-text { font-size: 0.95rem; }
    .news-pagination { gap: 8px; }
    .page-btn { width: 36px; height: 36px; font-size: 0.85rem; }
    .career-nav { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 0; text-align: left; }
    .footer-info { padding: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); margin-bottom: 10px; }
    .footer-links { border-bottom: 1px solid rgba(255, 255, 255, 0.05); position: relative; }
    .footer-heading-label { display: block; padding: 18px 45px 18px 20px; cursor: pointer; position: relative; }
    .footer-links h5 { margin: 0; font-size: 0.85rem; letter-spacing: 0.05em; border-bottom: none; padding-bottom: 0; }
    .footer-heading-label h5 a { pointer-events: none; }
    .footer-heading-label::after {
        content: '+';
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--brand-skyblue);
        transition: transform 0.2s;
        line-height: 1;
    }
    .footer-links .footer-child-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, padding 0.3s ease;
        padding: 0 20px 0 35px;
        margin: 0;
        list-style: none;
        text-align: left;
    }
    .footer-child-menu li { margin-bottom: 12px; }
    .footer-child-menu li:last-child { padding-bottom: 15px; }
    .footer-child-menu a { font-size: 0.85rem; display: block; }
    .footer-drop-check:checked ~ .footer-child-menu { max-height: 300px; transition: max-height 0.3s ease-in; }
    .footer-drop-check:checked ~ .footer-heading-label::after { content: '−'; color: var(--brand-orange); }
    .footer-sub-links-wrap { flex-direction: column; align-items: center; text-align: center; gap: 25px; }
    .footer-sub-links { justify-content: center; gap: 20px; }
    .p-mark-area { flex-direction: column; align-items: center; gap: 10px; }
    .p-mark-text { text-align: center; }
}
@media (max-width: 600px) {
    .training-table th, 
    .training-table td { padding: 12px 16px; font-size: 0.85rem; }
    .col-num { width: 50px; }
}
@media (max-width: 480px) { 
    .hero h1 { font-size: clamp(1.4rem, 7.3vw, 1.85rem); }
    .hero .sub-label { font-size: 0.72rem; letter-spacing: 0.15em; margin-bottom: 0.8rem; }
    .hero .lead-text { font-size: 0.8rem; margin-top: 1.2rem; line-height: 1.6; }
    .btn-group-horizontal { flex-direction: column; } 
    .btn-apply {
        padding: 13px 20px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
}

/* Telephone & Email Link Styling */
a[href^="tel:"], .tel-link,
a[href^="mailto:"], .email-link,
.contact-box a {
    color: var(--brand-skyblue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, opacity 0.2s ease;
}
a[href^="tel:"]:hover, .tel-link:hover,
a[href^="mailto:"]:hover, .email-link:hover,
.contact-box a:hover {
    color: var(--brand-orange);
    text-decoration: underline;
    opacity: 0.9;
}

/* 404 Page Styling */
.error-404-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 20px 60px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}
.error-code {
    display: block;
    width: 100%;
    text-align: center;
    font-size: clamp(6.5rem, 20vw, 12rem);
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.05em;
    margin: 0 auto 15px auto;
    color: var(--brand-skyblue);
    background: linear-gradient(135deg, #00d1ff 0%, var(--brand-skyblue) 50%, var(--brand-orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 8px 24px rgba(0, 144, 255, 0.35));
}
.error-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 40px 30px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.error-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-sub);
    margin-bottom: 30px;
}
.error-action-btns,
.thanks-action-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.error-action-btns .btn-filled,
.error-action-btns .btn-link,
.thanks-action-btns .btn-filled,
.thanks-action-btns .btn-link {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 24px;
    font-size: 0.95rem;
    box-sizing: border-box;
    border-radius: 4px;
    line-height: 1;
}
.error-action-btns .btn-filled,
.thanks-action-btns .btn-filled {
    border: 1px solid transparent;
    flex: initial;
}
.error-action-btns .btn-link,
.thanks-action-btns .btn-link {
    flex: initial;
    min-width: 140px;
}

/* Thanks Page Styling */
.thanks-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px 60px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}
.thanks-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(0, 144, 255, 0.1);
    border: 1px solid rgba(0, 144, 255, 0.3);
    color: var(--brand-skyblue);
    margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(0, 144, 255, 0.2);
}
.thanks-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 40px 30px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.thanks-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 25px;
}
.thanks-notice {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--brand-skyblue);
    padding: 15px 20px;
    text-align: left;
    margin-bottom: 30px;
    border-radius: 0 4px 4px 0;
}

/* Closed Recruitment Notice */
.recruit-closed-alert {
    display: block;
    text-align: center;
    color: var(--brand-orange);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    line-height: 1.4;
}
.page-title-jp.is-closed {
    text-decoration: line-through;
    text-decoration-thickness: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 0.6);
}
.recruit-closed-container {
    padding: 40px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    margin-top: 25px;
}
.recruit-closed-container p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-sub);
}

