:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f4;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-tertiary: #80868b;
    --border-color: #dadce0;
    --accent-color: #1a73e8;
    --accent-hover: #1557b0;
    --shadow-sm: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    --shadow-md: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
    --shadow-lg: 0 2px 4px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
    --button-bg: #1a73e8;
    --button-hover: #1557b0;
    --button-text: #ffffff;
}

[data-theme="dark"] {
    --bg-primary: #202124;
    --bg-secondary: #303134;
    --bg-tertiary: #3c4043;
    --text-primary: #e8eaed;
    --text-secondary: #bdc1c6;
    --text-tertiary: #9aa0a6;
    --border-color: #5f6368;
    --accent-color: #8ab4f8;
    --accent-hover: #aecbfa;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 2px 6px 2px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 2px 4px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
    --button-bg: #8ab4f8;
    --button-hover: #aecbfa;
    --button-text: #202124;
}

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

a {
    text-decoration: none !important;
    color: inherit;
}

a:hover,
a:focus,
a:active,
a:visited {
    text-decoration: none !important;
    border-bottom: none !important;
}

.service-card-header-link,
.service-card-header-link:hover,
.service-card-header-link:focus,
.service-card-header-link:active,
.service-card-header-link:visited {
    color: var(--text-primary) !important;
    text-decoration: none !important;
    border-bottom: none !important;
}


body {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans JP', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

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

@media (max-width: 1400px) {
    .container {
        max-width: 1100px;
        padding: 0 24px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 32px;
    }
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.site-logo:hover {
    background: var(--bg-tertiary);
    color: var(--accent-color);
}

.nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 320px;
    max-width: 90vw;
    height: calc(100vh - 70px);
    background: var(--bg-primary);
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease, left 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.nav-menu.active {
    right: 0;
}

.nav-menu-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 0;
    padding: 1rem 0;
    margin: 0;
}

.nav-menu-list li {
    border-bottom: 1px solid var(--border-color);
}

.nav-menu-list a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    padding: 1rem 1.5rem;
    display: block;
}

.nav-menu-list a::after {
    display: none;
}

.nav-menu-list a:hover {
    color: var(--accent-color);
    background: var(--bg-secondary);
}

.nav-menu-footer {
    margin-top: auto;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.nav-actions {
    display: none;
}

.nav-services {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-service-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    color: var(--text-primary);
    background: transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
    border: 1px solid var(--border-color);
}

.nav-service-link::after {
    display: none;
}

.nav-service-link:hover {
    background: var(--bg-secondary);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.nav-service-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.nav-service-link span {
    font-size: 14px;
    font-weight: 500;
}

.theme-toggle {
    padding: 10px 20px;
    border-radius: 24px;
    border: none;
    background-color: #137333;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.theme-toggle:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.theme-text {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

[data-theme="dark"] .theme-toggle {
    background-color: #8ab4f8;
    color: #202124;
}

[data-theme="dark"] .theme-text {
    color: #202124;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.hamburger:hover {
    background: var(--bg-secondary);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    transform-origin: center;
}

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

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

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

.nav-overlay {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
    backdrop-filter: blur(2px);
}

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

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(135deg, var(--accent-color) 0%, #34a853 100%);
    color: var(--button-text);
    text-align: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1920&h=1080&fit=crop') center/cover;
    opacity: 0.15;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.9) 0%, rgba(52, 168, 83, 0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    animation: fadeInUp 1s ease;
    flex: 0 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    color: var(--button-text);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    color: var(--button-text);
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    color: var(--button-text);
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 24px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--button-text);
    color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: var(--bg-primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
}

.scroll-indicator span {
    display: block;
    width: 32px;
    height: 56px;
    border: 2.5px solid rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 
                inset 0 0 20px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.scroll-indicator:hover span {
    border-color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3), 
                inset 0 0 30px rgba(255, 255, 255, 0.15);
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 50%;
    animation: scroll 2s infinite ease-in-out;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.5),
                0 0 12px rgba(255, 255, 255, 0.3);
}

.scroll-indicator:hover span::before {
    box-shadow: 0 3px 12px rgba(255, 255, 255, 0.7),
                0 0 16px rgba(255, 255, 255, 0.5);
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translateX(-50%) translateY(12px) scale(0.9);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(24px) scale(0.8);
    }
}

section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.75rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
    .section-header h2 {
        background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.toggle-all-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #1557b0 100%) !important;
    color: var(--button-text) !important;
    border: none !important;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3), 0 2px 4px rgba(26, 115, 232, 0.2);
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
    text-decoration: none !important;
}

