:root {
    --bg-color: #ffffff;
    --text-color: #111827;
    --accent-color: #dc143c;
    /* Blue */
    --accent-gradient: linear-gradient(135deg, #dc143c, #b91c1c);
    --secondary-text: #4b5563;
    --card-bg: #f9fafb;
    --card-border: #e5e7eb;
    --font-main: 'Inter', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-jp);
    line-height: 1.6;
    overflow-x: hidden;

}

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

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

ul {
    list-style: none;
}



/* Header */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    /* Wider for impactful look */
    z-index: 1000;
    transition: 0.4s;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.85);
    /* Slightly more opaque */
    backdrop-filter: blur(15px);
    /* Stronger blur */
    border-radius: 60px;
    /* Very rounded 'Pill' */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Subtle border */
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: var(--text-color);
}

.header-logo-img {
    height: 40px !important;
    width: auto !important;
    max-width: 200px;
    display: block;
}

.nav-list {
    display: flex;
    gap: 35px;
    /* Wider spacing */
    list-style: none;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    transition: 0.3s;
    font-family: var(--font-en);
    letter-spacing: 0.05em;
}



.nav-list a:hover {
    color: #dc143c;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #dc143c;
    transition: 0.3s;
}

.nav-list a:hover::after {
    width: 100%;
}

/* Contact Button in Header - Matching new Contact Section Vibe */
.btn-contact {
    display: inline-flex;
    /* Changed from inline-block for centering */
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    background: transparent;
    color: #dc143c;
    /* Red text */
    border: 1px solid #dc143c;
    /* Red Border */
    font-weight: 700;
    transition: 0.3s;
    font-family: var(--font-en);
}

.btn-contact:hover {
    background: #dc143c;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

.hamburger {
    display: none;
}

/* Hero Section */
.hero {
    position: relative !important;
    width: 100%;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    transform: none !important;
}

/* Content Pop Wrapper - Neutralized */
.content-pop {
    position: relative !important;
    width: 100%;
    z-index: 2;
    margin-top: 0 !important;
    top: auto !important;
    transform: none !important;
    background-color: var(--bg-color);
    /* Ensure opaque background */
    color: var(--text-color);
}

/* Three.js Canvas - Now Hero Background Only */
#webgl-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Behind hero content (z-index 2) but above bg color (z-index -1) */
    pointer-events: none;
    opacity: 0.8;
}

/* Unused blob classes removed */

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle background accent */
    background: radial-gradient(circle at 80% 20%, rgba(220, 20, 60, 0.03) 0%, transparent 50%);
    z-index: -1;
    overflow: hidden;
    /* Ensure canvas doesn't overflow */
}

.hero-container {
    display: flex;
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Left: Text Area */
.hero-text-area {
    width: 50%;
    z-index: 2;
}

.hero-title-main {
    font-family: var(--font-main);
    font-weight: 900;
    font-size: 5rem;
    line-height: 0.9;
    color: #9ca3af;
    /* Gray for Potential */
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.title-top-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.block-text {
    display: block;
}

.arrow-text {
    color: #ef4444;
    /* Red arrow */
    font-size: 4rem;
    transform: none;
    /* Remove previous translation */
    margin: 0;
}

.achievement {
    color: var(--text-color);
    /* Black for Achievement */
    font-size: 5.5rem;
}

.hero-slogan {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-text);
    letter-spacing: 0.05em;
}

/* Right: Visual Area (3D Spiral) */
.hero-visual-area {
    width: 50%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    /* Essential for 3D */
    overflow: visible;
}

.spiral-container {
    position: relative;
    width: 300px;
    height: 400px;
    transform-style: preserve-3d;
    transform: rotateX(-10deg) rotateY(20deg) rotateZ(10deg);
    /* Initial tilt */
}

.spiral-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: spiralRotate 20s linear infinite;
}

@keyframes spiralRotate {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

.spiral-item {
    position: absolute;
    width: 200px;
    height: 280px;
    background: #fff;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--secondary-text);
    font-family: var(--font-main);

    /* Calculate position based on index --i (1 to 8) */
    /* 
       Total 8 items. 360 / 8 = 45deg per item.
       translateZ adjusted for smaller items
    */
    transform: rotateY(calc(var(--i) * 45deg)) translateZ(280px) translateY(calc(var(--i) * 30px - 100px));

    /* Ensure text readability inside items */
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
}

.spiral-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Random-ish colors for placeholders to look vibrant like the reference */
.spiral-item:nth-child(1) {
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

.spiral-item:nth-child(2) {
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

.spiral-item:nth-child(3) {
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

.spiral-item:nth-child(4) {
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

.spiral-item:nth-child(5) {
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

.spiral-item:nth-child(6) {
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

.spiral-item:nth-child(7) {
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

.spiral-item:nth-child(8) {
    background: rgba(0, 0, 0, 0.8);
    color: white;
}


.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: var(--font-main);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--secondary-text);
    opacity: 0.7;
}

.scroll-down .arrow {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--secondary-text), transparent);
}

/* Sections Global */
.section {
    padding: 120px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: left;
    /* Align left by default for the bar style */
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-left: 25px;
    /* Space for the bar */
}

/* Stylish Vertical Bar Accent */
.section-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    /* Optical alignment */
    bottom: 5px;
    width: 6px;
    background: #dc143c;
    border-radius: 4px;
}

.section-title {
    font-family: var(--font-en);
    /* Use English font */
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0px;
    /* Tighter spacing */
    letter-spacing: 0.02em;
    line-height: 1;
    color: var(--text-color);
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--secondary-text);
    padding-top: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    font-family: var(--font-main);
}

/* Override center alignment for specific sections if needed, but Left Bar looks best aligned left */
.align-right {
    text-align: right;
}

/* Vision Section */
.vision {
    text-align: center;
    padding: 150px 0;
    position: relative;
    overflow: hidden;
}

/* Large Watermark */
/* Large Watermark Removed */
.vision::before {
    content: none;
    display: none;
}

.vision-content {
    position: relative;
    z-index: 1;
}

.vision-main-text {
    font-size: 3rem;
    /* Larger */
    font-weight: 900;
    margin: 40px 0;
    line-height: 1.4;
    letter-spacing: 0.1em;
    /* Gradient Text */
    filter: drop-shadow(0 0 20px rgba(220, 20, 60, 0.1));
}

.vision-desc {
    font-size: 1.1rem;
    line-height: 2.2;
    color: var(--secondary-text);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
    position: relative;
    padding-top: 30px;
}

/* Decorative line */
.vision-desc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #dc143c;
    border-radius: 2px;
}

/* About Overlay */
.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.about-text-col {
    flex: 1;
}

.section-header.align-left {
    text-align: left;
    margin-bottom: 40px;
}

.about-desc {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--secondary-text);
}

