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

:root {
    --primary-color: #0cc0df;
    --secondary-color: #162d62;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --font-main: 'Noto Sans JP', sans-serif;
    --font-en: 'Inter', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.25);
    --transition-fast: 0.2s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
}

html {
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    line-height: 1.7;
    color: var(--gray-800);
    font-size: 16px;
    overflow-x: hidden;
    padding-top: 90px; /* ヘッダー固定のためのスペース確保 */
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(0);
    box-shadow: var(--shadow-xl);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(12, 192, 223, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(12, 192, 223, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(12, 192, 223, 0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

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

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

@keyframes countUp {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

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

.logo {
    height: 60px;
    transition: var(--transition-normal);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Navigation Menu */
.desktop-nav {
    display: flex;
    align-items: center;
}

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

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-normal);
    padding: 8px 16px;
    border-radius: 20px;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(12, 192, 223, 0.1);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover:after {
    width: 80%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
    background: none;
    border: none;
    z-index: 10001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background: var(--white);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: var(--white);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

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

.mobile-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.mobile-nav-list li {
    margin-bottom: 30px;
}

.mobile-nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    transition: var(--transition-normal);
    display: block;
    padding: 15px 30px;
    border-radius: 10px;
}

.mobile-nav-link:hover {
    color: var(--primary-color);
    background: rgba(12, 192, 223, 0.2);
}

.mobile-nav-link.mobile-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    margin-top: 20px;
    border-radius: 50px;
}

.mobile-nav-link.mobile-cta:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Responsive Navigation */
@media (max-width: 968px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        position: absolute;
        right: 80px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-container {
        position: relative;
        justify-content: flex-start;
    }
    
    .nav-contact {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 12px 15px;
        justify-content: flex-start;
        align-items: center;
        height: 60px;
        position: relative;
    }
    
    .nav-logo {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .logo {
        height: 40px;
    }
    
    .mobile-menu-btn {
        position: fixed;
        right: 15px;
        top: 22px;
        z-index: 10002;
    }
    
    .nav-contact {
        display: none;
    }
    
    .mobile-nav-link {
        font-size: 18px;
        padding: 10px 30px;
    }
    
    .mobile-nav-list li {
        margin-bottom: 15px;
    }
}

/* Buttons */
.cta-button, .cta-main-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.cta-button:hover, .cta-main-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.cta-main-button {
    font-size: 18px;
    padding: 20px 40px;
    position: relative;
}

.button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.pulse {
    animation: pulse 2s infinite;
}

.shake-animation {
    animation: shake 3s ease-in-out infinite;
}

.shake-animation:hover,
.cta-button:hover,
.cta-main-button:hover {
    background: linear-gradient(135deg, #ff4500, #ff6347) !important;
    color: var(--white) !important;
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 20px 40px rgba(255, 69, 0, 0.6);
    border: 3px solid #ff4500;
    animation: none;
}

/* スマホ対応 */
@media (max-width: 768px) {
    body {
        padding-top: 80px; /* スマホでのヘッダー高さ調整 */
    }
}

.cta-button-white:hover {
    background: linear-gradient(135deg, #ff1744, #d50000) !important;
    color: var(--white) !important;
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 20px 40px rgba(255, 23, 68, 0.6);
    border: 3px solid #ff1744;
}

.submit-button:hover {
    background: linear-gradient(135deg, #ff4500, #ff6347) !important;
    color: var(--white) !important;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 69, 0, 0.6);
}

/* Hero Section */
.hero {
    padding: 120px 0;
    position: relative;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 50%, #f0f9ff 100%);
    overflow: visible;
}

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

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(12, 192, 223, 0.1) 0%, rgba(22, 45, 98, 0.1) 100%);
    opacity: 0.3;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content {
    padding-right: 20px;
    text-align: center;
}

.hero-title-animated {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 40px;
    color: var(--gray-900);
}

.typing-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 2s steps(8, end);
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

.scale-up-animation {
    display: block;
    animation: scaleUp 1s ease-out 2.5s both;
}

.title-main {
    display: block;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.title-sub {
    display: block;
    color: var(--secondary-color);
    font-size: 2.8rem;
    margin-top: 10px;
}

.hero-stats {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    flex: 1;
    max-width: 160px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 5px;
    animation: countUp 0.8s ease-out;
}

.stat-number::after {
    content: '+';
    font-size: 1.5rem;
}

.stat-item:nth-child(3) .stat-number::after {
    content: '%';
}

.stat-number-special {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 5px;
    animation: countUp 0.8s ease-out;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray-700);
    margin-bottom: 40px;
    line-height: 1.8;
    text-align: center;
}

.highlight-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.4rem;
}

.cta-sub-text {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--gray-500);
    text-align: center;
}

.hero-subtitle strong {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-slow);
}

.floating {
    animation: float 4s ease-in-out infinite;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 30px;
    z-index: -1;
    opacity: 0.1;
    animation: rotate 20s linear infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition-normal);
}

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

.bounce {
    animation: bounce 2s infinite;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 20px;
    line-height: 1.3;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Problems Section */
.problems {
    padding: 120px 0;
    background: var(--gray-100);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.problem-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition-slow);
}

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

.problem-card:hover::before {
    left: 0;
}

.problem-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: var(--shadow-md);
}

.problem-icon i {
    font-size: 32px;
    color: var(--white);
}

.problem-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 25px;
    line-height: 1.5;
}

