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

:root {
    --primary-color: #2c5f2d;
    --primary-rgb: 44, 95, 45;
    --secondary-color: #8b6914;
    --text-color: #333;
    --text-light: #666;
    --bg-white: #ffffff;
    --bg-light: #f8f8f8;
    --bg-gray: #e8e8e8;
    --accent-color: #d4a574;
    --accent-rgb: 212, 165, 116;
    --border-color: #ddd;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

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

a:hover {
    opacity: 0.7;
}

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

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

/* ===================================
   Opening Animation
   =================================== */
.opening-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 0.8s ease-in-out 2.5s forwards;
}

.opening-logo {
    animation: logoFadeIn 1.5s ease-in-out;
}

.opening-logo-image {
    width: 300px;
    height: auto;
    opacity: 0;
    animation: logoAppear 1.8s ease-in-out 0.3s forwards;
}

@keyframes logoAppear {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* ===================================
   Header
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo-image {
    height: 50px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-image:hover {
    opacity: 0.8;
}

.logo h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 0.1em;
    margin-top: 2px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    padding: 5px 0;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 20px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--primary-color);
    background: rgba(44, 95, 45, 0.1);
}

.lang-btn.active {
    color: var(--primary-color);
    font-weight: 600;
}

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

/* ===================================
   Hero Section
   =================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, #2c5f2d 0%, #4a7c59 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
    overflow: hidden;
}

/* Hero background image container */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

.hero-bg.active {
    opacity: 1;
}

/* Dark overlay for better text readability */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><path d="M0,400 Q300,300 600,400 T1200,400 L1200,800 L0,800 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    animation: bounce 2s infinite;
}

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

/* ===================================
   Partners Section
   =================================== */
.partners-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partner-logo {
    flex: 0 0 auto;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: 150px;
    height: 100px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--bg-gray);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.partner-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}



/* Partners responsive */
@media (max-width: 768px) {
    .partners-logos {
        gap: 30px;
    }
    
    .partner-logo {
        width: 120px;
        height: 80px;
    }
    
    .partners-section {
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
    .partners-logos {
        gap: 20px;
        flex-direction: column;
    }
    
    .partner-logo {
        width: 100px;
        height: 60px;
    }
    
    .partners-section {
        padding: 25px 0;
    }
}

/* ===================================
   Section Common Styles
   =================================== */
.section {
    padding: 100px 0;
}

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

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-title-ja {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.8;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   Services Slider Section
   =================================== */
.services-slider-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0;
}

.services-slider {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    background: white;
}

.slides-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    padding: 80px;
    gap: 60px;
    min-height: 500px;
}

.slide-image {
    flex: 1.8;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    min-width: 400px;
}

.slide-image .image-placeholder {
    width: 100%;
    height: 400px;
    max-height: 450px;
    min-height: 350px;
    aspect-ratio: 4/3;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    padding: 30px;
    box-sizing: border-box;
    /* 背景色をフォールバック用に設定 */
    background-color: #f0f0f0;
}

/* オーバーレイを完全に削除 */
.slide-image .image-placeholder::before {
    display: none;
}



/* 美しいタイトルスタイル */
.slide-image .image-placeholder .featured-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    text-shadow: 
        2px 2px 4px rgba(0,0,0,0.9),
        1px 1px 2px rgba(0,0,0,0.8);
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.5px;
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    z-index: 2;
    position: relative;
}


/* Featured section images - 高品質で最大限アピール */
.slide-image .image-placeholder.service-img-1 {
    background: url('../images/featured/featured-100th.png') !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    image-rendering: -webkit-optimize-contrast; /* Edge 79+ */
    image-rendering: -webkit-crisp-edges; /* Safari */
    image-rendering: crisp-edges; /* Standard */
    background-color: #f8fafc;
}

.slide-image .image-placeholder.service-img-2 {
    background: url('../images/featured/featured-hinoki.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    image-rendering: auto;
}

.slide-image .image-placeholder.service-img-3 {
    background: url('../images/featured/featured-hinoki-furniture.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    image-rendering: auto;
}

.slide-image .image-placeholder.service-img-4 {
    background: url('../images/featured/featured-experience.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    image-rendering: auto;
}

.slide-content {
    flex: 1;
    padding-left: 40px;
    min-width: 350px;
    max-width: 500px;
}

.slide-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Noto Serif JP', serif;
}

.slide-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1f4420 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(44, 95, 45, 0.3);
    position: relative;
    overflow: hidden;
}

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

.slide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(44, 95, 45, 0.4);
}

.slide-btn:hover::before {
    left: 100%;
}

