/* ========================================
   CSS Variables - Design System
======================================== */
:root {
    /* Colors - Classmethod Design System */
    --primary-color: #0693e3;
    --primary-dark: #0575c4;
    --primary-light: #3da8f5;
    --secondary-color: #666666;
    --accent-color: #FF5733;
    
    /* Neutral Colors */
    --gray-50: #F2F2F2;
    --gray-100: #E6E6E6;
    --gray-200: #CCCCCC;
    --gray-300: #B3B3B3;
    --gray-400: #999999;
    --gray-500: #808080;
    --gray-600: #666666;
    --gray-700: #4D4D4D;
    --gray-800: #333333;
    --gray-900: #1A1A1A;
    
    /* Semantic Colors */
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    
    /* Typography */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing - Classmethod Style */
    --spacing-xs: 0.625rem;
    --spacing-sm: 1.25rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius - Subtle Rounded */
    --radius-sm: 0.3125rem;
    --radius-md: 0.625rem;
    --radius-lg: 0.625rem;
    --radius-xl: 0.625rem;
    
    /* Shadows - Light & Subtle */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 6px 12px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 8px 16px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Container */
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 18px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: #f5f5f5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Responsive line breaks (Desktop: hide mobile breaks, show PC breaks) */
.br-mobile {
    display: none;
}

.br-pc {
    display: inline;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 0.3125rem;
}

/* Typography - Classmethod Style */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
    color: var(--gray-900);
    letter-spacing: 0.02em;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

/* ========================================
   Header & Navigation
======================================== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: #ffffff;
    box-shadow: none !important;
    border-bottom: none !important;
    border: none !important;
    z-index: 50000;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 27px 0 27px;
    gap: 4rem;
    max-width: 100%;
}

.logo {
    background: transparent;
    padding-left: 0;
    margin-left: 0;
}

.logo img {
    height: 36px;
    width: auto;
    display: block;
    max-width: 350px;
    background: transparent;
}

.logo a {
    display: inline-block;
    line-height: 1;
}

.nav-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: auto;
}

.nav-link {
    font-weight: 500;
    color: #242422 !important;
    padding: 0.5rem 0.75rem;
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 16px;
    letter-spacing: 0.75px;
    line-height: 1.7;
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    border-bottom-color: var(--primary-color);
}

.nav-link:focus,
.nav-link:active,
.nav-link:visited {
    color: #242422 !important;
    text-decoration: none;
}

.nav-link.btn-primary {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.25rem;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.75px;
    border-radius: 6px;
}

.nav-link.btn-primary:hover,
.nav-link.btn-primary:focus,
.nav-link.btn-primary:active,
.nav-link.btn-primary:visited {
    color: white !important;
}

.nav-link.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* Fixed Bottom Action Bar (Mobile Only) */
.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 998;
    display: none;
    padding: 0.5rem;
    gap: 0.5rem;
}

.bottom-bar-btn {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition-base);
}

.bottom-bar-btn i {
    font-size: 1.125rem;
}

.bottom-bar-btn span {
    font-size: 0.875rem;
}

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

