/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', Meiryo, sans-serif;
    font-size: 1.6rem;
    line-height: 1.7;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   2. CSS VARIABLES
   ========================================================================== */
:root {
    /* カラーパレット */
    --color-primary: #0F3B6F;
    --color-secondary: #617485;
    --color-accent: #3C89C8;
    --color-light: #F5F7FA;
    --color-white: #FFFFFF;
    --color-black: #333333;
    --color-error: #DE3618;
    --color-success: #28A745;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    --color-lighter: #f1f5f9;
    --color-border: #e2e8f0;
    
    /* フォントサイズ */
    --font-xs: 1.2rem;
    --font-sm: 1.4rem;
    --font-md: 1.6rem;
    --font-lg: 1.8rem;
    --font-xl: 2.0rem;
    --font-2xl: 2.4rem;
    --font-3xl: 3.0rem;
    --font-4xl: 3.6rem;
    --font-5xl: 4.8rem;
    
    /* スペーシング */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    /* コンテナ幅 */
    --container-max-width: 1200px;
    --container-padding: 2rem;
    
    /* ブレイクポイント */
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    
    /* z-index階層管理 */
    --z-back: -1;
    --z-normal: 1;
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
    
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   3. UTILITY CLASSES
   ========================================================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0rem 2rem 2rem 2rem;
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.4rem;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    gap: 0.8rem;
    white-space: nowrap;
}

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

.btn--primary:hover {
    background: #0a2b50;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

.btn--large {
    padding: 1.6rem 3.2rem;
    font-size: 1.8rem;
}

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

.btn--warning:hover {
    background: #d97706;
}

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

.btn--accent:hover {
    background: #2e6da3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(60, 137, 200, 0.2);
}

/* Typography */
.section-title {
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--color-black);
    text-align: center;
    margin-bottom: 1.6rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 2rem;
    color: var(--color-secondary);
    text-align: center;
    margin-bottom: 4rem;
    line-height: 1.4;
    padding: 1rem 2rem 1rem 2rem;
}

.section-subtitle-price {
    font-size: 2rem;
    color: var(--color-secondary);
    text-align: center;
    margin-bottom: 0rem;
    line-height: 1.4;
    padding: 1rem 2rem 1rem 2rem;
}

.section-label {
    font-size: var(--font-4xl);
    color: var(--color-accent);
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 0rem 2rem 1rem 2rem;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 2px;
    background-color: var(--color-accent);
    margin-right: 1rem;
    vertical-align: middle;
}

.section-label::after {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 2px;
    background-color: var(--color-accent);
    margin-left: 1rem;
    vertical-align: middle;
}

.section-label + .section-title {
    margin-top: 1rem;
}

.badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--color-warning);
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 1rem;
}

/* ==========================================================================
   4. HEADER STYLES
   ========================================================================== */
.header__service {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 2rem;
}

.header__service-name {
    font-size: var(--font-5X);
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
}

