* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1b1464;
    --accent: #3b5bdb;
    --light: #eef0ff;
    --text: #1a1a27;
    --sub: #55557a;
    --border: #e2e4ef;
    --white: #fff;
    --bg: #f7f8fc;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text);
    background: var(--white);
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Barlow', 'Noto Sans JP', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

img,
video {
    display: block;
    max-width: 100%;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 200;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
}

.logo img {
    height: 26px;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 13px;
    letter-spacing: .12em;
    font-weight: 500;
    font-family: 'Barlow', sans-serif;
    color: rgba(255, 255, 255, .7);
    transition: all .2s;
    cursor: pointer;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    border-bottom-color: #fff;
}

/* PAGE */
.page {
    padding-top: 64px;
    min-height: 100vh;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 34px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    letter-spacing: .15em;
    transition: all .3s;
    cursor: pointer;
}

.btn-outline {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-white {
    border: 1.5px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-white:hover {
    background: #fff;
    color: var(--primary);
}

/* SECTION */
.sec {
    padding: 90px 80px;
}

.sec-label {
    font-size: 11px;
    letter-spacing: .35em;
    color: var(--accent);
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    margin-bottom: 12px;
}

.sec-title {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    font-family: 'Barlow', 'Noto Sans JP', sans-serif;
}

.sec-desc {
    font-size: 14px;
    color: var(--sub);
    line-height: 1.9;
    max-width: 640px;
    margin-bottom: 50px;
}

.divider {
    width: 40px;
    height: 3px;
    background: var(--accent);
    margin: 20px 0 32px;
}

/* PAGE HEADER */
.page-header {
    position: relative;
    padding: 80px 80px 56px;
    overflow: hidden;
    background: var(--primary);
    color: #fff;
}

.page-header-bg,
.page-header-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .18;
    filter: saturate(.6);
}

.page-header-video {
    opacity: .15;
    mix-blend-mode: screen;
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(27, 20, 100, .85) 40%, rgba(27, 20, 100, .5));
    z-index: 1;
}

.page-header-inner {
    position: relative;
    z-index: 2;
}

.page-header .breadcrumb {
    font-size: 11px;
    color: rgba(255, 255, 255, .45);
    margin-bottom: 14px;
    font-family: 'Barlow', sans-serif;
    letter-spacing: .1em;
}

.page-header h1 {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    font-style: italic;
    color: #fff;
}

.page-header p {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, .7);
    line-height: 1.8;
    max-width: 560px;
}

/* SUB NAV */
.sub-nav {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.sub-nav a {
    padding: 16px 28px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Barlow', sans-serif;
    letter-spacing: .08em;
    color: var(--sub);
    border-bottom: 2px solid transparent;
    transition: all .2s;
    cursor: pointer;
}

.sub-nav a:hover,
.sub-nav a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: var(--light);
}

/* HERO */
.hero {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.hero-content {
    padding: 0 80px;
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero h1 {
    font-size: clamp(56px, 8vw, 96px);
    font-weight: 800;
    font-style: italic;
    color: var(--primary);
    line-height: 1.0;
    letter-spacing: -.02em;
    margin-bottom: 26px;
}

.hero p {
    font-size: 15px;
    color: var(--sub);
    line-height: 2.0;
    margin-bottom: 42px;
    max-width: 460px;
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 0;
    width: 46%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .15) 22%, rgba(255, 255, 255, 0) 40%);
    z-index: 2;
    pointer-events: none;
}

.hero-visual svg {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

@media (max-width: 900px) {
    .hero-visual {
        display: none;
    }


}

.top_services_menu {
    display: grid;
    grid-template-columns: 280px 1fr;
    border: 1px solid var(--border);
    background: var(--white);
}

@media (max-width: 900px) {
    .top_services_menu {
        display: flex;
        flex-direction: column;
    }
}

.top_projects_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

@media (max-width: 900px) {
    .top_projects_list {
        display: flex;
        flex-direction: column;
    }
}

/* CEO */
.ceo-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 60px;
    align-items: start;
}

.ceo-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: var(--primary);
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-style: italic;
    margin-bottom: 20px;
}

.ceo-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Barlow', sans-serif;
    margin-bottom: 4px;
}

.ceo-title {
    font-size: 12px;
    color: var(--sub);
    font-family: 'Barlow', sans-serif;
    letter-spacing: .08em;
}

.ceo-body p {
    font-size: 14px;
    color: var(--sub);
    line-height: 2.0;
    margin-bottom: 20px;
}

.ceo-sig {
    margin-top: 36px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}