.about-image-col {
    flex: 1;
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: #e5e7eb;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    font-weight: 700;
}

/* Services */
.service-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    /* Reduced gap to fit */
    align-items: flex-start;
}

.service-header-col {
    width: 28%;
    /* Approx 1/3 including gap */
    position: sticky;
    top: 150px;
    /* Sticky title like About */
}

.service-grid-col {
    width: 66%;
    /* Exact 2/3 */
}

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

.service-card {
    background: var(--card-bg);
    /* Light card bg */
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #dc143c;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.219);
    background: #f3f4f6;
    /* Slightly darker/grayish */
}

/* View More Overlay Text */
.service-card::after {
    content: 'VIEW MORE →';
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #dc143c;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateX(-10px);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Make internal content shift slightly or fade to focus on View More? 
   No, just keep it clean as requested. */


.card-icon {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.card-desc {
    font-size: 0.95rem;
    color: var(--secondary-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-list li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--secondary-text);
    position: relative;
    padding-left: 15px;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #dc143c;
    border-radius: 50%;
}

.mobile-filter-container {
    display: none;
    /* Hidden on desktop */
}

/* News Section */
.news-flex-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    /* Stretch to make columns equal height */
    gap: 40px;
}

.news .section-header {
    margin-bottom: 0;
    text-align: left;
    width: 20%;
    /* Fixed width for left column */
    position: sticky;
    top: 150px;
    height: fit-content;
    /* Ensure text doesn't stretch weirdly */
}

.news-list {
    flex: 1;
    /* Center takes remaining space */
    margin: 0;
    /* Remove auto margins */
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.news-btn-wrapper {
    width: 20%;
    /* Right column width */
    text-align: right;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Align to bottom */
    align-items: flex-end;
    /* Align to right */
    padding-bottom: 25px;
    /* Visual alignment with list bottom border */
}

/* Adjust button to align right */
.news-btn-wrapper .view-more-btn {
    width: auto;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: var(--text-color);
    transition: 0.3s;
    position: relative;
}

.news-item:hover {
    padding-left: 20px;
    color: #dc143c;
}

.news-item:hover .news-tag {
    background: #dc143c;
    border-color: #dc143c;
}

.news-item::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: 0.3s;
    color: #dc143c;
}

.news-item:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.news-date {
    font-size: 0.9rem;
    color: var(--secondary-text);
    margin-right: 20px;
    font-family: var(--font-en);
}

.news-tag {
    font-size: 0.75rem;
    padding: 4px 12px;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    margin-right: 20px;
    white-space: nowrap;
}

.news-title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    flex: 1;
}


/* View More Button */
.view-more-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 40px;
    border: 1px solid var(--text-color);
    border-radius: 50px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    background: transparent;
}

.view-more-btn:hover {
    background: var(--text-color);
    color: #fff;
    transform: scale(1.05);
}

.btn-arrow {
    margin-left: 10px;
    transition: 0.3s;
}

.view-more-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Mobile News */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
    }

    .news-date {
        margin-bottom: 5px;
    }

    .news-tag {
        margin-bottom: 10px;
    }
}

.news-tag {
    margin-bottom: 10px;
}

/* Blog Section */
.blog-slider {
    display: flex;
    flex-wrap: nowrap;
    /* Guarantee no wrapping */
    /* Horizontal Scroll */
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    /* Space for scrollbar or shadow */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 -20px;
    /* Negative margin to bleed edge on mobile */
    padding: 0 20px 20px;
    /* Padding content */
}

/* Hide Scrollbar for clean look */
.blog-slider::-webkit-scrollbar {
    height: 6px;
}

.blog-slider::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.blog-slider::-webkit-scrollbar-track {
    background: transparent;
}

.blog-card {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 300px;
    /* Fixed width for slider items */
    width: 300px;
    scroll-snap-align: start;
}

