/* 基本スタイル */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ヒーローセクション */
.subpage-hero {
    background: linear-gradient(rgba(42, 92, 145, 0.8), rgba(42, 92, 145, 0.8)), 
                url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 40px;
}

.subpage-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-highlight {
    font-size: 1.5rem;
    background-color: rgba(230, 126, 34, 0.9);
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    margin-top: 15px;
}

.hero-highlight span {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 5px;
}

/* 統計グリッド */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2a5c91;
    margin-bottom: 10px;
}

.stat-value span {
    font-size: 1.5rem;
}

.stat-label {
    color: #64748b;
    font-size: 0.95rem;
}

/* セクションスタイル */
.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    color: #2a5c91;
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.section-badge {
    background-color: #e67e22;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-left: 15px;
    vertical-align: middle;
    position: relative;
    top: -3px;
}

/* 助成金リスト */
.grant-list {
    display: grid;
    gap: 30px;
}

.grant-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
}

.grant-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.grant-header {
    background-color: #2a5c91;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grant-header h3 {
    color: white;
    margin: 0;
    font-size: 1.4rem;
}

.grant-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 5px 0 0;
}

.grant-amount {
    background-color: #e67e22;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.amount-large {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 3px;
}

.grant-body {
    padding: 25px;
}

.grant-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.highlight-item {
    background-color: #f8fafc;
    border-left: 4px solid #2a5c91;
    padding: 15px;
    border-radius: 0 5px 5px 0;
}

.highlight-label {
    display: block;
    font-weight: bold;
    color: #2a5c91;
    font-size: 0.9rem;
}

.highlight-value {
    display: block;
    font-size: 1.2rem;
    color: #e67e22;
    font-weight: bold;
    margin-top: 5px;
}

.grant-features {
    margin: 20px 0;
    padding-left: 20px;
}

.grant-features li {
    margin-bottom: 10px;
    color: #64748b;
    position: relative;
    padding-left: 25px;
}

.grant-features li:before {
    content: "•";
    color: #2a5c91;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.inline-cta {
    display: inline-block;
    background-color: #f1f5f9;
    color: #2a5c91;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.inline-cta:hover {
    background-color: #2a5c91;
    color: white;
}