.problem-image {
    margin-top: 25px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.problem-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-normal);
}

.problem-card:hover .problem-image img {
    transform: scale(1.05);
}

.problems-conclusion {
    text-align: center;
    font-size: 1.3rem;
    color: var(--gray-700);
    padding: 40px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.cta-center {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

/* Section CTA Styles */
.section-cta {
    text-align: center;
    margin-top: 60px;
    padding: 50px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 25px;
    color: var(--white);
}

/* Make CTA button in section-cta stand out */
.section-cta .cta-button {
    background: linear-gradient(135deg, #ff4500, #ff6347) !important;
    color: var(--white) !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.6) !important;
}

.section-cta .cta-button:hover {
    background: linear-gradient(135deg, #ff6347, #ff7f50) !important;
    transform: translateY(-5px) scale(1.08) !important;
    box-shadow: 0 15px 35px rgba(255, 69, 0, 0.8) !important;
}

.section-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
}

.section-cta-white {
    text-align: center;
    margin-top: 60px;
    padding: 50px 30px;
    background: var(--white);
    border-radius: 25px;
    border: 3px solid var(--primary-color);
    color: var(--secondary-color);
}

.section-cta-white h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.cta-button-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-color);
}

.cta-button-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: var(--primary-color);
    color: var(--white);
}

.problems-conclusion strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--white);
}

.services-grid {
    display: flex !important;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px !important;
    background: transparent !important;
    border-radius: 25px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    padding: 60px 30px 50px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    flex: 1;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gray-200);
    min-height: 600px;
}



.service-card:nth-child(1) {
    background: linear-gradient(135deg, rgba(12, 192, 223, 0.05), rgba(255, 255, 255, 1));
}

.service-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.08), rgba(255, 255, 255, 1));
    transform: scale(1.05);
    z-index: 2;
    margin: 0 -2px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.service-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(22, 45, 98, 0.05), rgba(255, 255, 255, 1));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, rgba(12, 192, 223, 0.1), rgba(255, 255, 255, 1));
}

.service-card:nth-child(2):hover {
    transform: scale(1.08) translateY(-15px);
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.15), rgba(255, 255, 255, 1));
}

.service-card:nth-child(1):hover {
    background: linear-gradient(135deg, rgba(12, 192, 223, 0.15), rgba(255, 255, 255, 1));
}

.service-card:nth-child(3):hover {
    background: linear-gradient(135deg, rgba(22, 45, 98, 0.15), rgba(255, 255, 255, 1));
}

.service-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 0 0 25px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 900;
    box-shadow: var(--shadow-lg);
    z-index: 3;
}

