@charset "UTF-8";

/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
    --color-bg: #fdfdfd;
    --color-text: #333333;
    --color-text-light: #777777;
    --color-accent: #304130;
    /* Dark Green */
    --color-accent-sub: #a8d0e6;
    /* Pale Blue */
    --color-white: #ffffff;
    --color-border: #eeeeee;

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

    --header-height: 80px;
    --header-height-scroll: 60px;
}

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

html {
    font-size: 16px;
    scroll-behavior: auto;
    /* Handled by Lenis type logic */
}

body {
    font-family: var(--font-jp);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    letter-spacing: 0.05em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}


/* ==========================================================================
   Visual Grid (V4 Masonry Style)
   ========================================================================== */
.visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    position: relative;
    z-index: 2;
    background-color: var(--color-bg);
    /* Ensure no transparency leak if needed, though images cover it */
}

.visual-grid__item {
    position: relative;
    width: 100%;
    /* Aspect ratio for square/rectangular tiles */
    aspect-ratio: 16/9;
    overflow: hidden;
    display: block;
    background-color: #000;
}

/* Make some items full width or different sizes if desired in future, 
   for now uniform grid or specific classes */
.visual-grid__item--full {
    grid-column: 1 / -1;
    aspect-ratio: 21/9;
}

.visual-grid__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}

.visual-grid__item:hover .visual-grid__bg {
    transform: scale(1.05);
    opacity: 0.4;
}

.visual-grid__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    /* Gradient overlay for text readability */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.visual-grid__label {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 5px;
}

.visual-grid__sub {
    font-family: var(--font-jp);
    font-size: 0.9rem;
    color: var(--color-white);
    opacity: 0.8;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .visual-grid {
        grid-template-columns: 1fr;
    }

    .visual-grid__item {
        aspect-ratio: 4/3;
    }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.container--sm {
    max-width: 800px;
}

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

.mt-40 {
    margin-top: 40px;
}

.section {
    padding: 100px 0;
    background-color: var(--color-bg);
    /* Ensure solid bg for curtain effect */
    position: relative;
    /* For z-index context */
    z-index: 10;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-text-light);
    letter-spacing: 0.1em;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-en);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    border: 1px solid var(--color-accent);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-accent);
}

.btn-link {
    display: inline-block;
    position: relative;
    font-family: var(--font-en);
    font-size: 1rem;
    color: var(--color-accent);
    padding-bottom: 5px;
}

.btn-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

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

/* ==========================================================================
   Splash Screen (Rich Animation)
   ========================================================================== */
.splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    /* Let clicks pass through after logic handles display none, but safest is display none */
}

/* The dark curtain that slides up */
.splash__curtain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent);
    z-index: 1;
    transform-origin: top center;
}

.splash__logo {
    position: relative;
    z-index: 2;
    width: 45%;
    max-width: 450px;
    height: auto;
    /* Aspect ratio to prevent collapse if needed, or rely on img intrinsic */
    aspect-ratio: 4/3;
    display: block;
    /* changed from flex to simple block context for absolute children */
}

.splash-logo-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* .splash-part replaced by .splash-svg */
.splash-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* No opacity 0 here, we control visibility via stroke dashoffset or GSAP set */
    display: block;
    overflow: visible;
}

.splash-stroke {
    fill: none;
    stroke: var(--color-white);
    stroke-linecap: round;
    stroke-linejoin: round;
    /* stroke-width is defined inline in HTML for each part */
    opacity: 0;
    /* Hidden initially to prevent FOUC, JS will set to 1 */
}

/* Removed old svg styles if no longer needed, keeping for safety if reverted, 
   but overriding key parts or just leaving them unused is fine. */
/* Removed old svg styles rule that was hiding the new SVGs */

.splash-path {
    fill: transparent;
    stroke: var(--color-white);
    stroke-width: 2px;
    opacity: 1;
}

/* ==========================================================================
   SNS Sidebar
   ========================================================================== */
.sns-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.05);
}

.sns-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    transition: transform 0.3s ease, color 0.3s ease;
}

