/*
Theme Name: Connect Trust Strategic Theme
Author: Jin Nakamura
Description: NOT A HOTEL style B2B Strategic Theme
Version: 1.0
*/

/* =================================================================*********
   Reset & Variables
   =================================================================********* */
:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-dark-gray: #111111;
    --color-placeholder: #333333;

    --font-en: 'Inter', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;

    --easing-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: var(--color-black);
    color: var(--color-white);
}

body {
    font-family: var(--font-jp);
    line-height: 2.0;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--color-placeholder);
    display: block;
}

/* =================================================================*********
   Typography
   =================================================================********* */
.header__logo,
.hero__title-en,
.section-title,
.solution-card__title {
    font-family: var(--font-en);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* =================================================================*********
   Layout & Components
   =================================================================********* */
.section-pad {
    padding-top: 200px;
    padding-bottom: 200px;
}

.container {
    width: 100%;
    padding-left: 5vw;
    padding-right: 5vw;
}

.container--fluid {
    max-width: 100%;
}

/* =================================================================*********
   Header
   =================================================================********* */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 100;
    mix-blend-mode: difference;
    color: var(--color-white);
}

.header__logo {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.header__list {
    display: flex;
    gap: 40px;
}

.header__link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    position: relative;
}

/* =================================================================*********
   Hero Section
   =================================================================********* */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero__image-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero__content {
    position: absolute;
    bottom: 60px;
    left: 40px;
    z-index: 2;
    color: var(--color-white);
    mix-blend-mode: difference;
}

.hero__title {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero__title-en {
    font-size: 4rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero__title-jp {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.8;
}

/* =================================================================*********
   Vision Section (Philosophy)
   =================================================================********* */
.vision__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vision__space {
    display: none;
}

.vision__content {
    padding-right: 10vw;
}

.section-title {
    font-size: 5rem;
    margin-bottom: 3rem;
    line-height: 1;
}

.vision__text {
    font-size: 1rem;
    font-weight: 300;
    text-align: justify;
}

/* =================================================================*********
   Solutions Section (Three Pillars)
   =================================================================********* */
.solutions {
    padding: 0;
}

.solutions__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    min-height: 100vh;
}

.solution-card {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.solution-card:last-child {
    border-right: none;
}

.solution-card__image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.solution-card__image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.solution-card__content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
}

.solution-card__title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.solution-card__desc {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* =================================================================*********
   Company / Contact Section
   =================================================================********* */
.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 80vh;
    background-color: var(--color-white);
    color: var(--color-dark-gray);
}

.contact__content {
    max-width: 600px;
    width: 100%;
}

.contact__company-name {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.contact__address {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 50px;
    border: 1px solid var(--color-dark-gray);
    background: transparent;
    color: var(--color-dark-gray);
    font-family: var(--font-en);
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: all 0.4s var(--easing-smooth);
}

.btn-primary:hover {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
}

/* =================================================================*********
   Footer
   =================================================================********* */
.footer {
    background-color: var(--color-white);
    color: var(--color-dark-gray);
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* =================================================================*********
   Animation (Scroll Reveal)
   =================================================================********* */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* =================================================================*********
   Hover Animations
   =================================================================********* */
.header__link::after,
.btn-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: currentColor;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__link:hover::after,
.btn-link:hover::after {
    width: 100%;
}

.btn-link {
    position: relative;
    padding-bottom: 4px;
}

.solution-card {
    cursor: pointer;
}

.solution-card__image-wrapper {
    overflow: hidden;
}

.image-placeholder {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

.solution-card:hover .image-placeholder {
    transform: scale(1.08);
}

/* =================================================================*********
   Responsive
   =================================================================********* */
@media (max-width: 768px) {
    .section-pad {
        padding-top: 120px;
        padding-bottom: 120px;
    }

    .header {
        padding: 0 20px;
    }

    .header__list {
        display: none;
    }

    .hero__title-en {
        font-size: 2.5rem;
    }

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

    .solutions__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .solution-card {
        height: 60vh;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* =================================================================*********
   Theme Bifurcation (Light Mode for Fixed Pages)
   =================================================================********* */
body.page {
    background-color: var(--color-white);
    color: #333333;
    /* Dark Gray Text */
}

/* Ensure specific borders are subtle on white */
body.page .modern-profile,
body.page .contact-form-frame {
    border-color: #dddddd;
}

/* Header Handling
   The header uses mix-blend-mode: difference with white text.
   - On Black BG: White - Black = White (Visible)
   - On White BG: White - White = Black (Visible)
   
   If explicit color override is needed for nav items specifically:
*/
body.page .header {
    /* Blend mode handles it, but ensuring fallback */
}