.blog-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    /* 16:9 Aspect Ratio */
    border-radius: 12px;
    /* Sharper radius for modern look */
    overflow: hidden;
    margin-bottom: 15px;
    /* Reduced margin */
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    /* Subtle shadow initially */
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-img-placeholder {
    width: 100%;
    height: 100%;
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Blog Meta (Tag + Date) */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

/* Category Tag Inline */
.blog-cat {
    background: #111827;
    /* Dark Tag */
    color: #ffffff;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-en);
    border-radius: 4px;
    /* Slightly rounded square */
    letter-spacing: 0.05em;
    transition: 0.3s;
}

.blog-card:hover .blog-cat {
    background: #dc143c;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--secondary-text);
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    margin-bottom: 0;
    /* Remove bottom margin since it's flex */
    border: none;
}

/* Hover Effects */
.blog-card:hover .blog-thumb {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.blog-card:hover .blog-img-placeholder {
    transform: scale(1.1);
    /* Zoom */
}

.blog-content {
    display: flex;
    flex-direction: column;
    padding: 0 5px;
    /* Slight padding */
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.5;
    transition: 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card:hover .blog-title {
    color: #dc143c;
}

.blog-excerpt {
    font-size: 0.85rem;
    color: var(--secondary-text);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.8;
}

/* Mobile Blog */
@media (max-width: 768px) {
    .blog-slider {
        margin: 0 -20px;
        padding: 0 20px 20px;
    }

    .blog-card {
        min-width: 260px;
        width: 260px;
    }
}

.contact-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ff6b2b 0%, #dc143c 100%);
    /* Vivid Red/Orange Gradient */
    padding: 80px 100px;
    border-radius: 40px;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(230, 0, 18, 0.3);
}

.contact-content {
    flex: 1;
}

.contact-title {
    font-family: var(--font-en);
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 10px;
    line-height: 1;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.contact-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-desc {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.contact-action {
    margin-left: 60px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 50px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: 0.3s;
    white-space: nowrap;
}

.contact-btn:hover {
    background: #ffffff;
    color: #dc143c;
    border-color: #ffffff;
}

.contact-btn .arrow {
    margin-left: 10px;
    transition: 0.3s;
}

.contact-btn:hover .arrow {
    transform: translateX(5px);
}

/* Footer */
.footer {
    padding: 80px 0 30px;
    background: #111827;
    /* Dark Background */
    color: #ffffff;
    border-top: none;
    position: relative;
    z-index: 10;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 60px;
}

.footer-col-logo {
    width: 30%;
}

.footer-logo {
    width: 180px;
    /* Adjust based on logo aspect ratio */
    height: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    /* Make logo white if it's black */
}

.company-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.company-address {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #9ca3af;
    /* Gray text */
}

.footer-col-links {
    display: flex;
    gap: 60px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 15px;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
    transition: 0.3s;
}

/* Cool Hover Line Effect */
.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background: #dc143c;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-nav a:hover {
    color: #dc143c;
}

.footer-nav a:hover::after {
    width: 100%;
}

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

.copyright {
    color: #6b7280;
    font-size: 0.75rem;
    font-family: var(--font-en);
    letter-spacing: 0.05em;
}

/* Animations Keyframes */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Scroll Animation Classes - REMOVED/DISABLED */
/* All elements previously hidden for animation are now strictly visible */
.fade-up,
.fade-up.is-visible,
.article-section.fade-up {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: none;
    will-change: auto;
}

.delay-100,
.delay-200,
.delay-300 {
    transition-delay: 0s;
}


.delay-100,
.delay-200,
.delay-300 {
    transition-delay: 0s !important;
}

.delay-100 {
    transition-delay: 0.1s;
}

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

.delay-300 {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .hero-text-area {
        width: 100%;
        margin-bottom: 50px;
    }

    .hero-visual-area {
        width: 100%;
        height: 400px;
    }

    .hero-title-main {
        font-size: 3rem;
        align-items: center;
    }

    .arrow-text {
        transform: rotate(90deg) translateX(0);
        margin: 20px 0;
    }

    .achievement {
        font-size: 3.5rem;
    }

    /* Fix Vision Desc Line Breaks on Mobile */
    .vision-desc .ib {
        display: inline;
    }

    .vision-desc br {
        display: none;
    }

    .spiral-item {
        width: 140px;
        height: 200px;
        transform: rotateY(calc(var(--i) * 45deg)) translateZ(250px) translateY(calc(var(--i) * 20px - 60px));
    }

    /* About Mobile */
    .about-container {
        flex-direction: column;
    }

    .about-image-placeholder {
        height: 300px;
    }

    /* Service Mobile */
    .service-container {
        flex-direction: column;
    }

    .service-header-col {
        width: 100%;
        position: static;
        margin-bottom: 20px;
    }

    .service-grid-col {
        width: 100%;
    }

    /* News Mobile */
    .news-flex-container {
        flex-direction: column;
    }

    .news .section-header,
    .news-btn-wrapper {
        width: 100%;
        text-align: left;
        margin-bottom: 30px;
    }

    .news-btn-wrapper {
        text-align: center;
        /* Center button on mobile */
        margin-top: 20px;
    }

    /* Contact Mobile */
    .contact-inner {
        flex-direction: column;
        padding: 50px 25px;
        /* Adjusted padding */
        text-align: center;
    }

    .contact-title {
        font-size: 2rem;
        /* Reduced size */
        margin-bottom: 20px;
    }

    .contact-text {
        font-size: 0.9375rem;
        /* 15px */
        line-height: 1.8;
    }

    .contact-action {
        margin-left: 0;
        margin-top: 30px;
        /* Reduced margin */
    }

    /* Footer Mobile */
    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: left;
        align-items: flex-start;
    }

    .footer-col-logo {
        width: 100%;
        margin-bottom: 10px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-logo {
        margin: 0 0 15px 0;
    }

    .footer-col-links {
        width: 100%;
        justify-content: flex-start;
        gap: 30px;
        padding-left: 20px;
        /* Indent slightly for 'diagonal' feel */
        margin-top: 10px;
    }

    .footer-nav {
        text-align: left;
    }
}

@media (min-width: 769px) {
    .desktop-nav {
        display: block;
    }

    .btn-contact {
        display: inline-flex;
    }

    .mobile-menu-overlay {
        display: none !important;
    }

    .hamburger {
        display: none;
    }
}

@media (max-width: 768px) {

    /* === Header & Navigation === */
    .header {
        padding: 10px 5px;
    }

    .header-logo-img {
        height: 32px !important;
        width: auto !important;
        max-width: 180px;
        display: block;
    }

    .btn-contact {
        display: none;
    }

    /* Desktop Navigation (Hidden on Mobile) */
    .desktop-nav {
        display: none;
    }



    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #333333;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        pointer-events: none;
    }

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

    .mobile-menu-inner {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 40px 25px 20px;
        /* Increased top padding */
        width: 100%;
    }

    .mobile-header-logo a {
        display: block;
        line-height: 0;
    }

    .mobile-logo-img {
        height: 32px;
        width: auto;
        filter: brightness(0) invert(1);
    }

    .mobile-close-btn {
        width: 44px;
        height: 32px;
        background: #dc143c;
        /* Red color */
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .close-icon {
        color: #fff;
        font-size: 24px;
        font-weight: 300;
        line-height: 1;
        margin-top: -2px;
    }

    .mobile-menu-list {
        flex-direction: column;
        gap: 0;
        text-align: left;
        align-items: flex-start;
        width: 100%;
        padding: 20px 25px;
        margin-top: 40px;
        list-style: none;
    }

    .mobile-menu-list li {
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .mobile-menu-overlay.active .mobile-menu-list li:nth-child(1) {
        transition-delay: 0.1s;
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-overlay.active .mobile-menu-list li:nth-child(2) {
        transition-delay: 0.2s;
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-overlay.active .mobile-menu-list li:nth-child(3) {
        transition-delay: 0.3s;
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-overlay.active .mobile-menu-list li:nth-child(4) {
        transition-delay: 0.4s;
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-overlay.active .mobile-menu-list li:nth-child(5) {
        transition-delay: 0.5s;
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-overlay.active .mobile-menu-list li:nth-child(6) {
        transition-delay: 0.6s;
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-list a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 20px 0;
        font-size: 1.1rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        color: #fff;
        font-family: 'Inter', sans-serif;
        text-decoration: none;
    }

    .mobile-menu-list .mobile-contact {
        color: #ffffff;
    }

    .hamburger {
        display: block;
        width: 30px;
        height: 24px;
        position: relative;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger.active {
        opacity: 0;
        pointer-events: none;
    }

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

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

    .hamburger span:nth-child(2) {
        top: 11px;
    }

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

    .hamburger.active span:nth-child(1) {
        top: 11px;
        transform: rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        bottom: 11px;
        transform: rotate(-45deg);
    }

    /* === Hero Section === */
    .hero-container {
        padding: 0 20px;
        flex-direction: column;
        justify-content: center;
        text-align: left;
        /* Force left align */
        align-items: flex-start;
        /* Align flex items to start */
    }

    .hero-text-area {
        width: 100%;
        margin-bottom: 50px;
        text-align: left;
    }

    .hero-title-main {
        font-size: 2.5rem;
        /* Reduced from 3rem */
        margin-bottom: 20px;
        line-height: 1.2;
        align-items: flex-start;
    }

    .achievement {
        font-size: 3rem;
    }

    .arrow-text {
        font-size: 2.5rem;
    }

    .hero-visual-area {
        height: 350px;
        margin-top: -20px;
    }

    .spiral-container {
        transform: scale(0.7) rotateX(-10deg) rotateY(20deg) rotateZ(10deg);
    }

    /* === Global Utilities & Typography === */
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 20px;
    }

    /* Force overflow handling */
    p,
    h1,
    h2,
    h3,
    h4,
    h5,
    li,
    dt,
    dd {
        overflow-wrap: break-word;
        word-break: normal;
    }

    p {
        font-size: 0.9375rem;
        /* 15px */
        line-height: 1.8;
    }

    .ib {
        display: inline-block;
    }

    .desktop-br {
        display: none;
    }

    .align-right {
        text-align: left;
        /* Mobile override */
        margin-top: 20px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* === Specific Sections === */
    /* About */
    .about-hero {
        height: 60vh;
    }

    .vision-main-text {
        font-size: 1.8rem;
    }

    .mission-main-text {
        font-size: 1.6rem;
    }

    .message-container {
        flex-direction: column;
    }

    .message-img {
        width: 100%;
        margin-bottom: 30px;
    }

    .message-img .about-image-placeholder {
        height: auto !important;
        aspect-ratio: 16/9;
        width: 100%;
    }

    .message-lead {
        font-size: 1.5rem;
    }

    .company-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .company-row dt {
        font-size: 0.9rem;
        color: #9ca3af;
        margin-bottom: 5px;
        width: 100%;
    }

    .company-row dd {
        padding-left: 0;
    }

    /* Service Page Mobile */
    .service-menu-grid,
    .service-grid,
    .benefit-grid {
        grid-template-columns: 1fr;
        /* Force single column */
        gap: 40px;
    }

    .flow-item {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .flow-item::after {
        /* Arrow between items */
        bottom: -30px;
    }

    /* Mobile Footer */
    .footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        /* Align left */
    }

    .footer-col-links {
        display: flex;
        flex-direction: column !important;
        /* Force stack the two ULs */
        width: 100%;
        padding-left: 0;
        margin-top: 20px;
        gap: 0;
    }

    .footer-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 15px;
        /* Space between links */
        margin-bottom: 15px;
        /* Space between the two UL groups */
    }

    .footer-nav li {
        width: 100%;
        text-align: left;
    }

    /* News/Blog List Mobile */
    .news-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 30px 0;
        /* Reduced padding */
    }

    /* Hide desktop filter on mobile */
    .filter-list {
        display: none;
    }

    /* Mobile Filter Container */
    .mobile-filter-container {
        display: block !important;
        margin-bottom: 30px;
        width: 100%;
    }

    #mobile-news-filter {
        width: 100%;
        padding: 15px;
        border-radius: 10px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        font-size: 1rem;
        background: #fff;
    }

    .page-header {
        padding: 80px 0 40px;
        /* Reduced padding */
    }

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

    .page-title {
        font-size: 4rem;
        /* Reduced from 6rem */
    }

    .news-meta-col {
        min-width: 100%;
        gap: 20px;
    }

    .news-date {
        font-size: 0.9rem;
    }

    .news-row-title {
        font-size: 1rem;
        line-height: 1.5;
    }

    /* Contact Form Mobile */
    .contact-form-section {
        padding: 60px 25px;
    }

    .contact-form-section {
        padding: 60px 25px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-input,
    .form-select,
    .form-textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        /* Ensure padding doesn't cause overflow */
    }

    .submit-btn {
        width: 100%;
        /* Full width button */
    }
}

/* Desktop utility to hide mobile items */
@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
}

/* =========================================
   Sub Page Styles (News etc.)
   ========================================= */
.sub-page {
    padding-top: 100px;
    background: #ffffff;
}

.page-header {
    padding: 100px 0 60px;
    text-align: left;
    /* Aligned left for impact */
    position: relative;
    overflow: hidden;
    /* Contain canvas */
}

#news-bg,
#blog-bg,
#about-bg,
#contact-bg,
#service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Behind content */
    pointer-events: none;
}

.header-content {
    display: flex;
    align-items: baseline;
    gap: 30px;
    position: relative;
    z-index: 10;
    /* Explicitly above canvas */
}

/* ... existing page title styles ... */

/* Blog Archive List */
.blog-archive {
    padding-top: 0;
    padding-bottom: 120px;
}

.blog-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns = Wrap after 3rd item (starts 4th on new row) */
    gap: 40px;
    row-gap: 60px;
}

@media (max-width: 900px) {
    .blog-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-archive-grid {
        grid-template-columns: 1fr;
    }
}

/* Ensure blog-cards look good in grid (reset sliders if needed) */
.blog-archive-grid .blog-card {
    min-width: auto;
    /* Override slider fixed width */
    width: 100%;
    margin-right: 0;
    display: flex;
    flex-direction: column;
}

.blog-archive-grid .blog-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

.page-title {
    font-family: var(--font-en);
    font-size: 6rem;
    /* Massive */
    font-weight: 900;
    margin-bottom: 0;
    letter-spacing: 0.05em;
    line-height: 1;
}

.page-title-jp {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-color);
}

/* Filter Nav */
.news-filter {
    padding-bottom: 60px;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

.filter-list {
    display: flex;
    justify-content: flex-end;
    /* Right aligned filters */
    gap: 40px;
    list-style: none;
}

.filter-item {
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 700;
    color: #9ca3af;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.filter-item .dot {
    opacity: 0;
    font-size: 0.6rem;
    margin-bottom: 5px;
    color: #000;
    position: absolute;
    top: -15px;
    transition: 0.3s;
}

.filter-item.active,
.filter-item:hover {
    color: #000;
}

.filter-item.active .dot {
    opacity: 1;
}

/* News Archive List */
.news-archive {
    padding-top: 0;
    padding-bottom: 120px;
}

.news-archive-list {
    border-top: none;
    /* Removed top border as filter has bottom */
}

/* Blog Page Tag Sections */
.blog-sections-wrapper {
    padding-bottom: 120px;
}

.blog-category-section {
    padding-top: 0;
    padding-bottom: 80px;
    overflow: hidden;
    /* For sliders */
}

/* Category Header in Blog List */
.blog-cat-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.blog-cat-title {
    font-size: 2.5rem;
    font-family: var(--font-en);
    font-weight: 800;
    line-height: 1;
}

.blog-cat-more {
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    color: #000;
    transition: 0.3s;
}

.blog-cat-more:hover {
    opacity: 0.6;
}

/* Ensure blog-slider works in subpage */
.blog-slider-container {
    padding-left: max(20px, (100vw - 1200px) / 2);
    /* Align left with container */
    overflow-x: auto;
    width: 100%;
    /* Hide scrollbar */
    -ms-overflow-style: none;
    /* IE */
    scrollbar-width: none;
    /* Firefox */
}

.blog-slider-container::-webkit-scrollbar {
    display: none;
    /* Safari/Chrome */
}

/* Slider reset override if needed */
.blog-slider-container .blog-slider {
    padding-right: 40px;
    /* End padding */
}

@media (max-width: 768px) {
    .blog-cat-title {
        font-size: 1.8rem;
    }

    .blog-slider-container {
        padding-left: 20px;
    }
}

.news-row {
    display: flex;
    align-items: center;
    padding: 50px 20px;
    /* More spacing */
    border-bottom: 1px solid #e5e7eb;
    text-decoration: none;
    color: var(--text-color);
    transition: 0.3s;
    background: transparent;
}

.news-row:hover {
    background: rgba(0, 0, 0, 0.02);
}

.news-row:hover .news-tag {
    background: #dc143c;
    border-color: #dc143c;
}

.news-meta-col {
    display: flex;
    align-items: center;
    min-width: 300px;
    gap: 30px;
}

.news-date {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 0.95rem;
}

.news-tag {
    /* Black Pill Style */
    background: #000;
    color: #fff;
    padding: 6px 15px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-en);
    border-radius: 4px;
    /* Slightly rounded */
    min-width: 80px;
    text-align: center;
    text-decoration: none;
    /* For links */
    transition: opacity 0.3s;
}

.news-tag:hover {
    opacity: 0.8;
}

/* Tag Specifics */
.tag-press,
.tag-event,
.tag-recruit,
.tag-info {
    background: #000;
}

.news-row-title {
    font-size: 1.1rem;
    font-weight: 500;
    flex-grow: 1;
    margin-right: 20px;
    letter-spacing: 0.05em;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 100px;
}

.page-num {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* Rounded circle */
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-en);
    font-weight: 700;
    transition: 0.3s;
    border: 1px solid transparent;
}

.page-num.active {
    border: 1px solid #000;
}

.page-num:hover {
    background: #f3f4f6;
}

.page-dots {
    color: var(--secondary-text);
}

/* Mobile News Archive */
@media (max-width: 768px) {
    .page-title {
        font-size: 3.5rem;
    }

    .filter-list {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        gap: 30px;
    }

    .news-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 30px 10px;
    }

    .news-meta-col {
        min-width: auto;
        width: 100%;
        gap: 20px;
    }
}

/* =========================================
   Article Detail Styles (Stylish & Readable)
   ========================================= */
.article-section {
    padding-bottom: 120px;
    background: #fff;
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.article-header {
    margin-bottom: 80px;
    border-bottom: 1px solid #000;
    padding-bottom: 40px;
}

.article-meta {
    display: flex;
    align-items: baseline;
    gap: 30px;
    margin-bottom: 30px;
}

.article-date {
    font-family: var(--font-en);
    font-weight: 900;
    font-size: 3rem;
    /* Impactful Date */
    line-height: 1;
    letter-spacing: -0.02em;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: #000;
    margin-top: 20px;
}

/* Thumbnail */
.article-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f3f4f6;
    margin-bottom: 80px;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
}

/* Body Content */
.article-body {
    font-size: 1.05rem;
    line-height: 2.2;
    /* Very readable */
    color: #333;
    margin-bottom: 100px;
    letter-spacing: 0.05em;
    font-feature-settings: "palt";
}

.article-body p {
    margin-bottom: 3rem;
}

.article-body h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-body h2::before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    background: #000;
    /* Graphic accent */
    border-radius: 50%;
}