/* プロセスステップ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.step {
    display: flex;
    align-items: flex-start;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.step-number {
    background-color: #2a5c91;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h3 {
    margin: 0 0 10px;
    color: #2a5c91;
    font-size: 1.2rem;
}

/* CTAセクション */
.cta-section {
    background-color: #2a5c91;
    color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.cta-section h2 {
    color: white;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    min-width: 200px;
}

.cta-button i {
    margin-right: 10px;
}

.cta-button.phone {
    background-color: #4CAF50;
    color: white;
}

.cta-button.email {
    background-color: white;
    color: #2a5c91;
    border: 2px solid #2a5c91;
}

.cta-button.phone:hover {
    background-color: #3d8b40;
}

.cta-button.email:hover {
    background-color: #f1f5f9;
}

/* サイドバー */
.sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar-widget {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

.sidebar-widget h3 {
    color: #2a5c91;
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e2e8f0;
}

.sidebar-widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-widget a {
    color: #2a5c91;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.sidebar-widget a i {
    margin-right: 8px;
    color: #e67e22;
}

.sidebar-widget a:hover {
    color: #e67e22;
}

.contact-box {
    background-color: #2a5c91;
    color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.contact-box h3 {
    color: white;
    margin-bottom: 15px;
}

.contact-box p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.contact-box .cta-button {
    background-color: #e67e22;
    color: white;
    width: 100%;
    margin-bottom: 20px;
}

.contact-box .cta-button:hover {
    background-color: #d35400;
}

.contact-info {
    margin-top: 15px;
    font-size: 0.9rem;
}

.contact-info p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info i {
    margin-right: 8px;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .subpage-hero {
        padding: 80px 20px;
    }
    
    .subpage-hero h1 {
        font-size: 2rem;
    }
    
    .hero-highlight {
        font-size: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .subpage-content {
        grid-template-columns: 1fr;
    }
    
    .grant-highlight {
        grid-template-columns: 1fr;
    }
    
    .grant-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .grant-amount {
        margin-top: 15px;
        align-self: flex-start;
    }
    
    .sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 576px) {
    .subpage-hero {
        padding: 60px 20px;
    }
    
    .subpage-hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-highlight {
        font-size: 1rem;
        padding: 8px 15px;
    }
    
    .content-main {
        padding: 20px;
    }
    
    .section-badge {
        display: block;
        margin: 10px 0 0;
        width: fit-content;
    }
}/* 基本スタイル */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ヒーローセクション */
.subpage-hero {
    background: linear-gradient(rgba(42, 92, 145, 0.8), rgba(42, 92, 145, 0.8)), 
                url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 40px;
}

.subpage-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-highlight {
    font-size: 1.5rem;
    background-color: rgba(230, 126, 34, 0.9);
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    margin-top: 15px;
}

.hero-highlight span {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 5px;
}

/* 統計グリッド */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2a5c91;
    margin-bottom: 10px;
}

.stat-value span {
    font-size: 1.5rem;
}

.stat-label {
    color: #64748b;
    font-size: 0.95rem;
}

/* セクションスタイル */
.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    color: #2a5c91;
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.section-badge {
    background-color: #e67e22;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-left: 15px;
    vertical-align: middle;
    position: relative;
    top: -3px;
}

/* 助成金リスト */
.grant-list {
    display: grid;
    gap: 30px;
}

.grant-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
}

.grant-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.grant-header {
    background-color: #2a5c91;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grant-header h3 {
    color: white;
    margin: 0;
    font-size: 1.4rem;
}

.grant-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 5px 0 0;
}

.grant-amount {
    background-color: #e67e22;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.amount-large {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 3px;
}

.grant-body {
    padding: 25px;
}

.grant-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.highlight-item {
    background-color: #f8fafc;
    border-left: 4px solid #2a5c91;
    padding: 15px;
    border-radius: 0 5px 5px 0;
}

.highlight-label {
    display: block;
    font-weight: bold;
    color: #2a5c91;
    font-size: 0.9rem;
}

.highlight-value {
    display: block;
    font-size: 1.2rem;
    color: #e67e22;
    font-weight: bold;
    margin-top: 5px;
}

.grant-features {
    margin: 20px 0;
    padding-left: 20px;
}

.grant-features li {
    margin-bottom: 10px;
    color: #64748b;
    position: relative;
    padding-left: 25px;
}

.grant-features li:before {
    content: "•";
    color: #2a5c91;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.inline-cta {
    display: inline-block;
    background-color: #f1f5f9;
    color: #2a5c91;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.inline-cta:hover {
    background-color: #2a5c91;
    color: white;
}

/* プロセスステップ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.step {
    display: flex;
    align-items: flex-start;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.step-number {
    background-color: #2a5c91;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h3 {
    margin: 0 0 10px;
    color: #2a5c91;
    font-size: 1.2rem;
}

/* CTAセクション */
.cta-section {
    background-color: #2a5c91;
    color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.cta-section h2 {
    color: white;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    min-width: 200px;
}

.cta-button i {
    margin-right: 10px;
}

.cta-button.phone {
    background-color: #4CAF50;
    color: white;
}

.cta-button.email {
    background-color: white;
    color: #2a5c91;
    border: 2px solid #2a5c91;
}

.cta-button.phone:hover {
    background-color: #3d8b40;
}

.cta-button.email:hover {
    background-color: #f1f5f9;
}

/* サイドバー */
.sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar-widget {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

.sidebar-widget h3 {
    color: #2a5c91;
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e2e8f0;
}

.sidebar-widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-widget a {
    color: #2a5c91;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.sidebar-widget a i {
    margin-right: 8px;
    color: #e67e22;
}

.sidebar-widget a:hover {
    color: #e67e22;
}

.contact-box {
    background-color: #2a5c91;
    color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.contact-box h3 {
    color: white;
    margin-bottom: 15px;
}

.contact-box p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.contact-box .cta-button {
    background-color: #e67e22;
    color: white;
    width: 100%;
    margin-bottom: 20px;
}

.contact-box .cta-button:hover {
    background-color: #d35400;
}

.contact-info {
    margin-top: 15px;
    font-size: 0.9rem;
}

.contact-info p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info i {
    margin-right: 8px;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .subpage-hero {
        padding: 80px 20px;
    }
    
    .subpage-hero h1 {
        font-size: 2rem;
    }
    
    .hero-highlight {
        font-size: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .subpage-content {
        grid-template-columns: 1fr;
    }
    
    .grant-highlight {
        grid-template-columns: 1fr;
    }
    
    .grant-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .grant-amount {
        margin-top: 15px;
        align-self: flex-start;
    }
    
    .sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 576px) {
    .subpage-hero {
        padding: 60px 20px;
    }
    
    .subpage-hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-highlight {
        font-size: 1rem;
        padding: 8px 15px;
    }
    
    .content-main {
        padding: 20px;
    }
    
    .section-badge {
        display: block;
        margin: 10px 0 0;
        width: fit-content;
    }
}