.header__service-type {
    font-size: var(--font-md);
    color: var(--color-secondary);
    font-weight: 500;
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
   .hero {
    padding: 12rem 0 8rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a4670 50%, var(--color-accent) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 4rem;
    align-items: center;
    max-width: 80%;
    margin: 0 auto;
}

.hero__text {
    max-width: 56rem;
}

.hero__badge {
    background: rgba(245, 158, 11, 0.9);
    color: var(--color-white);
    padding: 0.8rem 1.6rem;
    border-radius: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: inline-block;
}

.hero__title {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero__subtitle {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.4;
}

.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.hero__cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 450px;
}

.hero__card {
    background: var(--color-white);
    color: var(--color-black);
    padding: 0.8rem; /* 70% of 3rem */
    border-radius: 20px; /* 70% of 20px */
    box-shadow: 0 14px 21px rgba(0, 0, 0, 0.15); /* 70% of original values */
    text-align: center;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 196px; /* 70% of 280px */
}

.hero__card:nth-child(2) {
    transform: rotate(2deg);
}

.hero__card:nth-child(3) {
    transform: rotate(-1deg);
}

.hero__card:nth-child(4) {
    transform: rotate(1deg);
}

.hero__card:hover {
    transform: rotate(0deg) scale(1.05);
}

.hero__card p {
    font-size: 1.12rem; /* 70% of 1.6rem */
}

.hero__badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero__small-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: var(--font-sm);
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hero__small-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.hero__small-badge i {
    font-size: var(--font-sm);
    color: var(--color-accent);
}

.hero__small-badge span {
    white-space: nowrap;
}

.hero__card:hover .hero__card-image {
    transform: scale(1.05);
}

/* 既存のiconスタイルを調整 */
.hero__card-icon {
width: 100%;
height: 150px; /* 100px → 150px に変更 */
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
/* ==========================================================================
   6. PROBLEMS SECTION
   ========================================================================== */
.problems {
    padding: var(--space-2xl) 0;
    background: var(--color-light);
}

.problems__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.problem-card {
    background: var(--color-white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    text-align: center;
    border-top: 4px solid var(--color-danger);
}

.problem-card__icon {
    font-size: 4rem;
    color: var(--color-danger);
    margin-bottom: 2rem;
}

.problem-card__title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 1.5rem;
}

.problem-card__text {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.problem-card__stat {
    font-size: 1.4rem;
    color: var(--color-danger);
    font-weight: 600;
}

/* ==========================================================================
   7. SOLUTION SECTION
   ========================================================================== */
.solution {
    padding: var(--space-2xl) 0;
    background: var(--color-white)!important;
}

.solution__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin: 4rem 0;
}

.feature-card {
    text-align: center;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    background: var(--color-lighter);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card__icon {
    width: 8rem;
    height: 8rem;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    margin: 0 auto 2rem;
}

.feature-card__title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 1.5rem;
}

.feature-card__text {
    color: var(--color-secondary);
}

/* feature-cardのリストスタイル */
.feature-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-card__list li {
    color: var(--color-secondary);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.feature-card__list li:last-child {
    margin-bottom: 0;
}

.feature-card__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.2em;
}

/* ==========================================================================
   8. HOW IT WORKS SECTION
   ========================================================================== */
.how-it-works {
    padding: var(--space-2xl) 0;
    background: var(--color-white)!important;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 4rem;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--color-border);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step__number {
    width: 8rem;
    height: 8rem;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 auto 2rem;
    box-shadow: var(--box-shadow);
}

.step__title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 1rem;
}

.step__text {
    color: var(--color-secondary);
    font-size: 1.4rem;
}

.steps-details {
    margin-top: 4rem;
    background: var(--color-white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 12px rgba(--color-black, 0.08);
}

.steps-detail-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}

.steps-detail-row:last-child {
    margin-bottom: 0;
}

.steps-detail-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    font-size: var(--font-md);
    padding-top: 0.5rem;
}

.steps-detail-label i {
    font-size: var(--font-lg);
    color: var(--color-accent);
    width: 20px;
    text-align: center;
}

.steps-detail-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.steps-detail-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: transparent;
    z-index: 1;
}

.detail-item {
    background: var(--color-light);
    padding: 1.2rem;
    border-radius: 8px;
    text-align: center;
    font-size: var(--font-sm);
    color: var(--color-secondary);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-item:hover {
    border-color: var(--color-accent);
    background: rgba(60, 137, 200, 0.05);
    transform: translateY(-2px);
}

.steps-detail-row:nth-child(1) .detail-item {
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(60, 137, 200, 0.1);
}

.steps-detail-row:nth-child(2) .detail-item {
    min-height: 70px;
    line-height: 1.3;
}

.steps-cta {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(15, 59, 111, 0.1);
    transition: all 0.3s ease;
}

.steps-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 59, 111, 0.1);
}

.steps-cta__title {
    font-size: var(--font-2xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.steps-cta__text {
    font-size: var(--font-md);
    color: var(--color-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.steps-cta .btn {
    box-shadow: 0 4px 15px rgba(15, 59, 111, 0.2);
}

.steps-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 59, 111, 0.3);
}

/* ==========================================================================
   9. FEATURES DETAIL SECTION
   ========================================================================== */
.features-detail {
    padding: var(--space-2xl) 0;
    background: var(--color-light);
}

.features-detail__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 4rem;
}

.detail-card {
    display: flex;
    gap: 2rem;
    padding: 3rem;
    background: var(--color-lighter);
    border-radius: var(--border-radius-lg);
}

.detail-card__icon {
    width: 6rem;
    height: 6rem;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    flex-shrink: 0;
}

.detail-card__content h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 1rem;
}