.ceo-video-sec {
    position: relative;
    overflow: hidden;
    background: var(--primary);
    padding: 80px;
    color: #fff;
}

.ceo-video-sec video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .2;
    mix-blend-mode: screen;
}

.ceo-video-sec::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(27, 20, 100, .7);
    z-index: 1;
}

.ceo-video-inner {
    position: relative;
    z-index: 2;
}

.ceo-video-inner blockquote {
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 700;
    font-style: italic;
    color: #fff;
    line-height: 1.8;
    font-family: 'Barlow', 'Noto Sans JP', sans-serif;
    max-width: 700px;
    border-left: 4px solid rgba(255, 255, 255, .3);
    padding-left: 28px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.ceo-video-inner cite {
    display: block;
    margin-top: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    font-style: normal;
    font-family: 'Barlow', sans-serif;
}

/* PHILOSOPHY */
.phil-card {
    border: 1px solid var(--border);
    padding: 36px;
}

.phil-num {
    font-size: 11px;
    font-family: 'Barlow', sans-serif;
    letter-spacing: .2em;
    color: var(--accent);
    margin-bottom: 12px;
}

.phil-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.phil-card p {
    font-size: 13px;
    color: var(--sub);
    line-height: 1.9;
}

.phil-values-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 24px;
}

@media (max-width: 900px) {
    .phil-values-list {
        grid-template-columns: 1fr;
    }
}

.mission-box {
    background: var(--primary);
    color: #fff;
    padding: 56px 64px;
    margin-bottom: 56px;
}

.mission-box .sec-label {
    color: rgba(255, 255, 255, .45);
}

.mission-box h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    font-style: italic;
    color: #fff;
    margin-bottom: 20px;
}

.mission-box p {
    font-size: 14px;
    color: rgba(255, 255, 255, .75);
    line-height: 1.9;
    max-width: 640px;
}

/* OVERVIEW */
.overview-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 48px;
}

.overview-table tr {
    border-bottom: 1px solid var(--border);
}

.overview-table th {
    width: 220px;
    padding: 20px 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-align: left;
    vertical-align: top;
}

.overview-table td {
    padding: 20px 0 20px 24px;
    font-size: 13px;
    color: var(--sub);
    line-height: 1.9;
}

.access-box {
    background: var(--bg);
    padding: 36px;
    border: 1px solid var(--border);
}

.access-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.access-box li {
    font-size: 13px;
    color: var(--sub);
    line-height: 1.9;
    list-style: none;
    padding: 0;
    display: block;
}

.access-box li::before {
    content: '–';
    margin-right: 8px;
    color: var(--accent);
}

@media (max-width: 900px) {
    .overview-table th {
        width: 5rem;
    }
}

/* SERVICES */
.svc-list {
    display: flex;
    flex-direction: column;
}

.svc-item {
    display: grid;
    grid-template-columns: 420px 1fr;
    border-bottom: 1px solid var(--border);
}

.svc-item:nth-child(even) {
    direction: rtl;
}

.svc-item:nth-child(even)>* {
    direction: ltr;
}

.svc-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.svc-body {
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.svc-body h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
    font-style: italic;
}

.svc-body p {
    font-size: 14px;
    color: var(--sub);
    line-height: 1.95;
    margin-bottom: 12px;
}

/* PROJECTS */
.proj-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.filter-btn {

    padding: 9px 20px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    letter-spacing: .1em;
    border: 1.5px solid var(--border);
    color: var(--sub);
    background: var(--white);
    cursor: pointer;
    transition: all .2s;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--light);
}

@media (max-width: 900px) {
    .filter-btn {
        display: flex;
        flex-grow: 1;
        justify-content: center;
    }
}

.proj-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.proj-card {
    background: var(--white);
    overflow: hidden;
    cursor: pointer;
    transition: opacity .3s ease, transform .35s cubic-bezier(.22, 1, .36, 1);
}

.proj-card.proj-hiding {
    opacity: 0;
    transform: scale(.96);
}

.proj-card.proj-hidden {
    display: none;
}

.proj-card.proj-showing {
    animation: projFadeIn .35s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes projFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.proj-card:hover .proj-thumb {
    transform: scale(1.05);
}

.proj-thumb-wrap {
    overflow: hidden;
    height: 210px;
}

.proj-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.proj-card-body {
    padding: 24px 28px 30px;
}

.proj-card-header {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 12px;
    margin-bottom: 8px;
}

.proj-tag {
    font-size: 11px;
    letter-spacing: .1em;
    color: var(--accent);
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    display: block;
}

.proj-industry {
    font-size: 11px;
    color: var(--sub);
    font-family: 'Barlow', sans-serif;
    border: 1px solid var(--accent);
    border-radius: 0.2rem;
    padding: 0.2rem 0.5rem;
}

.proj-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.65;
}

