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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #ffffff;
    color: #1f2937;
    line-height: 1.6;
    overflow-x: hidden;
}

.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ai-gradient {
    color: #0056B2;
    font-weight: 700;
}

.card-hover {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(2, 129, 197, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.3);
    border-color: rgba(245, 158, 11, 0.5);
}

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

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

.pulse-animation {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hidden-iframe {
    display: none;
    visibility: hidden;
}

.highlight-orange {
    color: #f59e0b;
}

.highlight-cyan {
    color: #06b6d4;
}

.flow-image {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

.gradient-section {
    background: linear-gradient(135deg, #003d82 0%, #0056B2 100%) !important;
}

.form-container {
    max-width: 100%;
    margin: 0 auto;
}

.form-iframe {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: block;
}

@media (max-width: 768px) {
    .form-iframe {
        height: 1800px;
    }
}

.ai-pattern {
    background: #f1f5f9;
}

.step-connector {
    position: relative;
}

.step-connector::after {
    content: '→';
    position: absolute;
    top: 50%;
    right: -30px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-size: 24px;
    font-weight: bold;
    transform: translateY(-50%);
    z-index: 2;
}

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

.animated-border {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2px;
}

.animated-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    background: #0056B2;
    z-index: -1;
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section {
    background: url('../images/hero_background.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 40vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 3rem 0;
}


.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-content h1,
.hero-content p,
.hero-content span {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-title {
    position: relative;
    display: block !important;
    margin-bottom: 2rem;
    text-align: center !important;
}

.section-title::after {
    display: none;
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f59e0b;
    transition: width 0.3s ease;
}

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

.trouble-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(2, 129, 197, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.trouble-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.3);
    border-color: rgba(245, 158, 11, 0.4);
}

.trouble-card-new {
    background: #ffffff;
    border-left: 6px solid #0056B2;
    border-radius: 0;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.trouble-card-new:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
    border-left-color: #f59e0b;
}

.trouble-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trouble-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.trouble-content {
    flex: 1;
}

.trouble-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.trouble-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.trouble-card img {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
}

.strength-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(2, 129, 197, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.strength-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.3);
    border-color: rgba(245, 158, 11, 0.4);
}

.strength-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    background: #f59e0b;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    color: white;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.strength-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: 50%;
}

.strength-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 4px solid rgba(0, 86, 178, 0.7);
    border-radius: 0;
    padding: 1.5rem 2.5rem;
    text-align: left;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.strength-card h3 {
    padding-bottom: 0.5rem;
    text-align: center;
}

.underline-text {
    position: relative;
    display: inline-block;
}

.underline-text::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    right: 0;
    height: 6px;
    background: #f59e0b;
    z-index: -1;
}

.strength-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
}

.strength-card .strength-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    margin: 0 auto 1.5rem;
    font-size: 20px;
}

.flow-step {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 58, 138, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.flow-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
}

.flow-step::before {
    display: none;
}

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

.flow-step-new {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 58, 138, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.flow-step-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
}

.flow-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.flow-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #0056B2;
    padding: 1rem;
    border-radius: 15px 15px 0 0;
    margin: -2rem calc(-2rem - 1px) 0 calc(-2rem - 1px);
    width: calc(100% + 4rem + 2px);
}

.flow-number {
    color: white;
    font-size: 1.125rem;
    font-weight: bold;
}

.flow-image-placeholder {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.flow-image-placeholder img {
    margin: 0;
    padding: 0;
}

.flow-description {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.5;
    text-align: left;
    margin: 0;
    width: 100%;
}
}

.case-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 58, 138, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.3);
    border-color: rgba(245, 158, 11, 0.4);
}

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

.output-example {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 58, 138, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.output-example li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.output-example li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: bold;
}

.footer-section {
    background: #0056B2;
    border-top: 1px solid rgba(2, 129, 197, 0.3);
    padding: 3rem 0;
    color: #ffffff;
}

.btn-primary {
    background: #f59e0b;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
    color: white;
}

.about-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 58, 138, 0.2);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.recruit-section {
    background: #f0f9ff;
    border: 1px solid rgba(2, 129, 197, 0.2);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pricing-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 58, 138, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    overflow: visible;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
}

.pricing-card.recommended {
    border: 2px solid rgba(245, 158, 11, 0.5);
    background: rgba(245, 158, 11, 0.08);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #f59e0b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: bold;
}

.pricing-header {
    margin-bottom: 2rem;
}

.price {
    margin: 1rem 0;
}

.pricing-features {
    flex: 1;
    margin-bottom: 2rem;
}

.pricing-features ul {
    text-align: left;
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.pricing-footer {
    margin-top: auto;
}

.btn-outline {
    background: transparent;
    color: #0056B2;
    border: 2px solid #0056B2;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: #0056B2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(2, 129, 197, 0.4);
}

/* Tab Navigation Styles */
.tab-button {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 0.25rem;
}

.tab-button.active {
    background: #f59e0b;
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.tab-button:hover:not(.active) {
    color: #0056B2;
    background: rgba(2, 129, 197, 0.1);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

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

/* Set Proposal Card Styles */
.set-proposal-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 58, 138, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.set-proposal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.3);
    border-color: rgba(245, 158, 11, 0.4);
}

.set-proposal-header {
    margin-bottom: 1.5rem;
}

.set-proposal-name {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #0056B2;
}

.set-proposal-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.set-proposal-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #fff7ed;
    border-radius: 10px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.workload {
    font-size: 0.875rem;
    color: #0056B2;
    font-weight: 600;
}

.set-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f59e0b;
}

.set-proposal-features {
    flex: 1;
    margin-bottom: 1.5rem;
}

.set-proposal-features ul {
    list-style: none;
    padding: 0;
}

.set-proposal-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
}

.set-proposal-features li::before {
    content: '✓';
    color: #f59e0b;
    font-weight: bold;
    margin-right: 0.5rem;
    margin-top: 0.1rem;
}

.set-proposal-footer {
    margin-top: auto;
    text-align: center;
}

/* Options Section Styles */
.option-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(30, 58, 138, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.option-item:hover {
    background: #fff7ed;
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateX(5px);
}

.option-target {
    font-size: 0.875rem;
    color: #0056B2;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.option-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.option-name {
    font-weight: 500;
    flex: 1;
    min-width: 200px;
}

.option-price {
    font-weight: bold;
    color: #f59e0b;
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .hero-section {
        min-height: 45vh;
        background-attachment: scroll;
        padding: 9rem 0 3rem 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        background-attachment: scroll;
        padding: 8rem 0 3rem 0;
    }
    
    .trouble-card {
        padding: 1.5rem;
    }
    
    .strength-item {
        padding: 1.5rem;
    }
    
    .flow-step::before {
        display: none;
    }
    
    .step-connector::after {
        display: none;
    }

    .tab-button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .set-proposal-card {
        padding: 1.5rem;
    }

    .set-proposal-meta {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .option-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .option-name {
        min-width: auto;
    }
}

/* セクション背景色の設定 - 交互に配置 */

/* 白背景のセクション */
#strengths {
    background: #ffffff;
    padding: 3rem 0 !important;
}

/* グレー背景のセクション */
#problems {
    background: #f1f5f9;
    padding: 3rem 0 !important;
}

/* 白背景のセクション */
#solutions {
    background: #ffffff;
}

/* 薄いブルー背景のセクション */
#pricing {
    background: #ffffff;
    padding: 3rem 0 !important;
}

/* 白背景のセクション */
#contact {
    background: #ffffff;
}

/* ナビゲーション調整 */
nav {
    background: rgba(255, 255, 255, 0.95) !important;
}