.detail-card__content p {
    color: var(--color-secondary);
}

/* ==========================================================================
   10. PRICING SECTION
   ========================================================================== */
.pricing {
    padding: var(--space-2xl) 0;
    background: var(--color-white)!important;
}

.pricing-table {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin: 4rem 0;
}

.pricing-table__header {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 2rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
}

.pricing-table__row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    border-bottom: 1px solid var(--color-border);
}

.pricing-table__cell {
    padding: 2rem;
    text-align: center;
    border-right: 1px solid var(--color-border);
}

.pricing-table__cell:last-child {
    border-right: none;
}

.pricing-table__cell--header {
    background: var(--color-lighter);
    font-weight: 600;
    color: var(--color-black);
}

.pricing-table__price {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-primary);
}

.pricing__note {
    text-align: center;
    font-weight: 600;
    color: var(--color-success);
    font-size: 1.8rem;
}

/* ==========================================================================
   11. COMPARISON SECTION
   ========================================================================== */
.comparison {
    padding: var(--space-2xl) 0;
    background: var(--color-light)!important;
}

.comparison-table {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin: 4rem 0;
}

.comparison-table__header {
    background: var(--color-black);
    color: var(--color-white);
    padding: 2rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
}

.comparison-table__row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.comparison-table__cell {
    padding: 2rem;
    text-align: center;
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.comparison-table__cell:last-child {
    border-right: none;
}

.comparison-table__cell--header {
    background: var(--color-lighter);
    font-weight: 600;
    color: var(--color-black);
}

.comparison-table__cell--highlight {
    background: #ecfdf5;
    color: var(--color-success);
    font-weight: 600;
}

.comparison-table__cell--negative {
    background: #fef2f2;
    color: var(--color-danger);
}

/* ==========================================================================
   12. SERVICE FLOW SECTION
   ========================================================================== */
.service-flow {
    padding: var(--space-2xl) 0;
    background: var(--color-white)!important;
}

.flow-steps {
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.flow-step {
    display: grid;
    grid-template-columns: 60px 1fr 80px;
    gap: 2rem;
    align-items: flex-start;
    background: var(--color-white);
    padding: 3rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.flow-step::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 2rem;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
}

.flow-step:last-child::after {
    display: none;
}

.flow-step__number {
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-lg);
    font-weight: 700;
    margin-top: 0.5rem;
}

.flow-step__content {
    min-width: 0;
}

.flow-step__title {
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
}

.flow-step__tag {
    display: inline-block;
    background: linear-gradient(45deg, var(--color-accent), #5ba3d4);
    color: var(--color-white);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: var(--font-sm);
    font-weight: 500;
    margin-bottom: 1rem;
}

.flow-step__text {
    color: var(--color-secondary);
    line-height: 1.6;
    font-size: var(--font-sm);
}

.flow-step__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
}

.flow-step__icon i {
    font-size: 2rem;
    color: var(--color-accent);
}

.flow-cta {
    margin-top: 4rem;
    background: linear-gradient(135deg, #e8f4fd, #f0f8ff);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(60, 137, 200, 0.1);
}

.flow-cta__highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.flow-cta__highlight i {
    font-size: 2rem;
    color: var(--color-accent);
}

.flow-cta__highlight h3 {
    font-size: var(--font-xl);
    color: var(--color-primary);
    margin: 0;
}

.flow-cta__text {
    color: var(--color-secondary);
    margin-bottom: 2rem;
    font-size: var(--font-md);
    line-height: 1.6;
}

/* ==========================================================================
   13. USE CASES SECTION
   ========================================================================== */
.use-cases {
    padding: var(--space-2xl) 0;
    background: var(--color-light)!important;
}

.use-cases .section-title .highlight {
    color: var(--color-accent);
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    text-underline-offset: 8px;
    text-decoration-thickness: 3px;
}

.use-cases__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.use-case-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.use-case-card__image {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    height: 120px;
    align-items: center;
}

.use-case-card__illustration {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-accent), #5ba3d4);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(60, 137, 200, 0.3);
}

.use-case-card__illustration i {
    font-size: 3rem;
    color: var(--color-white);
}

.use-case-card__tag {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: var(--font-sm);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.use-case-card__title {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.use-case-card__text {
    color: var(--color-secondary);
    font-size: var(--font-sm);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.use-case-card__roi {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--color-success);
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-radius: 8px;
    border: 2px solid rgba(40, 167, 69, 0.2);
}

/* Different colors for each card */
.use-case-card:nth-child(1) .use-case-card__illustration {
    background: linear-gradient(135deg, #ff6b35, #ff8566);
}

.use-case-card:nth-child(1) .use-case-card__tag {
    background: #ff6b35;
}

.use-case-card:nth-child(2) .use-case-card__illustration {
    background: linear-gradient(135deg, #4ecdc4, #6ee6dd);
}

.use-case-card:nth-child(2) .use-case-card__tag {
    background: #4ecdc4;
}

.use-case-card:nth-child(3) .use-case-card__illustration {
    background: linear-gradient(135deg, var(--color-accent), #5ba3d4);
}

.use-case-card:nth-child(3) .use-case-card__tag {
    background: var(--color-accent);
}

/* ==========================================================================
   14. CTA SECTION
   ========================================================================== */
.cta {
    padding: var(--space-3xl) 0;
    background: var(--color-white)!important;
    color: var(--color-primary);
    text-align: center;
}

.cta__title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.cta__subtitle {
    font-size: 2rem;
    margin-bottom: 4rem;
    opacity: 0.9;
}

.cta__badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0 4rem;
    flex-wrap: wrap;
}

.cta__badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--color-white);
    color: var(--color-primary);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: var(--font-sm);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(15, 59, 111, 0.1);
    transition: all 0.3s ease;
}

.cta__badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--color-accent);
}

.cta__badge i {
    font-size: var(--font-sm);
    color: var(--color-accent);
    width: 16px;
    text-align: center;
}

.cta__badge span {
    white-space: nowrap;
}

/* ==========================================================================
   15. RESPONSIVE STYLES
   ========================================================================== */

/* Desktop 1024px */
@media (max-width: 1024px) {            
    .hero__content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero__visual {
        justify-content: center;
        min-height: 250px;
    }

    .hero__main-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero__title {
        font-size: var(--font-4xl);
    }

    .solution__features {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .steps::before {
        display: none;
    }
    
    .features-detail__grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases__grid {
        grid-template-columns: 1fr;
    }

    .steps-detail-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .steps-detail-label {
        justify-content: center;
        margin-bottom: 1rem;
        padding-top: 0;
    }
    
    .steps-detail-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .steps-detail-content::before {
        display: none;
    }
}

/* Tablet 768px */
@media (max-width: 768px) {
    .header__service {
        display: none;
    }

    .hero__content {
        max-width: 90%;
    }
    
    .hero__title {
        font-size: var(--font-3xl);
        padding: 0 1rem;
    }

    .hero__visual {
        min-height: 200px;
    }
    
    .hero__card {
        max-width: 240px;
        padding: 0.8rem;
    }
    
    .hero__card--large {
        max-width: 240px;
        padding: 1rem;
    }
    
    .btn--hero {
        padding: 1.5rem 3rem;
        font-size: var(--font-lg);
    }

    .hero__badges {
        justify-content: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .hero__small-badge {
        padding: 0.6rem 1.2rem;
        font-size: var(--font-xs);
    }

    .problems__grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .pricing-table__row,
    .comparison-table__row {
        grid-template-columns: 1fr;
    }
    
    .pricing-table__cell,
    .comparison-table__cell {
        border-right: none;
    }

    .cta__badges {
        gap: 1.5rem;
        margin: 2.5rem 0 3rem;
    }
    
    .cta__badge {
        padding: 0.8rem 1.5rem;
        font-size: var(--font-xs);
    }
    
    .cta__badge i {
        font-size: var(--font-xs);
    }

    /* Googleフォーム モバイル調整 */
    .google-form-container {
        margin: 0 -2rem;
        border-radius: 0;
    }

    .google-form-container iframe {
        height: 1400px;
    }

    .flow-step {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        padding: 2rem;
    }
    
    .flow-step__number,
    .flow-step__icon {
        margin: 0 auto;
    }
    
    .flow-step__content {
        order: 2;
    }
    
    .flow-step__icon {
        order: 3;
    }
    
    .flow-cta {
        padding: 2rem;
    }
    
    .flow-cta__highlight {
        flex-direction: column;
        gap: 0.5rem;
    }

    .use-cases__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .use-case-card {
        padding: 2.5rem;
    }
    
    .use-case-card__image {
        height: 100px;
    }
    
    .use-case-card__illustration {
        width: 80px;
        height: 80px;
    }
    
    .use-case-card__illustration i {
        font-size: 2.5rem;
    }

    .steps-details {
        padding: 2rem;
        margin-top: 3rem;
    }
    
    .steps-detail-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .detail-item {
        padding: 1rem;
        font-size: var(--font-xs);
        min-height: 50px;
    }
    
    .steps-detail-row:nth-child(2) .detail-item {
        min-height: 60px;
    }

    .steps-cta {
        padding: 2.5rem 2rem;
        margin-top: 3rem;
    }
    
    .steps-cta__title {
        font-size: var(--font-xl);
    }
    
    .steps-cta__text {
        font-size: var(--font-sm);
    }

    .feature-card__list li {
        font-size: var(--font-sm);
        padding-left: 1.5rem;
    }
}

/* Mobile 576px */
@media (max-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero {
        padding: 10rem 0 6rem;
    }
    
    .hero__title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }

    .hero__badges {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .hero__small-badge {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }

    .cta__badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .cta__badge {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Googleフォーム 極小画面対応 */
    .google-form-container {
        margin: 0 -1.5rem;
    }

    .google-form-container iframe {
        height: 1600px;
    }

    .steps-detail-label {
        font-size: var(--font-sm);
    }
    
    .steps-detail-label i {
        font-size: var(--font-md);
    }
}

/* ==========================================================================
CONTACT FORM STYLES
========================================================================== */

.contact-form-container {
background: var(--color-white);
border-radius: var(--border-radius-lg);
box-shadow: var(--box-shadow-lg);
margin: 0 auto;
max-width: 70rem;
padding: 4rem;
position: relative;
}

.contact-form-container::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
z-index: 2;
}

.contact-form {
width: 100%;
}

.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
margin-bottom: 2rem;
}

.form-group {
margin-bottom: 2rem;
}

.form-label {
display: block;
font-size: 1.6rem;
font-weight: 600;
color: var(--color-black);
margin-bottom: 0.8rem;
line-height: 1.4;
}

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

.form-input,
.form-select,
.form-textarea {
width: 100%;
padding: 1.2rem 1.6rem;
border: 2px solid var(--color-border);
border-radius: var(--border-radius);
font-size: 1.6rem;
font-family: inherit;
transition: all 0.3s ease;
background-color: var(--color-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
outline: none;
border-color: var(--color-accent);
box-shadow: 0 0 0 3px rgba(60, 137, 200, 0.1);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
border-color: var(--color-error);
box-shadow: 0 0 0 3px rgba(222, 54, 24, 0.1);
}

.form-textarea {
resize: vertical;
min-height: 10rem;
}

.form-select {
cursor: pointer;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 2h12z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 1.6rem center;
background-size: 1.2rem;
padding-right: 4rem;
appearance: none;
}

.error-message {
display: block;
color: var(--color-error);
font-size: 1.4rem;
margin-top: 0.5rem;
min-height: 2rem;
line-height: 1.4;
}

.form-error-container {
background: #fef2f2;
border: 1px solid var(--color-error);
border-radius: var(--border-radius);
padding: 1.5rem;
margin-bottom: 2rem;
color: var(--color-error);
font-size: 1.4rem;
line-height: 1.6;
}

.recaptcha-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
}

.form-buttons {
text-align: center;
margin-top: 3rem;
}

.form-submit-btn {
position: relative;
min-width: 25rem;
transition: all 0.3s ease;
}

.form-submit-btn:disabled {
opacity: 0.7;
cursor: not-allowed;
transform: none;
}

.btn-loading {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

.form-submitting {
opacity: 0.6;
pointer-events: none;
}

/* ==========================================================================
RESPONSIVE STYLES
========================================================================== */

@media (max-width: 768px) {
.contact-form-container {
margin: 0 -2rem;
border-radius: 0;
padding: 3rem 2rem;
}

.contact-form-container::before {
border-radius: 0;
}

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

.form-group {
margin-bottom: 2rem;
}

.form-buttons {
margin-top: 2rem;
}

.form-submit-btn {
width: 100%;
min-width: auto;
}
}

@media (max-width: 576px) {
.contact-form-container {
margin: 0 -1.5rem;
padding: 2.5rem 1.5rem;
}

.form-label {
font-size: 1.5rem;
}

.form-input,
.form-select,
.form-textarea {
font-size: 1.5rem;
padding: 1rem 1.4rem;
}

.error-message {
font-size: 1.3rem;
}
}

/* ==========================================================================
AI GALLERY SECTION
========================================================================== */
.ai-gallery {
padding: var(--space-2xl) 0;
background: var(--color-light);
}

.ai-gallery__grid {
margin-top: 4rem;
display: flex;
flex-direction: column;
gap: 4rem;
}

.gallery-category {
background: var(--color-white);
border-radius: var(--border-radius-lg);
padding: 3rem;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
transition: all 0.3s ease;
}

.gallery-category:hover {
transform: translateY(-4px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.gallery-category__header {
margin-bottom: 2.5rem;
text-align: center;
}

.gallery-category__title {
font-size: var(--font-xl);
font-weight: 600;
color: var(--color-primary);
margin-bottom: 0.8rem;
}

.gallery-category__desc {
font-size: var(--font-sm);
color: var(--color-secondary);
margin: 0;
}

.gallery-samples {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
justify-items: center;
}

.sample-item {
text-align: center;
transition: all 0.3s ease;
}

.sample-item:hover {
transform: translateY(-3px);
}

.sample-item__image {
width: 180px;
height: 150px;
margin: 0 auto 1rem;
border-radius: var(--border-radius);
overflow: hidden;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
background: var(--color-white);
display: flex;
align-items: center;
justify-content: center;
}

.sample-item__image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}

.sample-item:hover .sample-item__image img {
transform: scale(1.05);
}

.sample-item__label {
font-size: var(--font-sm);
font-weight: 500;
color: var(--color-black);
margin: 0;
}

/* CTA部分 */
.ai-gallery__cta {
margin-top: 5rem;
text-align: center;
background: linear-gradient(135deg, #f8fafc, #e2e8f0);
padding: 4rem 3rem;
border-radius: var(--border-radius-lg);
border: 4px solid rgba(15, 59, 111, 0.1);
}

.ai-gallery__cta-title {
font-size: var(--font-2xl);
font-weight: 700;
color: var(--color-primary);
margin-bottom: 1.5rem;
}

.ai-gallery__cta-text {
font-size: var(--font-md);
color: var(--color-secondary);
margin-bottom: 2.5rem;
line-height: 1.6;
}

.ai-gallery__cta-text strong {
color: var(--color-accent);
font-weight: 700;
}

.ai-gallery__cta-btn {
box-shadow: 0 4px 15px rgba(15, 59, 111, 0.2);
transition: all 0.3s ease;
}

.ai-gallery__cta-btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(15, 59, 111, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
.ai-gallery__grid {
gap: 3rem;
}

.gallery-category {
padding: 2.5rem 2rem;
}

.gallery-samples {
grid-template-columns: 1fr;
gap: 2rem;
}

.sample-item__image {
width: 180px;
height: 150px;
}

.ai-gallery__cta {
padding: 3rem 2rem;
margin-top: 4rem;
}

.ai-gallery__cta-title {
font-size: var(--font-xl);
}

.ai-gallery__cta-text {
font-size: var(--font-sm);
}
}

@media (max-width: 576px) {
.gallery-category {
padding: 2rem 1.5rem;
}

.sample-item__image {
width: 180px;
height: 150px;
}

.ai-gallery__cta {
padding: 2.5rem 1.5rem;
}
}