.proj-card p {
    font-size: 13px;
    color: var(--sub);
    margin-top: 10px;
    line-height: 1.8;
}

/* HOME SERVICE TAB ANIMATION */
.ht {
    position: relative;
    overflow: hidden;
}

.ht::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}

.ht.active::before {
    transform: scaleY(1);
}

.ht.active {
    background: var(--light) !important;
    color: var(--primary) !important;
}

.ht.active .dot {
    background: var(--primary) !important;
}

.hp-panel {
    position: relative;
}

@keyframes hpFadeSlide {
    from {
        opacity: 0;
        transform: translateX(12px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hp-panel.hp-enter {
    animation: hpFadeSlide .32s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes hpImgZoom {
    from {
        transform: scale(1.04);
    }

    to {
        transform: scale(1);
    }
}

.hp-panel.hp-enter img {
    animation: hpImgZoom .55s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes hpTextFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hp-panel.hp-enter h3 {
    animation: hpTextFade .35s .1s cubic-bezier(.22, 1, .36, 1) both;
}

.hp-panel.hp-enter p {
    animation: hpTextFade .35s .18s cubic-bezier(.22, 1, .36, 1) both;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.member-card {
    border: 1px solid var(--border);
    padding: 36px;
    transition: all .3s;
    cursor: pointer;
    position: relative;
    background: #fff;
}

.member-card:hover {
    box-shadow: 0 8px 32px rgba(27, 20, 100, .12);
    transform: translateY(-3px);
}

.member-card-arrow {
    position: absolute;
    bottom: 20px;
    right: 24px;
    font-size: 11px;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--accent);
    opacity: 0;
    transition: opacity .2s;
}

.member-card:hover .member-card-arrow {
    opacity: 1;
}

.member-photo-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.member-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border);
}

.member-photo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    font-style: italic;
    color: var(--primary);
    font-family: 'Barlow', sans-serif;
    flex-shrink: 0;
    border: 2px solid var(--border);
}

.member-info {
    flex: 1;
    min-width: 0;
}

.member-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Barlow', sans-serif;
    margin-bottom: 4px;
}

.member-role {
    font-size: 11px;
    color: var(--accent);
    font-family: 'Barlow', sans-serif;
    letter-spacing: .08em;
    font-weight: 600;
}

.member-card ul {
    list-style: none;
    margin-top: 0;
}

.member-card ul li {
    font-size: 12px;
    color: var(--sub);
    line-height: 1.8;
    padding: 0;
    display: block;
    padding-left: 14px;
    position: relative;
}

.member-card ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 14px;
}

/* MEMBER MODAL */
.member-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(10, 13, 30, .55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
}

.member-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.member-modal {
    background: #fff;
    width: 760px;
    max-width: 94vw;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(24px) scale(.98);
    transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}

.member-modal-overlay.open .member-modal {
    transform: translateY(0) scale(1);
}

.modal-header {
    background: var(--primary);
    padding: 40px 48px 32px;
    position: relative;
    overflow: hidden;
}

.modal-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(59, 91, 219, .35) 0%, transparent 70%);
}

.modal-header-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 28px;
}

.modal-photo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, .3);
    flex-shrink: 0;
}

.modal-photo-placeholder {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 3px solid rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    font-style: italic;
    color: #fff;
    font-family: 'Barlow', sans-serif;
    flex-shrink: 0;
}

.modal-name {
    font-size: 28px;
    font-weight: 800;
    font-style: italic;
    color: #fff;
    font-family: 'Barlow', sans-serif;
    line-height: 1.1;
    margin-bottom: 6px;
}

.modal-role {
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
    font-family: 'Barlow', sans-serif;
    letter-spacing: .1em;
    font-weight: 600;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: background .2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, .25);
}

.modal-body {
    padding: 40px 48px;
}

.modal-section {
    margin-bottom: 36px;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-sec-label {
    font-size: 10px;
    letter-spacing: .3em;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    color: var(--accent);
    margin-bottom: 6px;
}

.modal-sec-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Barlow', sans-serif;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
}

.modal-bio {
    font-size: 13px;
    color: var(--sub);
    line-height: 2.0;
}