.toggle-all-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.5s ease;
}

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

.toggle-all-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, #0d47a1 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26, 115, 232, 0.4), 0 4px 8px rgba(26, 115, 232, 0.3);
}

.toggle-all-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.toggle-all-icon {
    width: 22px;
    height: 22px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-width: 2.5;
}

.toggle-all-btn.active .toggle-all-icon {
    transform: rotate(180deg);
}

.about {
    background: var(--bg-primary);
}

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

.about-text {
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: center;
    font-size: 1.1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1200px) {
    .about-values {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .about-values {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.value-item {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #34a853 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--button-text);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.3);
}

.value-icon svg {
    width: 32px;
    height: 32px;
}

.value-item h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .services-grid {
        gap: 1.5rem;
    }
}

.service-card-collapsible {
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    position: relative;
}

.service-card-collapsible::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #34a853);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-collapsible.active::before {
    opacity: 1;
}

.service-card-collapsible:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), 0 6px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.service-card-collapsible.active {
    border-color: var(--border-color);
}

.service-card-header {
    padding: 2rem 2.25rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    position: relative;
    width: 100%;
}

[data-theme="dark"] .service-card-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
}

[data-theme="light"] .service-card-header {
    background: transparent;
}

.service-card-header-link {
    text-decoration: none !important;
    color: var(--text-primary) !important;
    cursor: pointer;
    display: block;
    border: none !important;
    outline: none !important;
}

.service-card-header-link * {
    text-decoration: none;
    border-bottom: none;
}