.service-card:nth-child(1) .service-number {
    background: linear-gradient(135deg, var(--primary-color), #20b2aa);
    width: 90px;
    height: 45px;
}

.service-card:nth-child(2) .service-number {
    background: linear-gradient(135deg, #ff4500, #ff6347);
    width: 120px;
    height: 60px;
    font-size: 1.5rem;
    border-radius: 0 0 30px 30px;
}

.service-card:nth-child(3) .service-number {
    background: linear-gradient(135deg, var(--secondary-color), #4169e1);
    width: 90px;
    height: 45px;
}

.service-content {
    width: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: var(--shadow-md);
}

.service-icon i {
    font-size: 28px;
    color: var(--white);
}

.service-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-image {
    width: 100%;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 25px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.hover-zoom:hover {
    transform: scale(1.1);
}

.service-content p {
    color: var(--gray-600);
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-benefits ul {
    list-style: none;
    margin-bottom: 25px;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--gray-700);
}

.service-benefits i {
    color: var(--primary-color);
    font-size: 14px;
}

blockquote {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 20px;
    border-radius: 15px;
    font-style: italic;
    text-align: center;
    margin-top: 25px;
    position: relative;
}

.service-industries {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.industry-tag {
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.trust-indicators {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    font-size: 14px;
}

.trust-item i {
    color: var(--primary-color);
}

/* Strengths Section */
.strengths {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
}

.strengths .section-title,
.strengths .section-subtitle {
    color: var(--white);
}

.strengths .highlight {
    color: var(--white);
}

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

.strength-card {
    background: var(--white);
    color: var(--gray-800);
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.strength-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.strength-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.strength-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: var(--shadow-md);
}

.strength-icon i {
    font-size: 32px;
    color: var(--white);
}

.strength-image {
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
}

.strength-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.strength-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.strength-card p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
}

.strength-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
}

/* TREND Features Section */
.trend-features {
    padding: 120px 0;
    background: var(--white) !important;
    background-color: var(--white) !important;
    background-image: linear-gradient(135deg, var(--white), var(--gray-100)) !important;
    position: relative;
}

.trend-features::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"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e9ecef" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.features-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: 40px !important;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--white) !important;
    border-radius: 20px !important;
    padding: 40px 30px !important;
    text-align: center !important;
    box-shadow: var(--shadow-lg) !important;
    border: 2px solid var(--gray-200) !important;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    min-height: 500px !important;
    display: flex !important;
    flex-direction: column !important;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-card:nth-child(1) {
    background: linear-gradient(135deg, rgba(12, 192, 223, 0.03), var(--white));
}

.feature-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.03), var(--white));
    transform: scale(1.02);
    z-index: 2;
}

.feature-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(22, 45, 98, 0.03), var(--white));
}

.feature-card:nth-child(1):hover {
    background: linear-gradient(135deg, rgba(12, 192, 223, 0.08), var(--white));
}

.feature-card:nth-child(2):hover {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.08), var(--white));
    transform: scale(1.05) translateY(-10px);
}

.feature-card:nth-child(3):hover {
    background: linear-gradient(135deg, rgba(22, 45, 98, 0.08), var(--white));
}

.feature-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: var(--shadow-lg);
    z-index: 3;
}

.feature-card:nth-child(1) .feature-number {
    background: linear-gradient(135deg, var(--primary-color), #20b2aa);
}

.feature-card:nth-child(2) .feature-number {
    background: linear-gradient(135deg, #ff4500, #ff6347);
    width: 90px;
    height: 90px;
}

.feature-card:nth-child(3) .feature-number {
    background: linear-gradient(135deg, var(--secondary-color), #4a5568);
}

.feature-icon {
    margin: 30px 0 20px;
}

.feature-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.feature-card:nth-child(1) .feature-icon i {
    color: var(--primary-color);
}

.feature-card:nth-child(2) .feature-icon i {
    color: #ff4500;
}

.feature-card:nth-child(3) .feature-icon i {
    color: var(--secondary-color);
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
}

.feature-image {
    margin: 20px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.feature-image img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    transition: var(--transition-normal);
    max-width: 100% !important;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 20px 0 15px;
    line-height: 1.4;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gray-100), var(--white));
    padding: 12px 20px;
    border-radius: 25px;
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--gray-200);
    margin-top: auto;
}

.feature-highlight i {
    color: var(--primary-color);
}

.feature-card:nth-child(1) .feature-highlight {
    background: linear-gradient(135deg, rgba(12, 192, 223, 0.1), var(--white));
    border-color: rgba(12, 192, 223, 0.3);
}

