/* ========================================
   CTO伴走支援LP カスタムオーバーライド
   元のテンプレートスタイルを維持しつつ微調整
   ======================================== */

/* 日本語フォント適用 */
body {
    font-family: 'Noto Sans JP', 'Poppins', sans-serif;
}

/* ヘッダー固定 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ロゴ画像 */
.navbar-brand .logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.footer-logo .logo-img {
    height: 60px;
    width: auto;
    display: block;
}

/* ヘッダーの無料相談ボタン */
.navbar-nav .nav-item .nav-link.btn-cta {
    background-color: #004AAD;
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.navbar-nav .nav-item .nav-link.btn-cta:hover {
    background-color: #003580;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 74, 173, 0.3);
}

/* ヘッダー固定時のコンテンツ調整 */
body {
    padding-top: 80px; /* ヘッダーの高さ分の余白を追加 */
}

/* Heroセクションのトップ余白調整 */
.slider-hero {
    margin-top: -80px; /* bodyのpadding-topを相殺してヘッダー下から表示 */
    padding-top: 80px; /* ヘッダーの高さ分の余白 */
}

/* subheadingスタイル統一 */
.heading-section .subheading,
.heading-section-white .subheading,
.slider-text .subheading,
.ftco-intro-2 .subheading {
    font-size: 13px;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    color: #004AAD;
}

.heading-section-white .subheading {
    color: #fff;
}

.slider-text .subheading {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px !important;
}

.slider-hero .work .text span.subheading {
    font-size: 16px !important;
}

/* ブランドカラー調整 */
.btn-primary,
.ftco-animate.fadeInUp.ftco-animated .btn-primary {
    background-color: #004AAD;
    border-color: #004AAD;
}

.btn-primary:hover {
    background-color: #003580;
    border-color: #003580;
}

/* Value Propositionセクションの視認性改善 */
#value-proposition .overlay {
    background: rgba(0, 0, 0, 0.7) !important; /* オーバーレイを濃くする */
}

/* タイトルを黒に変更 */
#value-proposition .heading-section-white h2 {
    color: #222 !important;
}

#value-proposition .heading-section-white .subheading {
    color: #004AAD !important; /* Featuresセクションと同じブランドカラー */
}

#value-proposition .heading-section-white p {
    color: #999 !important; /* グレーに変更 */
}

#value-proposition .services-2 {
    background: rgba(255, 255, 255, 0.95); /* カードの背景を少し不透明に */
    padding: 30px 20px;
    border-radius: 10px;
}

#value-proposition .services-2 h3,
#value-proposition .services-2 p {
    color: #222; /* テキストを濃い色に */
}

#value-proposition .services-2 .icon {
    color: #004AAD;
}

/* セクション共通 */
section {
    padding: 80px 0;
}

section.bg-accent {
    background-color: var(--accent-color);
}

/* 見出しスタイル */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.4;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

/* CTAボタン */
.btn-cta {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    background-color: #003580;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 74, 173, 0.3);
}

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

.btn-cta-secondary:hover {
    background-color: var(--accent-color);
}

/* Heroセクション */
.hero-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0066cc 100%);
    color: var(--white);
    padding: 120px 0 100px;
    text-align: center;
}

.hero-custom h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero-custom .hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.hero-custom .hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Problemセクション */
.problem-list {
    max-width: 900px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.problem-item {
    background: var(--white);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 4px solid #ff6b6b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 15px;
}

.problem-icon {
    font-size: 1.5rem;
}

/* Value Propositionセクション */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.value-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Featuresセクション */
.features-list {
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.feature-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    min-width: 60px;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* J-KISSセクション */
#jkiss .services-3 {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

#jkiss .services-3:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 74, 173, 0.15);
}

#jkiss .services-3 .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #004AAD 0%, #0066cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

#jkiss .services-3 .icon span {
    color: #fff;
    font-size: 2.5rem;
}

#jkiss .services-3 h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #004AAD;
    margin-bottom: 15px;
    text-align: center;
}

#jkiss .services-3 p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    text-align: center;
    margin: 0;
}

/* Examplesセクション */
#examples .overlay {
    background: rgba(0, 0, 0, 0.75) !important; /* オーバーレイを濃くする */
}

#examples .counter-wrap-2 {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#examples .counter-wrap-2:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

#examples .counter-wrap-2 .number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #004AAD;
    margin-bottom: 20px;
    text-align: center;
}

#examples .counter-wrap-2 p {
    font-size: 1.1rem;
    color: #222;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.6;
}

#examples .counter-wrap-2 .caption {
    display: block;
    font-size: 0.95rem;
    color: #666;
    text-align: center;
    font-weight: 400;
}

/* Plansセクション - pricing-entryクラスのカスタマイズ */
#plans .pricing-entry {
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
    width: 100%;
}

#plans .pricing-entry:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 74, 173, 0.15);
}

#plans .pricing-entry.active {
    border-color: #ff6b35;
    border-width: 3px;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

#plans .pricing-entry .popular {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    letter-spacing: 1px;
}

#plans .pricing-entry .text {
    padding: 40px 30px;
}

#plans .pricing-entry .heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: #222;
}

#plans .pricing-entry .subheading {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

#plans .pricing-entry .price {
    margin: 25px 0;
}

#plans .pricing-entry .price .currency {
    font-size: 1rem;
    color: #666;
}

#plans .pricing-entry .price .number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

#plans .pricing-entry ul {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

#plans .pricing-entry ul li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

#plans .pricing-entry ul li:before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 8px;
}

#plans .pricing-entry .btn-custom a {
    background-color: transparent;
    color: #004AAD;
    padding: 12px 30px;
    border-radius: 8px;
    border: 2px solid #004AAD;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

#plans .pricing-entry .btn-custom a:hover {
    background-color: #004AAD;
    color: #fff;
    border-color: #004AAD;
}

.plans-note {
    text-align: center;
    margin-top: 40px;
    color: #666;
    font-size: 0.95rem;
}

/* Processセクション */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

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

.process-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Contactセクション */
#contact .contact-form-wrap {
    background: #fff;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#contact .form-group label {
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
    display: block;
}

#contact .required {
    color: #ff6b35;
    font-weight: 700;
}

#contact .form-control {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#contact .form-control:focus {
    outline: none;
    border-color: #004AAD;
    box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
}

#contact textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

#contact .btn-primary {
    background-color: #004AAD;
    border-color: #004AAD;
    font-weight: 600;
    transition: all 0.3s ease;
}

#contact .btn-primary:hover {
    background-color: #003580;
    border-color: #003580;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 74, 173, 0.3);
}

/* Limitedセクション */
.limited-box {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    padding: 50px 40px;
    border-radius: 15px;
    border: 2px solid #ff6b6b;
    text-align: center;
}

.limited-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #d63031;
}

/* Contactセクション */
.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    padding: 10px 0;
}

.contact-list li:before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 8px;
}

.contact-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.required {
    color: #ff6b6b;
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-large {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
}

/* フッター */
footer {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-nav-list {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.footer-nav-list a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
}

.footer-nav-list a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.copyright {
    margin: 0;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-custom h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .value-grid,
    .examples-grid,
    .plans-grid,
    .process-timeline,
    .local-features {
        grid-template-columns: 1fr;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}