.bottom-bar-btn-primary:hover,
.bottom-bar-btn-primary:active {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.bottom-bar-btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.bottom-bar-btn-secondary:hover,
.bottom-bar-btn-secondary:active {
    background: rgba(6, 147, 227, 0.05);
    transform: translateY(-2px);
}

/* Hide mobile-only elements on desktop */
.fixed-menu-btn,
.mobile-menu-overlay,
.fixed-bottom-bar {
    display: none;
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
    min-height: 50px;
}

.btn i {
    font-size: 0.875rem;
    margin-left: auto;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn-primary i {
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover i {
    transform: translateX(3px);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn-secondary::after {
    content: '→';
    margin-left: auto;
    transition: transform 0.2s ease;
    font-size: 1.125rem;
}

.btn-secondary:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-secondary:hover::after {
    transform: translateX(3px);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.25rem;
    min-height: 54px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-full i {
    margin-left: 0;
    margin-right: 0;
}

/* ========================================
   Hero Section
======================================== */
.hero {
    min-height: 487px;
    background: transparent;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 4rem 0;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 27px;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.35;
    margin-top: 2rem;
    margin-bottom: 2rem;
    color: #1A1A1A;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #1A1A1A;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

/* ========================================
   Section Styles
======================================== */
section {
    padding: 4rem 0;
}

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

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
    text-align: left;
}

.section-title.center {
    text-align: center;
}

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

/* ========================================
   News Section
======================================== */
.news {
    background: white;
    padding: 1.25rem 0;
}

.news .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: white;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    border: none;
    max-width: 1200px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #E6E6E6;
    transition: var(--transition-base);
}

.news-item:last-child {
    border-bottom: none;
}

/* News：タイトル文字だけ下線 */
.news-content a{
  text-decoration: underline;
}

.news-item:hover {
    background: rgba(6, 147, 227, 0.02);
}

.news-item:hover .news-content a {
    color: var(--primary-color);
}

.news-item:hover .news-arrow {
    transform: translateX(3px);
}

.news-category {
    font-size: 18px;
    color: #242422;
    font-weight: 700;
    letter-spacing: 0.75px;
    min-width: 90px;
    flex-shrink: 0;
}

.news-date {
    font-size: 18px;
    color: #242422;
    font-weight: 500;
    letter-spacing: 0.75px;
    min-width: 90px;
    font-family: var(--font-secondary);
    flex-shrink: 0;
    text-align: right;
}



.news-content {
    flex: 1;
}

.news-content a {
    color: #242422;
    font-weight: 500;
    letter-spacing: 0.75px;
    transition: var(--transition-fast);
    text-decoration: none;
    font-size: 18px;
}

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

.news-arrow {
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.news-item:hover .news-arrow {
    opacity: 1;
}

/* ========================================
   Challenges Section
======================================== */
.challenges {
    background: transparent;
}

.challenges-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.challenge-item {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: none;
    position: relative;
}

.challenge-check {
    color: var(--gray-800);
    font-size: 1rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
    position: absolute;
    left: 0;
}

.challenge-item .challenge-content {
    padding-left: 30px;
}

/* challenge-number removed */

.challenge-content {
    font-size: 1.375rem;
    color: var(--gray-800);
    line-height: 1.7;
    font-weight: 400;
}

.challenges-solution {
    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: 1.25rem;
    padding: 2.5rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-top: 2.5rem;
    align-items: center;
}

.solution-icon {
    width: 5rem;
    height: 5rem;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon i {
    font-size: 5rem;
    color: var(--primary-color);
    font-weight: 300;
}

.solution-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ========================================
   Services Section
======================================== */
.services {
    background: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    grid-auto-rows: 1fr;
}

.service-card {
    background: white;
    padding: 0;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    box-shadow: none;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background-color: #fafafa;
    border-color: #d0d0d0;
}

.service-icon {
    width: 20%;
    min-width: 120px;
    background: var(--primary-color);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 1.5rem;
}

.service-icon i {
    font-size: 3rem;
    color: white;
}

.service-card__body {
    flex: 1;
    padding: 1.5rem 2rem;
    padding-right: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #222;
}

.service-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Service features removed for cleaner design */

/* Service card icon color variations */
.service-card-1 .service-icon {
    background: linear-gradient(135deg, #FF9033 0%, #FF5E62 100%);
}

.service-card-2 .service-icon {
    background: linear-gradient(135deg, #FFA726 0%, #FB8C00 100%);
}

.service-card-3 .service-icon {
    background: linear-gradient(135deg, #42A5F5 0%, #1E88E5 100%);
}

.service-card-4 .service-icon {
    background: linear-gradient(135deg, #66BB6A 0%, #43A047 100%);
}

/* Services Note */
.services-note{
  background: transparent;   /* 背景色を消す */
  border: none;              /* 枠を消す */
  padding: 0;                /* 余計な箱感を消す */
  margin-top: 2.5rem;        /* 間隔だけは維持 */
  text-align: center;
}

.services-note-text{
  font-size: 1.375rem;       /* service-title と同等 */
  font-weight: 700;          /* 太字 */
  color: #222;               /* service-title と同系の黒 */
  line-height: 1.6;
}

/* ========================================
   Cases Section
======================================== */
.cases {
    background: var(--gray-50);
}

/* Cases Slider */
/* Cases Single */
.case-single {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #E6E6E6;
}

.case-header {
    padding: var(--spacing-xl);
    background: var(--gray-50);
}

.case-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

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

.case-description-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.case-description-item {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 0.9375rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.case-number {
    color: var(--primary-color);
    font-weight: 700;
    flex-shrink: 0;
}

.case-embed {
    padding: var(--spacing-xl);
    min-height: 400px;
    position: relative;
}

/* Loading Spinner for iframe */
.iframe-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    z-index: 1;
    pointer-events: none;
}

.iframe-loading p {
    margin-top: 1rem;
    color: var(--gray-600);
    font-size: 1rem;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.lazy-iframe[src] ~ .iframe-loading {
    display: none;
}

.embed-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-md);
}

.embed-placeholder i {
    font-size: 4rem;
    color: var(--gray-400);
    margin-bottom: var(--spacing-md);
}

.embed-placeholder p {
    font-size: 1.125rem;
    color: var(--gray-500);
    font-weight: 500;
    text-align: center;
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: white;
    border: 1px solid #E6E6E6;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-size: 1.25rem;
    color: var(--gray-700);
    transition: var(--transition-base);
    z-index: 10;
}

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

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition-base);
}

.slider-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* ========================================
   Blog Section
======================================== */
.blog {
    background: white;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.blog-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #242422;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.blog-view-all:hover {
    color: var(--primary-color);
}

.blog-view-all:hover .view-all-icon {
    background: var(--primary-color);
    color: white;
}

.view-all-text {
    color: inherit;
}

.view-all-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #242422;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.view-all-icon i {
    font-size: 0.75rem;
}

.blog-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--gray-200);
}

.blog-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.blog-scroll-container::-webkit-scrollbar-track {
    background: var(--gray-200);
    border-radius: 4px;
}

.blog-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.blog-grid {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    min-width: min-content;
}

.blog-card {
    flex: 0 0 320px;
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-base);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: var(--gray-200);
}

.blog-card-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #242422;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-date {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: auto;
}

.blog-loading {
    width: 100%;
    text-align: center;
    padding: 3rem;
    color: var(--gray-600);
    font-size: 1rem;
}

.blog-error {
    width: 100%;
    text-align: center;
    padding: 2rem;
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.blog-more {
    margin-top: 2.5rem;
    text-align: center;
}

/* ========================================
   Clients Section
======================================== */
.clients {
    background: white;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

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

.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid #eaeaea;
    transition: var(--transition-base);
}

.client-logo-item img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    background: white;
}

.client-logo-item:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
}

.client-logo-placeholder {
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-sm);
    color: var(--gray-400);
    font-size: 0.875rem;
    text-align: center;
}