.feature-card:nth-child(2) .feature-highlight {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.1), var(--white));
    border-color: rgba(255, 69, 0, 0.3);
}

.feature-card:nth-child(2) .feature-highlight i {
    color: #ff4500;
}

.feature-card:nth-child(3) .feature-highlight {
    background: linear-gradient(135deg, rgba(22, 45, 98, 0.1), var(--white));
    border-color: rgba(22, 45, 98, 0.3);
}

.feature-card:nth-child(3) .feature-highlight i {
    color: var(--secondary-color);
}

/* Responsive Design for TREND Features */
@media (max-width: 768px) {
    .trend-features {
        padding: 80px 0;
        background: var(--white) !important;
        background-color: var(--white) !important;
        background-image: linear-gradient(135deg, var(--white), var(--gray-100)) !important;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }

    .feature-card {
        padding: 30px 20px;
        min-height: 450px;
    }

    .feature-card:nth-child(2) {
        transform: none;
    }

    .feature-card:nth-child(2):hover {
        transform: translateY(-10px);
    }

    .feature-number {
        width: 70px;
        height: 70px;
        font-size: 1.3rem;
    }

    .feature-card:nth-child(2) .feature-number {
        width: 70px;
        height: 70px;
    }

    .feature-icon i {
        font-size: 2.5rem;
    }

    .feature-image img {
        height: 180px;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }
}

/* Case Studies Section */
.case-studies {
    padding: 120px 0;
    background: var(--gray-100);
}

.cases-grid {
    display: grid;
    gap: 50px;
}

.case-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

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

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.case-company {
    display: flex;
    align-items: center;
    gap: 20px;
}

.company-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--white);
}

.company-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.company-info p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.case-type {
    background: var(--white);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.case-content {
    padding: 40px;
}

.case-section {
    margin-bottom: 30px;
}

.case-section h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.case-section i {
    color: var(--primary-color);
}

.case-section p {
    color: var(--gray-600);
    line-height: 1.7;
}

.case-result {
    background: linear-gradient(135deg, var(--gray-100), var(--white));
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.case-result p {
    color: var(--gray-700);
}

.case-result strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* FAQ Section */
.faq {
    padding: 120px 0;
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--gray-100);
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition-normal);
    user-select: none;
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-question i:first-child {
    color: var(--primary-color);
    font-size: 18px;
    width: 20px;
}

.faq-question span {
    flex: 1;
    font-weight: 600;
    color: var(--gray-800);
}

.faq-question i:last-child {
    color: var(--gray-400);
    transition: var(--transition-normal);
}

.faq-item.active .faq-question i:last-child {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-slow);
}

.faq-item.active .faq-answer {
    padding: 25px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.1"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    opacity: 0.3;
}

.contact .container {
    position: relative;
    z-index: 2;
}

/* Contact Section Title Styling */
.contact .section-title {
    color: var(--white);
    font-size: 3.2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

.contact .section-title::before {
    content: '📋';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -60px;
    font-size: 3rem;
    animation: bounce 2s infinite;
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 500;
}

/* Special CTA Animation for Contact Section */
.contact .section-header {
    margin-bottom: 60px;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
    50% {
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.5);
    }
}

/* Add floating elements */
.contact::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.contact-content {
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.contact-form-section {
    max-width: 700px;
    width: 100%;
}

.contact-form-section h3,
.calendar-section h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-form-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
    border-radius: 2px;
}

.contact-form {
    background: #ffffff !important;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 3px solid #ffffff;
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #ffffff;
    border-radius: 25px;
    z-index: -1;
    opacity: 1;
}



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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 14px;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    font-size: 16px;
    transition: var(--transition-normal);
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: var(--gray-800) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Force white background for all form inputs */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* Additional specificity for form elements */
#contactForm input,
#contactForm select,
#contactForm textarea {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #333333 !important;
}

/* Override any inherited background styles */
.contact-form * {
    box-sizing: border-box;
}

.contact-form input:not([type="checkbox"]):not([type="radio"]),
.contact-form select,
.contact-form textarea {
    background-color: #ffffff !important;
    background-image: none !important;
    background: #ffffff !important;
}

.optional {
    color: var(--gray-500);
    font-weight: normal;
    font-size: 0.9rem;
}

