/* ============================================================
   Speranza Partner — Insight Article Shared Styles
   article.css
   記事テンプレート共通スタイル（強化版）
============================================================ */

/* ---- h3 / h4 の強化 ---- */
.article-body h3 {
    padding-left: 14px;
    border-left: 3px solid var(--c-orange, #D4741A);
}
.article-body h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-slate, #4A5568);
    margin: 28px 0 12px;
    font-family: var(--font-display, 'Outfit', sans-serif);
}

/* ---- POINT BOX ---- */
.point-box {
    background: #FFF8F2;
    border-left: 4px solid var(--c-orange, #D4741A);
    border-radius: 0 10px 10px 0;
    padding: 20px 24px 20px 28px;
    margin: 32px 0;
    position: relative;
}
.point-box::before {
    content: "POINT";
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--c-orange, #D4741A);
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
}
.point-box p:last-child { margin-bottom: 0; }

/* ---- NOTE BOX ---- */
.note-box {
    background: #F0F4F8;
    border-radius: 10px;
    padding: 20px 24px 20px 28px;
    margin: 32px 0;
}
.note-box::before {
    content: "NOTE";
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #647080;
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
}
.note-box p:last-child { margin-bottom: 0; }

/* ---- SUMMARY BOX ---- */
.summary-box {
    background: linear-gradient(135deg, #0F1B2D, #1a2d47);
    border-radius: 14px;
    padding: 32px;
    margin: 40px 0;
    color: #fff;
}
.summary-box-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--c-orange, #D4741A);
    margin-bottom: 14px;
    font-family: 'Outfit', sans-serif;
}
.summary-box p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
}
.summary-box p:last-child { margin-bottom: 0; }
.summary-box ul, .summary-box ol {
    padding-left: 20px;
}
.summary-box li {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
}

/* ---- STEP LIST ---- */
.step-list {
    list-style: none;
    padding: 0;
    margin: 32px 0;
    counter-reset: step-counter;
}
.step-list li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid rgba(15, 27, 45, 0.08);
    counter-increment: step-counter;
    margin-bottom: 0;
}
.step-list li:last-child { border-bottom: none; }
.step-list li::before {
    content: counter(step-counter);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    background: var(--c-orange, #D4741A);
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---- CHECK LIST ---- */
.check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}
.check-list li {
    padding: 8px 0 8px 30px;
    position: relative;
    border-bottom: 1px solid rgba(15, 27, 45, 0.05);
    margin-bottom: 0;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 4px;
    color: var(--c-orange, #D4741A);
    font-weight: 700;
    font-size: 0.95rem;
}

/* ---- PULL QUOTE ---- */
.pull-quote {
    text-align: center;
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.9;
    color: var(--c-ink, #0F1B2D);
    padding: 40px 24px;
    margin: 40px 0;
    position: relative;
}
.pull-quote::before,
.pull-quote::after {
    content: "";
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--c-orange, #D4741A), transparent);
    margin: 16px auto;
    width: 60%;
}

/* ---- INLINE HIGHLIGHT ---- */
.hl {
    background: linear-gradient(transparent 62%, rgba(212, 116, 26, 0.22) 62%);
    font-weight: 600;
}

/* ---- TABLE ---- */
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 0.9rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(15, 27, 45, 0.06);
}
.article-body th {
    background: var(--c-ink, #0F1B2D);
    color: #fff;
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
.article-body td {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(15, 27, 45, 0.07);
    color: #2D3748;
    vertical-align: top;
    line-height: 1.7;
}
.article-body tr:nth-child(even) td {
    background: #FAFAF8;
}
.article-body tr:last-child td {
    border-bottom: none;
}
.article-body tr:hover td {
    background: #FFF8F2;
    transition: background 0.15s;
}

/* ---- TWO COLUMN ---- */
.col-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}
@media (max-width: 600px) {
    .col-2 { grid-template-columns: 1fr; }
}
.col-2-item {
    background: var(--c-mist, #F4F1EC);
    border-radius: 10px;
    padding: 20px 22px;
}
.col-2-item h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--c-orange, #D4741A);
    margin: 0 0 10px;
}
.col-2-item p:last-child { margin-bottom: 0; }

/* ---- KEY NUMBER ---- */
.key-number-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin: 32px 0;
}
.key-number-item {
    background: #FFF8F2;
    border: 1px solid rgba(212, 116, 26, 0.15);
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
}
.key-number-item .num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--c-orange, #D4741A);
    line-height: 1;
    margin-bottom: 6px;
}
.key-number-item .label {
    font-size: 0.8rem;
    color: var(--c-slate, #4A5568);
    line-height: 1.5;
}

/* ---- DIVIDER ---- */
.article-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15,27,45,0.1), transparent);
    margin: 48px 0;
}

/* ---- COMING SOON MODAL (記事用) ---- */
.coming-soon-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(15,27,45,0.6);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.coming-soon-overlay.open { opacity: 1; visibility: visible; }
.coming-soon-modal {
    background: #fff; border-radius: 16px;
    padding: 48px 40px 40px; max-width: 420px; width: 90%;
    text-align: center; position: relative;
    box-shadow: 0 24px 64px rgba(15,27,45,0.18);
    transform: translateY(20px); transition: transform 0.3s;
}
.coming-soon-overlay.open .coming-soon-modal { transform: translateY(0); }

/* ---- SERVICE CTA BUTTON (specificity override) ---- */
.service-cta .service-cta-btn {
    color: #fff !important;
    text-decoration: none;
}

/* ---- HEADER NAV (一覧ページと統一) ---- */
.logo-text {
    text-transform: uppercase;
    letter-spacing: 3.5px;
    line-height: 1.15;
}
.logo-text-sub {
    display: block;
    font-size: 0.55rem;
    letter-spacing: 4px;
    opacity: 0.45;
    margin-left: 0;
    margin-top: 2px;
}
.header-nav a {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 4px 0;
}
.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--c-orange, #D4741A);
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.header-nav a:hover { color: var(--c-ink, #0F1B2D); }
.header-nav a:hover::after { width: 100%; }
.nav-cta {
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    color: var(--c-ink, #0F1B2D) !important;
    background: transparent;
    padding: 8px 20px !important;
    border: 1px solid var(--c-slate, #4A5568) !important;
    border-radius: 0 !important;
    transition: all 0.4s !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    background: var(--c-orange, #D4741A) !important;
    border-color: var(--c-orange, #D4741A) !important;
    color: #fff !important;
}
