/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #e74c3c;
    --primary-blue: #3498db;
    --dark-gray: #2c3e50;
    --light-gray: #f8f9fa;
    --text-primary: #333;
    --text-secondary: #666;
    --white: #ffffff;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Page Side Accents */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 100vh;
    background: linear-gradient(to bottom, var(--primary-red) 0%, var(--primary-blue) 50%, var(--primary-red) 100%);
    z-index: 10;
    opacity: 0.8;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 8px;
    height: 100vh;
    background: linear-gradient(to bottom, var(--primary-blue) 0%, var(--primary-red) 50%, var(--primary-blue) 100%);
    z-index: 10;
    opacity: 0.8;
}

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

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
}

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

.loading-logo-image {
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
}

.loading-bar {
    width: 200px;
    height: 2px;
    background: #eee;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: transform var(--transition-base);
}

.main-header.hidden {
    transform: translateY(-100%);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.logo-image {
    height: 45px;
    width: auto;
    display: block;
}

.footer-logo-image {
    height: 45px;
    width: auto;
    display: block;
    margin-bottom: 15px;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
}

/* Navigation */
.header-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

/* Hide mobile menu footer on desktop */
.mobile-menu-footer {
    display: none;
}

/* Submenu Styles */
.header-nav .has-submenu {
    position: relative;
}

.header-nav .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.08);
    flex-direction: column;
    gap: 0;
}

.header-nav .has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-nav .submenu li {
    margin: 0;
}

.header-nav .submenu a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 0;
}

.header-nav .submenu a:hover {
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
    color: white;
    transform: translateX(5px);
}

.header-nav .submenu a::after {
    display: none;
}

.header-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
    transition: color var(--transition-base);
}

.header-nav a::before {
    display: none;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    transition: width var(--transition-base);
}

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

/* Phone Number */
.phone-number {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--dark-gray);
    transition: transform var(--transition-base);
}

.phone-number:hover {
    transform: scale(1.02);
}

.phone-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.phone-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.phone-holiday {
    font-size: 10px;
    color: var(--primary-red);
    font-weight: 400;
}

.phone-number-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-icon {
    font-size: 20px;
}

.phone-text {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-blue);
    letter-spacing: 0.02em;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
}

.menu-toggle span {
    position: absolute;
    width: 25px;
    height: 2px;
    background: var(--dark-gray);
    transition: all var(--transition-base);
    transform-origin: center;
}

.menu-toggle span:nth-child(1) {
    top: calc(50% - 8px);
}

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

.menu-toggle span:nth-child(3) {
    bottom: calc(50% - 8px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    z-index: 1;
}

/* Hero Color Covers */
.hero-covers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.hero-cover-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 52%;
    height: 100%;
    background: var(--primary-red);
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    animation: slideOutLeft 1.2s ease-out forwards;
    animation-delay: 0.8s;
}

.hero-cover-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 52%;
    height: 100%;
    background: var(--primary-blue);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    animation: slideOutRight 1.2s ease-out forwards;
    animation-delay: 0.8s;
}

@keyframes slideOutLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideOutRight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1 !important;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ensure About and Services images are visible */
.about-image img,
.service-icon img {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Brand dual image layout */
.brand-image-dual {
    display: flex;
    gap: 10px;
    height: 400px;
    position: relative;
}

.brand-image-left {
    flex: 0 0 33.333%;
    overflow: hidden;
}

.brand-image-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 0 0 8px;
}

.brand-image-right {
    flex: 0 0 66.666%;
    overflow: hidden;
}

.brand-image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 8px 8px 0;
}

.brand-image-dual .brand-type-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.brand-image-dual img {
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.hero-content * {
    pointer-events: auto;
}

.hero-text {
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: clamp(48px, 8vw, 100px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line {
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 1.5s;
    opacity: 0;
    transform: translateY(100%);
}

.title-line:nth-child(2) {
    animation-delay: 1.7s;
}

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

.hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 2.2s;
}

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

.hero-cta {
    display: inline-block;
    padding: 15px 40px;
    background: var(--white);
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 50px;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 2.5s;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Hero Accents */
.hero-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.accent-red {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: var(--primary-red);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 20s ease-in-out infinite;
}

.accent-blue {
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: var(--primary-blue);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 12px;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 10px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: var(--white);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, var(--white) 50%, transparent 100%);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    100% { top: 100%; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Section Common Styles */
section {
    padding: 100px 0;
    position: relative;
}

/* Section Dividers with Brand Colors */
.section-divider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    z-index: 2;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 60%;
    height: 100%;
    background: var(--primary-red);
    transform: skewX(-15deg);
    opacity: 0.9;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 60%;
    height: 100%;
    background: var(--primary-blue);
    transform: skewX(15deg);
    opacity: 0.9;
}

.section-divider.alternate::before {
    background: var(--primary-blue);
    left: -10%;
    width: 40%;
}

.section-divider.alternate::after {
    background: var(--primary-red);
    right: -10%;
    width: 40%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--dark-gray);
    letter-spacing: -0.02em;
}

/* About Section */
.about-section {
    background: var(--light-gray);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.03) 0%, rgba(52, 152, 219, 0.03) 100%);
    pointer-events: none;
    z-index: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 30px;
    line-height: 1.4;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}