.sns-link:hover {
    transform: translateX(-5px) scale(1.1);
    color: var(--color-accent-sub);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
    padding: 30px 0;
    color: var(--color-white);
}

/* Subpage Header - Transparent to overlay Sub-Hero */
.header.header--subpage {
    background-color: transparent;
    color: var(--color-white);
    /* White text/logo for overlay */
}

/* Sub-Hero Section */
.sub-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: var(--color-white);
    margin-bottom: 80px;
}

.sub-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.sub-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Darken for readability */
    z-index: -1;
}

.sub-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.sub-hero__title {
    font-family: var(--font-en);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.sub-hero__sub {
    font-family: var(--font-jp);
    font-size: 1rem;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.header.header--scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--color-text);
    /* Change text color to dark */
}

.header.header--scrolled .header__logo img {
    height: 45px;
}

.header.header--scrolled .header__hamburger span {
    background-color: var(--color-accent);
}

/* Homepage specific scroll behavior (retaining original subtle effect) */
.header.header--home-scrolled {
    background-color: transparent;
    /* Or var(--color-main) if desired later */
    padding: 10px 0;
    box-shadow: none;
    color: var(--color-white);
}

.header.header--home-scrolled .header__logo img {
    height: 45px;
}

.header__inner {
    width: 94%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo img {
    height: 50px;
    /* Reduced from 60px */
    width: auto;
    transition: all 0.3s ease;
    display: block;
}

.header__nav {
    display: none;
    /* ALWAYS HIDDEN for V3 PC Hamburger */
}

/* Hamburger (Always visible now) */
.header__hamburger {
    display: block;
    /* Always show */
    z-index: 102;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    /* Force White initially */
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

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

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

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

.body--nav-open .header__hamburger span:nth-child(1) {
    top: 50%;
    transform: rotate(45deg);
    background-color: var(--color-white);
    /* White for contrast on dark overlay */
}

.body--nav-open .header__hamburger span:nth-child(2) {
    opacity: 0;
}

.body--nav-open .header__hamburger span:nth-child(3) {
    top: 50%;
    transform: rotate(-45deg);
    background-color: var(--color-white);
    /* White for contrast on dark overlay */
}

/* Mobile/Overlay Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-accent);
    /* Main Color */
    z-index: 101;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.body--nav-open .mobile-menu {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__nav ul {
    text-align: center;
    list-style: none;
    /* Ensure no bullets */
    padding: 0;
}

.mobile-menu__nav a {
    display: block;
    font-family: var(--font-en);
    /* Gothic/Sans-Serif */
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu__nav a:hover {
    color: var(--color-accent-sub);
    /* Gold/Accent on hover */
}

.mobile-menu__nav li {
    margin: 20px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.body--nav-open .mobile-menu__nav li {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.body--nav-open .mobile-menu__nav li:nth-child(1) {
    transition-delay: 0.1s;
}

.body--nav-open .mobile-menu__nav li:nth-child(2) {
    transition-delay: 0.2s;
}

.body--nav-open .mobile-menu__nav li:nth-child(3) {
    transition-delay: 0.3s;
}

.body--nav-open .mobile-menu__nav li:nth-child(4) {
    transition-delay: 0.4s;
}

.body--nav-open .mobile-menu__nav li:nth-child(5) {
    transition-delay: 0.5s;
}

.body--nav-open .mobile-menu__nav li:nth-child(6) {
    transition-delay: 0.6s;
}

.body--nav-open .mobile-menu__nav li:nth-child(7) {
    transition-delay: 0.7s;
}

.mobile-menu__nav a {
    font-family: var(--font-en);
    font-size: 2rem;
    /* Larger for impact */
    font-weight: 300;
    color: var(--color-white);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    /* Align Left */
    align-items: flex-end;
    text-align: left;
    /* Align left */
    color: var(--color-white);
    z-index: 1;
    /* Lower than section content */
}

/* For Pinning: The hero will be pinned, and content slides over it */
/* This requires no special CSS other than normal z-index layering handled by GSAP Pinning, 
   but we ensure it's full viewport */

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

.hero__bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    width: 100%;
    max-width: 1400px;
    /* Allow wider width */
    margin: 0 auto;
    padding-left: 5%;
    /* Add left offset */
    padding-bottom: 120px;
    /* Space from bottom/scroll indicator */
}

.hero__title {
    font-family: var(--font-en);
    /* Revert to Gothic/Sans-Serif (Outfit) */
    font-size: 5.5rem;
    /* Reduced from 8rem */
    font-weight: 700;
    /* Bold looks better for Gothic */
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero__title .char {
    display: inline-block;
    opacity: 0;
}

.hero__subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    opacity: 0;
    transform: translateY(20px);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    padding-left: 5px;
}

.hero__scroll {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero__scroll span {
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent);
    transform: translateY(-100%);
    animation: scrollLine 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* ==========================================================================
   Page Header (Subpages)
   ========================================================================== */
.page-header {
    padding-top: 150px;
    padding-bottom: 80px;
    background-color: #f5f7fa;
    text-align: center;
    margin-bottom: 80px;
}

.page-header__title {
    font-family: var(--font-en);
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 10px;
}

.page-header__sub {
    font-size: 1rem;
    color: var(--color-text-light);
}

/* ==========================================================================
   Concept
   ========================================================================== */
.concept__container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.concept__title-area {
    flex: 0 0 300px;
}

.concept__title {
    font-family: var(--font-jp);
    font-weight: 500;
    font-size: 2.5rem;
    line-height: 1.6;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    writing-mode: vertical-rl;
    text-orientation: upright;
    height: 400px;
}

.concept__title span {
    display: inline-block;
}

.concept__content {
    flex: 1;
    position: relative;
}

.concept__images {
    position: relative;
    height: 500px;
    margin-bottom: 50px;
}

.concept__img-wrapper {
    position: absolute;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.concept__img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.1s ease-out;
}

.concept__img-1 {
    width: 60%;
    height: 80%;
    top: 0;
    left: 0;
    z-index: 1;
}

.concept__img-2 {
    width: 50%;
    height: 60%;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 5px solid white;
}

.concept__lead {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 2;
}

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

/* ==========================================================================
   What We Do
   ========================================================================== */
/* ==========================================================================
   Visual Grid Navigation (V4)
   ========================================================================== */
.visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    /* No gap for seamless look, or gap for tiled look? User said "visual grid". Let's use no gap for premium feel or small gap. Standard is often no gap. */
}

.visual-grid__item {
    position: relative;
    display: block;
    width: 100%;
    height: 400px;
    /* Fixed height for tiles */
    overflow: hidden;
    text-decoration: none;
    color: var(--color-white);
}

.visual-grid__item--full {
    grid-column: span 2;
    height: 300px;
    /* Reduced from 500px as requested */
}

.visual-grid__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    z-index: 0;
}

.visual-grid__item:hover .visual-grid__bg {
    transform: scale(1.1);
}

.visual-grid__content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    /* Overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.visual-grid__item:hover .visual-grid__content {
    background-color: rgba(0, 0, 0, 0.4);
}

.visual-grid__label {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.visual-grid__sub {
    font-size: 1rem;
    opacity: 0.9;
}

/* Responsive Grid */
@media screen and (max-width: 768px) {
    .visual-grid {
        grid-template-columns: 1fr;
    }

    .visual-grid__item--full {
        grid-column: span 1;
        height: 300px;
    }

    .visual-grid__item {
        height: 250px;
    }
}

/* ==========================================================================
   Business
   ========================================================================== */
.business__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--color-border);
}

.business__item {
    padding: 40px;
    border-bottom: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.business__item:nth-child(2n) {
    border-right: none;
}

.business__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-accent);
    transition: width 0.4s ease;
    z-index: 0;
}

.business__item:hover::before {
    width: 100%;
}

.business__item:hover .business__num,
.business__item:hover .business__name,
.business__item:hover .business__en,
.business__item:hover .business__arrow {
    color: var(--color-white);
}

.business__info,
.business__arrow {
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.business__info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.business__num {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 300;
    color: #e0e0e0;
}

.business__name {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.business__en {
    display: block;
    font-family: var(--font-en);
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.business__arrow {
    font-family: var(--font-en);
    font-size: 1.5rem;
}

/* ==========================================================================
   Works (Swiper)
   ========================================================================== */
.works {
    overflow: hidden;
}

.works__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.works__nav {
    display: flex;
    gap: 30px;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    cursor: pointer;
    font-family: var(--font-en);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
    color: var(--color-accent-sub);
}

.works__slider {
    padding-left: calc((100% - 1200px) / 2 + 20px);
    padding-bottom: 50px;
}

.works__slide {
    width: 400px;
    opacity: 0.4;
    transition: opacity 0.5s ease;
}

.swiper-slide-active,
.swiper-slide-next,
.swiper-slide-active+.swiper-slide+.swiper-slide {
    opacity: 1;
}

.works__img-box {
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 25px;
}

.works__img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.works__slide:hover .works__img-box img {
    transform: scale(1.05);
}

.works__meta {
    display: flex;
    gap: 15px;
    font-family: var(--font-en);
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.works__title {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.works__sub {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ==========================================================================
   News
   ========================================================================== */
.news__list {
    border-top: 1px solid var(--color-border);
}

.news__item {
    display: flex;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid var(--color-border);
    transition: background-color 0.3s ease;
}

.news__item:hover {
    background-color: #fafafa;
    padding-left: 20px;
    padding-right: 20px;
}

.news__date {
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: var(--color-text-light);
    width: 120px;
}

.news__cat {
    font-family: var(--font-en);
    font-size: 0.75rem;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 4px 10px;
    margin-right: 30px;
    border-radius: 2px;
}

.news__title {
    flex: 1;
    font-size: 1rem;
    position: relative;
    display: inline-block;
}

/* ==========================================================================
   Blog
   ========================================================================== */
.blog {
    background-color: #f9f9f9;
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog__card {
    background: var(--color-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: block;
    height: 100%;
}

.blog__card:hover {
    transform: translateY(-5px);
}

.blog__thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.blog__card:hover .blog__thumb img {
    filter: brightness(1.1);
}

.blog__body {
    padding: 25px;
}

.blog__date {
    font-family: var(--font-en);
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 5px;
}

.blog__cat {
    font-family: var(--font-en);
    font-size: 0.75rem;
    color: var(--color-accent-sub);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.blog__title {
    font-size: 1.1rem;
    line-height: 1.5;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    text-align: center;
}

.contact__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(15, 28, 46, 0.7), rgba(15, 28, 46, 0.7)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.contact__content {
    position: relative;
    z-index: 2;
}

.contact__title {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--color-accent);
    /* Main Color #304130 */
    color: var(--color-white);
    padding: 60px 0 20px;
    font-family: var(--font-jp);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /* Align bottom */
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    /* Lighter border */
    padding-bottom: 40px;
}

.footer__left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__logo img {
    width: 200px;
    height: auto;
}



.footer__address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer__nav {
    display: flex;
    gap: 30px;
}

.footer__nav a {
    font-family: var(--font-en);
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-white);
    position: relative;
    padding-bottom: 5px;
}

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

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

.footer__copy {
    text-align: center;
    font-size: 0.8rem;
    font-family: var(--font-en);
    opacity: 0.6;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

/* ==========================================================================
   Works Page
   ========================================================================== */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.works-item {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.works-item__thumb {
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 15px;
}

.works-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.works-item:hover .works-item__thumb img {
    transform: scale(1.05);
}

.works-item__title {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--color-text);
}

.works-item__cat {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-family: var(--font-en);
}

/* ==========================================================================
   Property Detail
   ========================================================================== */
.property-header {
    margin-bottom: 40px;
    text-align: center;
}

.property-title {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
}

.property-cat {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 5px 15px;
    font-size: 0.9rem;
    font-family: var(--font-en);
    letter-spacing: 0.1em;
}

.property-slider-container {
    margin-bottom: 60px;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.property-slider {
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 20px;
}

.property-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-thumbs {
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    padding: 10px 0;
}

.property-thumbs .swiper-slide {
    width: 20%;
    height: 100%;
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.property-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid var(--color-accent);
}

.property-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-content {
    max-width: 800px;
    margin: 0 auto;
}

.property-desc {
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 60px;
    text-align: center;
}

.property-table {
    width: 100%;
    border-top: 1px solid var(--color-border);
    margin-bottom: 60px;
}

.property-row {
    display: flex;
    border-bottom: 1px solid var(--color-border);
}

.property-th {
    width: 30%;
    background-color: #fafafa;
    padding: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.property-td {
    width: 70%;
    padding: 20px;
}

.property-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-accent);
    font-family: var(--font-en);
}

.property-map {
    margin-top: 40px;
    aspect-ratio: 16/9;
    width: 100%;
}

.property-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.property-nav {
    text-align: center;
    margin-top: 80px;
}

.btn-back {
    display: inline-block;
    padding: 15px 50px;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-en);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.btn-back:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background-color: rgba(48, 65, 48, 0.05);
    /* Light accent bg */
}

/* ==========================================================================
   News Page & Detail
   ========================================================================== */
.news-list {
    border-top: 1px solid var(--color-border);
}

.news-item {
    padding: 30px 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.news-item:hover {
    background-color: #fafafa;
    padding-left: 20px;
    padding-right: 20px;
}

.news-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 0.9rem;
}

.news-date {
    color: var(--color-text-light);
    font-family: var(--font-en);
}

.news-tag {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 2px 8px;
    font-size: 0.8rem;
}

.news-link {
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    transition: color 0.3s;
}

.news-item:hover .news-link {
    color: var(--color-accent);
}

/* Detail Article */
.article-header {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.article-date {
    font-family: var(--font-en);
    color: var(--color-text-light);
}

.article-tag {
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 4px 12px;
    font-size: 0.8rem;
    font-family: var(--font-en);
}

.article-title {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.4;
}

.article-body {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 60px;
}

.article-body p {
    margin-bottom: 30px;
}

.article-body img {
    margin: 40px 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .header__nav {
        display: none;
    }

    .header__hamburger {
        display: block;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__content {
        padding-bottom: 160px;
    }

    .hero__scroll {
        bottom: 30px;
    }

    .concept__container {
        flex-direction: column;
        gap: 40px;
    }

    .concept__title-area {
        flex: 0 0 auto;
        text-align: center;
        width: 100%;
    }

    .concept__title {
        writing-mode: horizontal-tb;
        height: auto;
        font-size: 2rem;
        line-height: 1.4;
    }

    .concept__title span {
        display: inline;
    }

    .concept__images {
        height: 350px;
    }

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

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

    .business__item {
        border-right: none;
    }

    .works__slider {
        padding-left: 20px;
    }

    .works__slide {
        width: 85%;
    }

    .news__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news__date {
        width: auto;
        margin-bottom: 5px;
    }

    .news__cat {
        margin-right: 0;
    }

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

    .footer__inner {
        flex-direction: column;
        gap: 40px;
    }

    .footer__right {
        text-align: left;
    }

    .contact__title {
        font-size: 2rem;
    }

    .page-header {
        padding-top: 120px;
    }

    .page-header__title {
        font-size: 2rem;
    }

    .sns-sidebar {
        bottom: 0;
        top: auto;
        right: 0;
        width: 100%;
        flex-direction: row;
        justify-content: center;
        transform: none;
        padding: 10px;
        border-radius: 0;
    }

    .footer__nav {
        flex-wrap: wrap;
        gap: 15px 30px;
    }
}

/* ==========================================================================
   Animation Utilities
   ========================================================================== */
.reveal-text {
    opacity: 0;
    transform: translateY(20px);
}

.reveal-img {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1.2s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.5s ease;
}

.reveal-img.is-visible {
    opacity: 1;
    clip-path: inset(0 0 0 0);
}

.stagger-list>* {
    opacity: 0;
    transform: translateY(20px);
}