.modal-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.modal-skill-tag {
    font-size: 11px;
    font-weight: 600;
    font-family: 'Barlow', sans-serif;
    letter-spacing: .06em;
    color: var(--primary);
    background: var(--light);
    padding: 5px 14px;
}

.modal-proj-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-proj-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    border: 1px solid var(--border);
    overflow: hidden;
}

.modal-proj-cat {
    background: var(--primary);
    padding: 14px 16px;
    display: flex;
    align-items: center;
}

.modal-proj-cat span {
    font-size: 10px;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .85);
    line-height: 1.5;
}

.modal-proj-name {
    padding: 14px 20px;
    display: flex;
    align-items: center;
}

.modal-proj-name p {
    font-size: 13px;
    color: var(--text);
    line-height: 1.6;
    font-weight: 500;
}

/* RECRUIT */
.recruit-hero {
    position: relative;
    padding: 90px 80px;
    color: #fff;
    overflow: hidden;
    background: var(--primary);
}

.recruit-hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .2;
    mix-blend-mode: screen;
}

.recruit-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(27, 20, 100, .65);
    z-index: 1;
}

.recruit-hero-inner {
    position: relative;
    z-index: 2;
}

.recruit-hero h2 {
    font-size: clamp(22px, 3.5vw, 40px);
    font-weight: 800;
    font-style: italic;
    color: #fff;
    margin-bottom: 20px;
}

.recruit-hero p {
    font-size: 14px;
    color: rgba(255, 255, 255, .78);
    line-height: 2;
    max-width: 580px;
}

.challenges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.challenge-card {
    border: 1px solid var(--border);
    padding: 36px;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.challenge-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .08;
}

.challenge-card-body {
    position: relative;
    z-index: 1;
}

.challenge-num {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    font-family: 'Barlow', sans-serif;
    font-style: italic;
    line-height: 1;
    margin-bottom: 16px;
}

.challenge-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.challenge-card p {
    font-size: 13px;
    color: var(--sub);
    line-height: 1.9;
}

.spirits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 48px;
}

.spirit-item {
    background: var(--white);
    padding: 36px;
}

.spirit-kw {
    font-size: 18px;
    font-weight: 800;
    font-style: italic;
    color: var(--primary);
    font-family: 'Barlow', sans-serif;
    margin-bottom: 12px;
}

.spirit-item p {
    font-size: 13px;
    color: var(--sub);
    line-height: 1.9;
}

/* CONTACT */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 14px;
    color: var(--sub);
    line-height: 1.9;
    margin-bottom: 12px;
}

.contact-info address {
    font-style: normal;
    font-size: 13px;
    color: var(--sub);
    line-height: 1.9;
    margin-top: 24px;
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: .05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    font-size: 13px;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text);
    background: var(--white);
    transition: border-color .2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.form-group textarea {
    height: 140px;
    resize: vertical;
}

.form-submit {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    letter-spacing: .15em;
    cursor: pointer;
    transition: background .3s;
}

.form-submit:hover {
    background: var(--accent);
}

/* FOOTER */
footer {
    background: #0a0d1e;
    color: rgba(255, 255, 255, .35);
}

.footer-inner {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    padding: 56px 80px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .65);
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 16px;
    cursor: pointer;
}

.footer-logo img {
    height: 22px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 11px;
    color: rgba(255, 255, 255, .3);
    line-height: 1.8;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.footer-nav-group h5,
.footer-nav-group a.footer-nav-header-link {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, .6);
    font-family: 'Barlow', sans-serif;
    letter-spacing: .12em;
    margin-bottom: 12px;
}

.footer-nav-group a {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, .35);
    margin-bottom: 8px;
    transition: color .2s;
    cursor: pointer;
}

.footer-nav-group a:hover {
    color: rgba(255, 255, 255, .7);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 20px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}



/* ANIM */
.anim {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .55s ease, transform .55s ease;
}

.anim.in {
    opacity: 1;
    transform: translateY(0);
}

@media(max-width:900px) {
    nav {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .sec,
    .page-header,
    .footer-inner,
    .footer-bottom {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero-content {
        padding: 0 24px;
    }

    .hero-visual {
        display: none;
    }

    .ceo-layout,
    .contact-layout,
    .phil-cards,
    .challenges {
        grid-template-columns: 1fr;
    }

    .svc-item,
    .svc-item:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .proj-grid {
        grid-template-columns: 1fr;
    }

    .members-grid {
        grid-template-columns: 1fr;
    }

    .modal-proj-item {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .spirits {
        grid-template-columns: 1fr;
    }

    .recruit-hero {
        padding: 56px 24px;
    }
}