.about-image {
    position: relative;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .brand-main-row,
    .brand-features-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .brand-main-row {
        margin-bottom: 30px;
    }
    
    .feature-card {
        padding: 15px;
    }
    
    .feature-title {
        font-size: 16px;
    }
    
    .feature-description {
        font-size: 12px;
    }
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-xl);
    opacity: 1 !important;
    visibility: visible !important;
}

.image-accent {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    border-radius: 10px;
    z-index: -1;
    opacity: 0.1;
}

/* Process Gallery */
.process-gallery {
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

.process-gallery h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.process-gallery h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-blue) 100%);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.process-item {
    text-align: center;
    position: relative;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    overflow: hidden;
}

.process-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-blue) 100%);
}

.process-item:nth-child(2)::before {
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-red) 100%);
}

.process-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.process-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    opacity: 1 !important;
    visibility: visible !important;
}

.process-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.process-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Services Section */
.services-section {
    background: var(--white);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(231, 76, 60, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(52, 152, 219, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-red) 0%, var(--primary-blue) 100%);
    transform: scaleY(0);
    transition: transform var(--transition-base);
    transform-origin: bottom;
}

.service-card:nth-child(even)::before {
    background: linear-gradient(to bottom, var(--primary-blue) 0%, var(--primary-red) 100%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-icon {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
    opacity: 1 !important;
    visibility: visible !important;
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-gray);
    padding: 20px 20px 10px;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 14px;
    padding: 0 20px 20px;
    line-height: 1.8;
    margin-bottom: 0;
}

.services-cta {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
}

/* Original Brand Section */
.original-brand-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-light);
}

.brand-cards {
    margin-top: 60px;
}

.brand-main-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.brand-features-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.feature-card {
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
}

.feature-icon {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #382f2b;
    margin-bottom: 10px;
    font-family: 'Noto Serif JP', serif;
}

.feature-description {
    font-size: 13px;
    line-height: 1.6;
    color: #5a4a3a;
    margin: 0;
    font-family: 'Noto Serif JP', serif;
}

.brand-cta {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.brand-card {
    background: #382f2b;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    position: relative;
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.brand-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.brand-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.brand-card:hover .brand-image img {
    transform: scale(1.1);
}

.brand-content {
    padding: 25px;
    background: #382f2b;
    color: #fff;
}

.brand-name {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 15px;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.05em;
    color: #fff;
}

.brand-type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(212, 175, 55, 0.9);
    color: #382f2b;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 20px;
    font-family: 'Noto Serif JP', serif;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.brand-description {
    font-size: 14px;
    line-height: 1.7;
    color: #ddd;
    margin-bottom: 0;
    font-family: 'Noto Serif JP', serif;
}


/* Works Section */
.works-section {
    background: var(--light-gray);
    position: relative;
}

.works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, rgba(231, 76, 60, 0.02) 0%, transparent 25%),
        linear-gradient(-45deg, rgba(52, 152, 219, 0.02) 0%, transparent 25%);
    pointer-events: none;
    z-index: 0;
}

.works-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.filter-btn {
    padding: 10px 30px;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--text-secondary);
}

.filter-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* PC専用3つ目を表示、SP専用4つ目を非表示 */
.pc-third {
    display: block;
}

.mobile-fourth {
    display: block;
}

.additional-works {
    margin-top: 30px;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.work-image {
    position: relative;
    overflow: hidden;
    padding-top: 66.67%;
}

.work-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
    opacity: 1 !important;
    visibility: visible !important;
}

.work-item:hover .work-image img {
    transform: scale(1.1);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 100%);
    color: var(--white);
    padding: 25px;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.work-item:hover .work-overlay {
    transform: translateY(0);
}

.work-category {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.work-item[data-category="apartment"] .work-category {
    background: var(--primary-blue);
}

.work-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.work-overlay p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.work-link {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    transition: all var(--transition-base);
}

.work-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    transform: translateX(2px);
}

.works-cta {
    text-align: center;
    margin-top: 60px;
}

.works-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.works-buttons .btn-primary {
    flex: 1;
    max-width: 300px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
}

