/* CSS Variables - Facil Corporate Premium */
:root {
    --brand-primary: #1a2a44;
    /* Deep Corporate Blue */
    --brand-accent: #c5a059;
    /* Elegant Gold */
    --text-main: #2d2d2d;
    --text-muted: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --border-subtle: #e5e7eb;
    --max-width: 1100px;
    --header-h: 70px;
    --font-jp: 'Zen Kaku Gothic New', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-jp);
    color: var(--text-main);
    line-height: 1.7;
    background: var(--bg-white);
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

ul {
    list-style: none;
}

/* Typography Utility */
.u-en {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8em;
    color: var(--brand-accent);
}

/* Components */

/* Header */
.c-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
}

.c-header__inner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.c-header__logo img {
    height: 30px;
    width: auto;
}

/* Mobile Nav Drawer */
.c-header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--brand-primary);
    color: #fff;
    padding: 100px 40px;
    z-index: 999;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.c-header__nav.is-active {
    right: 0;
}

.c-header__nav a {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

/* Hamburger */
.c-drawer {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.c-drawer span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--brand-primary);
    position: absolute;
    transition: var(--transition);
}

.c-drawer span:nth-child(1) {
    top: 0;
}

.c-drawer span:nth-child(2) {
    top: 10px;
}

.c-drawer span:nth-child(3) {
    top: 20px;
}

.c-drawer.is-active span {
    background: #fff;
}

.c-drawer.is-active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.c-drawer.is-active span:nth-child(2) {
    opacity: 0;
}

.c-drawer.is-active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Section Common */
.l-section {
    padding: 80px 20px;
}

.l-section--dark {
    background: var(--bg-light);
}

.c-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.c-section-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--brand-primary);
}

.c-section-title .u-en {
    display: block;
}

/* FV (Hero) */
.p-fv {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('../img/【facil】HP_FV.png') no-repeat center center;
    background-size: cover;
    padding: 0 20px;
    position: relative;
}

.p-fv__content {
    z-index: 10;
}

.p-fv__title {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--brand-primary);
}

.p-fv__lead {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Brand Grid */
.p-brand-grid {
    display: grid;
    gap: 30px;
}

.c-brand-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.c-brand-card__img {
    aspect-ratio: 16/9;
    background: #eee;
    /* Placeholder */
}

.c-brand-card__body {
    padding: 24px;
}

.c-brand-card__tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 8px;
    background: var(--bg-light);
    color: var(--brand-accent);
    border-radius: 4px;
    margin-bottom: 12px;
}

.c-brand-card__name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.c-brand-card__text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Corporate Info Table */
.c-table {
    width: 100%;
    border-collapse: collapse;
}

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

.c-table th {
    text-align: left;
    padding: 20px 0;
    width: 30%;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.c-table td {
    padding: 20px 0;
    font-size: 1rem;
}

/* Footer */
.c-footer {
    background: var(--brand-primary);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.c-footer__logo img {
    height: 25px;
    margin-bottom: 30px;
    filter: brightness(0) invert(1);
}

.c-footer__copy {
    font-size: 0.75rem;
    opacity: 0.6;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 30px;
}

/* Buttons */
.c-btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--brand-primary);
    color: #fff;
    border-radius: 99px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(26, 42, 68, 0.2);
}

/* Responsive Desktop */
@media (min-width: 769px) {
    .p-fv__title {
        font-size: 3.5rem;
    }

    .c-header__nav {
        position: static;
        flex-direction: row;
        height: auto;
        width: auto;
        background: transparent;
        color: var(--text-main);
        padding: 0;
        gap: 40px;
    }

    .c-header__nav a {
        font-size: 0.9rem;
    }

    .c-drawer {
        display: none;
    }

    .p-brand-grid {
        grid-template-columns: 1fr 1fr;
        max-width: var(--max-width);
        margin: 0 auto;
    }

    .l-section {
        padding: 120px 20px;
    }
}