/*
Theme Name: STARTUP SUPPORT PRO
Description: 株式会社HAS A HEARTのSTARTUP SUPPORT PRO公式WordPressテーマ。スタートアップ・中小企業向けバックオフィス支援サービスのプロフェッショナルなデザイン。
Author: HAS A HEART
Version: 1.0
Text Domain: startup-support-pro
*/

/* Custom CSS for STARTUP SUPPORT PRO WordPress Theme */

:root {
    --primary-color: #3D9970;
    --primary-dark: #2E7D5A;
    --primary-light: #E8F5F0;
    --text-dark: #333333;
    --text-muted: #666666;
    --background-light: #F8F9FA;
    --white: #FFFFFF;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Global Styles */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.text-primary {
    color: var(--primary-color) !important;
}

/* Navigation */
.navbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: -0.25rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    color: var(--text-dark);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.hero-buttons .btn {
    margin-bottom: 1rem;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    padding: 4rem 0;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* Feature Cards */
.features-section {
    padding: 5rem 0;
}

.feature-card {
    background: var(--white);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--shadow-lg);
}

.feature-header {
    margin-bottom: 1.5rem;
}

.feature-number {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

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

/* Support Areas */
.support-areas-section {
    padding: 5rem 0;
    background: var(--background-light);
}

.support-area-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.support-area-card:hover {
    transform: translateY(-0.25rem);
}

.support-icon {
    margin-bottom: 1.5rem;
}

.support-area-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Service Cards */
.services-overview {
    padding: 5rem 0;
}

.service-card {
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-0.25rem);
}

.service-header {
    background: var(--primary-light);
    padding: 1.5rem;
    border-bottom: 1px solid var(--primary-color);
}

.service-tag {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.service-content {
    padding: 1.5rem;
}

.price-info {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Contact Form */
.contact-form-section {
    padding: 5rem 0;
}

.contact-form-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.form-label.required:after {
    content: " *";
    color: #dc3545;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(61, 153, 112, 0.25);
}

/* Service Checkboxes */
.service-checkboxes {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    background: #f8f9fa;
}

.service-checkboxes .form-check {
    margin-bottom: 0.5rem;
}

.service-checkboxes .form-check:last-child {
    margin-bottom: 0;
}

.service-checkboxes .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.service-checkboxes .form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(61, 153, 112, 0.25);
}

.service-checkboxes .form-check-label {
    font-weight: 500;
    cursor: pointer;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    color: var(--white);
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Footer */
.footer {
    background: #1a1a1a !important;
}

.footer h5,
.footer h6 {
    color: var(--white) !important;
    font-weight: 600;
}

.footer a:hover {
    color: var(--primary-color) !important;
}

/* WordPress Specific */
.wp-block-group {
    margin: 0;
}

.entry-content {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .contact-form-card {
        padding: 2rem;
    }
}

/* Flow Steps */
.flow-steps {
    position: relative;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
}

.flow-step:not(:last-child):before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 3rem;
    bottom: -2rem;
    width: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

.step-number {
    background: var(--primary-color);
    color: var(--white);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.flow-parallel {
    margin: 2rem 0;
}

.parallel-note {
    font-style: italic;
    color: var(--text-muted);
}

/* Support Area Detailed */
.support-area-detailed {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.support-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.support-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.support-list li:before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.support-list li:last-child {
    border-bottom: none;
}

/* Option Cards */
.option-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.option-card:hover {
    transform: translateY(-0.25rem);
}

.option-item {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
}

/* Pricing Cards */
.pricing-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.period {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.price-note {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.price-includes {
    list-style: none;
    padding: 0;
    text-align: left;
}

.price-includes li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.price-includes li:before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.price-includes li:last-child {
    border-bottom: none;
}

.price-estimation {
    margin-bottom: 1.5rem;
}

/* Service Badge */
.service-badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

/* Support Item Cards */
.support-item-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.support-details {
    list-style: none;
    padding: 0;
    text-align: left;
}

.support-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.support-details li:before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.support-details li:last-child {
    border-bottom: none;
}

/* Highlight Items */
.highlight-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

/* Animation and Transitions */
.fade-in {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Success Cases Section */
.success-cases-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.success-intro h4 {
    color: var(--primary-color);
    font-weight: 600;
}

.success-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.success-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.success-card .card-header {
    padding: 1rem 1.5rem;
    border-bottom: none;
}

.success-card .card-body {
    padding: 1.5rem;
}

.achievement {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.achievement .before {
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
}

.achievement .after {
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
}

.achievement-icon {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 1rem 0;
}

.case-detail {
    font-style: italic;
    margin-top: 1rem;
}

/* FAQ Section */
.faq-section {
    background: white;
}

.faq-item {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(61, 153, 112, 0.1);
}

.faq-item .question {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.faq-item .answer {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Team Members Section */
.team-members {
    background: #f8f9fa;
}

.member-card {
    background: white;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.member-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.member-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.member-avatar {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary-color);
    overflow: hidden;
    flex-shrink: 0;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(0.85);
    border-radius: 0;
    background: white;
    padding: 3px;
}

.member-tags .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

.member-description p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.team-summary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(61, 153, 112, 0.2);
}

/* Success Cases Section Styles */
.success-card {
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(61, 153, 112, 0.1);
    min-height: 450px;
}

@media (min-width: 1400px) {
    .success-card {
        min-height: 520px;
    }
}

.success-card:hover {
    transform: translateY(-5px);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(61, 153, 112, 0.2);
}

.success-card .card-body {
    padding: 1rem;
    font-size: 0.9rem;
}

.success-card .card-header {
    padding: 0.8rem 1rem;
    border-radius: 13px 13px 0 0;
}

.success-card .card-header h5 {
    font-size: 1rem;
    font-weight: 600;
}

@media (min-width: 1400px) {
    .success-card .card-body {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .success-card .card-header {
        padding: 1rem 1.5rem;
    }
    
    .success-card .card-header h5 {
        font-size: 1.1rem;
    }
}

.case-detail {
    font-size: 0.8rem;
}

@media (min-width: 1400px) {
    .case-detail {
        font-size: 0.9rem;
    }
}

/* Align benefit badges at same height */
.benefit-badge-container {
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure case detail has minimum 2 lines height */
.case-detail {
    min-height: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    padding: 0.8rem 0.6rem !important;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

/* Prevent breaking of specific text */
.no-break {
    white-space: nowrap;
}

/* Compact text for 4-column layout */
.success-card p {
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.success-card .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

@media (min-width: 1400px) {
    .success-card p {
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .success-card .badge {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .success-card .card-body {
        padding: 1rem;
    }
    
    .member-card {
        margin-bottom: 1.5rem;
    }
    
    .member-avatar {
        width: 80px;
        height: 80px;
    }
    
    .member-header {
        flex-direction: column;
        text-align: center;
    }
    
    .member-header .member-avatar {
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .team-summary .col-md-3 {
        margin-bottom: 2rem;
    }
    
    .achievement {
        padding: 0.75rem;
    }
    
    .achievement .before,
    .achievement .after {
        font-size: 1rem;
        padding: 0.375rem 0.75rem;
    }
}