/* Works Category Buttons */
.works-category-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.works-category-btn {
    display: block;
    padding: 18px 30px;
    background: var(--white);
    color: var(--dark-gray);
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.works-category-btn:hover {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* News Section */
.news-section {
    background: var(--white);
    position: relative;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(231, 76, 60, 0.01) 0%, transparent 40%),
        linear-gradient(270deg, rgba(52, 152, 219, 0.01) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.news-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    transition: all var(--transition-base);
    position: relative;
}

.news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-red) 0%, var(--primary-blue) 100%);
    transition: height var(--transition-base);
}

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

.news-item:hover::before {
    height: 60px;
}

.news-date {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.news-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    margin: 0 15px;
}

.news-title {
    margin-top: 10px;
}

.news-title a {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: color var(--transition-base);
}

.news-title a:hover {
    color: var(--primary-blue);
}

.news-cta {
    text-align: center;
    margin-top: 50px;
}

/* CTA Section */
.cta-section {
    position: relative;
    background: var(--dark-gray);
    color: var(--white);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-accent-red {
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--primary-red);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(100px);
}

.cta-accent-blue {
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--primary-blue);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(100px);
}

.cta-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Contact Section */
.contact-section {
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    margin-bottom: 30px;
}

.map-container {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 200px;
    border: none;
    display: block;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

.contact-item a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}

.small {
    font-size: 12px !important;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 2px solid #eee;
    font-size: 16px;
    background: transparent;
    transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    font-size: 16px;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all var(--transition-base);
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -10px;
    font-size: 12px;
    color: var(--primary-blue);
}

.form-group select {
    cursor: pointer;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-block;
    padding: 15px 40px;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark-gray);
    border-color: var(--dark-gray);
}

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

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

/* News Article Detail Styles */
.news-detail-main {
    padding: 80px 0;
    background: var(--white);
}

.news-article {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.article-header {
    padding: 40px 40px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.article-date {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.article-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
}

.article-category.campaign {
    background: var(--primary-red);
}

.article-category.event {
    background: var(--primary-blue);
}

.article-category.media {
    background: #9b59b6;
}

.article-category.notice {
    background: #2ecc71;
}

.article-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dark-gray);
}

.article-content {
    padding: 0 40px 40px;
}

.article-lead {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(248, 249, 250, 0.8);
    border-left: 4px solid var(--primary-blue);
    border-radius: 0 8px 8px 0;
}

.article-lead p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0;
    font-weight: 500;
}

.article-body h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-blue);
}

.article-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 30px 0 15px;
}

.article-body p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.article-body strong {
    font-weight: 700;
    color: var(--dark-gray);
}

.article-list {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.article-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.7;
}





.article-body ul.article-list li::before {
    content: '●';
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 12px;
}
.article-body ol.article-list {
    counter-reset: list-counter;
}
.article-body ol.article-list li {
    counter-increment: list-counter;
}
.article-body ol.article-list li::before {
    content: counter(list-counter);
    background: var(--primary-blue);
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    position: absolute;
    left: 0;
    top: 2px;
}
.event-details {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
}

.event-details dl {
    margin: 0;
}

.event-details dt {
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 8px;
    font-size: 16px;
}

.event-details dd {
    margin: 0 0 20px 0;
    line-height: 1.6;
    color: var(--text-primary);
}

.event-details dd:last-child {
    margin-bottom: 0;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(231, 76, 60, 0.1) 100%);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
}

.highlight-box h3 {
    color: var(--primary-blue);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.contact-box {
    background: var(--white);
    color: var(--dark-gray);
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    text-align: center;
    border: 3px solid;
    border-image: linear-gradient(135deg, var(--primary-red), var(--primary-blue)) 1;
}

.contact-box h3 {
    color: var(--dark-gray);
    margin-top: 0;
    margin-bottom: 15px;
}

.contact-phone {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 15px 0;
}

.article-footer {
    padding: 30px 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(248, 249, 250, 0.5);
}

.back-to-list {
    margin-bottom: 30px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
}

.back-link:hover {
    color: var(--primary-red);
    transform: translateX(-5px);
}

.article-nav {
    display: flex;
    gap: 20px;
}

.prev-article,
.next-article {
    flex: 1;
    display: block;
    padding: 20px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition-base);
}

.prev-article:hover,
.next-article:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.nav-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 5px;
    font-weight: 600;
}

.nav-title {
    display: block;
    font-size: 14px;
    color: var(--dark-gray);
    font-weight: 600;
    line-height: 1.4;
}

/* Responsive Design for Articles */
@media (max-width: 768px) {
    .article-header,
    .article-content,
    .article-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .article-nav {
        flex-direction: column;
    }
    
    .event-details,
    .highlight-box,
    .contact-box {
        padding: 20px;
    }
    
    .contact-phone {
        font-size: 20px;
    }
}