.slide-btn::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.slide-btn:hover::after {
    transform: translateX(4px);
}

/* スライダーナビゲーション */
.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(44, 95, 45, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #1f4420;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(44, 95, 45, 0.4);
}

.nav-btn:active {
    transform: scale(0.95);
}

.dots-container {
    display: flex;
    gap: 12px;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.dot:hover {
    background: #a0aec0;
    transform: scale(1.1);
}

/* ===================================
   About Section
   =================================== */
.about-section {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Noto Serif JP', serif;
}

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

/* About CTA Button */
.about-cta {
    margin-top: 30px;
}

.about-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.about-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 95, 45, 0.3);
    background: #1e4c20;
}

.about-btn:hover::before {
    left: 100%;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--text-light);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Company image placeholder with background image */
.about-image .image-placeholder {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(70, 130, 180, 0.1)), var(--bg-gray);
    position: relative;
    transition: all 0.3s ease;
}

/* Company image with actual photo */
.about-image .company-image {
    background-image: url('../images/company/company-main.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hide placeholder text when company image exists */
.about-image .company-image p {
    display: none;
}

.about-image .image-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* When image is loaded */
.about-image .image-placeholder.has-image {
    background: none;
}

.about-image .image-placeholder.has-image p {
    opacity: 0;
    visibility: hidden;
}

/* ===================================
   Business Section - 画像ベースデザイン
   =================================== */
.business-section {
    background: var(--bg-light);
    padding: 120px 0 0 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.business-section .section-title {
    color: var(--primary-color);
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.business-section .section-title::before {
    background: linear-gradient(90deg, var(--primary-color), rgba(255, 255, 255, 0.3));
}

.business-grid {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.business-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    height: 400px;
    width: 25%;
    flex: 1;
    margin: 0;
}

.business-card:last-child {
    border-right: none;
}

.business-card:hover {
    transform: translateY(-5px) scaleY(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.business-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    z-index: 0;
}

.business-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f4f8 0%, #d6e7f0 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.business-card:hover .business-image .image-placeholder {
    transform: scale(1.1);
}

/* オーバーレイコンテンツ */
.business-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 30px;
    color: white;
    z-index: 1;
}

/* 偶数番目のカード（右寄せ） */
.business-card:nth-child(even) .business-overlay {
    align-items: flex-end;
    text-align: right;
}

.business-card:nth-child(even) .business-action {
    left: 20px;
    right: auto;
}

.business-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 0;
    font-family: 'Noto Serif JP', serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.business-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
}

/* カットインボタンアニメーション */
.business-action {
    position: absolute;
    top: 20px;
    right: 20px;
    transform: scale(0);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
}

.business-card:hover .business-action {
    transform: scale(1);
    opacity: 1;
}

.business-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.business-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* 事業画像のプレースホルダー設定 */
.business-img-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.business-img-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.business-img-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.business-img-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* 実際の画像用のクラス（画像が用意できた際に使用） */
.business-img-1.has-image {
    background-image: url('../images/business/business-oem.jpg');
    filter: brightness(1.3) contrast(1.1);
    transition: filter 0.3s ease;
}

.business-img-2.has-image {
    background-image: url('../images/business/business-contract.jpg');
    filter: brightness(1.3) contrast(1.1);
    transition: filter 0.3s ease;
}

.business-img-3.has-image {
    background-image: url('../images/business/business-design.jpg');
    filter: brightness(1.3) contrast(1.1);
    transition: filter 0.3s ease;
}

.business-img-4.has-image {
    background-image: url('../images/business/business-quality.jpg');
    filter: brightness(1.3) contrast(1.1);
    transition: filter 0.3s ease;
}

/* 事業内容画像のホバーエフェクト */
.business-img-1.has-image:hover,
.business-img-2.has-image:hover,
.business-img-3.has-image:hover,
.business-img-4.has-image:hover {
    filter: brightness(1.5) contrast(1.2);
    transition: filter 0.3s ease;
}

/* ===================================
   Strength Section
   =================================== */
.strength-section {
    background: var(--bg-white);
}

.strength-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.strength-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.strength-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: 'Noto Serif JP', serif;
    min-width: 100px;
}

.strength-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-family: 'Noto Serif JP', serif;
}

.strength-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   Philosophy Section
   =================================== */
.philosophy-section {
    background: #f8f9fa;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.philosophy-section::before {
    content: '';
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 524px;
    height: 524px;
    background: url('../images/philosophy/logo.jpg') no-repeat center center;
    background-size: contain;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
    image-rendering: -webkit-optimize-contrast; /* Edge 79+ */
    image-rendering: -webkit-crisp-edges; /* Safari */
    image-rendering: crisp-edges; /* Standard */
    image-rendering: pixelated; /* Fallback */
}

