/* パンくずリスト */
.breadcrumb {
    padding: 15px 0;
    font-size: 0.9rem;
    color: #64748b;
}

.breadcrumb a {
    color: #2a5c91;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ヒーローセクション */
.subpage-hero {
    background: linear-gradient(rgba(42, 92, 145, 0.8), rgba(42, 92, 145, 0.8)), 
                url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?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: 80px 20px;
    margin-bottom: 40px;
}

.subpage-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

/* メインコンテンツ */
.subpage-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-bottom: 60px;
}

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

/* コンテンツエリア */
.content-main {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    color: #2a5c91;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

/* サービスプラン */
.service-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.plan-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.plan-card.featured {
    border: 2px solid #e67e22;
}

.plan-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: #e67e22;
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
}

.plan-header {
    background-color: #2a5c91;
    color: white;
    padding: 20px;
    text-align: center;
}

.plan-header h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.plan-price {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 15px 0;
}

.plan-price span {
    font-size: 2.2rem;
}

.plan-features {
    padding: 20px;
}

.plan-features ul {
    list-style: none;
    margin-bottom: 25px;
}

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

.plan-features li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: #2a5c91;
}

.plan-button {
    display: block;
    text-align: center;
    background-color: #2a5c91;
    color: white;
    padding: 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.plan-button:hover {
    background-color: #1e4a7a;
}

.featured .plan-button {
    background-color: #e67e22;
}

.featured .plan-button:hover {
    background-color: #d35400;
}

/* 給与計算サービス */
.payroll-service {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
    align-items: center;
}

.payroll-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.payroll-image img {
    width: 100%;
    height: auto;
    display: block;
}

.payroll-content h3 {
    color: #2a5c91;
    margin-bottom: 15px;
}

.feature-list {
    margin: 20px 0;
    padding-left: 20px;
}

.feature-list li {
    margin-bottom: 10px;
    color: #64748b;
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #e67e22;
}

.pricing-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.pricing-item {
    background-color: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.pricing-item h4 {
    color: #2a5c91;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.pricing-item p {
    color: #e67e22;
    font-weight: bold;
}

.pricing-item p span {
    font-size: 1.2rem;
}

/* 特徴グリッド */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #2a5c91;
    font-size: 1.5rem;
}

.feature-card h3 {
    color: #2a5c91;
    margin-bottom: 10px;
}

/* プロセスステップ */
.process-steps {
    margin-top: 30px;
}

.process-step {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

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

.step-content h3 {
    color: #2a5c91;
    margin-bottom: 5px;
}

/* FAQリスト */
.faq-list {
    border-top: 1px solid #e2e8f0;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
}

.faq-question {
    color: #2a5c91;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    color: #e67e22;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    display: none;
    padding-top: 10px;
    color: #64748b;
    line-height: 1.6;
}

.faq-answer.show {
    display: block;
}

/* サイドバー */
.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: 20px;
}

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

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

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

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

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

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

.sidebar-widget p {
    color: #64748b;
    line-height: 1.6;
}

.contact-box {
    background-color: #2a5c91;
    color: white;
    padding: 25px;
    border-radius: 8px;
}

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

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

.cta-button {
    display: inline-block;
    background-color: #e67e22;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    text-align: center;
    width: 100%;
}

.cta-button:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .payroll-service {
        grid-template-columns: 1fr;
    }
    
    .payroll-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .subpage-hero h1 {
        font-size: 1.8rem;
    }
    
    .content-main {
        padding: 25px;
    }
    
    .service-plans {
        grid-template-columns: 1fr;
    }
    
    .plan-card.featured {
        transform: scale(1.02);
    }
}