html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
        font-family: 'PT Serif', 'Noto Sans JP', serif;
    background-color: #f6f8f7;
    color: #1a1a1a;
    scroll-behavior: smooth;
}

h1, h2, h3, .ceo-message-box h3 {
    font-family: 'Noto Serif JP', 'Inter', serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1600; }

.logo {
        font-family: 'Telex', 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #0a0a0a;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
a.logo-wrap {
    display: inline-flex;
    text-decoration: none;
}

.logo-mark {
    height: 40px;
    width: auto;
    display: block;
    transition: filter 0.35s ease;
}

.logo-wrap:hover {
    transform: translateY(-4px);
}
.logo-wrap:hover .logo-mark {
    filter: drop-shadow(0 10px 14px rgba(16, 185, 129, 0.35));
}

#bg-canvas {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}

.logo-design-concept {
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 60px 50px;
}

.logo-design-concept-logo {
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
}

.logo-variant {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.logo-variant img {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}
.logo-variant-dark {
    background-color: #161616;
    border: 1px solid #262626;
    border-radius: 14px;
    padding: 26px 24px 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.14);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.logo-variant-dark:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.3), 0 4px 10px rgba(0, 0, 0, 0.18);
}

.logo-variant-label {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #777;
    font-weight: 700;
}

.logo-variant-light {
    background-color: #f4f3ee;
    border-radius: 14px;
    padding: 26px 24px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.logo-variant-light:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
.logo-variant-light .logo-variant-label {
    color: #999;
}

.logo-design-concept-text {
    flex: 1 1 420px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.logo-design-concept-text p {
    font-size: 17px;
    color: #333;
    line-height: 1.9;
    margin: 0;
}

@media (max-width: 900px) {
    .logo-design-concept {
        flex-direction: column;
        padding: 40px 30px;
        gap: 40px;
    }
    .logo-design-concept-logo {
        flex: none;
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-switch button {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 15px;
    padding: 0;
}
.lang-switch button.active {
    color: #0a0a0a;
    font-weight: 700;
}
.divider { color: #ccc; }

.login-btn {
    box-sizing: border-box;
    background-color: #0a0a0a;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 22px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 14px;
    transition: opacity 0.3s, background-color 0.3s;
}
.login-btn:hover { opacity: 0.85; background-color: #059669; }

.login-btn-outline {
    box-sizing: border-box;
    background-color: transparent;
    color: #0a0a0a;
    border: 1px solid rgba(10, 10, 10, 0.35);
    text-decoration: none;
    padding: 10px 22px;
    font-weight: 700;
    font-size: 14px;
    transition: opacity 0.3s, border-color 0.3s, color 0.3s;
}
.login-btn-outline:hover { opacity: 0.8; border-color: #059669; color: #059669; }
.header-right-buttons { display: flex; align-items: center; gap: 10px; }

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    cursor: pointer;
    z-index: 2000;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #0a0a0a;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: opacity 0.4s, visibility 0.4s;
    pointer-events: none; }

.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; }

.menu-inner {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 150px 5% 80px;
    box-sizing: border-box;
    min-height: 100%;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px 60px;
    align-items: start;
}

.menu-col {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    padding-top: 22px;
}

.menu-col-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.menu-col-label {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    color: #777;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.menu-col-header .menu-col-label {
    margin-bottom: 0;
}

.menu-col-more {
    font-size: 12px;
    letter-spacing: 1px;
    color: #0a0a0a;
    text-decoration: underline;
    font-weight: 700;
    white-space: nowrap;
}
.menu-col-more:hover { color: #059669; }

.menu-nav-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.menu-link {
    color: #0a0a0a;
    text-decoration: none;
    font-size: 26px;
    font-weight: 900;
    transition: color 0.3s;
    cursor: pointer;
}
.menu-link:hover {
    color: #059669;
}

.menu-link.sub-link {
    font-size: 18px;
    font-weight: 700;
    color: #999;
}
.menu-link.sub-link:hover {
    color: #0a0a0a;
}

.menu-feature-item {
    margin-bottom: 28px;
}
.menu-feature-item:last-child {
    margin-bottom: 0;
}
.menu-feature-tag {
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    color: #777;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.menu-feature-item h4 {
    font-size: 16px;
    color: #0a0a0a;
    font-weight: 700;
    margin: 0 0 8px 0;
}
.menu-feature-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}
.menu-feature-item a.menu-feature-link {
    text-decoration: none;
    display: block;
}
.menu-feature-item a.menu-feature-link:hover h4 {
    color: #059669;
}

.menu-simple-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.menu-simple-list a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s;
}
.menu-simple-list a:hover {
    color: #059669;
}

.menu-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 12px;
}
.menu-social-row a {
    color: #0a0a0a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s;
}
.menu-social-row a:hover {
    color: #059669;
}

@media (max-width: 900px) {
    .menu-inner {
        padding: 130px 6% 60px;
    }
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .menu-link {
        font-size: 22px;
    }
}

section {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 5%;
    box-sizing: border-box;
}

.section-inner {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

h2 {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 60px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.15);
    padding-bottom: 20px;
    letter-spacing: 1px;
    color: #0a0a0a;
}

.hero {
    align-items: center;
    text-align: center;
    position: relative;
}
.hero h1 {
    font-size: 96px;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 900;
    letter-spacing: -2px;
    color: #0a0a0a;
}
.hero p {
    font-size: 26px;
    color: #555;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    font-size: 14px;
    color: #999;
    letter-spacing: 3px;
    font-weight: 700;
    animation: bounce 2s infinite;
}

.grid-layout {
    display: grid;
    gap: 60px;
}
.grid-layout.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background-color: #ffffff;
    padding: 60px 40px;
    border-top: 3px solid rgba(0, 0, 0, 0.12);
    border-radius: 18px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-10px);
    border-color: #10b981;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}
.card h3 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
    color: #0a0a0a;
}
.card p {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
}

.ceo-message-box {
    background: linear-gradient(150deg, #eefcf5 0%, #ffffff 55%);
    border-left: 4px solid #10b981;
    border-radius: 18px;
    box-shadow: -18px 0 50px -30px rgba(16, 185, 129, 0.3);
    padding: 60px 50px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}
.ceo-message-box::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.ceo-message-eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 800;
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.08);
    border-radius: 999px;
    padding: 6px 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.ceo-message-box h3 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 30px;
    color: #0a0a0a;
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, #0a0a0a 0%, #059669 130%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ceo-message-box p {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.ceo-message-box .ceo-message-closing {
    margin-bottom: 40px;
    color: #065f46;
    font-weight: 600;
    border-left: 2px solid rgba(16, 185, 129, 0.5);
    padding-left: 18px;
}
.ceo-message-name {
    font-size: 18px;
    font-weight: 900;
    color: #059669;
    position: relative;
    z-index: 1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.legal-panel {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 50px -24px rgba(6, 78, 59, 0.18);
    padding: 56px 60px;
    box-sizing: border-box;
    width: 100%;
    overflow-wrap: anywhere;
}
@media (max-width: 768px) {
    .legal-panel {
        padding: 32px 22px;
        border-radius: 12px;
    }
}

@media (max-width: 768px) {
    .header-right { gap: 16px; }
    .header-right-buttons { display: none; }
    .grid-layout.three-cols { grid-template-columns: 1fr; gap: 24px; }
    .card { padding: 36px 24px; }
        .hero h1 { font-size: 44px; letter-spacing: -1px; overflow-wrap: break-word; }
        header .logo-link { font-size: 20px; letter-spacing: 2px; }
}

.what-we-do-subtitle {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    font-weight: 700;
    margin: 0 0 30px 0;
}

.what-we-do-tagline {
    font-size: 26px;
    font-weight: 800;
    color: #0a0a0a;
    line-height: 1.5;
    margin: 0 0 28px 0;
    max-width: 900px;
}

.what-we-do-intro {
    font-size: 19px;
    color: #333;
    line-height: 1.9;
    max-width: 900px;
    margin: 0 0 50px 0;
}

.wwd-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 50px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.wwd-item {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    transition: padding-left 0.3s ease;
}
.wwd-item:hover {
    padding-left: 12px;
}
.wwd-item-name {
    flex: 0 0 260px;
    font-size: 20px;
    font-weight: 800;
    color: #0a0a0a;
}
.wwd-item:hover .wwd-item-name {
    color: #059669;
}
.wwd-item p {
    flex: 1 1 400px;
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.what-we-do-closing {
    font-size: 18px;
    color: #222;
    line-height: 1.9;
    max-width: 900px;
    border-left: 3px solid #0a0a0a;
    padding-left: 24px;
}

@media (max-width: 700px) {
    .wwd-item-name {
        flex: 1 1 100%;
    }
}

.section-light {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #1a1a1a;
}
.section-light h2 {
    color: #0d0d0d;
    border-bottom-color: rgba(0, 0, 0, 0.14);
}
.section-light .what-we-do-subtitle { color: #666; }
.section-light .what-we-do-tagline { color: #0d0d0d; }
.section-light .what-we-do-intro { color: #333; }
.section-light .wwd-list { border-top-color: rgba(0, 0, 0, 0.14); }
.section-light .wwd-item { border-bottom-color: rgba(0, 0, 0, 0.14); }
.section-light .wwd-item-name { color: #0d0d0d; }
.section-light .wwd-item:hover .wwd-item-name { color: #0a8a63; }
.section-light .wwd-item p { color: #4a4a4a; }
.section-light .what-we-do-closing { color: #111; border-left-color: #0d0d0d; }
.section-light .login-btn-outline { border-color: rgba(0, 0, 0, 0.35); color: #0d0d0d; }
.section-light .login-btn-outline:hover { border-color: #059669; color: #059669; }
.section-light .card {
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.1);
}
.section-light > .section-inner > p { color: #333; }

.profile-panel {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.06);
}
.profile-row {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}
.profile-row.profile-row-last {
    border-bottom: none;
    padding-bottom: 10px;
}
.profile-k {
    width: 250px;
    font-weight: 700;
    color: #777;
}
.profile-v {
    flex: 1;
    color: #111;
    font-weight: 600;
    line-height: 1.6;
}
.profile-v.muted {
    color: #999;
    font-weight: 400;
    font-style: italic;
}
.section-light .profile-panel {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08);
}
.section-light .profile-row { border-bottom-color: rgba(0, 0, 0, 0.1); }
.section-light .profile-k { color: #777; }
.section-light .profile-v { color: #111; }
.section-light .profile-v.muted { color: #999; }

#contact {
    min-height: auto;
    padding: 80px 5%;
}

#contact h2.small-heading {
    font-size: 36px;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin-top: 40px;
}
.contact-form input, .contact-form textarea {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 15px;
    color: #111;
    font-family: inherit;
    font-size: 16px;
    border-radius: 6px;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #10b981;
}
.contact-form button {
    background-color: #0a0a0a;
    color: #fff;
    border: none;
    padding: 15px;
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s;
}
.contact-form button:hover { background-color: #059669; }

footer {
    text-align: center;
    padding: 60px 5% 40px;
    background-color: #f4f3ee;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.social-links {
    display: flex;
    gap: 40px;
}

.social-icon {
    color: #0a0a0a;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s, transform 0.3s;
}
.social-icon:hover {
    color: #059669;
    transform: translateY(-4px);
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-legal a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.3s;
}
.footer-legal a:hover { color: #059669; }

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: 560px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    padding: 20px 22px;
    z-index: 2500;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transform: translateY(140%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    pointer-events: none;
}
.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.cookie-banner p {
    margin: 0;
    font-size: 13.5px;
    color: #333;
    line-height: 1.7;
}
.cookie-banner p a {
    color: #059669;
    text-decoration: underline;
}
.cookie-banner .cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.cookie-banner .cookie-actions button {
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
}
.cookie-banner .btn-accept {
    background: #10b981;
    color: #fff;
}
.cookie-banner .btn-reject {
        background: #1f2937;
    color: #fff;
}
.cookie-banner .btn-choose {
    background: #ffffff;
    color: #0a0a0a;
    box-shadow: inset 0 0 0 1.5px #1f2937;
}
.cookie-banner .cookie-prefs {
    display: none;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 14px;
}
.cookie-banner.prefs-open .cookie-prefs { display: flex; }
.cookie-banner.prefs-open > .cookie-actions { display: none; }
.cookie-banner .cookie-pref-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: #333;
    line-height: 1.6;
    cursor: pointer;
}
.cookie-banner .cookie-pref-row input { margin-top: 4px; accent-color: #10b981; width: 16px; height: 16px; flex-shrink: 0; }
.cookie-banner .cookie-pref-row small { display: block; color: #666; font-size: 12px; }
.cookie-banner .btn-save {
    background: #10b981;
    color: #fff;
}

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #0a0a0a;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.3s;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background-color: #059669;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.fade-in {
    animation: fadeIn 1.5s ease-out forwards;
    opacity: 0;
    transform: translateY(40px);
}
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.vision-mission-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 5%;
    box-sizing: border-box;
}
.vision-mission-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6) saturate(1.1);
    transform: scale(1.05);
}
.vision-mission-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.75) 0%, rgba(5, 5, 5, 0.45) 45%, rgba(5, 5, 5, 0.85) 100%);
}
.vision-mission-inner {
    position: relative;
    z-index: 1;
}
.vision-mission-inner h2 {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 20px;
}
.vm-block {
    background: rgba(5, 5, 5, 0.4);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    padding: 34px 36px;
    border-left: 3px solid #ffffff;
}
.vm-label {
    display: block;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ddd;
    margin-bottom: 16px;
    font-weight: 800;
}
.vm-block p {
    font-size: 17px;
    line-height: 1.9;
    color: #f0f0f0;
    margin: 0;
}
.vm-tagline {
    font-size: 20px !important;
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 16px !important;
    line-height: 1.5 !important;
}

@media (max-width: 900px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
    .vision-mission-section {
        min-height: auto;
        padding: 100px 6%;
    }
}

header .logo {
    position: relative;
    z-index: 1001;
    cursor: pointer;
    text-decoration: none;
    color: #0a0a0a;
}

.card.media-card { padding: 0; overflow: hidden; }
.media-card-thumb { aspect-ratio: 16 / 9; background: #e5e7eb; overflow: hidden; }
.media-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(100%) contrast(0.95); opacity: 0.9; transition: filter 0.4s ease, opacity 0.4s ease, transform 0.6s ease; }
.card.media-card:hover .media-card-thumb img { filter: grayscale(35%) contrast(1); opacity: 1; transform: scale(1.03); }
.media-card-thumb--empty { background: linear-gradient(135deg, #eef1f0 0%, #e2e6e4 100%); }
.media-card-body { padding: 28px 32px 36px; }
.media-card-lang { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; padding: 2px 8px; border-radius: 4px; background: #1f2937; color: #fff; margin-bottom: 12px; }
.card.media-card h3 { font-size: 22px; line-height: 1.5; margin-bottom: 0; }
@media (max-width: 768px) {
    .media-card-body { padding: 22px 22px 28px; }
    .card.media-card h3 { font-size: 19px; }
}
.cookie-banner {
    box-sizing: border-box;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    max-width: none;
    max-height: 80vh;
    overflow-y: auto;
    margin: 0;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.10);
    padding: 18px max(24px, calc((100% - 1200px) / 2));
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 28px;
    row-gap: 14px;
    transform: translateY(100%);
}
.cookie-banner.show {
    transform: translateY(0);
}
.cookie-banner > .cookie-actions {
    display: grid;
    grid-template-columns: repeat(3, 210px);
    gap: 10px;
}
.cookie-banner > .cookie-actions button {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    line-height: 1.3;
}
.cookie-banner .cookie-prefs { grid-column: 1 / -1; }
@media (max-width: 1000px) {
    .cookie-banner { grid-template-columns: 1fr; }
    .cookie-banner > .cookie-actions { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .cookie-banner { padding: 16px; }
    .cookie-banner > .cookie-actions { grid-template-columns: 1fr; }
}


.wwd-item-name,
.header-right-buttons a,
.fullscreen-menu .menu-link,
.product-name {
    font-family: 'Telex', 'Inter', sans-serif;
}
.product-name { font-weight: 400; letter-spacing: 2px; }   
@media (max-width: 480px) {
    header .logo { font-size: 20px; letter-spacing: 2px; }
    header .logo-mark { height: 28px; }
    header .header-right { gap: 12px; }
}

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) p { word-break: auto-phrase; }

@media (max-width: 600px) {
    section { padding: 72px 6%; }
    section:not(.hero) { min-height: auto; }
    h2 { font-size: 30px; letter-spacing: 0; margin-bottom: 28px; padding-bottom: 12px; line-height: 1.3; }
    h3 { font-size: 19px; }
    .hero h1 { font-size: 34px; line-height: 1.2; letter-spacing: -0.5px; }
    .hero p { font-size: 17px; }
    .hero p br { display: none; }
    .what-we-do-tagline { font-size: 19px; }
    .what-we-do-intro { font-size: 16px; line-height: 1.8; margin-bottom: 32px; }
    .wwd-item { gap: 8px; padding: 22px 0; }
    .wwd-item-name { font-size: 17px; }
    .wwd-item p { font-size: 15px; line-height: 1.75; }
    .what-we-do-closing { font-size: 16px; line-height: 1.8; padding-left: 16px; }
    .card.media-card h3 { font-size: 17px; }
    #insights h2 + p { margin-top: -8px !important; margin-bottom: 28px !important; font-size: 15px; }
    .vision-mission-section { padding: 72px 6%; }
}

.contact-email-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    margin-top: 28px;
    padding: 28px 32px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 12px;
}
.contact-email-label {
    flex-basis: 100%;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
}
.contact-email {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #0a0a0a;
    text-decoration: none;
    border-bottom: 2px solid #10b981;
    overflow-wrap: anywhere;
}
.contact-email:hover { color: #059669; }
.contact-copy-btn {
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid #0a0a0a;
    background: transparent;
    color: #0a0a0a;
    cursor: pointer;
}
.contact-copy-btn:hover { background: #0a0a0a; color: #fff; }
@media (max-width: 600px) {
    .contact-email-box { padding: 22px 20px; }
    .contact-email { font-size: 20px; }
}

footer .footer-content > p { font-size: 13px; color: #666; }
@media (max-width: 600px) {
    .product-name { font-size: 56px !important; }
    .vm-tagline { font-size: 18px; }
}

.contact-email-wrap { position: relative; display: inline-block; }
.contact-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 50;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    padding: 6px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
}
.contact-menu[hidden] { display: none; }
.contact-menu a, .contact-menu button {
    font: inherit;
    font-size: 14px;
    text-align: left;
    padding: 10px 12px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #0a0a0a;
    text-decoration: none;
    cursor: pointer;
}
.contact-menu a:hover, .contact-menu button:hover { background: #ecfdf5; color: #059669; }