/* Main content wrapper to push footer down */
main, .works-container, .hero, .about-section, .services-section, .original-brand-section, .works-section, .news-section, .contact-section {
    flex: 1;
}

/* Footer */
.main-footer {
    background: var(--dark-gray);
    color: var(--white);
    margin: 0;
    padding: 0;
    margin-top: auto;
}

.footer-top {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-base);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--white);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-inner {
        padding: 15px 20px;
    }
    
    .header-nav ul {
        gap: 25px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {
    .header-nav {
        display: block !important;
        position: fixed;
        top: 70px;
        right: 0;
        width: 280px;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
    }
    
    .header-nav.mobile-active {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }
    
    .header-nav {
        display: flex !important;
        flex-direction: column;
    }
    
    .header-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
        flex: 1;
    }
    
    .header-nav li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .header-nav a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
    }
    
    .header-nav a::after {
        display: none;
    }
    
    /* Mobile Submenu Styles */
    .header-nav .submenu {
        position: static;
        background: rgba(248, 249, 250, 0.95);
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        min-width: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        z-index: auto;
        border: none;
        margin-left: 20px;
        border-left: 3px solid var(--primary-blue);
        display: none;
    }
    
    .header-nav .has-submenu.submenu-open .submenu {
        display: block;
    }
    
    .header-nav .submenu a {
        padding: 10px 15px;
        font-size: 14px;
        color: var(--text-secondary);
    }
    
    .header-nav .submenu a:hover {
        background: var(--primary-blue);
        color: white;
        transform: none;
    }
    
    .mobile-menu-footer {
        display: block;
        margin-top: auto;
        padding: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        background: linear-gradient(135deg, var(--light-gray) 0%, rgba(255, 255, 255, 0.95) 100%);
        position: relative;
        overflow: hidden;
    }
    
    .mobile-menu-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    }
    
    .mobile-phone-link {
        display: block;
        text-decoration: none;
        color: var(--dark-gray);
        padding: 20px 25px;
        transition: all var(--transition-base);
        position: relative;
    }
    
    .mobile-phone-link:hover {
        background: rgba(255, 255, 255, 0.8);
        transform: translateY(-1px);
    }
    
    .mobile-phone-info {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .mobile-phone-label {
        display: block;
        font-size: 13px;
        color: var(--text-secondary);
        font-weight: 600;
        margin-bottom: 6px;
        letter-spacing: 0.5px;
    }
    
    .mobile-phone-holiday {
        display: inline-block;
        font-size: 11px;
        color: var(--white);
        font-weight: 500;
        background: var(--primary-red);
        padding: 4px 12px;
        border-radius: 12px;
        box-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
    }
    
    .mobile-phone-number {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 15px 20px;
        background: var(--white);
        border-radius: 12px;
        box-shadow: var(--shadow-md);
        border: 2px solid transparent;
        transition: all var(--transition-base);
        margin: 0 10px;
    }
    
    .mobile-phone-link:hover .mobile-phone-number {
        border-color: var(--primary-blue);
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
        transform: scale(1.02);
    }
    
    .mobile-phone-icon {
        font-size: 20px;
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    }
    
    .mobile-phone-text {
        font-size: 20px;
        font-weight: 700;
        color: var(--dark-gray);
        letter-spacing: 1px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }
    
    .header-contact .phone-number {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .menu-toggle.active span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateY(-50%);
    }
    
    .menu-toggle.active span:nth-child(3) {
        bottom: auto;
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
    }
    
    .logo-image {
        height: 35px;
    }
    
    .header-inner {
        padding: 12px 15px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* 全てのwork-itemを表示 */
    .pc-third {
        display: block;
    }

    .mobile-fourth {
        display: block;
    }
    
    .works-buttons {
        flex-direction: column;
        gap: 20px;
    }
    
    .works-buttons .btn-primary {
        max-width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }

    /* Works Category Buttons - Mobile */
    .works-category-buttons {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    .works-category-btn {
        padding: 15px 20px;
        font-size: 14px;
    }

    .work-overlay h3 {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .work-overlay p {
        font-size: 11px;
    }
    
    .work-image {
        padding-top: 100%; /* 1:1 aspect ratio for SP */
    }
    
    .brand-cards {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 20px;
    }
}

/* スマホサイズでの追加調整 */
@media (max-width: 480px) {
    .logo-image {
        height: 30px;
    }
    
    .header-inner {
        padding: 10px 12px;
    }
    
    .brand-main-row,
    .brand-features-row {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .brand-card {
        margin-bottom: 30px;
    }
    
    .feature-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 24px;
    }
}

/* Ensure content is visible by default */
.about-section,
.services-section,
.works-section,
.news-section {
    opacity: 1 !important;
    visibility: visible !important;
}

.about-content,
.services-grid,
.works-grid,
.news-list {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Animations */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}