.philosophy-section .container {
    position: relative;
    z-index: 1;
}

.philosophy-section .section-title {
    color: var(--primary-color);
}

.philosophy-section .section-title-ja {
    color: var(--text-light);
}

.philosophy-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-item {
    display: flex;
    align-items: center;
    gap: 30px;
    background: transparent;
    padding: 30px;
    border-radius: 10px;
}

.philosophy-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Noto Serif JP', serif;
    min-width: 60px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.philosophy-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ===================================
   Company Section
   =================================== */
.company-section {
    background: var(--bg-light);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.company-table th,
.company-table td {
    padding: 20px 30px;
    border-bottom: 1px solid var(--bg-gray);
}

.company-table th {
    background: var(--bg-light);
    font-weight: 600;
    text-align: left;
    width: 200px;
    color: var(--primary-color);
}

.company-table td {
    color: var(--text-light);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

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

.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    gap: 30px;
    padding: 25px 0;
    border-bottom: 1px solid var(--bg-gray);
}

.news-item:first-child {
    border-top: 1px solid var(--bg-gray);
}

.news-date {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 120px;
}

.news-content {
    color: var(--text-light);
    flex: 1;
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    background: #f8faf9;
    border-top: 1px solid #e5e7eb;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-method {
    text-align: center;
    background: white;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f4f8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.contact-method h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-family: 'Noto Serif JP', serif;
}

.contact-tel {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a !important;
    margin-bottom: 10px;
    font-family: 'Noto Serif JP', serif;
    text-shadow: none;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* より具体的なセレクター */
.contact-section .contact-method .contact-tel,
.contact-content .contact-method .contact-tel {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 10px 0 !important;
    padding: 0 !important;
    font-family: 'Noto Serif JP', serif !important;
    text-shadow: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    line-height: 1.2 !important;
}

/* フッター内の電話番号は白色を維持 */
.footer .contact-tel,
.footer-section .contact-tel,
.footer-contact .contact-tel {
    color: white !important;
    font-size: 1.3rem !important;
    font-weight: 600 !important;
}

/* 電話番号リンクのスタイル調整 */
a.contact-tel {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a.contact-tel:hover {
    opacity: 0.8;
    text-decoration: none;
}

a.contact-detail {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
    transition: opacity 0.3s ease;
}

a.contact-detail:hover {
    opacity: 0.8;
}

.contact-time {
    color: var(--text-light);
    font-size: 0.95rem;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #1f4420;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 95, 45, 0.3);
}

.btn-sm {
    font-size: 0.8rem;
    padding: 10px 20px;
}

/* ===================================
   Footer - Unified Design
   =================================== */
.footer {
    background: #000000;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

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

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

.footer-info {
    margin-top: 10px;
}

.footer-address,
.footer-contact {
    color: #ddd;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-description {
    color: #aaa;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-top: 15px;
    max-width: 300px;
}

.footer-heading {
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.4;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-tel {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-hours {
    color: #ddd;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.contact-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    flex-wrap: wrap;
    gap: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.social-link:hover .social-icon {
    filter: brightness(1.2);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.legal-link {
    color: #aaa;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: white;
}

.footer-copyright {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
}

/* ===================================
   Scroll Top Button
   =================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn:hover {
    background: #1f4420;
    box-shadow: 0 6px 20px rgba(44, 95, 45, 0.4);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

/* ===================================
   Loading Animation
   =================================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.loading-logo {
    width: 150px;
    height: auto;
    margin-bottom: 30px;
    animation: logoFadeIn 2s ease-in-out;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===================================
   Responsive Design
   =================================== */

/* Large Screen Devices - Keep 4 columns */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .business-section {
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
    }
    
    .business-grid {
        display: flex;
        flex-direction: row;
        gap: 0 !important;
        width: 100% !important;
        max-width: none !important;
    }
}

/* Extra Large Screens and Full Screen */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
        padding: 0 60px;
    }
    
    .business-grid {
        display: flex;
        flex-direction: row;
        gap: 0 !important;
    }
    
    .business-card {
        height: 350px !important;
    }
}

/* Medium to Large Tablets */
@media (max-width: 1199px) and (min-width: 900px) {
    .services-slider {
        margin: 0 20px;
    }

    .slide {
        padding: 50px 40px;
        gap: 30px;
    }

    .slide-image {
        flex: 1.2;
        max-width: 400px;
    }

    /* Business Section Large Tablet - Keep 4 columns */
    .business-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }

    .business-card {
        height: 270px;
    }
    
    .business-content h3 {
        font-size: 0.95rem;
    }
    
    .business-content p {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }
}

/* Tablet Devices */  
@media (max-width: 768px) {
    /* Business Section Tablet - 2x2 Grid */
    .business-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .business-card {
        height: 300px;
        width: 50%;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .business-card:nth-child(3n), 
    .business-card:nth-child(4n) {
        border-bottom: none;
    }
    
    .business-content h3 {
        font-size: 1.1rem;
    }
    
    /* Business Action for Tablet */
    .business-action {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        opacity: 1;
        margin-top: 15px;
        text-align: left;
    }
    
    .business-card:nth-child(even) .business-action {
        left: auto;
        right: auto;
        text-align: right;
    }
    
    .business-btn {
        padding: 14px 28px;
        font-size: 0.9rem;
        background: rgba(255, 255, 255, 0.9);
        color: var(--primary-color);
        border: 2px solid rgba(255, 255, 255, 0.9);
    }
    
    /* Section Title Tablet */
    .section-title {
        font-size: 3rem;
        margin-bottom: 25px;
    }
    
    .section-title::before {
        width: 50px;
        height: 3px;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    /* Philosophy Section Tablet */
    .philosophy-section::before {
        width: 300px;
        height: 300px;
    }
    
    .business-content p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .business-overlay {
        padding: 25px;
    }

    .business-content p {
        font-size: 0.85rem;
    }

    .slide-image .image-placeholder {
        height: 240px;
        padding: 25px;
    }
    
    .slide-image .image-placeholder .featured-title {
        font-size: 1.8rem;
    }

    .slide-content {
        flex: 2;
    }

    .slide-content h3 {
        font-size: 1.6rem;
    }

    .slide-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

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

    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        transition: left 0.3s ease;
        padding: 40px 20px;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .language-switch {
        margin-right: 15px;
    }

    .lang-btn {
        font-size: 0.8rem;
        padding: 3px 6px;
    }

    .hero {
        min-height: 100vh;
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 0;
    }

    .hero-scroll {
        bottom: 30px;
    }

    .section {
        padding: 60px 0;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    /* Services Slider Mobile */
    .services-slider {
        margin-top: 30px;
    }

    .slide {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 50px 30px;
        min-height: 600px;
    }

    .slide-image {
        max-width: 100%;
        margin: 0 auto;
        min-width: 280px;
    }

    .slide-image .image-placeholder {
        height: 320px;
        min-height: 280px;
    }

    .slide-content {
        padding: 20px;
        max-width: none;
    }

    .slide-content h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .slide-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .slide-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .slider-nav {
        margin-top: 25px;
        gap: 15px;
    }

    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .dots-container {
        gap: 8px;
    }

    .business-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .business-card {
        margin: 0;
        height: 250px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .business-card:last-child {
        border-bottom: none;
    }

    .business-overlay {
        padding: 25px;
    }

    .business-content h3 {
        font-size: 1.2rem;
    }

    .business-content p {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }

    /* Business Action for Large Tablet */
    .business-action {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        opacity: 1;
        margin-top: 18px;
        text-align: left;
    }

    .business-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        background: rgba(255, 255, 255, 0.9);
        color: var(--primary-color);
        border: 2px solid rgba(255, 255, 255, 0.9);
    }

    .strength-item {
        flex-direction: column;
        gap: 15px;
    }

    .strength-number {
        font-size: 2rem;
    }

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

    .company-table th,
    .company-table td {
        padding: 15px 20px;
    }

    .company-table th {
        width: 120px;
    }

    .news-item {
        flex-direction: column;
        gap: 10px;
    }

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

    /* Footer Mobile Responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-logo {
        height: 40px;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .footer-description {
        max-width: none;
        text-align: center;
    }

    .footer-heading {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .contact-tel {
        font-size: 1.1rem;
    }

    .contact-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-social {
        justify-content: center;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }

    /* Services Slider Responsive */
    .services-slider-section {
        padding: 100px 0;
    }

    .slide {
        flex-direction: column;
        padding: 60px 40px;
        gap: 50px;
        min-height: 550px;
    }

    .slide-image {
        max-width: 100%;
        margin: 0 auto;
        min-width: 350px;
    }

    .slide-image .image-placeholder {
        height: 350px;
        min-height: 300px;
    }

    .slide-image .image-placeholder {
        width: 100%;
        height: 220px;
        aspect-ratio: 16/9;
        padding: 20px;
        justify-content: center;
        align-items: center;
    }

    .slide-image .image-placeholder .featured-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .slide-content {
        padding-left: 0;
        text-align: center;
    }

    .slide-content h3 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slider-nav {
        gap: 15px;
        margin-top: 30px;
    }

    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .section-title::before {
        width: 40px;
        height: 3px;
        top: -15px;
    }
    
    .section-title-ja {
        font-size: 1rem;
    }
    
    .section-header {
        margin-bottom: 50px;
        padding-top: 15px;
    }
    
    /* Philosophy Section Mobile */
    .philosophy-section::before {
        width: 200px;
        height: 200px;
    }

    .company-table {
        font-size: 0.9rem;
    }

    .company-table th,
    .company-table td {
        padding: 12px 15px;
    }

    .company-table th {
        width: 100px;
    }

    .contact-tel {
        font-size: 1.5rem;
        color: #1f4420;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    }

    /* Business Section Mobile */
    .business-card {
        height: 250px;
    }

    /* Services Slider Mobile */
    .slide {
        padding: 30px 20px;
        gap: 30px;
    }

    .slide-image .image-placeholder {
        width: 100%;
        height: 200px;
        padding: 15px;
    }

    .slide-image .image-placeholder .featured-title {
        font-size: 1.3rem;
    }

    .slide-content h3 {
        font-size: 1.5rem;
    }

    .slide-btn {
        padding: 14px 24px;
    }
        
    /* Business Action Mobile - Always Visible */
    .business-action {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        opacity: 1;
        margin-top: 15px;
        text-align: left;
    }
    
    .business-card:nth-child(even) .business-action {
        left: auto;
        right: auto;
        text-align: right;
    }
    
    .business-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
        background: rgba(255, 255, 255, 0.9);
        color: var(--primary-color);
        border: 2px solid rgba(255, 255, 255, 0.9);
    }

    .business-btn:hover {
        background: rgba(255, 255, 255, 1);
        color: var(--primary-color);
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .dots-container {
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Extra Small Devices (phones, 480px and down) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero-description {
        font-size: 0.85rem;
        padding: 0 10px;
    }

    .section {
        padding: 50px 0;
    }

    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .section-lead {
        font-size: 0.9rem;
        text-align: center;
    }

    /* Business Section Small Screens */
    .business-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .business-card {
        height: 220px;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .business-card:last-child {
        border-bottom: none;
    }

    .business-overlay {
        padding: 20px;
    }

    .business-content h3 {
        font-size: 1rem;
    }

    .business-content p {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    /* Business Action for Small Screens */
    .business-action {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        opacity: 1;
        margin-top: 12px;
        text-align: left;
    }

    .business-btn {
        padding: 12px 24px;
        font-size: 0.85rem;
        background: rgba(255, 255, 255, 0.9);
        color: var(--primary-color);
        border: 2px solid rgba(255, 255, 255, 0.9);
    }

    /* Hero background improvements */
    .hero-bg {
        background-attachment: scroll !important;
    }

    /* Navigation improvements */
    .nav {
        padding: 30px 15px;
    }

    .nav-list {
        gap: 25px;
    }

    .nav-link {
        font-size: 1rem;
        padding: 12px 0;
    }

    /* Services slider mobile optimization */
    .services-slider {
        margin: 0 15px;
    }

    .slide {
        flex-direction: column;
        padding: 30px 20px;
        gap: 25px;
        min-height: 0;
        text-align: center;
    }

    .slide-image {
        flex: none;
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .slide-image .image-placeholder {
        height: 180px;
        max-height: 180px;
        min-height: 180px;
        aspect-ratio: 16/9;
        border-radius: 15px;
    }

    .slide-image .image-placeholder span {
        font-size: 2rem;
    }

    .slide-content {
        flex: none;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .slide-content h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .slide-content p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 15px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .slide-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        border-radius: 6px;
        display: inline-block;
    }
}

/* 小画面モバイル用の追加スタイル */
@media (max-width: 375px) {
    .services-slider {
        margin: 0 10px;
    }

    .slide {
        flex-direction: column;
        padding: 25px 15px;
        gap: 20px;
        min-height: initial;
        text-align: center;
    }

    .slide-image {
        flex: none;
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .slide-image .image-placeholder {
        height: 160px;
        max-height: 160px;
        min-height: 160px;
        aspect-ratio: 16/9;
        border-radius: 12px;
    }

    .slide-content {
        flex: none;
        width: 100%;
    }

    .slide-content h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .slide-content p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .slide-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
        display: inline-block;
    }

    /* スライダーコントロールの改善 */
    .slider-dots {
        margin-top: 20px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
}