.article-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.article-body ul {
    margin-bottom: 3rem;
    padding: 30px;
    background: #f9fafb;
    border-radius: 8px;
    list-style: none;
    /* Custom list */
}

.article-body li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 20px;
}

.article-body li::before {
    content: '>';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #dc143c;
}

.article-body a {
    color: #000;
    text-decoration: none;
    background: linear-gradient(transparent 90%, #000 90%);
    transition: 0.3s;

    /* === Privacy Policy Specific Design === */
}

.privacy-body {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    padding-left: 15px;
    border-left: 6px solid #dc143c;
    /* Red accent */
    line-height: 1.4;
    color: #111827;
}

.privacy-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #111827;
}

.privacy-body p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--secondary-text);
    margin-bottom: 2rem;
}

.privacy-body ul,
.privacy-body ol {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.privacy-body li {
    font-size: 0.95rem;
    color: var(--secondary-text);
    line-height: 1.8;
    margin-bottom: 0.5rem;
    padding-left: 1em;
    text-indent: -1em;
    /* Hanging indent for proper alignment */
}



.article-body a:hover {
    background: linear-gradient(transparent 0%, #000 0%);
    color: #fff;
}

/* Footer / Back Button */
.article-footer {
    display: flex;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    border-top: 1px solid #eee;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    /* Smaller size */
    height: 140px;
    border-radius: 50%;
    border: 1px solid #ddd;
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 0.9rem;
    /* Adjusted font size */
    transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.back-btn span {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.back-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 0;
}

.back-btn:hover {
    border-color: #000;
}

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

/* Ensure text turns white on hover */
.back-btn:hover>span {
    color: #fff;
}

@media (max-width: 768px) {
    .article-container {
        padding: 0 20px;
    }

    .article-date {
        font-size: 2rem;
    }

    .article-title {
        font-size: 1.6rem;
    }

    .article-header {
        margin-bottom: 40px;
    }

    .back-btn {
        width: 120px;
        height: 120px;
        font-size: 0.8rem;
    }
}

/* =========================================
   About Page Specific Styles
   ========================================= */
.about-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    /* or left aligned */
    overflow: hidden;
}

.about-hero .header-content {
    z-index: 10;
    position: relative;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
}

/* Mission Section */
.mission-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.mission-text-col {
    flex: 1;
    text-align: left;
    max-width: 600px;
}

.mission-visual-col {
    flex: 1;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#mvv-canvas {
    width: 100%;
    height: 100%;
}

.mission-main-text {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.mission-desc {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--secondary-text);
}

@media (max-width: 900px) {
    .mission-container {
        flex-direction: column-reverse;
        /* Visual on top or bottom? Let's keep text top usually, but visual top is also nice. */
        /* Let's follow standard: stacked. Visual under text? Or Visual top? */
        /* User request: "Right side of mission". On mobile, usually under. */
        flex-direction: column;
    }

    .mission-visual-col {
        width: 100%;
        height: 300px;
    }
}

/* Value Section */
.value-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-item {
    background: #f9fafb;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
    border-color: #dc143c;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.value-num {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 900;
    color: #e5e7eb;
    /* Subtle number */
    line-height: 1;
    display: block;
    margin-bottom: 20px;
    transition: 0.3s;
}

.value-item:hover .value-num {
    color: #dc143c;
}

.value-text h3 {
    font-family: var(--font-en);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.value-text p {
    font-size: 0.95rem;
    color: var(--secondary-text);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .value-list {
        grid-template-columns: 1fr;
    }
}

.message-container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 40px;
}

.message-img {
    flex: 1;
}

.ceo-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.message-body {
    flex: 1;
}

.message-lead {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.message-text {
    line-height: 2.2;
    color: var(--secondary-text);
    margin-bottom: 40px;
}

.ceo-name p {
    font-size: 0.9rem;
    color: var(--secondary-text);
    margin-bottom: 5px;
}

.ceo-company {
    font-weight: 700;
    color: var(--text-color) !important;
    /* Darker */
    margin-bottom: 2px !important;
}

.ceo-name h4 {
    font-size: 2.2rem;
    font-weight: 400;
    /* Brush font usually looks better with normal weight */
    font-family: 'Yuji Syuku', serif;
    margin-top: 5px;
}

.company-list {
    border-top: 1px solid #e5e7eb;
}

.company-row {
    display: flex;
    padding: 25px 0;
    border-bottom: 1px solid #e5e7eb;
}

.company-row dt {
    width: 200px;
    font-weight: 700;
    flex-shrink: 0;
}

.company-row dd {
    flex-grow: 1;
    line-height: 1.8;
    color: var(--secondary-text);
}



@media (max-width: 900px) {
    .message-container {
        flex-direction: column;
        gap: 40px;
    }

    .message-lead {
        font-size: 1.6rem;
    }

    .company-row {
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
    }

    .company-row dt {
        width: 100%;
        font-size: 0.9rem;
    }
}

/* Loading Animation */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    /* Highest priority */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#loading-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.loading-text {
    position: relative;
    z-index: 10;
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    color: var(--text-color);
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* =========================================
   Contact Page Styles
   ========================================= */
.contact-form-section {
    padding: 100px 0;
    position: relative;
    z-index: 20;
    background: #fff;
    /* Ensure it sits on top if needed */
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 60px;
    line-height: 2;
    font-weight: 500;
}

.form-group {
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.required {
    display: inline-block;
    background: #dc143c;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: #f9fafb;
    transition: 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #dc143c;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 20px center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 40px;
}

.form-textarea {
    resize: vertical;
    min-height: 200px;
}

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

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 60px;
    background: var(--text-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #dc143c;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 20, 60, 0.2);
}

.submit-btn .arrow {
    margin-left: 10px;
    transition: 0.3s;
}

.submit-btn:hover .arrow {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 30px;
    }

    .contact-form-section {
        padding: 60px 0;
    }
}

/* Thanks Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
    width: 90%;
    transform: translateY(20px);
    transition: 0.3s;
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
}

.popup-icon {
    width: 80px;
    height: 80px;
    background: rgba(220, 20, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.popup-content h3 {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.popup-content p {
    font-size: 0.95rem;
    color: var(--secondary-text);
    line-height: 1.8;
    margin-bottom: 40px;
}

.close-btn {
    display: inline-block;
    padding: 12px 40px;
    background: var(--text-color);
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.close-btn:hover {
    background: #dc143c;
    transform: translateY(-2px);
}

/* Service Detail Pages */
.service-detail-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    background: #111827;
    /* Fallback */
}

/* Specific Backgrounds (can be images or simple gradients) */


.service-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.service-hero-title {
    font-family: var(--font-en);
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.service-hero-jp {
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 0.9;
    letter-spacing: 0.1em;
}

.service-intro {
    padding: 100px 0;
    text-align: center;
}

.service-intro-lead {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.6;
    background: linear-gradient(135deg, #111827 0%, #4b5563 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-intro-desc {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: var(--secondary-text);
    line-height: 2;
}

.service-menu-section {
    background: var(--card-bg);
    padding: 100px 0;
}

.service-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-menu-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    transition: 0.3s;
    position: relative;
    /* For icon positioning */
    display: block;
    /* Ensure it's block for <a> */
    text-decoration: none;
    /* Remove underline */
    color: inherit;
    /* Inherit text color */
}

.service-menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #dc143c;
}

.service-menu-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-menu-title::before {
    content: '';
    display: block;
    width: 6px;
    height: 24px;
    background: #dc143c;
    border-radius: 3px;
}

.service-menu-desc {
    font-size: 0.95rem;
    color: var(--secondary-text);
    line-height: 1.6;
}

/* Benefit Section */
.service-benefit-section {
    padding: 100px 0;
    background: #fff;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.benefit-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    transition: 0.3s;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.benefit-num {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 900;
    color: #e5e7eb;
    line-height: 1;
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.benefit-desc {
    font-size: 0.95rem;
    color: var(--secondary-text);
    line-height: 1.6;
}

.service-flow-section {
    padding: 100px 0;
    background: var(--card-bg);
    /* Alternate background */
}

.flow-list {
    max-width: 800px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.flow-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e5e7eb;
    position: relative;
    gap: 30px;
}

/* Arrow between items */
.flow-item:not(:last-child)::after {
    content: '↓';
    position: absolute;
    bottom: -35px;
    /* Halfway in gap */
    left: 50%;
    transform: translateX(-50%);
    color: #d1d5db;
    font-size: 1.5rem;
    font-weight: 700;
}

.flow-num {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 900;
    color: #e5e7eb;
    line-height: 1;
}

.flow-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.flow-content p {
    font-size: 0.95rem;
    color: var(--secondary-text);
}

@media (max-width: 768px) {
    .service-detail-hero {
        height: 40vh;
    }

    .service-hero-title {
        font-size: 2.5rem;
    }

    .service-intro-lead {
        font-size: 1.5rem;
    }

    .flow-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .flow-num {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Creative Page Special Benefits - Cycle Diagram
   ========================================================================== */
.creative-benefit-section {
    position: relative;
    background: #ffffff;
    overflow: hidden;
    padding: 120px 0;
    text-align: center;
}

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

.creative-diagram-wrapper {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 0 auto;
}

/* Central Core */
.diagram-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    /* Reduced from 200 */
    height: 160px;
    /* Reduced from 200 */
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: 4px solid #fff;
    /* Gradient Border Trick */
    background-image: linear-gradient(#fff, #fff), var(--accent-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.core-content h3 {
    font-family: var(--font-en);
    font-size: 1.3rem;
    /* Adjusted */
    font-weight: 800;
    color: #111827;
    margin-bottom: 5px;
}

.core-content p {
    font-size: 0.9rem;
    /* Adjusted */
    color: var(--secondary-text);
    line-height: 1.2;
    font-weight: 700;
}

/* SVG Arrows */
.diagram-arrows-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    animation: rotateSvg 60s linear infinite;
    transform: scale(0.9);
    /* Slight shrink to fit new sizing */
}

@keyframes rotateSvg {
    from {
        transform: rotate(0deg) scale(0.9);
    }

    to {
        transform: rotate(360deg) scale(0.9);
    }
}

.arrow-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 2s forwards;
}

.path-1 {
    animation-delay: 0.5s;
}

.path-2 {
    animation-delay: 1.5s;
}

.path-3 {
    animation-delay: 2.5s;
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

/* Diagram Items */
.diagram-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    z-index: 5;
    opacity: 0;
    transform: scale(0.8);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.item-1 {
    top: -20px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    animation-delay: 0.5s;
}

/* Moved up */
.item-2 {
    bottom: 20px;
    right: -30px;
    animation-delay: 1.5s;
}

/* Moved out/down */
.item-3 {
    bottom: 20px;
    left: -30px;
    animation-delay: 2.5s;
}

/* Moved out/down */

/* Custom positions override for animation end state */
@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}

/* Adjust translateX for item-1 specifically in keyframes if needed,
   but simpler to keep transform in base class and override left/top */
.item-1 {
    animation-name: popInTop;
}

@keyframes popInTop {
    to {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}


.d-circle {
    width: 120px;
    /* Reduced from 140 */
    height: 120px;
    /* Reduced from 140 */
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(220, 20, 60, 0.3);
    margin-bottom: 15px;
    position: relative;
    border: 3px solid #fff;
}

.d-num {
    font-family: var(--font-en);
    font-size: 1.3rem;
    font-weight: 700;
    opacity: 0.8;
}

.d-label {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.d-desc-box {
    text-align: center;
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 200px;
}

.d-desc-box h4 {
    font-family: var(--font-en);
    font-size: 1rem;
    color: #dc143c;
    margin-bottom: 5px;
}

.d-desc-box p {
    font-size: 0.85rem;
    color: var(--secondary-text);
}


@media (max-width: 768px) {
    .creative-diagram-wrapper {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .diagram-arrows-svg {
        display: none;
    }

    .diagram-core {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: 40px;
    }

    .diagram-item {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        max-width: 300px;
        animation: none;
        opacity: 1;
    }

    .item-1,
    .item-2,
    .item-3 {
        animation: none;
        transform: none;
    }
}

/* Contact Confirmation Styles (Matched to Company Profile) */
.confirm-intro {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.confirm-table {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.confirm-row {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

.confirm-label {
    width: 30%;
    font-weight: 700;
    color: var(--text-color);
    /* Match company-row dt usually has text color or secondary? Let's assume text based on typical definitions */
    /* wait, step 310 showed page-about.php using dt/dd. */
}

.confirm-value {
    width: 70%;
    color: var(--secondary-text);
}

/* Mobile */
@media (max-width: 768px) {
    .confirm-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .confirm-label {
        width: 100%;
        /* Matching mobile company-row dt from step 311 */
        font-size: 0.9rem;
    }

    .confirm-value {
        width: 100%;
        padding-left: 0;
    }
}

.confirm-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--secondary-text);
    color: var(--secondary-text);
}

.btn-secondary:hover {
    background: var(--secondary-text);
    color: #fff;
    box-shadow: none;
    border-color: var(--secondary-text);
}

@media (max-width: 768px) {
    .confirm-actions {
        flex-direction: column-reverse;
        gap: 15px;
    }

    .confirm-actions .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Font Utilities */
.brush-font {
    font-family: 'Yuji Syuku', serif;
}