.client-note {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-md);
    background: var(--gray-100);
    border-radius: var(--radius-md);
    text-align: center;
}

.client-note i {
    color: var(--warning-color);
    margin-right: var(--spacing-xs);
}

/* ========================================
   Company Section
======================================== */
.company {
    background: transparent;
}

.company-info {
    max-width: 900px;
    margin: 0 auto;
}

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

.company-table {
    width: 100%;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.company-table tr {
    border-bottom: 1px solid var(--gray-200);
}

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

.company-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    background: var(--gray-50);
    font-weight: 500;
    color: #242422;
    width: 200px;
    vertical-align: top;
    font-size: 18px;
    letter-spacing: 0.75px;
}

.company-table td {
    padding: 1rem 1.5rem;
    color: #242422;
    line-height: 1.8;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.75px;
}

.ceo-profile {
    margin-top: var(--spacing-2xl);
    padding: 0.3rem 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.35;
}

.ceo-profile > h3 {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-lg);
    color: #242422;
    font-weight: 700;
}

.profile-content h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: #242422;
    font-weight: 600;
}

.profile-text p {
    margin-bottom: var(--spacing-md);
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

.profile-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

.profile-links a {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    color: #242422;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-base);
}

.profile-links a:hover {
    background: #fafafa;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.profile-links i {
    font-size: 1.125rem;
}

/* ========================================
   Contact Section
======================================== */
.contact {
    background: white;
}

.contact-content {
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact intro removed */

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-feature-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.contact-feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 4px;
}

.contact-feature-item h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.contact-feature-item p {
    font-size: 0.95rem;
    color: var(--gray-600);
}

.contact-form-wrapper {
    background: white;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--gray-700);
    font-size: 0.95rem;
}

.required {
    color: var(--error-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
}

.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(37, 99, 235, 0.1);
}

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

.form-message {
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
}