.services-selection {
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 20px;
    background: var(--gray-100);
}

.checkbox-container {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.checkbox-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.checkbox-item:hover {
    background: rgba(12, 192, 223, 0.1);
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-400);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    background-color: #ffffff !important;
    background: #ffffff !important;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color) !important;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: var(--white) !important;
    font-weight: bold;
    font-size: 14px;
    display: block !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(12, 192, 223, 0.1);
    background-color: #ffffff !important;
    background: #ffffff !important;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 22px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(12, 192, 223, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.submit-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(12, 192, 223, 0.5);
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:active {
    transform: translateY(-1px) scale(1.01);
}

.calendar-container {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* カレンダーiframeの基本設定 */
.calendar-iframe {
    min-height: 600px;
    transition: var(--transition-normal);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-right {
    height: 300px;
}

.footer-logo {
    background: var(--white);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    height: 50px;
}

.footer-logo img {
    height: 50px;
}

.footer-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.company-details {
    display: grid;
    gap: 8px;
}

.company-details p {
    color: var(--gray-300);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.company-details i {
    color: var(--primary-color);
    width: 16px;
    font-size: 14px;
}

.company-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-normal);
}

.company-details a:hover {
    color: var(--white);
    text-decoration: underline;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    /* ヘッダーのCTAボタンを非表示 */
    .nav-contact {
        display: none;
    }
    
    /* ロゴを小さく調整 */
    .logo {
        height: 40px !important;
    }
    

    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .hero-content {
        padding: 0;
        margin: 0 auto;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title-animated {
        font-size: 2rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .hero-cta {
        margin-bottom: 40px !important;
        padding-bottom: 20px;
    }
    
    .scroll-indicator {
        bottom: 10px !important;
        position: relative !important;
        margin-top: 30px;
        clear: both;
        z-index: 1;
    }
    
    .hero {
        padding: 80px 0 60px 0 !important;
        overflow: visible !important;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        word-wrap: break-word;
    }
    
    .title-sub {
        font-size: 2rem;
    }
    
    .hero-image {
        order: -1;
        text-align: center;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .hero-image img {
        height: 250px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .problems-grid,
    .strengths-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .service-card {
        max-width: 100%;
        padding: 60px 30px 40px;
        border-radius: 15px;
        margin: 0;
        text-align: center !important;
        align-items: center !important;
    }
    
    .service-icon {
        margin: 0 auto 25px auto !important;
        text-align: center !important;
    }
        min-height: auto;
        flex: none;
    }
    
    .service-card:nth-child(2) {
        transform: none;
        margin: 0;
        box-shadow: none;
        border-radius: 0;
    }
    
    .service-card:nth-child(2):hover {
        transform: translateY(-10px);
    }
    
    .service-card:last-child {
        border-bottom: none;
    }
    
    .service-number {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 0 0 20px 20px;
    }
    
    .service-card:nth-child(1) .service-number {
        width: 90px;
        height: 45px;
    }
    
    .service-card:nth-child(2) .service-number {
        width: 100px;
        height: 50px;
        border-radius: 0 0 25px 25px;
    }
    
    .service-card:nth-child(3) .service-number {
        width: 90px;
        height: 45px;
    }
    
    .service-image {
        width: 100%;
        height: 200px;
    }
    
    .hero-stats {
        flex-direction: column !important;
        align-items: center;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .stat-item {
        width: 100%;
        max-width: 280px;
        min-width: 0;
        font-size: 0.9rem;
        text-align: center;
    }
    
    .company-image {
        width: 120px;
        height: 120px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-left {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-right {
        height: 250px;
    }
    
    .case-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    /* モバイルで浮動CTAボタンを表示 */
    .floating-cta {
        display: flex !important;
    }
    
    .floating-cta:hover {
        transform: scale(1.1);
        box-shadow: 0 12px 35px rgba(12, 192, 223, 0.5);
        color: white;
    }
    
    .floating-cta i {
        color: white;
        font-size: 1.2rem;
    }
    
    /* カレンダーセクションのスマホ最適化 */
    .calendar-section {
        padding: 60px 0;
    }
    
    .calendar-content h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .calendar-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .calendar-container {
        border-radius: 15px;
        margin: 0 -10px; /* 画面幅をフル活用 */
    }
    
    /* カレンダーiframeのスマホ最適化 */
    .calendar-container iframe {
        min-height: 800px !important; /* スマホで十分な高さを確保 */
        height: 800px !important;
    }
    
    @keyframes pulse {
        0% { box-shadow: 0 0 0 0 rgba(12, 192, 223, 0.7); }
        70% { box-shadow: 0 0 0 10px rgba(12, 192, 223, 0); }
        100% { box-shadow: 0 0 0 0 rgba(12, 192, 223, 0); }
    }
}

/* 浮動CTAボタンのベース設定 */
.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #0cc0df !important;
    border-radius: 50% !important;
    display: none;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: none;
    z-index: 10000;
    text-decoration: none !important;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-cta:hover {
    transform: scale(1.1);
    box-shadow: none;
    color: white !important;
}

.floating-cta i {
    color: white !important;
    font-size: 1.2rem;
}

/* スマートフォン専用スタイル */
@media (max-width: 768px) {
    .floating-cta {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1000 !important;
        position: fixed !important;
        bottom: 20px !important;
        right: 10px !important;
        background: transparent !important;
        box-shadow: none !important;
        pointer-events: auto !important;
        text-decoration: none !important;
    }
    
    .blue-circle {
        width: 40px;
        height: 40px;
        background: #0cc0df;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .blue-circle i {
        color: white;
        font-size: 16px;
        text-shadow: none;
        box-shadow: none;
    }
}

/* デスクトップ専用スタイル */
@media (min-width: 769px) {
    .floating-cta {
        display: none !important;
    }
    
    .hero-stats {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
    }
}

/* Form Success/Error Message Animations */
@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message, .error-message {
    animation: slideInFromTop 0.5s ease-out;
}

/* Thanks Page Styles */
.thanks-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.thanks-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.thanks-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.thanks-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.thanks-message {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 50px;
    line-height: 1.8;
}

.calendar-section {
    padding: 80px 0;
    background: var(--white);
}

.calendar-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.calendar-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.6;
}

.resources-section {
    padding: 80px 0;
    background: var(--gray-100);
}

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

.resource-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

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

.resource-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.resource-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.resource-item p {
    color: var(--gray-600);
    margin-bottom: 25px;
    line-height: 1.6;
}

.resource-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
}

/* FORCE WHITE BACKGROUND FOR FORM INPUTS - HIGHEST PRIORITY */
* input:not([type="checkbox"]):not([type="radio"]), * select, * textarea {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #000000 !important;
}

input:not([type="checkbox"]):not([type="radio"]), select, textarea {
    background-color: #ffffff !important;
    background: #ffffff !important;
    background-image: none !important;
    color: #000000 !important;
}

input:not([type="checkbox"]):not([type="radio"]):focus, select:focus, textarea:focus {
    background-color: #ffffff !important;
    background: #ffffff !important;
    background-image: none !important;
    color: #000000 !important;
}

/* Specific targeting for contact form */
.contact-form input,
.contact-form select, 
.contact-form textarea {
    background-color: #ffffff !important;
    background: #ffffff !important;
    background-image: none !important;
    color: #000000 !important;
    border: 2px solid #ddd !important;
}

/* Even more specific targeting */
#contactForm input[type="text"],
#contactForm input[type="email"], 
#contactForm input[type="tel"],
#contactForm select,
#contactForm textarea,
input[name="company"],
input[name="name"],
input[name="phone"],
input[name="email"],
select[name="prefecture"],
textarea[name="message"] {
    background-color: #ffffff !important;
    background: #ffffff !important;
    background-image: none !important;
    color: #000000 !important;
    border: 2px solid #ddd !important;
}

/* Universal override */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
    background-color: #ffffff !important;
    background: #ffffff !important;
    background-image: none !important;
}

/* Ensure checkbox functionality */
.checkbox-item {
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    cursor: pointer;
}

.checkmark {
    cursor: pointer;
}

/* Enhanced checkbox checked state */
.checkbox-item input[type="checkbox"]:checked + .checkmark {
    background-color: #0cc0df !important;
    background: #0cc0df !important;
    border-color: #0cc0df !important;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓' !important;
    color: white !important;
    font-size: 14px !important;
    font-weight: bold !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}