@charset "UTF-8";

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
    --color-bg: #ffffff;
    --color-text: #111111;
    --color-text-light: #666666;
    --color-accent: #333333;
    /* Dark gray for a sophisticated look, can be changed */
    --color-primary: #0056b3;
    /* Placeholder blue, maybe change to something more "tech" like purple or keep minimal */
    --color-border: #eeeeee;

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

    --header-height: 80px;
    --container-width: 1200px;
    --section-padding: 120px 0;
}

/* ==========================================================================
   Global Styles
   ========================================================================== */
body {
    font-family: var(--font-jp);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

a {
    transition: opacity 0.3s ease, color 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
}

.section__header {
    margin-bottom: 80px;
    text-align: center;
}

.section__title {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.section__subtitle {
    font-size: 1rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.header--solid {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 40px;
}

.header__logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.header__logo img {
    height: 50px;
    width: auto;
}

.header__nav {
    display: none;
}

@media (min-width: 768px) {
    .header__nav {
        display: block;
    }
}

.header__list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header__item a {
    font-family: var(--font-en);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
}

.header__item a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-text);
    transition: width 0.3s ease;
}

.header__item a:hover::after {
    width: 100%;
}

.header__btn {
    padding: 10px 24px;
    background-color: var(--color-text);
    color: #fff !important;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.header__btn:hover {
    background-color: #333;
    opacity: 1;
}

.header__btn::after {
    display: none;
}

/* Hamburger */
.header__hamburger {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .header__hamburger {
        display: none;
    }
}

.header__hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

.header__hamburger span:nth-of-type(1) {
    top: 0;
}

.header__hamburger span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
}

.header__hamburger span:nth-of-type(3) {
    bottom: 0;
}

.header__hamburger.active span:nth-of-type(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.header__hamburger.active span:nth-of-type(2) {
    opacity: 0;
}

.header__hamburger.active span:nth-of-type(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu__list {
    text-align: center;
}

.mobile-menu__item {
    margin-bottom: 32px;
}

.mobile-menu__item a {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #f8f9fa;
    /* Light grey base */
}

.hero__content {
    text-align: center;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards 0.5s;
    /* Add a subtle backdrop for better text readability if needed, 
    /* Add a subtle backdrop for better text readability if needed,
       but let's try clean first with shadows */
}

.hero__title {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

@media (min-width: 768px) {
    .hero__title {
        font-size: 5rem;
    }
}

.hero__title-line {
    display: block;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: #444;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
    .hero__subtitle {
        font-size: 1.4rem;
    }
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
}

.hero__scroll::after {
    content: '';
    width: 1px;
    height: 60px;
    background-color: var(--color-text-light);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ==========================================================================
   About
   ========================================================================== */
.about__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about__text {
    font-size: 1.1rem;
    line-height: 2.2;
    font-weight: 500;
}

@media (min-width: 768px) {
    .about__text {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   Service
   ========================================================================== */
.service__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .service__list {
        grid-template-columns: repeat(3, 1fr);
        gap: 60px;
    }
}

.service__item {
    background-color: #fff;
    padding: 40px;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service__item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.service__icon {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 24px;
    line-height: 1;
}

.service__name {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.service__desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ==========================================================================
   Company
   ========================================================================== */
.company__list {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid var(--color-border);
}

.company__row {
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) {
    .company__row {
        flex-direction: row;
        align-items: baseline;
    }
}

.company__row dt {
    width: 100%;
    font-weight: 700;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .company__row dt {
        width: 200px;
        margin-bottom: 0;
    }
}

.company__row dd {
    flex: 1;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
    background-color: #f9f9f9;
}

.contact__content {
    text-align: center;
}

.contact__text {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 16px 48px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    font-family: var(--font-en);
}

.btn--outline {
    border: 2px solid var(--color-text);
    color: var(--color-text);
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 60px 0;
    background-color: #111;
    color: #fff;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer__logo {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer__links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer__links a {
    font-size: 0.9rem;
    color: #888;
}

.footer__links a:hover {
    color: #fff;
}

.footer__copyright {
    font-size: 0.8rem;
    color: #666;
    font-family: var(--font-en);
}