:root {
    --color-primary: #10B981;
    /* Trust Green */
    --color-primary-dark: #059669;
    --color-secondary: #3B82F6;
    /* Action Blue */
    --color-text: #1F2937;
    --color-text-light: #6B7280;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F3F4F6;
    --border-radius: 8px;
    --container-width: 1200px;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg-alt);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: 1rem;
}

/* Header */
.site-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text) !important;
    display: inline-block;
}

.logo-sub {
    color: var(--color-primary);
    margin-left: 4px;
}

.powered-by-header {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: #6B7280;
    margin-left: 0.4rem;
    padding-left: 0.4rem;
    border-left: 1px solid #E5E7EB;
    height: 24px;
    vertical-align: middle;
}

.powered-by-header strong {
    color: #4B5563;
    font-weight: 700;
}

.main-nav {
    margin-left: auto;
    margin-right: 2rem;
}

.main-nav ul {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    gap: 0.75rem;
    margin-left: 1rem;
}

/* Buttons */
.btn {
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
    border: none;
}

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

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

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

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

.btn-full {
    width: 100%;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Hero Section */
.hero-section {
    background: url('/images/hero/hero-family.jpg') center center / cover no-repeat;
    position: relative;
    padding: 100px 0;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

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

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-search-box {
    max-width: 700px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    background: white;
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: none;
}

.search-input {
    flex: 1;
    border: none;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    outline: none;
}

.search-button {
    background: var(--color-secondary);
    color: white;
    border: none;
    padding: 0 2rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
}

.hero-tags {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hero-tags .tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: background 0.2s;
    margin-left: 0;
}

.hero-tags .tag:hover {
    background: rgba(255, 255, 255, 0.3);
}

.tag {
    color: var(--color-secondary);
    margin-left: 0.5rem;
}

/* Partner Banks Section */
.banks-section {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.banks-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
    align-items: center;
    justify-items: center;
}

.bank-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    width: 100%;
    height: 100px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bank-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bank-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Merits Section */
.merits-section {
    padding: 5rem 0;
    background: #F0FDF4;
}

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

.merit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.merit-card:hover {
    transform: translateY(-5px);
}

.merit-icon {
    margin-bottom: 1.5rem;
    background: #DCFCE7;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.merit-icon .material-icons-round {
    font-size: 3rem;
}

.merit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.merit-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Comparison Section */
.comparison-section {
    padding: 5rem 0;
    background: white;
}

.comparison-table-wrapper {
    max-width: 900px;
    margin: 3rem auto 0;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E7EB;
}

.comparison-table th {
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: #F9FAFB;
    border-bottom: 2px solid #E5E7EB;
}

.th-competitor {
    color: var(--color-text-light);
    width: 40%;
}

.th-bizloan {
    color: var(--color-primary);
    background: #ECFDF5 !important;
    width: 40%;
    border-bottom: 2px solid var(--color-primary) !important;
}

.comparison-table td {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #E5E7EB;
    vertical-align: middle;
}

.td-label {
    font-weight: 700;
    text-align: left;
    background: #F9FAFB;
    width: 20%;
}

.td-competitor {
    color: var(--color-text);
}

.td-bizloan {
    background: #F0FDF4;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.bad-mark {
    color: #EF4444;
    font-size: 1.5rem;
    font-weight: 900;
    display: block;
    margin-bottom: 0.2rem;
}

.good-mark {
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 900;
    display: block;
    margin-bottom: 0.2rem;
}

.comparison-table small {
    color: var(--color-text-light);
    font-weight: normal;
    font-size: 0.8rem;
    display: block;
    margin-top: 0.2rem;
}

/* Success Stories Section */
.stories-section {
    padding: 5rem 0;
    background: #F8FAFC;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.story-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    transition: transform 0.2s;
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.story-image {
    width: 200px;
    background-color: #EEE;
    position: relative;
    flex-shrink: 0;
}

.story-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: white;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    color: var(--color-text);
}

.story-content {
    padding: 1.5rem;
    flex: 1;
}

.story-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.5;
    color: var(--color-text);
}

.story-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-link {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Public Support Section */
.support-section {
    padding: 5rem 0;
    background: white;
    border-top: 1px solid #E5E7EB;
}

.support-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.support-logo {
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    padding: 1.5rem 1rem;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100px;
    line-height: 1.4;
    text-align: center;
}

.support-logo small {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: 0.2rem;
    font-weight: normal;
}

/* Project Section */
.project-section {
    padding: 60px 0;
}

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

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
}

.view-all {
    color: var(--color-primary);
    font-weight: 600;
}

.filter-bar {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.filter-btn {
    background: white;
    border: 1px solid #E5E7EB;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    color: var(--color-text-light);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--color-text);
    color: white;
    border-color: var(--color-text);
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 200px;
    background-color: #D1D5DB;
    position: relative;
    padding: 1rem;
}

/* Badges */
.badge-status {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.badge-bank {
    background: var(--color-primary);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.badge-finance {
    background: #F59E0B;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    position: absolute;
    top: 1rem;
    right: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.card-content {
    padding: 1.5rem;
}

.card-meta {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-weight: 600;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-stats {
    display: flex;
    border-top: 1px solid #E5E7EB;
    padding-top: 1rem;
}

.stat {
    flex: 1;
}

.stat .label {
    display: block;
    font-size: 0.7rem;
    color: var(--color-text-light);
}

.stat .value {
    font-weight: 700;
    font-size: 0.95rem;
}

/* Financing Block */
.card-finance-area {
    background: #F0FDF4;
    border: 1px dashed var(--color-primary);
    border-radius: 4px;
    padding: 0.8rem;
    margin-top: 1.5rem;
}

.finance-title {
    font-size: 0.8rem;
    color: var(--color-primary-dark);
    font-weight: 700;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-simulation {
    display: block;
    width: 100%;
    text-align: center;
    background: white;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.5rem;
}

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

/* Footer */
.site-footer {
    background: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid #E5E7EB;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: left;
    margin-bottom: 3rem;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--color-text);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-column a {
    color: var(--color-text-light);
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    color: #9CA3AF;
    font-size: 0.85rem;
}

/* フッターの業種リスト（2カラム表示） */
.footer-column-wide {
    grid-column: span 1;
}

.footer-industry-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem 1.5rem;
}

@media (min-width: 769px) {
    .footer-column-wide {
        grid-column: span 2;
    }

    .footer-industry-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Utility Classes */
.mt-4 {
    margin-top: 2rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .story-card {
        flex-direction: column;
    }

    .story-image {
        width: 100%;
        height: 180px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .header-container {
        padding: 0 15px;
    }

    .main-nav {
        display: none;
    }

    .header-actions .btn-outline {
        display: none;
    }

    .hero-title {
        font-size: 1.8rem;
        color: white;
    }

    .hero-section {
        padding: 60px 0;
    }

    .search-form {
        flex-direction: column;
    }

    .search-button {
        width: 100%;
        margin-top: 0.5rem;
        padding: 0.8rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .banks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .merits-grid {
        grid-template-columns: 1fr;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
    }
}

/* Form Styles */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-subtitle {
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 2rem;
}

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

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.form-label.required::after {
    content: "*";
    color: #EF4444;
    margin-left: 0.25rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input.error {
    border-color: #EF4444;
}

.form-error {
    color: #EF4444;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.form-help {
    color: var(--color-text-light);
    font-size: 0.85rem;
    margin-top: 0.4rem;
}

/* Checkbox & Radio */
.form-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-checkbox {
    width: 1.125rem;
    height: 1.125rem;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.form-checkbox-label {
    font-size: 0.9rem;
    color: var(--color-text);
    cursor: pointer;
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-radio-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid #E5E7EB;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s;
}

.form-radio-wrapper:hover {
    border-color: var(--color-primary);
    background-color: #F0FDF4;
}

.form-radio-wrapper:has(.form-radio:checked) {
    border-color: var(--color-primary);
    background-color: #F0FDF4;
}

.form-radio {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    cursor: pointer;
    accent-color: var(--color-primary);
    flex-shrink: 0;
}

.form-radio-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
}

.radio-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

.radio-description {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.form-footer {
    text-align: center;
    margin-top: 2rem;
}

.form-footer-text {
    color: var(--color-text-light);
}

.link {
    color: var(--color-primary);
    font-weight: 600;
}

.link:hover {
    text-decoration: underline;
}

/* Auth Layout */
.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    padding: 3rem 0;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Breadcrumb */
.breadcrumb-section {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

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

.breadcrumb span {
    color: #9CA3AF;
}

/* Project Detail Page */
.project-detail {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}

.project-main {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.project-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.project-badges .badge-status,
.project-badges .badge-finance,
.project-badges .badge-bank {
    position: static;
}

.project-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    color: var(--color-text);
}

.project-meta-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E5E7EB;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.meta-item .material-icons-round {
    font-size: 1.2rem;
    color: var(--color-primary);
}

.project-image-placeholder {
    background: #F3F4F6;
    border-radius: var(--border-radius);
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    margin-bottom: 2rem;
}

.project-image-placeholder .material-icons-round {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.project-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.project-images img {
    width: 100%;
    border-radius: var(--border-radius);
    object-fit: cover;
}

.project-description,
.project-strengths,
.project-requirements,
.project-story {
    margin-bottom: 2rem;
}

.project-description h2,
.project-strengths h2,
.project-requirements h2,
.project-story h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

.project-description p,
.project-strengths p,
.project-requirements p,
.project-story p {
    color: var(--color-text);
    line-height: 1.8;
}

.project-strengths ul {
    list-style: none;
}

.project-strengths li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.project-strengths .material-icons-round {
    color: var(--color-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.project-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    background: #F9FAFB;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid #E5E7EB;
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.info-card dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
}

.info-card dt {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.info-card dd {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: right;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E5E7EB;
}

.project-tags .tag {
    background: #F3F4F6;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Sidebar */
.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E7EB;
}

.sidebar-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.sidebar-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.sidebar-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.sidebar-card.finance-card {
    background: #FFFBEB;
    border-color: #FCD34D;
}

.sidebar-card.bank-card {
    background: #F0FDF4;
    border-color: var(--color-primary);
}

.bank-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bank-logo-small {
    font-weight: 700;
    color: var(--color-primary-dark);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.sidebar-info {
    list-style: none;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.sidebar-info li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.sidebar-info li:last-child {
    border-bottom: none;
}

/* Related Projects */
.related-projects {
    margin-top: 3rem;
}

.related-projects h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* FAQ Styles */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--color-primary);
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
}

.faq-question .material-icons-round {
    color: var(--color-primary);
}

.faq-answer {
    padding: 0 1.25rem 1.25rem 3rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #F3F4F6;
    border-radius: var(--border-radius);
}

.faq-cta h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.faq-cta p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

/* Events Styles */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.event-card {
    display: flex;
    gap: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.event-date {
    text-align: center;
    background: var(--color-primary);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    min-width: 80px;
}

.event-date .month {
    display: block;
    font-size: 0.8rem;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.event-content {
    flex: 1;
}

.event-category {
    display: inline-block;
    background: #F3F4F6;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
}

.event-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.event-content p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.event-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.event-meta .material-icons-round {
    font-size: 1rem;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.article-card:hover {
    transform: translateY(-4px);
}

.article-image {
    height: 160px;
}

.article-content {
    padding: 1.5rem;
}

.article-category {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.article-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.article-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    font-size: 0.8rem;
    color: #9CA3AF;
}

/* Flow Steps (for seller landing) */
.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.flow-step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.flow-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.flow-step p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Contact Form */
.contact-form .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.contact-form .required {
    color: #EF4444;
}

.contact-form .error-message {
    color: #EF4444;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

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

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

/* Responsive for Detail Page */
@media (max-width: 1024px) {
    .project-detail {
        grid-template-columns: 1fr;
    }

    .project-sidebar {
        order: -1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .project-info-grid {
        grid-template-columns: 1fr;
    }

    .flow-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-card {
        flex-direction: column;
    }

    .event-date {
        flex-direction: row;
        gap: 0.5rem;
        min-width: unset;
    }
}

/* Project Detail Content Section */
.content-section {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.content-section:first-child {
    margin-top: 0;
}

.content-section .section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
}

.content-section .section-title .material-icons-round {
    font-size: 1.5rem;
    color: #10b981;
}

/* Mypage Dropdown */
.mypage-dropdown {
    position: relative;
}

.mypage-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.mypage-dropdown-toggle:hover {
    background: var(--color-primary);
    color: white;
}

.mypage-dropdown-toggle .material-icons-round {
    font-size: 1.25rem;
    transition: transform 0.2s;
}

.mypage-dropdown.open .mypage-dropdown-toggle .material-icons-round {
    transform: rotate(180deg);
}

.mypage-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 200px;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow: hidden;
}

[x-cloak] {
    display: none !important;
}

.mypage-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 1px solid #f3f4f6;
}

.mypage-dropdown-menu a:last-child {
    border-bottom: none;
}

.mypage-dropdown-menu a:hover {
    background: #f0fdf4;
    color: var(--color-primary);
}

.mypage-dropdown-menu a .material-icons-round {
    font-size: 1.25rem;
    color: #9ca3af;
}

.mypage-dropdown-menu a:hover .material-icons-round {
    color: var(--color-primary);
}

.mypage-dropdown-menu .dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0.5rem 0;
}

.mypage-dropdown-menu .logout-link {
    color: #ef4444;
}

.mypage-dropdown-menu .logout-link:hover {
    background: #fef2f2;
    color: #dc2626;
}

.mypage-dropdown-menu .logout-link .material-icons-round {
    color: #ef4444;
}

/* Inquiry Modal */
.inquiry-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.inquiry-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.inquiry-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 1.5rem 1.5rem 0 0;
    padding: 1.5rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    z-index: 9999;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.inquiry-modal-overlay.open .inquiry-modal {
    transform: translateY(0);
}

.inquiry-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.inquiry-modal-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.inquiry-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.2s;
}

.inquiry-modal-close:hover {
    background: #e5e7eb;
    color: #374151;
}

@media (min-width: 768px) {
    .inquiry-modal {
        bottom: auto;
        top: 50%;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%) scale(0.95);
        max-width: 500px;
        width: calc(100% - 2rem);
        border-radius: 1rem;
        padding-bottom: 1.5rem;
    }

    .inquiry-modal-overlay.open .inquiry-modal {
        transform: translate(-50%, -50%) scale(1);
    }
}