.form-message.success {
    background: #d1fae5;
    border: 1px solid var(--success-color);
}

.form-message.error {
    background: #fee2e2;
    border: 1px solid var(--error-color);
}

.form-message i {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.form-message.success i {
    color: var(--success-color);
}

.form-message.error i {
    color: var(--error-color);
}

.form-message h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.form-message p {
    color: var(--gray-700);
}

/* ========================================
   Footer
======================================== */
.footer {
    background: #f5f5f5;
    color: var(--gray-800);
    padding: 1.5rem 0;
}

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

.footer-content p {
    color: var(--gray-800);
    font-size: 0.875rem;
}



/* ========================================
   Download Page
======================================== */
.download-page {
    padding: 8rem 0 var(--spacing-3xl);
    background: var(--gray-50);
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

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

.download-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.download-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
}

.download-icon i {
    font-size: 3rem;
    color: white;
}

.download-header h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.download-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.download-form-wrapper {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-xl);
}

.download-form-wrapper h2 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.form-description {
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.download-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.checkbox-group {
    margin-top: var(--spacing-sm);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-label span a {
    color: var(--primary-color);
    text-decoration: underline;
}

.download-features {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.download-features h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.download-features h3 i {
    color: var(--primary-color);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.features-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--gray-700);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.features-list li:hover {
    background: var(--gray-50);
}

.features-list i {
    color: var(--success-color);
    font-size: 1.125rem;
}

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

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    :root {
        --container-width: 960px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .company-table th {
        width: 150px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .challenges-solution {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-links {
        justify-content: center;
    }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-2xl: 3rem;
        --spacing-3xl: 4rem;
    }
    
    .container {
        padding: 0 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    body {
        overflow-x: hidden;
    }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    /* Navigation */
    .nav {
        padding: 0 1rem;
    }

    .logo {
        padding-left: 0;
    }

    .logo img {
        height: 20px;
        max-width: 50vw;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: none;
    }
    
    /* Fixed Mobile Menu Button */
    .fixed-menu-btn {
        position: fixed;
        bottom: 80px;
        left: 20px;
        width: auto;
        height: auto;
        padding: 0.625rem 0.875rem;
        border-radius: 8px;
        background: var(--primary-color);
        color: white;
        border: none;
        box-shadow: 0 4px 12px rgba(6, 147, 227, 0.4);
        font-size: 0.875rem;
        cursor: pointer;
        z-index: 1001;
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
        transition: var(--transition-base);
    }
    
    .fixed-menu-btn i {
        font-size: 1.25rem;
    }
    
    .fixed-menu-btn span {
        font-size: 0.625rem;
        font-weight: 600;
    }
    
    .fixed-menu-btn:hover {
        background: var(--primary-dark);
        transform: scale(1.05);
    }
    
    .fixed-menu-btn:active {
        transform: scale(0.95);
    }
    
    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1002;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        display: flex;
        opacity: 1;
    }
    
    .mobile-menu-content {
        background: white;
        width: 80%;
        max-width: 320px;
        height: 100%;
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .mobile-menu-overlay.active .mobile-menu-content {
        transform: translateX(0);
    }
    
    .mobile-menu-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: transparent;
        border: none;
        font-size: 1.5rem;
        color: var(--gray-800);
        cursor: pointer;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-menu-nav {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 3rem;
    }
    
    .mobile-menu-link {
        padding: 1rem;
        font-size: 1rem;
        font-weight: 500;
        color: var(--gray-800);
        text-decoration: none;
        border-radius: 8px;
        transition: var(--transition-base);
    }
    
    .mobile-menu-link:hover {
        background: var(--gray-100);
        color: var(--primary-color);
    }
    
    /* Show fixed menu button on mobile */
    .fixed-menu-btn {
        display: flex;
    }
    
    /* Show fixed bottom action bar on mobile */
    .fixed-bottom-bar {
        display: flex;
    }
    
    /* Hide desktop nav menu */
    .nav-menu {
        display: none;
    }
    
    /* Hide hero buttons on mobile */
    .hero-cta {
        display: none;
    }
    
    /* Add bottom padding to body to prevent content being hidden by fixed bar */
    body {
        padding-bottom: 70px;
    }
    
    footer {
        margin-bottom: 70px;
    }
    
    /* Hero */
    .hero {
        padding: 3rem 0 4rem;
        min-height: auto;
        height: auto;
        margin-top: 80px;
    }
    
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Sections */
    section {
        padding: var(--spacing-2xl) 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Responsive line breaks (Mobile: hide PC breaks, show mobile breaks) */
    .br-pc {
        display: none;
    }
    
    .br-mobile {
        display: inline;
    }
    
    /* News */
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem 0;
        position: relative;
    }
    
    .news-date,
    .news-category {
        min-width: auto;
        font-size: 0.75rem;
    }
    
    .news-content a {
        font-size: 0.875rem;
    }
    
    .news-arrow {
        position: absolute;
        right: 0;
        bottom: 1rem;
    }
    
    /* Challenges */
    .section-title {
        font-size: 1.375rem;
        text-align: left;
    }

    .challenge-content {
        font-size: 1rem;
        padding-left: 1.5rem;
    }
    
    .challenge-check {
        font-size: 0.875rem;
        top: 0.15rem;
    }
    
    .challenge-number {
        font-size: 1.5rem;
    }
    
    .challenges-solution {
        grid-template-columns: 1fr;
        padding: 2rem;
        text-align: center;
        gap: 1.5rem;
    }

    .solution-icon {
        margin: 0 auto;
    }

    .solution-icon i {
        font-size: 3.5rem;
    }
    
    .solution-content h3 {
        font-size: 1.125rem;
    }
    
    .solution-content p {
        font-size: 1rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-icon {
        width: 80px;
        min-width: 80px;
        height: 80px;
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .service-icon i {
        font-size: 2rem;
    }

    .service-card__body {
        padding: 1rem;
    }

    .service-title {
        font-size: 1.125rem;
    }

    .service-description {
        font-size: 0.875rem;
    }
    
    .service-card {
        padding: var(--spacing-lg);
    }
    
    /* Cases */
    .case-single {
        margin: 0;
    }

    .case-header {
        padding: 1.5rem;
    }

    .case-title {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    .case-description-item {
        font-size: 0.9375rem;
        line-height: 1.7;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .case-embed {
        padding: 0;
        margin: 0 -1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .case-embed iframe {
        height: 500px;
        min-width: 768px;
        width: 100%;
    }
    
    .embed-placeholder {
        height: 300px;
    }
    
    /* Blog */
    .blog-card {
        flex: 0 0 280px;
    }
    
    .blog-card-image {
        height: 160px;
    }
    
    .blog-card-content {
        padding: 1rem;
    }
    
    .blog-card-title {
        font-size: 1rem;
    }
    
    /* Blog */
    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .blog-view-all {
        font-size: 0.875rem;
    }
    
    /* Clients */
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .client-logo-item {
        padding: 1.5rem;
    }
    
    .client-logo-item img {
        max-width: 100%;
        max-height: 70px;
    }
    
    /* Company */
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .company-table th {
        padding-bottom: 0.25rem;
        background: transparent;
        font-weight: 600;
    }
    
    .company-table td {
        padding-top: 0.25rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--gray-200);
    }

    .company-table tr:last-child td {
        border-bottom: none;
    }
    
    .ceo-profile {
        padding: var(--spacing-lg);
    }
    
    .ceo-profile > h3 {
        font-size: 1.5rem;
    }
    
    .profile-content h4 {
        font-size: 1.125rem;
    }
    
    .profile-links {
        flex-direction: column;
    }
    
    .profile-links a {
        justify-content: center;
        width: 100%;
    }
    
    /* Contact */
    .contact-title {
        font-size: 1.75rem;
    }

    .contact-subtitle {
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
        max-width: 100%;
    }

    .form-group label {
        font-size: 0.9375rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Download Page */
    .download-page {
        padding: 6rem 0 var(--spacing-xl);
    }
    
    .download-icon {
        width: 80px;
        height: 80px;
    }
    
    .download-icon i {
        font-size: 2.5rem;
    }
    
    .download-header h1 {
        font-size: 1.75rem;
    }
    
    .download-header p {
        font-size: 1rem;
    }
    
    .download-form-wrapper {
        padding: var(--spacing-lg);
    }
    
    .download-form-wrapper h2 {
        font-size: 1.5rem;
    }
        gap: var(--spacing-xl);
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .logo img {
        height: 30px;
    }
    
    .hero {
        padding: 5rem 0 3rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .challenge-item {
        padding: var(--spacing-sm);
    }
    
    .news-item {
        padding: var(--spacing-sm);
    }
    
    .news-date {
        font-size: 0.8rem;
    }
    
    .news-category {
        font-size: 0.75rem;
        padding: 0.25rem 0.625rem;
    }
    
    .news-content a {
        font-size: 0.95rem;
    }
    
    .challenge-number {
        font-size: 1.25rem;
        min-width: 50px;
    }
    
    .challenge-content h3 {
        font-size: 1.125rem;
    }
    
    .challenges-solution {
        padding: var(--spacing-md);
    }
    
    .solution-icon {
        width: 50px;
        height: 50px;
    }
    
    .solution-icon i {
        font-size: 1.5rem;
    }
    
    .solution-content h3 {
        font-size: 1.125rem;
    }
    
    .solution-content p {
        font-size: 0.95rem;
    }
    
    .service-card {
        padding: var(--spacing-md);
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    .cases-slider-container {
        padding: 0 40px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    .case-title {
        font-size: 1.25rem;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .ceo-profile {
        padding: var(--spacing-md);
    }
    
    .profile-content h4 {
        font-size: 1rem;
    }
    
    .btn {
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem;
    }
    
    .btn-large {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
    
    .download-icon {
        width: 70px;
        height: 70px;
    }
    
    .download-icon i {
        font-size: 2rem;
    }
    
    .download-header h1 {
        font-size: 1.5rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* === News: underline should apply to TEXT only (not full-width line) === */

/* 行全体の線は消す */
.news-item{
  border-bottom: none !important;
}

/* a が横幅いっぱいになってるのを止めて、文字に下線を強制 */
.news-content a{
  display: inline !important;          /* これが重要：箱化を止める */
  width: auto !important;
  border-bottom: none !important;      /* border方式は無効化 */
  text-decoration: underline !important; /* 文字に下線 */
}

/* ========================================
   Usecases (活用事例) + Modal
======================================== */

.usecases{
  background: white;
}

.usecases-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.usecase-card{
  background: white;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.usecase-card__head{
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.usecase-tag{
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--gray-700);
  letter-spacing: 0.04em;
}

.usecase-title{
  font-size: 1.375rem;
  font-weight: 700;
  color: #222;
  margin: 0;
}

.usecase-desc{
  color: #242422;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1.25rem 0;
}

.usecase-meta{
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.usecase-price{
  font-family: var(--font-secondary);
  font-weight: 700;
  color: #222;
  font-size: 1rem;
  white-space: nowrap;
}

.usecase-btn{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  background: transparent;
  color: var(--primary-color);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.usecase-btn i{
  font-size: 0.875rem;
}

.usecase-btn:hover{
  color: var(--primary-dark);
}

/* Modal */
.usecase-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 20000;
}

.usecase-modal.is-open{
  display: block;
}

.usecase-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.usecase-modal__panel{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(920px, calc(100vw - 2rem));
  background: white;
  border-radius: 10px;
  border: 1px solid #eaeaea;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  padding: 2rem;
}

.usecase-modal__close{
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #eaeaea;
  background: white;
  cursor: pointer;
}

.usecase-modal__kicker{
  font-family: var(--font-secondary);
  font-weight: 800;
  color: var(--gray-700);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.usecase-modal__title{
  font-size: 1.75rem;
  font-weight: 800;
  color: #222;
  margin: 0 0 0.75rem 0;
}

.usecase-modal__lead{
  font-size: 1rem;
  font-weight: 500;
  color: #242422;
  line-height: 1.8;
  margin: 0 0 1.5rem 0;
}

.usecase-modal__block{
  margin-top: 1rem;
}

.usecase-modal__blockTitle{
  background: var(--gray-50);
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 800;
  color: #222;
  text-align: center;
}

.usecase-modal__blockBody{
  padding: 1rem 0.25rem;
  color: #242422;
  font-weight: 500;
  line-height: 1.8;
}

.usecase-modal__footer{
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.usecase-modal__price{
  font-family: var(--font-secondary);
  font-weight: 900;
  color: #222;
  font-size: 1.25rem;
}

.usecase-modal__cta{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-color);
  color: white !important;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.usecase-modal__cta:hover{
  background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 1024px){
  .usecases-grid{ grid-template-columns: 1fr; }
  .usecase-card{ min-height: auto; }
}


/* Hero 背景画像 */
.genspark-heroimg .hero.hero--bgimg {
  background-image: url("../images/top6.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.genspark-heroimg .hero-text {
  position: relative;
  z-index: 1;
}

/* 文字そのもの */
.genspark-heroimg .hero-title,
.genspark-heroimg .hero-subtitle {
  color: #111; /* 真っ黒にしないのがコツ */
  text-shadow: none; /* 今回は不要 */
}


/* 文字の背後に“もや” */
.genspark-heroimg .hero-text::before {
  content: "";
  position: absolute;
  inset: -22px -36px;
  background: rgba(255, 255, 255, 0.72);
  filter: blur(28px);
  border-radius: 999px;
  z-index: -1;
  pointer-events: none;
}

/* === Hero background zoom (mobile) === */
@media (max-width: 767px){
  .hero{
    background-size: 180% auto;   /* 150〜180%で好み調整 */
    background-position: center top;
  }
}


/* ファーストビューの改行 */
.br-mobile{ display:none; }

@media (max-width: 767px){
  .br-mobile{ display:block; }
}

/* === Services note text size adjust === */
@media (max-width: 767px){
  .services-note-text{
    font-size: 0.95rem;   /* 今より1段階小さく */
    line-height: 1.7;
  }
}

/* === Usecase modal size fix === */
.usecase-modal__panel{
  max-height: 90vh;      /* 画面の90%まで */
  overflow-y: auto;      /* はみ出たらスクロール */
}

@media (max-width: 767px){
  .usecase-modal__panel{
    width: calc(100vw - 1.5rem);
    padding: 1.25rem;
    border-radius: 12px;
  }
}

/* === Usecase modal typography adjust (mobile) === */
@media (max-width: 767px){
  /* 実施概要・成果イメージ：タイトル */
  .usecase-modal__blockTitle{
    font-size: 0.85rem;     /* 今より一回り小 */
    line-height: 1.4;
    margin-bottom: 0.25rem;
  }

  /* 実施概要・成果イメージ：本文 */
  .usecase-modal__blockBody{
    font-size: 0.85rem;     /* 本文も合わせて小さく */
    line-height: 1.6;
  }
}

/* === Services layout fix (mobile) === */
@media (max-width: 767px){
  .service-card{
    flex-direction: row;        /* 横並びに戻す */
    align-items: flex-start;
    text-align: left;
    padding: 1rem;
    gap: 1rem;
  }

  .service-icon{
    margin-bottom: 0;           /* 無駄な下余白を消す */
    flex-shrink: 0;
  }

  .service-card__body{
    padding: 0;                 /* 余白を詰める */
  }

  .service-title{
    font-size: 1rem;            /* モバイル用に少し抑える */
    margin-bottom: 0.25rem;
  }

  .service-description{
    font-size: 0.875rem;
    line-height: 1.6;
  }
}

@media (max-width: 767px){
  .service-card{
    align-items: stretch; /* カードと同じ高さにする */
  }

  .service-icon{
    width: 64px;
    height: auto;         /* 正方形を解除 */
    aspect-ratio: unset; /* 正方形縛りがあれば解除 */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
  }

  .service-icon i{
    font-size: 1.5rem;
  }
}

/* フッター固定ボタン：初期は隠す */
.fixed-bottom-bar{
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

/* 表示状態 */
.fixed-bottom-bar.is-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 資料ダウンロードを一時非表示 */
.fixed-bottom-bar .bottom-bar-btn-secondary{
  display: none !important;
}

/* お問い合わせを中央寄せ */
.fixed-bottom-bar{
  justify-content: center !important;
}
.fixed-bottom-bar .bottom-bar-btn-primary{
  width: min(520px, 92vw);
  justify-content: center;
}

/* PC：hero内CTAを「1ボタン・元幅・中央」にする */
.genspark .hero-cta{
  display: block !important;   /* flexをやめる */
  text-align: center;          /* 中央寄せの基準 */
}

/* 資料DLは非表示のまま */
.genspark .hero-cta .btn-secondary{
  display: none !important;
}

/* お問い合わせボタンは元の幅を維持 */
.genspark .hero-cta .btn-primary{
  display: inline-block;       /* 横幅を中身基準に */
  width: auto !important;      /* 520px指定などを殺す */
}