@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;800&display=swap");

/* ========================================
   CSS Custom Properties (Variables)
   ======================================== */
:root {
    /* Colors */
    --color-bg-dark: #181819;
    --color-bg-light: #f8f9f9;
    --color-text-primary: #ffffff;
    --color-text-dark: #38383a;
    --color-text-darker: #181819;
    --color-border-light: rgba(255, 255, 255, 0.1);
    --color-overlay: rgba(24, 24, 25, 0.98);

    /* Typography */
    --font-family-primary: 'LINE Seed JP', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
    --font-size-base: 1.6rem;
    --font-size-small: 1.4rem;
    --font-size-large: 1.8rem;
    --font-size-h1: 7.2rem;
    --font-size-h2: 3.6rem;
    --font-size-h3: 2.4rem;
    --font-size-h4: 2rem;
    --line-height-tight: 1.3;
    --line-height-base: 1.7;
    --line-height-loose: 2;

    /* Spacing */
    --spacing-section: 100px;
    --spacing-section-small: 80px;
    --spacing-card: 24px;
    --spacing-element: 20px;
    --spacing-small: 12px;

    /* Layout */
    --container-max-width: 1400px;
    --border-radius-card: 8px;
    --border-radius-button: 10px;

    /* Transitions */
    --transition-base: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========================================
   Reset
   ======================================== */
*, *:before, *:after {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

html {
    width: 100%;
    height: 100%;
    font-size: 62.5%;
}

body {
    min-width: 320px;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    font-family: var(--font-family-primary);
    font-weight: 500;
    font-size: var(--font-size-large);
    line-height: var(--line-height-base);
    letter-spacing: 0.06rem;
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 768px) {
    body {
        font-size: 1.5rem;
        line-height: var(--line-height-base);
    }
}

body.is-ovh {
    overflow: hidden;
}

ul {
    list-style: none;
}

a {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

button {
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    padding: 0;
    appearance: none;
}

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

/* ========================================
   Global Section Padding
   ======================================== */
/* FIX: Unified section padding for all sections */
section,
.section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    section,
    .section {
        padding: 48px 0;
    }
}

/* ========================================
   Layout - All Container
   ======================================== */
.l-all {
    height: 100%;
}

.l-all.no-scrollbar {
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.l-all.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.l-all--noise {
    position: relative;
}

.l-all--noise:after {
    pointer-events: none;
    content: "";
    display: block;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-position: left top;
    opacity: 0.03;
}

@media (max-width: 768px) {
    .l-all--noise:after {
        background-size: 50px 50px;
    }
}

/* ========================================
   Header (White Card Style)
   ======================================== */
.l-header {
    z-index: 7000;
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
}

.l-header__toggle {
    pointer-events: visible;
    position: relative;
    box-shadow: 5px 5px 30px 0 rgba(0, 0, 0, 0.15);
    border-radius: 0 0 10px 0;
}

.l-header__bar {
    z-index: 3;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 35px;
    line-height: 1;
}

.l-header__bar:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: -1;
    border-radius: 0 0 10px 0;
}

@media (max-width: 768px) {
    .l-header__bar {
        padding: 14px 18px 14px 25px;
    }

    .l-header__bar:before {
        border-radius: 0 0 7px 0;
    }
}

.l-header__title {
    display: flex;
    align-items: baseline;
    gap: 10px;
    z-index: 11;
    position: relative;
}

.l-header__logo {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.l-header__logo__main {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #181819;
    line-height: 1;
}

.l-header__logo__sub {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #181819;
    opacity: 0.6;
    line-height: 1;
}

@media (max-width: 768px) {
    .l-header__logo__main {
        font-size: 2rem;
    }
}

.l-header__menu {
    display: none;
}

/* FIX: Separate hamburger menu from logo, position to right */
.l-header__hamburger {
    cursor: pointer;
    z-index: 11;
    position: fixed;
    top: 0;
    right: 0;
    padding: 22px 35px;
    background-color: #ffffff;
    border-radius: 0 0 0 10px;
    box-shadow: -5px 5px 30px 0 rgba(0, 0, 0, 0.15);
    border-left: none;
}

@media (max-width: 768px) {
    .l-header__hamburger {
        padding: 14px 18px;
        border-radius: 0 0 0 7px;
    }
}

/* ========================================
   Hamburger
   ======================================== */
.p-hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 24px;
}

.p-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #181819;
    transition: all 0.3s cubic-bezier(0.15, 0, 0, 1);
}

.p-hamburger.is-active .p-hamburger__line1 {
    transform: rotate(45deg) translate(8px, 8px);
    background-color: #ffffff;
}

.p-hamburger.is-active .p-hamburger__line2 {
    opacity: 0;
}

.p-hamburger.is-active .p-hamburger__line3 {
    transform: rotate(-45deg) translate(7px, -7px);
    background-color: #ffffff;
}

/* ========================================
   Mobile Navigation
   ======================================== */
.l-nav {
    position: fixed;
    z-index: 5999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.l-nav__modal {
    position: relative;
    width: 100%;
    height: 100%;
}

.l-nav__modal__bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-overlay);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.l-nav__modal__scroll {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 100px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s cubic-bezier(0.15, 0, 0, 1), transform 0.4s cubic-bezier(0.15, 0, 0, 1);
}

.l-nav__close {
    position: fixed;
    right: 35px;
    top: 35px;
    width: 44px;
    height: 44px;
    z-index: 12;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.l-nav__close__line1,
.l-nav__close__line2 {
    position: absolute;
    width: 28px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.l-nav__close__line1 {
    transform: rotate(45deg);
}

.l-nav__close__line2 {
    transform: rotate(-45deg);
}

.l-nav__close:hover .l-nav__close__line1,
.l-nav__close:hover .l-nav__close__line2 {
    background-color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .l-nav__close {
        right: 20px;
        top: 20px;
        width: 40px;
        height: 40px;
    }

    .l-nav__close__line1,
    .l-nav__close__line2 {
        width: 24px;
    }
}

.l-nav.is-opened {
    pointer-events: auto;
}

.l-nav.is-opened .l-nav__modal__bg {
    opacity: 1;
}

.l-nav.is-opened .l-nav__modal__scroll {
    opacity: 1;
    transform: translateY(0);
}

.p-hamNav__global ul {
    display: flex;
    flex-direction: column;
}

.p-hamNav__global ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.p-hamNav__global ul li a {
    display: block;
    padding: 25px 40px;
    font-size: 1.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.p-hamNav__global ul li a:hover {
    padding-left: 60px;
    background-color: rgba(255, 255, 255, 0.05);
}

/* ========================================
   Grid System
   ======================================== */
.c-grid {
    display: block;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 5%;
}

.c-grid__row {
    position: relative;
    left: 30px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1850px;
}

.c-grid__col {
    position: relative;
    width: 100%;
}

/* Large screens (24 columns) */
@media (min-width: 80em) {
    .c-grid__col {
        padding-right: 30px;
    }

    .c-grid__col.lg-1 { width: 4.1666666667%; }
    .c-grid__col.lg-2 { width: 8.3333333333%; }
    .c-grid__col.lg-3 { width: 12.5%; }
    .c-grid__col.lg-4 { width: 16.6666666667%; }
    .c-grid__col.lg-5 { width: 20.8333333333%; }
    .c-grid__col.lg-6 { width: 25%; }
    .c-grid__col.lg-7 { width: 29.1666666667%; }
    .c-grid__col.lg-8 { width: 33.3333333333%; }
    .c-grid__col.lg-9 { width: 37.5%; }
    .c-grid__col.lg-10 { width: 41.6666666667%; }
    .c-grid__col.lg-11 { width: 45.8333333333%; }
    .c-grid__col.lg-12 { width: 50%; }
    .c-grid__col.lg-13 { width: 54.1666666667%; }
    .c-grid__col.lg-14 { width: 58.3333333333%; }
    .c-grid__col.lg-15 { width: 62.5%; }
    .c-grid__col.lg-16 { width: 66.6666666667%; }
    .c-grid__col.lg-17 { width: 70.8333333333%; }
    .c-grid__col.lg-18 { width: 75%; }
    .c-grid__col.lg-19 { width: 79.1666666667%; }
    .c-grid__col.lg-20 { width: 83.3333333333%; }
    .c-grid__col.lg-21 { width: 87.5%; }
    .c-grid__col.lg-22 { width: 91.6666666667%; }
    .c-grid__col.lg-23 { width: 95.8333333333%; }
    .c-grid__col.lg-24 { width: 100%; }
    .c-grid__col.lg-0 { display: none !important; }
}

/* Medium screens (12 columns) */
@media (min-width: 64.0625em) and (max-width: 79.99em) {
    .c-grid__col {
        padding-right: 30px;
    }

    .c-grid__col.md-1 { width: 8.3333333333%; }
    .c-grid__col.md-2 { width: 16.6666666667%; }
    .c-grid__col.md-3 { width: 25%; }
    .c-grid__col.md-4 { width: 33.3333333333%; }
    .c-grid__col.md-5 { width: 41.6666666667%; }
    .c-grid__col.md-6 { width: 50%; }
    .c-grid__col.md-7 { width: 58.3333333333%; }
    .c-grid__col.md-8 { width: 66.6666666667%; }
    .c-grid__col.md-9 { width: 75%; }
    .c-grid__col.md-10 { width: 83.3333333333%; }
    .c-grid__col.md-11 { width: 91.6666666667%; }
    .c-grid__col.md-12 { width: 100%; }
    .c-grid__col.md-0 { display: none !important; }
}

/* Small screens (10 columns) */
@media (max-width: 64.0525em) {
    .c-grid {
        padding-left: 12.5px;
        padding-right: 12.5px;
        max-width: 100%;
        margin: 0;
    }

    .c-grid__row {
        left: auto;
        min-width: 100%;
    }

    .c-grid__col {
        padding-left: 12.5px;
        padding-right: 12.5px;
    }

    .c-grid__col.xs-1 { width: 10%; }
    .c-grid__col.xs-2 { width: 20%; }
    .c-grid__col.xs-3 { width: 30%; }
    .c-grid__col.xs-4 { width: 40%; }
    .c-grid__col.xs-5 { width: 50%; }
    .c-grid__col.xs-6 { width: 60%; }
    .c-grid__col.xs-7 { width: 70%; }
    .c-grid__col.xs-8 { width: 80%; }
    .c-grid__col.xs-9 { width: 90%; }
    .c-grid__col.xs-10 { width: 100%; }
    .c-grid__col.xs-0 { display: none !important; }
}

/* ========================================
   Spacing Utilities
   ======================================== */
.c-spacer--pt50 { padding-top: 50px; }
.c-spacer--pt80 { padding-top: 80px; }
.c-spacer--pt100 { padding-top: 100px; }
.c-spacer--pt150 { padding-top: 150px; }
.c-spacer--pb60 { padding-bottom: 60px; }
.c-spacer--pb80 { padding-bottom: 80px; }
.c-spacer--pb100 { padding-bottom: 100px; }
.c-spacer--pb150 { padding-bottom: 150px; }

@media (max-width: 768px) {
    .c-spacer--pt100 { padding-top: 60px; }
    .c-spacer--pt150 { padding-top: 80px; }
    .c-spacer--pb80 { padding-bottom: 50px; }
    .c-spacer--pb150 { padding-bottom: 80px; }
}

/* ========================================
   Article
   ======================================== */
.l-article {
    position: relative;
    overflow-x: hidden;
    z-index: 1000;
}

.l-article__scroll {
    position: relative;
}

.l-article__contents {
    min-height: 110vh;
}

/* ========================================
   Hero Section
   ======================================== */
.t-top--fv {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.t-top__heroHeader {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t-top__heroHeader__mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(24, 24, 25, 0.2) 0%, rgba(24, 24, 25, 0.8) 100%);
}

.t-top__heroHeader__contents {
    position: relative;
    width: 100%;
    padding: 140px 0 100px;
}

.t-top__heroHeader__title {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.t-top__heroHeader__title__jp {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.t-top__heroHeader__title__jp span {
    display: block;
    font-size: 7.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.t-top__heroHeader__title__jp span.js-textEffect--small {
    font-size: 3.2rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    opacity: 0.9;
    margin-top: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .t-top__heroHeader__title__jp span {
        font-size: 3.6rem;
    }

    .t-top__heroHeader__title__jp span.js-textEffect--small {
        font-size: 1.8rem;
        margin-top: 15px;
    }
}

/* FIX: Hide English subtitle to make hero section single column */
.t-top__heroHeader__title__en {
    display: none;
}

.t-top__heroHeader__lb {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .t-top__heroHeader__lb {
        bottom: 30px;
    }
}

/* ========================================
   Scroll Down Button
   ======================================== */
.p-scrolldown {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    cursor: pointer;
}

.p-scrolldown:before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    margin-left: -4px;
    margin-top: -4px;
    background-color: #ffffff;
}

.p-scrolldown__text {
    font-size: 1rem;
    letter-spacing: 0.2em;
    opacity: 0.6;
    animation: rotate360 10s linear infinite;
}

@keyframes rotate360 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ========================================
   Section Title
   ======================================== */
.p-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.p-title--section {
    position: relative;
    padding-left: 60px;
}

@media (max-width: 768px) {
    .p-title--section {
        padding-left: 40px;
    }
}

.p-title--section:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-text-primary);
}

@media (max-width: 768px) {
    .p-title--section:before {
        width: 30px;
    }
}

.p-title__en {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    opacity: 0.5;
}

.p-title__jp {
    font-size: var(--font-size-h2);
    font-weight: 700;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .p-title__jp {
        font-size: var(--font-size-h3);
    }
}

/* ========================================
   About Section
   ======================================== */
.t-top__about {
    padding: var(--spacing-section-small) 0;
}

@media (max-width: 768px) {
    .t-top__about {
        padding: var(--spacing-section-small) 0;
    }
}

/* FIX: About section - force single column layout with !important */
.t-top__about,
.t-top__about .c-grid__row,
.t-top__about .c-grid__col {
    display: block !important;
    columns: unset !important;
    grid-template-columns: unset !important;
}

.t-top__about__copy {
    font-size: var(--font-size-large);
    line-height: 1.9;
    letter-spacing: 0.06em;
    opacity: 0.9;
    max-width: 720px;
    width: 100% !important;
    margin: 40px auto 0 auto;
    display: block !important;
}

@media (max-width: 768px) {
    .t-top__about__copy {
        font-size: 1.5rem;
        line-height: 1.9;
        margin-top: 30px;
    }
}

/* ========================================
   White/Gray Background Sections (ElephantStone Style)
   ======================================== */
.p-bg {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: var(--color-text-dark);
    pointer-events: none;
    z-index: 1;
}

.p-bg a {
    color: var(--color-text-dark);
}

.p-bg__grid {
    position: relative;
    padding-top: 150px;
    padding-bottom: 150px;
}

@media (max-width: 768px) {
    .p-bg__grid {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

/* FIX: Add border to white background sections for clearer separation */
.p-bg__base {
    pointer-events: none;
    z-index: 0;
    position: absolute;
    left: 50px;
    top: 150px;
    width: calc(100% - 100px);
    height: calc(100% - 300px);
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius-button);
    border-top: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
    .p-bg__base {
        left: 10px;
        top: 80px;
        width: calc(100% - 20px);
        height: calc(100% - 160px);
        border-radius: 6px;
    }
}

.p-bg__inner {
    pointer-events: visible;
    position: relative;
    z-index: 1;
}

/* Service and Strength sections use light backgrounds */
.p-bg .p-title__en,
.p-bg .p-title__jp {
    color: var(--color-text-dark);
}

.p-bg .t-service__item,
.p-bg .t-strength__item {
    color: var(--color-text-dark);
}

.p-bg .t-service__item__title,
.p-bg .t-strength__item__title {
    color: var(--color-text-darker);
}

/* ========================================
   Service Section
   ======================================== */
.t-service {
    padding: var(--spacing-section-small) 0;
}

@media (max-width: 768px) {
    .t-service {
        padding: var(--spacing-section-small) 0;
    }
}

/* FIX: Service items - precise vertical alignment for MacBook view */
.t-service__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.t-service__item__number {
    flex-shrink: 0;
    font-size: 5rem;
    font-weight: 700;
    opacity: 0.2;
    line-height: 1;
    margin-top: -8px;
}

@media (max-width: 768px) {
    .t-service__item {
        gap: 16px;
        margin-bottom: 24px;
    }

    .t-service__item__number {
        font-size: 4rem;
        margin-top: -6px;
    }
}

.t-service__item__content {
    flex: 1;
}

.t-service__item__title {
    font-size: var(--font-size-h3);
    font-weight: 700;
    margin-bottom: var(--spacing-element);
    line-height: var(--line-height-tight);
}

@media (max-width: 768px) {
    .t-service__item__title {
        font-size: var(--font-size-h4);
        margin-bottom: 15px;
    }
}

.t-service__item__text {
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .t-service__item__text {
        font-size: 1.5rem;
    }
}

/* ========================================
   Strength Section
   ======================================== */
.t-strength {
    padding: var(--spacing-section-small) 0;
}

@media (max-width: 768px) {
    .t-strength {
        padding: var(--spacing-section-small) 0;
    }
}

/* FIX: Strength items - precise vertical alignment for MacBook view */
.t-strength__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.t-strength__item__number {
    flex-shrink: 0;
    font-size: 5rem;
    font-weight: 700;
    opacity: 0.2;
    line-height: 1;
    margin-top: -8px;
}

@media (max-width: 768px) {
    .t-strength__item {
        gap: 16px;
        margin-bottom: 24px;
    }

    .t-strength__item__number {
        font-size: 4rem;
        margin-top: -6px;
    }
}

.t-strength__item__content {
    flex: 1;
}

.t-strength__item__title {
    font-size: var(--font-size-h3);
    font-weight: 700;
    margin-bottom: var(--spacing-element);
    line-height: var(--line-height-tight);
}

@media (max-width: 768px) {
    .t-strength__item__title {
        font-size: var(--font-size-h4);
        margin-bottom: 15px;
    }
}

.t-strength__item__text {
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .t-strength__item__text {
        font-size: 1.5rem;
    }
}

/* ========================================
   Contact Section
   ======================================== */
.t-contact {
    padding: var(--spacing-section-small) 0;
}

@media (max-width: 768px) {
    .t-contact {
        padding: var(--spacing-section-small) 0;
    }
}

.t-contact__inner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.t-contact__title {
    font-size: var(--font-size-h2);
    font-weight: 700;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .t-contact__title {
        font-size: var(--font-size-h3);
        margin-bottom: var(--spacing-element);
    }
}

.t-contact__text {
    font-size: var(--font-size-large);
    line-height: var(--line-height-base);
    margin-bottom: 50px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .t-contact__text {
        font-size: 1.5rem;
        line-height: var(--line-height-base);
        margin-bottom: 40px;
    }
}

.t-contact__button {
    display: flex;
    justify-content: center;
}

/* ========================================
   Button
   ======================================== */
.p-button--rect {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 25px 60px;
    border-radius: var(--border-radius-button);
    background-color: var(--color-text-primary);
    transition: all var(--transition-base);
}

.p-button--rect span {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--color-text-darker);
}

.p-button--rect:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .p-button--rect {
        padding: 20px 40px;
    }

    .p-button--rect span {
        font-size: 1.4rem;
    }
}

/* ========================================
   Footer
   ======================================== */
.l-footer {
    padding: var(--spacing-section-small) 0 40px;
    border-top: 1px solid var(--color-border-light);
}

@media (max-width: 768px) {
    .l-footer {
        padding: 60px 0 30px;
    }
}

.l-footer__logo {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.l-footer__logo__main {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.l-footer__logo__sub {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    opacity: 0.7;
}

.l-footer__nav ul {
    display: flex;
    gap: 30px;
}

@media (max-width: 768px) {
    .l-footer__nav ul {
        flex-direction: column;
        gap: 15px;
    }
}

.l-footer__nav a {
    font-size: 1.4rem;
    font-weight: 400;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.l-footer__nav a:hover {
    opacity: 1;
}

.l-footer__copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-border-light);
}

.l-footer__copyright small {
    font-size: 1.2rem;
    opacity: 0.5;
}

/* ========================================
   Animations
   ======================================== */

/* Fade Up Animation - Enhanced */
.js-fadeUp {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js-fadeUp.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Text Effect - Enhanced with zoom in */
.js-textEffect {
    display: inline-block;
    opacity: 0;
    transform: scale(0.9) translateY(10px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js-textEffect.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Text Effect - Small (micro copy) */
.js-textEffect--small {
    font-size: 0.65em;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .js-textEffect--small {
        font-size: 0.7em;
    }
}

/* Fade In Scale - New rich animation */
.js-fadeScale {
    opacity: 0;
    transform: scale(0.85) translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js-fadeScale.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Slide In from Left */
.js-slideInLeft {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js-slideInLeft.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide In from Right */
.js-slideInRight {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js-slideInRight.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Rotate In Animation */
.js-rotateIn {
    opacity: 0;
    transform: rotate(-5deg) scale(0.9);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js-rotateIn.is-visible {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Stagger Animation - for list items */
.js-stagger {
    opacity: 0;
    transform: translateY(30px);
}

.js-stagger.is-visible {
    animation: staggerFadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes staggerFadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced service items with hover effects */
.t-service__item {
    transition: transform 0.2s ease;
}

.t-service__item:hover {
    transform: translateY(-8px);
}

/* ========================================
   Case Study Cards
   ======================================== */
.t-case-study {
    background: var(--color-text-primary);
    border-radius: var(--border-radius-card);
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.t-case-study:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.t-case-study__image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background-color: #f8f9f9;
}

.t-case-study__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.t-case-study:hover .t-case-study__image img {
    transform: scale(1.05);
}

.t-case-study__title {
    padding: var(--spacing-card);
    font-size: var(--font-size-large);
    font-weight: 700;
    color: var(--color-text-darker);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .t-case-study__title {
        font-size: var(--font-size-base);
        padding: var(--spacing-card);
    }
}

/* Enhanced strength items with hover effects */
.t-strength__item {
    transition: transform 0.2s ease;
}

.t-strength__item:hover {
    transform: translateY(-8px);
}

/* ========================================
   Utilities
   ======================================== */
.u-hide-pc {
    display: none;
}

@media (max-width: 768px) {
    .u-hide-pc {
        display: inline;
    }
}

.p-circleHover {
    position: relative;
    display: inline-block;
}

/* ========================================
   Contact Form Styles (Modern Design)
   ======================================== */
/* FIX: Form wrapper - max-width 600px for better readability */
.t-contact__form-wrapper {
    max-width: 600px;
    margin: 60px auto 0;
}

.t-contact__form-notice {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 152, 0, 0.15) 100%);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 20px 32px;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.t-contact__form-notice::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10%, 10%); }
}

.t-contact__form-notice p {
    color: #ffc107;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
    letter-spacing: 0.05em;
}

.t-contact__form {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .t-contact__form {
        padding: 30px 20px;
    }
}

.t-contact__form-group {
    margin-bottom: 36px;
}

/* FIX: Form label - margin-bottom 8px for consistent spacing */
.t-contact__form-label {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
    letter-spacing: 0.03em;
}

/* FIX: Form badges - 青い×マークスタイル */
.t-contact__form-required,
.t-contact__form-optional {
    display: inline-block;
    font-size: 14px;
    vertical-align: middle;
    margin-left: 6px;
    white-space: nowrap;
}

.t-contact__form-required {
    color: #4a90e2;
    font-weight: 700;
    background: none;
    padding: 0;
    box-shadow: none;
}

.t-contact__form-optional {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 2px;
}

/* FIX: お名前フィールドの2カラムレイアウト */
.t-contact__form-name-wrapper {
    display: flex;
    gap: 16px;
}

.t-contact__form-input--half {
    width: calc(50% - 8px);
    flex: 1;
}

/* FIX: Enhanced form fields - ElephantStone inspired design */
.t-contact__form-input,
.t-contact__form-select,
.t-contact__form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 18px 24px;
    font-size: 1.6rem;
    color: #ffffff;
    font-family: var(--font-family-primary);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.t-contact__form-input:hover,
.t-contact__form-select:hover,
.t-contact__form-textarea:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.t-contact__form-input:focus,
.t-contact__form-select:focus,
.t-contact__form-textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2),
                0 0 0 4px rgba(255, 255, 255, 0.1);
}

.t-contact__form-input::placeholder,
.t-contact__form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.t-contact__form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='9' viewBox='0 0 14 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='white' stroke-opacity='0.6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
    cursor: pointer;
}

.t-contact__form-select option {
    background: #181819;
    color: #ffffff;
}

.t-contact__form-textarea {
    resize: vertical;
    min-height: 180px;
    line-height: 1.7;
}

.t-contact__form-submit {
    text-align: center;
    margin-top: 50px;
}

/* FIX: Enhanced submit button - ElephantStone inspired */
.p-button--submit {
    min-width: 320px;
    cursor: pointer;
    font-size: 1.7rem;
    padding: 20px 56px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: #181819;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25),
                0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.p-button--submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent);
    transition: left 0.6s ease;
}

.p-button--submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.35),
                0 4px 12px rgba(0, 0, 0, 0.15);
}

.p-button--submit:hover::before {
    left: 100%;
}

.p-button--submit:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25),
                0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for form */
@media (max-width: 768px) {
    .t-contact__form-wrapper {
        margin-top: 40px;
    }

    .t-contact__form-notice {
        padding: 12px 16px;
        margin-bottom: 32px;
    }

    .t-contact__form-notice p {
        font-size: 1.2rem;
    }

    .t-contact__form-group {
        margin-bottom: 24px;
    }

    .t-contact__form-label {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .t-contact__form-input,
    .t-contact__form-select,
    .t-contact__form-textarea {
        padding: 12px 16px;
        font-size: 1.4rem;
    }

    .t-contact__form-submit {
        margin-top: 32px;
    }

    .p-button--submit {
        min-width: 100%;
    }
}

/* ========================================
   Responsive Enhancements
   ======================================== */

/* Improved mobile hero section */
@media (max-width: 768px) {
    .t-top__heroHeader {
        min-height: 100vh;
        padding: 80px 0 60px;
    }

    .t-top__heroHeader__title__jp {
        font-size: 3.2rem;
        line-height: 1.4;
    }

    .t-top__heroHeader__title__en {
        font-size: 1.2rem;
        margin-top: 20px;
    }

    /* Better spacing for mobile sections */
    .c-spacer--pt100 {
        padding-top: 60px !important;
    }

    .c-spacer--pt150 {
        padding-top: 80px !important;
    }

    .c-spacer--pb150 {
        padding-bottom: 80px !important;
    }

    /* Mobile navigation improvements */
    .l-nav__modal {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .p-hamNav__global {
        padding: 40px 20px;
    }

    /* Improve mobile grid gutters */
    .c-grid__row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .c-grid__col {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Better mobile contact section */
    .t-contact__title {
        font-size: 2.4rem;
        line-height: 1.4;
    }

    .t-contact__text {
        font-size: 1.4rem;
        line-height: 1.8;
    }

    /* Mobile about section */
    .t-top__about__copy {
        font-size: 1.4rem;
        line-height: 1.9;
    }

    /* Mobile service items spacing */
    .c-spacer--pb60 {
        padding-bottom: 40px !important;
    }

    .c-spacer--pb80 {
        padding-bottom: 50px !important;
    }
}

/* Very small screens (< 375px) */
@media (max-width: 374px) {
    .t-top__heroHeader__title__jp {
        font-size: 2.8rem;
    }

    .t-service__item__title,
    .t-strength__item__title {
        font-size: 1.8rem;
    }

    .t-contact__title {
        font-size: 2rem;
    }
}

/* MacBook and Tablet landscape improvements (1024px - 1440px) */
@media (min-width: 769px) and (max-width: 1440px) {
    /* Hero section adjustments */
    .t-top__heroHeader {
        min-height: 90vh;
    }

    .t-top__heroHeader__title__jp span {
        font-size: 5.6rem;
    }

    .t-top__heroHeader__title__jp span.js-textEffect--small {
        font-size: 2.6rem;
    }

    .t-top__heroHeader__title__en span {
        font-size: 1.5rem;
    }

    /* About section */
    .t-top__about__copy {
        font-size: 1.6rem;
        line-height: 1.8;
    }

    /* Service items */
    .t-service__item {
        padding-left: 65px;
    }

    .t-service__item__title {
        font-size: 2.2rem;
    }

    .t-service__item__text {
        font-size: 1.5rem;
    }

    /* Strength items */
    .t-strength__item {
        padding-left: 65px;
    }

    .t-strength__item__title {
        font-size: 2.2rem;
    }

    .t-strength__item__text {
        font-size: 1.5rem;
    }

    /* Contact section */
    .t-contact__title {
        font-size: 3.2rem;
    }

    .t-contact__text {
        font-size: 1.6rem;
    }

    /* Grid gutters */
    .c-grid__col {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* White background adjustment */
    .p-bg__base {
        left: 30px;
        top: 120px;
        width: calc(100% - 60px);
        height: calc(100% - 240px);
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch target sizes */
    .l-header__hamburger {
        min-width: 44px;
        min-height: 44px;
    }

    .p-button {
        min-height: 48px;
        padding: 16px 32px;
    }

    /* Remove hover effects on touch devices */
    .t-service__item:hover,
    .t-strength__item:hover {
        transform: none;
    }

    .p-button:hover {
        transform: none;
    }
}

/* Landscape mobile improvements */
@media (max-width: 768px) and (orientation: landscape) {
    .t-top__heroHeader {
        min-height: auto;
        padding: 100px 0 80px;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Improve text rendering on retina displays */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}