.service-card-header-link h3 {
    color: var(--text-primary) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.service-card-header-link:hover {
    text-decoration: none !important;
    border-bottom: none !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .service-card-header-link:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

[data-theme="light"] .service-card-header-link:hover {
    background: var(--bg-secondary);
}

.service-card-header-link:hover * {
    color: inherit !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

.service-card-header-link:focus,
.service-card-header-link:active,
.service-card-header-link:visited {
    outline: none !important;
    text-decoration: none !important;
    border-bottom: none !important;
    color: var(--text-primary) !important;
}

.service-card-header-link:focus *,
.service-card-header-link:active *,
.service-card-header-link:visited * {
    color: inherit !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

.service-card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-collapsible.active .service-card-header::after {
    opacity: 1;
}


.service-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.service-header-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.service-card-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: -0.02em;
}

.service-card-header-link h3 {
    color: var(--text-primary) !important;
    text-decoration: none !important;
    display: block;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
}

.service-click-hint {
    font-size: 0.85rem;
    color: var(--text-secondary) !important;
    font-weight: 400;
    opacity: 1 !important;
    visibility: visible !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
    border-bottom: none !important;
    display: block;
}

.service-card-header-link:hover .service-click-hint,
.service-card-header-link:focus .service-click-hint,
.service-card-header-link:active .service-click-hint,
.service-card-header-link:visited .service-click-hint {
    opacity: 1;
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

.service-card-header-link a {
    text-decoration: none !important;
    border-bottom: none !important;
    color: var(--text-primary) !important;
}

.service-card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0s linear 0.5s;
    padding: 0 2rem;
    opacity: 0;
    visibility: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    pointer-events: none;
}

.service-card-collapsible.active .service-card-content {
    max-height: 2000px;
    padding: 2rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease 0.2s, visibility 0s linear 0s;
}

.service-card-content:hover {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.service-card-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.75;
    font-size: 1rem;
}

.service-card-link {
    text-decoration: none !important;
    display: block;
    color: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

.service-card-link:hover,
.service-card-link:focus,
.service-card-link:active {
    text-decoration: none !important;
    border-bottom: none !important;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #34a853 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--button-text);
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.3), 0 2px 8px rgba(26, 115, 232, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.service-card-collapsible:hover .service-icon::before {
    opacity: 1;
    animation: shine 1.5s ease;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.service-card-collapsible:hover .service-icon {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 8px 24px rgba(26, 115, 232, 0.4), 0 4px 12px rgba(26, 115, 232, 0.3);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.service-image {
    border-radius: 16px;
    overflow: hidden;
    margin-top: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    position: relative;
    background: var(--bg-tertiary);
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-content:hover .service-image::after {
    opacity: 1;
}

.service-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
    filter: brightness(0.95);
}

.service-card-content:hover .service-image img {
    transform: scale(1.08);
    filter: brightness(1);
}

.stats {
    background: linear-gradient(135deg, var(--accent-color) 0%, #34a853 100%);
    color: var(--button-text);
    padding: 4rem 0;
}

.stats .section-header h2,
.stats .section-header p {
    color: var(--button-text);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--button-text);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.tech {
    background: var(--bg-secondary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

.tech-item {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.tech-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #34a853 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--button-text);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.3);
    transition: all 0.3s ease;
}

.tech-item:hover .tech-icon {
    transform: scale(1.1) rotate(5deg);
}

.tech-icon svg {
    width: 32px;
    height: 32px;
}

.tech-item h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tech-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

.features {
    background: var(--bg-primary);
}

.feature-item {
    margin-bottom: 2rem;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #34a853 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--button-text);
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(26, 115, 232, 0.3);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    max-width: none;
    margin: 0;
}

.faq {
    background: var(--bg-secondary);
}

.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.faq-question {
    padding: 1.75rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.75rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
}

.youtube-promo {
    background: linear-gradient(135deg, var(--accent-color) 0%, #34a853 100%);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.youtube-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.youtube-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.youtube-icon {
    width: 80px;
    height: 80px;
    color: #ffffff;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

.youtube-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.youtube-text {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.youtube-text h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.youtube-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0;
}

.youtube-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 14px 28px;
    background: var(--button-text);
    color: var(--accent-color);
    border-radius: 24px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.youtube-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    background: var(--bg-primary);
}

.youtube-btn:active {
    transform: translateY(-1px);
}

.youtube-btn svg {
    width: 20px;
    height: 20px;
}



.footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 2.5rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 400;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

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

.fade-in {
    animation: fadeInUp 1s ease;
}

@media (max-width: 768px) {
    .nav-menu {
        width: 100%;
        max-width: 100%;
        right: auto;
        left: -100%;
        border-left: none;
    }

    .nav-menu.active {
        left: 0;
        right: auto;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        max-width: 100%;
    }

    .feature-item {
        margin-bottom: 1.5rem;
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .feature-icon {
        margin: 0 auto 1rem;
    }

    .about-values {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-answer {
        padding: 0 1.5rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem;
    }

    .youtube-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .youtube-icon {
        width: 64px;
        height: 64px;
    }

    .youtube-text h2 {
        font-size: 1.75rem;
    }

    .youtube-text p {
        font-size: 1rem;
    }

    .youtube-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .scroll-top-btn {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
    }

    .scroll-top-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .service-card-header {
        padding: 1.25rem;
    }
    
    .service-header-content {
        gap: 0.75rem;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
    }
    
    .service-card-header h3 {
        font-size: 1.25rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .theme-toggle {
        padding: 8px 16px;
        font-size: 12px;
    }

    .container {
        padding: 0 20px;
    }

    section {
        padding: 3rem 0;
    }

    .hero {
        height: auto;
        min-height: 70vh;
        padding: 4rem 0;
    }
}

/* 小さいモバイル */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

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

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .theme-toggle {
        padding: 6px 12px;
        font-size: 11px;
    }

    .theme-text {
        font-size: 11px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-item {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    section {
        padding: 2.5rem 0;
    }

    .hero {
        min-height: 60vh;
        padding: 3rem 0;
    }

    .about-text p {
        font-size: 1rem;
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }

    .about {
        padding: 2.5rem 0;
    }

    .about-values {
        margin-top: 1.5rem;
        gap: 1rem;
    }

    .service-card-content p {
        font-size: 0.95rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }
}

/* 縦長画面（スマホ縦向きなど） */
@media (max-height: 600px) and (orientation: portrait) {
    .hero {
        min-height: auto;
        height: 100vh;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .scroll-indicator {
        bottom: 15px;
    }
}

/* 超小さい画面 */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

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

    .section-header h2 {
        font-size: 1.5rem;
    }

    .nav-service-link {
        width: 32px;
        height: 32px;
    }

    .nav-service-link svg {
        width: 16px;
        height: 16px;
    }
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--button-text);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.scroll-top-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.scroll-top-btn:active {
    transform: translateY(-1px);
}

.scroll-top-btn svg {
    width: 24px;
    height: 24px;
}


