/*
 * IPO Calendar Shortcode
 * カレンダーとBB受付中カードのスタイル
 */

/* ---------------------------------------------
 * 月間IPOカレンダー
 * ------------------------------------------ */
.ipo-cal-wrap {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    box-shadow: 0 14px 44px rgba(15, 23, 42, .08);
    margin: 36px 0;
    padding: 28px;
}

.ipo-cal-head {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 16px;
}

.ipo-cal-sub {
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    margin: 0 0 4px;
}

.ipo-cal-head h2 {
    color: #0f172a;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
}

.ipo-cal-today-note {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #1d4ed8;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 12px;
}

/* ---------------------------------------------
 * 月移動ナビゲーション
 * ------------------------------------------ */
.ipo-cal-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin: 14px 0 18px;
}

.ipo-cal-nav-btn {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    justify-content: center;
    line-height: 1;
    min-height: 38px;
    padding: 10px 14px;
    text-decoration: none !important;
    transition: .18s ease;
}

.ipo-cal-nav-btn:hover {
    background: #eff6ff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .14);
    transform: translateY(-1px);
}

.ipo-cal-nav-btn.current {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.ipo-cal-nav-btn.current:hover {
    background: #1d4ed8;
}

.ipo-cal-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.ipo-cal-legend span {
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 12px;
}

.legend-bb {
    background: #dbeafe;
    color: #1d4ed8;
}

.legend-lottery {
    background: #ede9fe;
    color: #6d28d9;
}

.legend-purchase {
    background: #dcfce7;
    color: #15803d;
}

.legend-listing {
    background: #fef3c7;
    color: #b45309;
}

.ipo-cal-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.ipo-cal-week {
    color: #475569;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
    text-align: center;
}

.ipo-cal-week div:first-child {
    color: #dc2626;
}

.ipo-cal-week div:last-child {
    color: #2563eb;
}

.ipo-cal-day {
    background: rgba(255, 255, 255, .92);
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    min-height: 136px;
    overflow: hidden;
    padding: 8px;
    position: relative;
    transition: .2s ease;
}

.ipo-cal-day:hover {
    box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.ipo-cal-day.empty {
    background: transparent;
    border: none;
    box-shadow: none;
}

.ipo-cal-date {
    align-items: center;
    border-radius: 50%;
    color: #0f172a;
    display: inline-flex;
    font-weight: 900;
    height: 30px;
    justify-content: center;
    margin-bottom: 7px;
    position: relative;
    width: 30px;
    z-index: 1;
}

.ipo-cal-day.today {
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
    border: 2px solid #2563eb;
    box-shadow: 0 12px 30px rgba(37, 99, 235, .18);
}

.ipo-cal-day.today::before {
    background: #2563eb;
    border-radius: 999px;
    color: #fff;
    content: "今日";
    font-size: 11px;
    font-weight: 900;
    padding: 3px 8px;
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 2;
}

.ipo-cal-day.today .ipo-cal-date {
    background: #2563eb;
    color: #fff;
}

.ipo-cal-event {
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
    color: #0f172a;
    display: block;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 6px;
    overflow: hidden;
    padding: 7px 8px;
    text-decoration: none !important;
    transition: .15s ease;
}

.ipo-cal-event:hover {
    filter: brightness(.96);
    transform: translateX(2px);
}

.ipo-cal-label {
    display: inline-block;
    font-size: 11px;
    margin-right: 5px;
    opacity: .9;
}

.ipo-cal-title {
    white-space: nowrap;
}

.ipo-bb {
    background: linear-gradient(90deg, #bfdbfe, #dbeafe);
    color: #1e40af;
}

.ipo-lottery {
    background: linear-gradient(90deg, #ddd6fe, #ede9fe);
    color: #5b21b6;
}

.ipo-purchase {
    background: linear-gradient(90deg, #bbf7d0, #dcfce7);
    color: #166534;
}

.ipo-listing {
    background: linear-gradient(90deg, #fde68a, #fef3c7);
    color: #92400e;
}

/* ---------------------------------------------
 * BB受付中IPOカード
 * ------------------------------------------ */
.ipo-bb-open-wrap {
    margin: 36px 0;
}

.ipo-bb-open-head {
    margin-bottom: 18px;
}

.ipo-bb-open-head h2 {
    color: #0f172a;
    font-size: 1.55rem;
    font-weight: 800;
    margin: 0;
}

.ipo-bb-open-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, 1fr);
}

.ipo-bb-open-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
    color: #0f172a;
    display: block;
    overflow: hidden;
    padding: 20px;
    position: relative;
    text-decoration: none !important;
    transition: .2s ease;
}

.ipo-bb-open-card:hover {
    box-shadow: 0 16px 38px rgba(15, 23, 42, .12);
    transform: translateY(-3px);
}

.ipo-bb-open-badge {
    align-items: center;
    background: #dbeafe;
    border-radius: 999px;
    color: #1e40af;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 11px;
}

.ipo-bb-open-card h3 {
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 6px 0 16px;
}

.ipo-bb-open-card dl {
    margin: 0;
}

.ipo-bb-open-card dl div {
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 9px 0;
}

.ipo-bb-open-card dt {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.ipo-bb-open-card dd {
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
    margin: 0;
    text-align: right;
}

.ipo-bb-rating {
    color: #b45309 !important;
}

.ipo-bb-open-more {
    color: #2563eb;
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    margin-top: 14px;
}

.ipo-bb-open-empty {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    color: #475569;
    font-weight: 700;
    padding: 20px;
}

/* ---------------------------------------------
 * レスポンシブ
 * ------------------------------------------ */
@media (max-width: 960px) {
    .ipo-bb-open-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ipo-cal-wrap {
        border-radius: 18px;
        padding: 18px;
    }

    .ipo-cal-head {
        display: block;
    }

    .ipo-cal-head h2 {
        font-size: 1.35rem;
    }

    .ipo-cal-today-note {
        display: inline-block;
        font-size: 12px;
        margin-top: 10px;
    }

    .ipo-cal-nav {
        justify-content: flex-start;
        margin-top: 14px;
    }

    .ipo-cal-nav-btn {
        flex: 1 1 auto;
        font-size: 12px;
        min-height: 36px;
        padding: 9px 12px;
    }

    .ipo-cal-grid {
        display: block;
    }

    .ipo-cal-week,
    .ipo-cal-day.empty,
    .ipo-cal-day:not(:has(.ipo-cal-event)):not(.today) {
        display: none;
    }

    .ipo-cal-day {
        margin-bottom: 10px;
        min-height: auto;
    }

    .ipo-cal-day.today {
        display: block;
    }

    .ipo-cal-event {
        border-radius: 12px;
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .ipo-bb-open-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------
 * 今後のIPO一覧テーブル
 * ------------------------------------------ */
.ipo-upcoming-wrap {
    margin: 36px 0;
}

.ipo-upcoming-head {
    margin-bottom: 18px;
}

.ipo-section-sub {
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    margin: 0 0 4px;
}

.ipo-upcoming-head h2 {
    color: #0f172a;
    font-size: 1.55rem;
    font-weight: 800;
    margin: 0;
}

.ipo-upcoming-table-scroll {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
    overflow-x: auto;
}

.ipo-upcoming-table {
    border-collapse: collapse;
    margin: 0;
    min-width: 760px;
    width: 100%;
}

.ipo-upcoming-table th,
.ipo-upcoming-table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 16px;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}

.ipo-upcoming-table th {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 900;
}

.ipo-upcoming-table td {
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
}

.ipo-upcoming-table tbody tr:last-child td {
    border-bottom: none;
}

.ipo-upcoming-table tbody tr:hover {
    background: #eff6ff;
}

.ipo-upcoming-date {
    color: #1d4ed8 !important;
    font-weight: 900 !important;
}

.ipo-upcoming-title a {
    color: #0f172a;
    font-weight: 900;
    text-decoration: none !important;
}

.ipo-upcoming-title a:hover {
    color: #2563eb;
}

.ipo-upcoming-rating {
    background: #fef3c7;
    border-radius: 999px;
    color: #92400e;
    display: inline-block;
    font-size: 12px;
    font-weight: 900;
    padding: 5px 10px;
}

.ipo-upcoming-empty {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    color: #475569;
    font-weight: 700;
    padding: 20px;
}

@media (max-width: 640px) {
    .ipo-upcoming-head h2 {
        font-size: 1.35rem;
    }

    .ipo-upcoming-table th,
    .ipo-upcoming-table td {
        padding: 12px 14px;
    }
}

/* ---------------------------------------------
 * 注目IPOランキング
 * ------------------------------------------ */
.ipo-featured-wrap {
    margin: 36px 0;
}

.ipo-featured-head {
    margin-bottom: 18px;
}

.ipo-featured-head h2 {
    color: #0f172a;
    font-size: 1.55rem;
    font-weight: 800;
    margin: 0;
}

.ipo-featured-note {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    margin: 8px 0 0;
}

.ipo-featured-list {
    display: grid;
    gap: 14px;
}

.ipo-featured-card {
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
    color: #0f172a;
    display: grid;
    gap: 16px;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    padding: 18px;
    text-decoration: none !important;
    transition: .2s ease;
}

.ipo-featured-card:hover {
    box-shadow: 0 16px 38px rgba(15, 23, 42, .12);
    transform: translateY(-2px);
}

.ipo-featured-rank {
    align-items: center;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 16px;
    color: #92400e;
    display: flex;
    font-size: 15px;
    font-weight: 900;
    justify-content: center;
    min-height: 58px;
}

.ipo-featured-main h3 {
    color: #0f172a;
    font-size: 1.12rem;
    font-weight: 900;
    margin: 0 0 10px;
}

.ipo-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ipo-featured-meta span {
    background: #f1f5f9;
    border-radius: 999px;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 10px;
}

.ipo-featured-side {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ipo-featured-score {
    align-items: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    color: #1d4ed8;
    display: inline-flex;
    gap: 8px;
    padding: 8px 12px;
}

.ipo-featured-score span {
    font-size: 12px;
    font-weight: 800;
}

.ipo-featured-score strong {
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}

.ipo-featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.ipo-featured-tags span {
    border-radius: 999px;
    display: inline-block;
    font-size: 12px;
    font-weight: 900;
    padding: 5px 9px;
}

.ipo-featured-rating {
    background: #fef3c7;
    color: #92400e;
}

.ipo-featured-profit {
    background: #dcfce7;
    color: #166534;
}

.ipo-featured-empty {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    color: #475569;
    font-weight: 700;
    padding: 20px;
}

@media (max-width: 768px) {
    .ipo-featured-card {
        align-items: flex-start;
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .ipo-featured-side {
        align-items: flex-start;
        }

    .ipo-featured-tags {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .ipo-featured-head h2 {
        font-size: 1.35rem;
    }

    .ipo-featured-card {
        border-radius: 16px;
        padding: 16px;
    }
}

/* =========================================================
   IPO detail page template
   ========================================================= */
.ipo-detail-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 16px 56px;
}

.ipo-detail-article {
    color: #0f172a;
}

.ipo-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 22px;
    align-items: stretch;
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
    border: 1px solid #dbeafe;
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 16px 44px rgba(15, 23, 42, .08);
    margin-bottom: 22px;
}

.ipo-detail-hero h1 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.25;
    font-weight: 900;
    color: #0f172a;
}

.ipo-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.ipo-detail-badges span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 800;
}

.ipo-detail-badges .ipo-detail-rating {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.ipo-detail-lead {
    margin: 18px 0 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 600;
}

.ipo-detail-score-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid #bfdbfe;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8);
}

.ipo-detail-score-card span {
    font-size: 13px;
    font-weight: 900;
    color: #2563eb;
}

.ipo-detail-score-card strong {
    margin-top: 4px;
    font-size: 3.2rem;
    line-height: 1;
    color: #1d4ed8;
    font-weight: 900;
}

.ipo-detail-score-card small {
    margin-top: 4px;
    color: #64748b;
    font-weight: 800;
}

.ipo-detail-cta-card {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    background: #0f172a;
    color: #ffffff;
    border-radius: 22px;
    padding: 22px 24px;
    margin-bottom: 26px;
}

.ipo-detail-cta-card h2 {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 900;
}

.ipo-detail-cta-card p {
    margin: 0;
    color: #cbd5e1;
    font-weight: 700;
}

.ipo-detail-cta-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    padding: 0 20px;
    background: #facc15;
    color: #713f12 !important;
    text-decoration: none !important;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(250, 204, 21, .28);
}

.ipo-detail-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 24px;
    margin: 22px 0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.ipo-detail-section h2 {
    margin: 0 0 16px;
    font-size: 1.35rem;
    font-weight: 900;
    color: #0f172a;
}

.ipo-detail-schedule-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ipo-detail-info-card {
    border-radius: 16px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
}

.ipo-detail-info-card span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 900;
    color: #64748b;
}

.ipo-detail-info-card strong {
    display: block;
    font-size: .98rem;
    line-height: 1.55;
    color: #0f172a;
}

.ipo-detail-info-bb {
    background: #dbeafe;
    border-color: #bfdbfe;
}

.ipo-detail-info-lottery {
    background: #ede9fe;
    border-color: #ddd6fe;
}

.ipo-detail-info-purchase {
    background: #dcfce7;
    border-color: #bbf7d0;
}

.ipo-detail-info-listing {
    background: #fef3c7;
    border-color: #fde68a;
}

.ipo-detail-table-wrap {
    overflow-x: auto;
}

.ipo-detail-table {
    width: 100%;
    border-collapse: collapse;
}

.ipo-detail-table th,
.ipo-detail-table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 13px 12px;
    text-align: left;
    vertical-align: top;
}

.ipo-detail-table th {
    width: 180px;
    background: #f8fafc;
    color: #475569;
    font-weight: 900;
}

.ipo-detail-table td {
    color: #0f172a;
    font-weight: 700;
}

.ipo-detail-broker-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
}

.ipo-detail-broker-box p {
    margin: 0 0 10px;
    line-height: 1.8;
}

.ipo-detail-broker-box p:last-child {
    margin-bottom: 0;
}

.ipo-detail-content {
    line-height: 1.9;
}

.ipo-detail-back {
    margin-top: 26px;
    text-align: center;
}

.ipo-detail-back a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 11px 18px;
    background: #eff6ff;
    color: #1d4ed8 !important;
    text-decoration: none !important;
    font-weight: 900;
    border: 1px solid #bfdbfe;
}

@media (max-width: 900px) {
    .ipo-detail-hero {
        grid-template-columns: 1fr;
    }

    .ipo-detail-score-card {
        min-height: 130px;
    }

    .ipo-detail-schedule-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ipo-detail-cta-card {
        display: block;
    }

    .ipo-detail-cta-button {
        width: 100%;
        margin-top: 16px;
    }
}

@media (max-width: 640px) {
    .ipo-detail-page {
        padding: 16px 12px 42px;
    }

    .ipo-detail-hero,
    .ipo-detail-section,
    .ipo-detail-cta-card {
        border-radius: 18px;
        padding: 18px;
    }

    .ipo-detail-schedule-grid {
        grid-template-columns: 1fr;
    }

    .ipo-detail-table th,
    .ipo-detail-table td {
        display: block;
        width: 100%;
    }

    .ipo-detail-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }

    .ipo-detail-table td {
        padding-top: 5px;
    }
}

/* --------------------------------------------------------------------------
   証券会社ランキング
   -------------------------------------------------------------------------- */
.ipo-securities-wrap {
    margin: 36px 0;
}

.ipo-securities-head {
    margin-bottom: 18px;
}

.ipo-securities-head h2 {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.4;
}

.ipo-securities-note {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.ipo-securities-list {
    display: grid;
    gap: 14px;
}

.ipo-securities-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 180px;
    gap: 18px;
    align-items: center;
    background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(15,23,42,.07);
    transition: .2s ease;
}

.ipo-securities-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(15,23,42,.11);
}

.ipo-securities-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #fef3c7;
    color: #92400e;
    font-size: 15px;
    font-weight: 900;
}

.ipo-securities-label {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 11px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 8px;
}

.ipo-securities-main h3 {
    margin: 0 0 8px;
    font-size: 1.18rem;
    font-weight: 900;
    line-height: 1.4;
}

.ipo-securities-main h3 a {
    color: #0f172a !important;
    text-decoration: none !important;
}

.ipo-securities-campaign {
    margin: 0 0 12px;
    color: #b45309;
    font-size: 13px;
    font-weight: 800;
}

.ipo-securities-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.ipo-securities-meta div {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 9px;
}

.ipo-securities-meta dt {
    margin-bottom: 3px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.ipo-securities-meta dd {
    margin: 0;
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
}

.ipo-securities-side {
    display: grid;
    gap: 12px;
}

.ipo-securities-score {
    text-align: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    padding: 13px 10px;
}

.ipo-securities-score span {
    display: block;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 900;
}

.ipo-securities-score strong {
    display: block;
    color: #1e40af;
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 900;
}

.ipo-securities-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    border-radius: 999px;
    background: #2563eb;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(37,99,235,.24);
}

.ipo-securities-button:hover {
    filter: brightness(.96);
    transform: translateY(-1px);
}

.ipo-securities-empty {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    color: #475569;
    font-weight: 800;
}

@media (max-width: 900px) {
    .ipo-securities-card {
        grid-template-columns: 1fr;
    }

    .ipo-securities-rank {
        width: auto;
        height: auto;
        border-radius: 999px;
        padding: 7px 12px;
        justify-self: start;
    }

    .ipo-securities-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ipo-securities-head h2 {
        font-size: 1.35rem;
    }

    .ipo-securities-meta {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
 * 証券会社詳細ページ
 * -------------------------------------------------------------------------- */
.ipo-sec-detail-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 16px 56px;
}

.ipo-sec-detail-article {
    display: grid;
    gap: 24px;
}

.ipo-sec-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 24px;
    align-items: stretch;
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
    border: 1px solid #dbeafe;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}

.ipo-sec-detail-hero h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    line-height: 1.25;
    font-weight: 900;
}

.ipo-sec-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.ipo-sec-detail-badges span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 800;
}

.ipo-sec-detail-lead {
    margin: 18px 0 0;
    color: #334155;
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 700;
}

.ipo-sec-detail-score-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    background: #0f172a;
    color: #fff;
    border-radius: 22px;
    padding: 20px;
    text-align: center;
}

.ipo-sec-detail-score-card span {
    font-size: 13px;
    font-weight: 800;
    color: #bfdbfe;
}

.ipo-sec-detail-score-card strong {
    display: block;
    margin-top: 4px;
    font-size: 3rem;
    line-height: 1;
    font-weight: 900;
}

.ipo-sec-detail-score-card small {
    margin-top: 4px;
    color: #cbd5e1;
    font-weight: 800;
}

.ipo-sec-detail-cta-card,
.ipo-sec-detail-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 16px 36px rgba(37, 99, 235, .2);
}

.ipo-sec-detail-cta-card h2,
.ipo-sec-detail-bottom-cta h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
}

.ipo-sec-detail-cta-card p,
.ipo-sec-detail-bottom-cta p {
    margin: 0;
    color: #dbeafe;
    font-weight: 700;
}

.ipo-sec-detail-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 190px;
    padding: 13px 18px;
    border-radius: 999px;
    background: #fff;
    color: #1d4ed8 !important;
    text-decoration: none !important;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .14);
    transition: .18s ease;
}

.ipo-sec-detail-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .18);
}

.ipo-sec-detail-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.ipo-sec-detail-section h2 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 900;
}

.ipo-sec-detail-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ipo-sec-detail-metric-card {
    min-height: 116px;
    border-radius: 18px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.ipo-sec-detail-metric-card span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.ipo-sec-detail-metric-card strong {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 900;
}

.ipo-sec-detail-metric-lead {
    background: #dbeafe;
    border-color: #bfdbfe;
}

.ipo-sec-detail-metric-underwriting {
    background: #fef3c7;
    border-color: #fde68a;
}

.ipo-sec-detail-metric-lottery {
    background: #ede9fe;
    border-color: #ddd6fe;
}

.ipo-sec-detail-metric-deposit {
    background: #dcfce7;
    border-color: #bbf7d0;
}

.ipo-sec-detail-table-wrap {
    overflow-x: auto;
}

.ipo-sec-detail-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 16px;
}

.ipo-sec-detail-table th,
.ipo-sec-detail-table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 16px;
    vertical-align: top;
}

.ipo-sec-detail-table th {
    width: 220px;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 900;
    text-align: left;
}

.ipo-sec-detail-table td {
    color: #0f172a;
    font-weight: 700;
    line-height: 1.7;
}

.ipo-sec-detail-content {
    line-height: 1.9;
}

.ipo-sec-detail-bottom-cta {
    display: block;
    text-align: center;
}

.ipo-sec-detail-bottom-cta .ipo-sec-detail-cta-button {
    margin-top: 16px;
}

.ipo-sec-detail-back {
    text-align: center;
}

.ipo-sec-detail-back a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 18px;
    background: #f8fafc;
    color: #2563eb;
    text-decoration: none !important;
    font-weight: 900;
    border: 1px solid #dbeafe;
}

@media (max-width: 900px) {
    .ipo-sec-detail-hero {
        grid-template-columns: 1fr;
    }

    .ipo-sec-detail-score-card {
        min-height: 120px;
    }

    .ipo-sec-detail-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ipo-sec-detail-cta-card {
        display: block;
    }

    .ipo-sec-detail-cta-card .ipo-sec-detail-cta-button {
        margin-top: 16px;
    }
}

@media (max-width: 640px) {
    .ipo-sec-detail-page {
        padding-inline: 12px;
    }

    .ipo-sec-detail-hero,
    .ipo-sec-detail-section,
    .ipo-sec-detail-cta-card,
    .ipo-sec-detail-bottom-cta {
        border-radius: 18px;
        padding: 18px;
    }

    .ipo-sec-detail-metrics {
        grid-template-columns: 1fr;
    }

    .ipo-sec-detail-table th,
    .ipo-sec-detail-table td {
        display: block;
        width: 100%;
        padding: 12px;
    }

    .ipo-sec-detail-table th {
        border-bottom: none;
    }
}

/* IPO詳細ページ: 証券会社CTA強化 */
.ipo-detail-broker-cta {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    background: linear-gradient(135deg,#eff6ff 0%,#ffffff 58%,#fef3c7 100%);
    border: 1px solid #bfdbfe;
    border-radius: 22px;
    padding: 22px;
    margin: 24px 0;
    box-shadow: 0 14px 36px rgba(15,23,42,.08);
}

.ipo-detail-broker-cta-bottom {
    margin-top: 30px;
    background: linear-gradient(135deg,#ffffff 0%,#f8fafc 100%);
}

.ipo-detail-broker-cta-label {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 900;
}

.ipo-detail-broker-cta h2 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 900;
    color: #0f172a;
}

.ipo-detail-broker-cta p {
    margin: 0;
    color: #475569;
    font-weight: 700;
}

.ipo-detail-broker-campaign {
    display: inline-block;
    margin-top: 10px !important;
    padding: 8px 11px;
    border-radius: 12px;
    background: #fff7ed;
    color: #9a3412 !important;
    font-size: 13px;
    font-weight: 900 !important;
}

.ipo-detail-broker-cta-actions {
    flex: 0 0 auto;
    display: grid;
    gap: 10px;
    min-width: 230px;
}

.ipo-detail-secondary-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155 !important;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none !important;
}

.ipo-detail-secondary-button:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.ipo-detail-broker-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr);
    gap: 16px;
}

.ipo-detail-broker-panel-main,
.ipo-detail-underwriters-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
}

.ipo-detail-broker-panel h3,
.ipo-detail-underwriters-box h3 {
    margin: 0 0 12px;
    font-size: 1.1rem;
    font-weight: 900;
    color: #0f172a;
}

.ipo-detail-broker-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ipo-detail-broker-metric {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 12px;
}

.ipo-detail-broker-metric span {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.ipo-detail-broker-metric strong {
    display: block;
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
}

.ipo-detail-underwriters-box p {
    margin: 0;
    color: #334155;
    font-weight: 700;
    line-height: 1.8;
}

/* IPO詳細ページ: 関連IPO */
.ipo-detail-section-head-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 16px;
}

.ipo-detail-section-head-row h2,
.ipo-detail-section-head-row .ipo-section-sub {
    margin-bottom: 0;
}

.ipo-detail-section-head-row > a {
    flex: 0 0 auto;
    color: #2563eb;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
}

.ipo-detail-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ipo-detail-related-card {
    display: block;
    background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
    color: #0f172a !important;
    text-decoration: none !important;
    transition: .18s ease;
}

.ipo-detail-related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15,23,42,.1);
}

.ipo-detail-related-date {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: 12px;
    font-weight: 900;
}

.ipo-detail-related-card h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 900;
    color: #0f172a;
}

.ipo-detail-related-card p {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}

.ipo-detail-related-card p span {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .ipo-detail-broker-cta,
    .ipo-detail-broker-panel {
        display: block;
    }

    .ipo-detail-broker-cta-actions {
        margin-top: 16px;
        min-width: 0;
    }

    .ipo-detail-underwriters-box {
        margin-top: 14px;
    }

    .ipo-detail-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ipo-detail-broker-metrics {
        grid-template-columns: 1fr;
    }

    .ipo-detail-section-head-row {
        display: block;
    }

    .ipo-detail-section-head-row > a {
        display: inline-block;
        margin-top: 10px;
    }
}

/* --------------------------------------------------------------------------
   IPO詳細ページ v3.0.0 強化
   -------------------------------------------------------------------------- */
.ipo-detail-hero-v3 {
    align-items: stretch;
}

.ipo-detail-score-stack {
    display: grid;
    gap: 12px;
    min-width: 180px;
}

.ipo-detail-score-mini {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(15,23,42,.07);
}

.ipo-detail-score-mini span {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.ipo-detail-score-mini strong {
    color: #b45309;
    font-size: 1.2rem;
    font-weight: 900;
}

.ipo-detail-summary-box {
    background: linear-gradient(135deg,#eff6ff 0%,#ffffff 58%,#fef3c7 100%);
    border: 1px solid #bfdbfe;
}

.ipo-detail-summary-grid,
.ipo-detail-shareholder-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 12px;
    margin-top: 16px;
}

.ipo-detail-shareholder-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
}

.ipo-detail-summary-metric {
    background: rgba(255,255,255,.92);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px;
}

.ipo-detail-summary-metric span {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.ipo-detail-summary-metric strong {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 900;
}

.ipo-detail-conclusion {
    margin-top: 16px;
    background: #fff;
    border-left: 5px solid #2563eb;
    border-radius: 14px;
    padding: 16px 18px;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.8;
}

.ipo-detail-conclusion p:last-child {
    margin-bottom: 0;
}

.ipo-detail-timeline {
    display: grid;
    grid-template-columns: repeat(6, minmax(0,1fr));
    gap: 10px;
}

.ipo-detail-timeline-item {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px 12px;
    box-shadow: 0 8px 22px rgba(15,23,42,.05);
}

.ipo-detail-timeline-dot {
    display: inline-flex;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2563eb;
    margin-bottom: 10px;
}

.ipo-detail-timeline-item span:not(.ipo-detail-timeline-dot) {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.ipo-detail-timeline-item strong {
    display: block;
    margin-top: 5px;
    color: #0f172a;
    font-size: .92rem;
    font-weight: 900;
    line-height: 1.45;
}

.ipo-detail-timeline-bb .ipo-detail-timeline-dot { background: #2563eb; }
.ipo-detail-timeline-lottery .ipo-detail-timeline-dot { background: #7c3aed; }
.ipo-detail-timeline-purchase .ipo-detail-timeline-dot { background: #16a34a; }
.ipo-detail-timeline-listing .ipo-detail-timeline-dot { background: #d97706; }

.ipo-detail-factor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
}

.ipo-detail-factor-box {
    border-radius: 18px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.ipo-detail-factor-positive {
    background: linear-gradient(180deg,#f0fdf4 0%,#ffffff 100%);
    border-color: #bbf7d0;
}

.ipo-detail-factor-negative {
    background: linear-gradient(180deg,#fff7ed 0%,#ffffff 100%);
    border-color: #fed7aa;
}

.ipo-detail-factor-box h3,
.ipo-detail-list-box h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 900;
}

.ipo-detail-factor-box ul,
.ipo-detail-list-box ul {
    margin: 0;
    padding-left: 1.2em;
}

.ipo-detail-factor-box li,
.ipo-detail-list-box li {
    margin: 8px 0;
    color: #334155;
    font-weight: 700;
    line-height: 1.7;
}

.ipo-detail-section-note {
    color: #64748b;
    font-weight: 700;
    margin: -4px 0 18px;
}

/* 業績グラフ v3.1.0 */
.ipo-detail-financial-visual {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 18px;
    align-items: stretch;
}

.ipo-detail-financial-chart-card,
.ipo-detail-financial-table-card,
.ipo-detail-financial-comment,
.ipo-detail-financial-summary {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15,23,42,.06);
}

.ipo-detail-financial-chart-card {
    padding: 18px;
}

.ipo-detail-financial-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}

.ipo-detail-financial-chart-head h3,
.ipo-detail-financial-comment h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 900;
    color: #0f172a;
}

.ipo-detail-financial-chart-head p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.ipo-detail-financial-svg {
    display: block;
    width: 100%;
    height: auto;
    min-height: 220px;
    background: linear-gradient(180deg,#f8fafc 0%,#ffffff 100%);
    border-radius: 16px;
}

.ipo-detail-chart-axis {
    stroke: #cbd5e1;
    stroke-width: 1.5;
}

.ipo-detail-line-sales,
.ipo-detail-line-profit {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ipo-detail-line-sales { stroke: #2563eb; }
.ipo-detail-line-profit { stroke: #16a34a; }

.ipo-detail-dot-sales,
.ipo-detail-dot-profit {
    stroke: #fff;
    stroke-width: 2;
}

.ipo-detail-dot-sales { fill: #2563eb; }
.ipo-detail-dot-profit { fill: #16a34a; }

.ipo-detail-chart-year {
    fill: #475569;
    font-size: 11px;
    font-weight: 800;
}

.ipo-detail-financial-legend {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}

.ipo-detail-financial-legend span::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.ipo-detail-financial-legend .legend-sales::before { background: #2563eb; }
.ipo-detail-financial-legend .legend-profit::before { background: #16a34a; }

.ipo-detail-financial-table-card {
    overflow: hidden;
}

.ipo-detail-financial-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.ipo-detail-financial-table th,
.ipo-detail-financial-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e5e7eb;
    text-align: right;
    color: #0f172a;
    font-weight: 800;
}

.ipo-detail-financial-table th:first-child,
.ipo-detail-financial-table td:first-child {
    text-align: left;
}

.ipo-detail-financial-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    white-space: nowrap;
}

.ipo-detail-financial-table tr:last-child td {
    border-bottom: none;
}

.ipo-detail-financial-table .is-positive { color: #15803d; }
.ipo-detail-financial-table .is-negative { color: #dc2626; }

.ipo-detail-financial-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 16px;
    overflow: hidden;
}

.ipo-detail-financial-summary div {
    padding: 16px;
    border-right: 1px solid #e5e7eb;
}

.ipo-detail-financial-summary div:last-child {
    border-right: none;
}

.ipo-detail-financial-summary span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 4px;
}

.ipo-detail-financial-summary strong {
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 900;
}

.ipo-detail-financial-comment {
    margin-top: 16px;
    padding: 18px;
}

.ipo-detail-financial-comment p {
    margin: 10px 0 0;
    color: #334155;
    line-height: 1.9;
    font-weight: 700;
}

.ipo-detail-list-box {
    margin-top: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
}

@media (max-width: 900px) {
    .ipo-detail-score-stack,
    .ipo-detail-summary-grid,
    .ipo-detail-shareholder-grid,
    .ipo-detail-timeline,
    .ipo-detail-factor-grid {
        grid-template-columns: 1fr;
    }

    .ipo-detail-timeline-item {
        display: flex;
        gap: 12px;
        align-items: center;
    }

    .ipo-detail-timeline-dot {
        margin-bottom: 0;
        flex: 0 0 12px;
    }
}

@media (max-width: 640px) {
    .ipo-detail-financial-visual,
    .ipo-detail-financial-summary {
        grid-template-columns: 1fr;
    }

    .ipo-detail-financial-summary div {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .ipo-detail-financial-summary div:last-child {
        border-bottom: none;
    }

    .ipo-detail-financial-table-card {
        overflow-x: auto;
    }

    .ipo-detail-financial-table {
        min-width: 520px;
    }
}

/* --------------------------------------------------------------------------
 * v3.2.0 証券会社詳細ページ強化
 * -------------------------------------------------------------------------- */
.ipo-sec-detail-cta-card-strong {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 62%, #fef3c7 100%);
    border: 1px solid #bfdbfe;
}

.ipo-sec-detail-cta-kicker {
    margin: 0 0 4px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
}

.ipo-sec-detail-section-lead {
    margin: -4px 0 16px;
    color: #475569;
    line-height: 1.8;
    font-weight: 700;
}

.ipo-sec-detail-yearly-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}

.ipo-sec-detail-yearly-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.ipo-sec-detail-yearly-table th,
.ipo-sec-detail-yearly-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    text-align: right;
    font-weight: 800;
}

.ipo-sec-detail-yearly-table th:first-child,
.ipo-sec-detail-yearly-table td:first-child {
    text-align: left;
}

.ipo-sec-detail-yearly-table thead th {
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
}

.ipo-sec-detail-yearly-table tbody th {
    color: #0f172a;
}

.ipo-sec-detail-yearly-table tr:last-child th,
.ipo-sec-detail-yearly-table tr:last-child td {
    border-bottom: none;
}

.ipo-sec-detail-rule-grid,
.ipo-sec-detail-procon-grid,
.ipo-sec-detail-user-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ipo-sec-detail-rule-card,
.ipo-sec-detail-procon-card,
.ipo-sec-detail-user-card,
.ipo-sec-detail-note-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}

.ipo-sec-detail-rule-card span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 6px;
}

.ipo-sec-detail-rule-card strong {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 900;
}

.ipo-sec-detail-note-box {
    margin-top: 16px;
    background: #f8fafc;
}

.ipo-sec-detail-note-box p {
    margin: 0 0 10px;
    color: #334155;
    line-height: 1.9;
    font-weight: 700;
}

.ipo-sec-detail-note-box p:last-child {
    margin-bottom: 0;
}

.ipo-sec-detail-procon-card h3,
.ipo-sec-detail-user-card h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
    font-weight: 900;
    color: #0f172a;
}

.ipo-sec-detail-procon-card ul,
.ipo-sec-detail-user-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ipo-sec-detail-procon-card li,
.ipo-sec-detail-user-card li {
    position: relative;
    padding: 9px 0 9px 28px;
    border-bottom: 1px dashed #e5e7eb;
    color: #334155;
    font-weight: 800;
    line-height: 1.6;
}

.ipo-sec-detail-procon-card li:last-child,
.ipo-sec-detail-user-card li:last-child {
    border-bottom: none;
}

.ipo-sec-detail-procon-card li::before,
.ipo-sec-detail-user-card li::before {
    position: absolute;
    left: 0;
    top: 9px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}

.ipo-sec-detail-procon-card.is-merit,
.ipo-sec-detail-user-card.is-recommended {
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.ipo-sec-detail-procon-card.is-demerit,
.ipo-sec-detail-user-card.is-not-recommended {
    background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
}

.ipo-sec-detail-procon-card.is-merit li::before,
.ipo-sec-detail-user-card.is-recommended li::before {
    content: "✓";
    color: #15803d;
    background: #dcfce7;
}

.ipo-sec-detail-procon-card.is-demerit li::before,
.ipo-sec-detail-user-card.is-not-recommended li::before {
    content: "!";
    color: #c2410c;
    background: #ffedd5;
}

.ipo-sec-detail-faq {
    display: grid;
    gap: 10px;
}

.ipo-sec-detail-faq details {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px 16px;
}

.ipo-sec-detail-faq summary {
    cursor: pointer;
    color: #0f172a;
    font-weight: 900;
}

.ipo-sec-detail-faq p {
    margin: 12px 0 0;
    color: #334155;
    line-height: 1.8;
    font-weight: 700;
}

.ipo-sec-detail-compare-link .ipo-sec-compare-wrap {
    margin-top: 16px;
}

@media (max-width: 768px) {
    .ipo-sec-detail-rule-grid,
    .ipo-sec-detail-procon-grid,
    .ipo-sec-detail-user-grid {
        grid-template-columns: 1fr;
    }

    .ipo-sec-detail-yearly-table {
        min-width: 460px;
    }
}

/* =========================================================
   トップページ用ファーストビュー [ipo_home_hero]
========================================================= */
.ipo-home-hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 36px;
    padding: clamp(28px, 5vw, 56px);
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(59,130,246,.22), transparent 34%),
        radial-gradient(circle at bottom right, rgba(245,158,11,.18), transparent 30%),
        linear-gradient(135deg, #0f172a 0%, #1e3a8a 52%, #0f766e 100%);
    color: #fff;
    box-shadow: 0 18px 50px rgba(15,23,42,.18);
}

.ipo-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: .2;
    pointer-events: none;
}

.ipo-home-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: clamp(22px, 4vw, 44px);
    align-items: center;
}

.ipo-home-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    color: #dbeafe;
}

.ipo-home-hero__title {
    margin: 0;
    font-size: clamp(2rem, 4.6vw, 3.7rem);
    line-height: 1.12;
    letter-spacing: -.04em;
    color: #fff;
    font-weight: 900;
}

.ipo-home-hero__lead {
    max-width: 720px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.86);
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.8;
    font-weight: 700;
}

.ipo-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.ipo-home-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none !important;
    font-weight: 900;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.ipo-home-hero__button:hover {
    transform: translateY(-2px);
    filter: brightness(.98);
}

.ipo-home-hero__button--primary {
    background: #fff;
    color: #1d4ed8 !important;
    box-shadow: 0 10px 26px rgba(0,0,0,.18);
}

.ipo-home-hero__button--secondary {
    background: rgba(255,255,255,.12);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.28);
}

.ipo-home-hero__panel {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 24px;
    padding: 18px;
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}

.ipo-home-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ipo-home-hero__stat {
    min-height: 104px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 18px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.18);
    text-align: center;
}

.ipo-home-hero__stat span {
    display: block;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    font-weight: 900;
}

.ipo-home-hero__stat strong {
    display: inline-block;
    margin-top: 6px;
    font-size: 2.2rem;
    line-height: 1;
    color: #fff;
    font-weight: 900;
}

.ipo-home-hero__stat em {
    margin-top: 2px;
    color: rgba(255,255,255,.75);
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
}

.ipo-home-hero__featured {
    display: block;
    margin-top: 12px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    color: #0f172a !important;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease;
}

.ipo-home-hero__featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

.ipo-home-hero__featured-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: 12px;
    font-weight: 900;
}

.ipo-home-hero__featured strong {
    display: block;
    font-size: 1.12rem;
    font-weight: 900;
    color: #0f172a;
}

.ipo-home-hero__featured dl {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 12px 0 0;
}

.ipo-home-hero__featured dl div {
    padding: 8px;
    border-radius: 12px;
    background: #f8fafc;
}

.ipo-home-hero__featured dt {
    margin: 0 0 3px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.ipo-home-hero__featured dd {
    margin: 0;
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
}

.ipo-home-hero__featured-more {
    display: inline-block;
    margin-top: 12px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 900;
}

.ipo-home-hero__updated {
    margin: 12px 0 0;
    color: rgba(255,255,255,.76);
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

@media (max-width: 960px) {
    .ipo-home-hero__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ipo-home-hero {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        border-radius: 0;
        padding: 28px 18px;
    }

    .ipo-home-hero__actions,
    .ipo-home-hero__button {
        width: 100%;
    }

    .ipo-home-hero__stats {
        grid-template-columns: 1fr;
    }

    .ipo-home-hero__stat {
        min-height: auto;
        flex-direction: row;
        justify-content: space-between;
        padding: 14px 16px;
        text-align: left;
    }

    .ipo-home-hero__stat strong {
        margin-top: 0;
        font-size: 1.8rem;
    }

    .ipo-home-hero__featured dl {
        grid-template-columns: 1fr;
    }

    .ipo-home-hero__updated {
        text-align: left;
    }
}


/* =========================================================
   [ipo_home_hero] Header-matched dark navy & gold theme
   ヘッダー画像の濃紺・ゴールド基調に合わせた上書き
========================================================= */
.ipo-home-hero {
    background:
        radial-gradient(circle at 18% 18%, rgba(246,199,68,.26), transparent 28%),
        radial-gradient(circle at 82% 12%, rgba(250,204,21,.18), transparent 34%),
        radial-gradient(circle at 92% 92%, rgba(37,99,235,.22), transparent 32%),
        linear-gradient(135deg, #061b3a 0%, #08244d 52%, #041226 100%);
    color: #ffffff;
    border: 1px solid rgba(246,199,68,.34);
    box-shadow: 0 22px 58px rgba(4,18,38,.28);
}

.ipo-home-hero::before {
    background-image:
        linear-gradient(rgba(246,199,68,.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(246,199,68,.10) 1px, transparent 1px);
    opacity: .22;
}

.ipo-home-hero__eyebrow {
    background: rgba(246,199,68,.14);
    border-color: rgba(246,199,68,.42);
    color: #f6c744;
}

.ipo-home-hero__title,
.ipo-home-hero__stat strong {
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(0,0,0,.22);
}

.ipo-home-hero__title strong,
.ipo-home-hero__title mark {
    color: #f6c744;
    background: transparent;
}

.ipo-home-hero__lead {
    color: rgba(255,255,255,.88);
}

.ipo-home-hero__button--primary {
    background: linear-gradient(180deg, #ffe27a 0%, #f6c744 52%, #d99a18 100%);
    color: #071a33 !important;
    box-shadow: 0 12px 30px rgba(246,199,68,.28), inset 0 1px 0 rgba(255,255,255,.45);
}

.ipo-home-hero__button--secondary {
    background: rgba(255,255,255,.04);
    color: #f6c744 !important;
    border: 1px solid rgba(246,199,68,.56);
}

.ipo-home-hero__panel {
    background: rgba(5,22,48,.78);
    border-color: rgba(246,199,68,.28);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        0 16px 36px rgba(0,0,0,.22);
}

.ipo-home-hero__stat {
    background: rgba(255,255,255,.08);
    border-color: rgba(246,199,68,.24);
}

.ipo-home-hero__stat span,
.ipo-home-hero__stat em,
.ipo-home-hero__updated {
    color: rgba(255,255,255,.78);
}

.ipo-home-hero__featured {
    background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, #fffaf0 100%);
    border: 1px solid rgba(246,199,68,.42);
    box-shadow: 0 14px 34px rgba(0,0,0,.18);
}

.ipo-home-hero__featured-label {
    background: #f6c744;
    color: #071a33;
}

.ipo-home-hero__featured dl div {
    background: #fff7db;
    border: 1px solid rgba(246,199,68,.26);
}

.ipo-home-hero__featured-more {
    color: #0b3a78;
}

/* =========================================================
   [ipo_home_hero] v3.4.0 Engagement enhancements
   ヘッダー画像に合わせた導線カード・BB締切訴求・3つ目CTA
========================================================= */
.ipo-home-hero__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.ipo-home-hero__mini-card {
    display: grid;
    gap: 4px;
    min-height: 112px;
    padding: 16px;
    border-radius: 18px;
    text-decoration: none !important;
    color: #ffffff !important;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(246,199,68,.24);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.ipo-home-hero__mini-card:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,.11);
    border-color: rgba(246,199,68,.52);
}

.ipo-home-hero__mini-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 4px;
    border-radius: 12px;
    background: rgba(246,199,68,.16);
    border: 1px solid rgba(246,199,68,.28);
    font-size: 20px;
}

.ipo-home-hero__mini-card strong {
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.35;
}

.ipo-home-hero__mini-card em {
    color: rgba(255,255,255,.76);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.55;
}

.ipo-home-hero__button--ghost {
    background: rgba(255,255,255,.07);
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,.22);
}

.ipo-home-hero__deadline {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    text-decoration: none !important;
    background: linear-gradient(90deg, rgba(246,199,68,.22), rgba(246,199,68,.08));
    border: 1px solid rgba(246,199,68,.38);
    color: #ffffff !important;
    transition: transform .18s ease, filter .18s ease;
}

.ipo-home-hero__deadline:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
}

.ipo-home-hero__deadline span {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f6c744;
    color: #071a33;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.ipo-home-hero__deadline strong {
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ipo-home-hero__deadline em {
    color: #f6c744;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

@media (max-width: 960px) {
    .ipo-home-hero__cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ipo-home-hero__cards {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 20px;
    }

    .ipo-home-hero__mini-card {
        min-height: auto;
        grid-template-columns: auto 1fr;
        align-items: center;
    }

    .ipo-home-hero__mini-icon {
        grid-row: span 2;
        margin-bottom: 0;
    }

    .ipo-home-hero__deadline {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .ipo-home-hero__deadline strong {
        white-space: normal;
    }
}

/* IPO詳細ページ：申込戦略 */
.ipo-detail-application-strategy {
    background: linear-gradient(135deg, #071a33 0%, #0b2a57 100%);
    color: #ffffff;
    border: 1px solid rgba(246, 199, 68, .28);
    box-shadow: 0 18px 48px rgba(7, 26, 51, .22);
}

.ipo-detail-application-strategy h2,
.ipo-detail-application-strategy h3,
.ipo-detail-application-strategy h4 {
    color: #ffffff;
}

.ipo-detail-strategy-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.ipo-detail-strategy-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f6c744;
    color: #071a33;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.ipo-detail-strategy-summary {
    padding: 18px 20px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.92);
    font-weight: 700;
    line-height: 1.85;
}

.ipo-detail-strategy-summary p:last-child {
    margin-bottom: 0;
}

.ipo-detail-strategy-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.ipo-detail-strategy-step {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(246,199,68,.22);
}

.ipo-detail-strategy-step > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #f6c744;
    color: #071a33;
    font-weight: 900;
}

.ipo-detail-strategy-step p {
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 0;
}

.ipo-detail-strategy-brokers {
    margin-top: 20px;
}

.ipo-detail-strategy-broker-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.ipo-detail-strategy-broker-card {
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    color: #071a33;
    border: 1px solid rgba(246,199,68,.25);
}

.ipo-detail-strategy-broker-card h4 {
    color: #071a33;
    font-size: 18px;
    margin: 8px 0 10px;
}

.ipo-detail-strategy-rank {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f6c744;
    color: #071a33;
    font-size: 12px;
    font-weight: 900;
}

.ipo-detail-strategy-broker-card ul {
    margin: 0 0 14px 1.2em;
    padding: 0;
    color: #334155;
    font-size: 13px;
    line-height: 1.7;
}

.ipo-detail-strategy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ipo-detail-strategy-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #071a33;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 900;
}

.ipo-detail-strategy-actions a.is-secondary {
    background: #eff6ff;
    color: #1d4ed8 !important;
}

.ipo-detail-strategy-notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.ipo-detail-strategy-note {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
}

.ipo-detail-strategy-note ul {
    margin: 0 0 0 1.2em;
    padding: 0;
    color: rgba(255,255,255,.86);
    line-height: 1.8;
}

.ipo-detail-strategy-note.is-warning {
    border-color: rgba(248,113,113,.4);
}

@media (max-width: 768px) {
    .ipo-detail-strategy-head {
        display: block;
    }

    .ipo-detail-strategy-pill {
        margin-top: 10px;
        white-space: normal;
    }

    .ipo-detail-strategy-steps,
    .ipo-detail-strategy-broker-grid,
    .ipo-detail-strategy-notes {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------------
   IPO検索・絞り込み（v3.6.0）
   ------------------------------------------------------------------------- */
.ipo-search-wrap {
    margin: 40px 0;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    box-shadow: 0 14px 44px rgba(15, 23, 42, .08);
}

.ipo-search-head {
    margin-bottom: 20px;
}

.ipo-search-head h2 {
    margin: 0 0 6px;
    font-size: 1.65rem;
    font-weight: 900;
    color: #0f172a;
}

.ipo-search-head p:last-child {
    margin: 0;
    color: #64748b;
    font-weight: 600;
}

.ipo-search-form {
    padding: 20px;
    border-radius: 20px;
    background: #0b1f3f;
    border: 1px solid rgba(246, 199, 68, .24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.ipo-search-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ipo-search-field {
    display: block;
}

.ipo-search-field--wide {
    grid-column: span 2;
}

.ipo-search-field span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 900;
    color: #f6c744;
    letter-spacing: .03em;
}

.ipo-search-field input,
.ipo-search-field select {
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
    padding: 9px 12px;
    font-size: 14px;
    font-weight: 700;
    outline: none;
}

.ipo-search-field input::placeholder {
    color: rgba(255, 255, 255, .5);
}

.ipo-search-field select option {
    color: #0f172a;
    background: #ffffff;
}

.ipo-search-field input:focus,
.ipo-search-field select:focus {
    border-color: #f6c744;
    box-shadow: 0 0 0 3px rgba(246, 199, 68, .2);
}

.ipo-search-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.ipo-search-submit,
.ipo-search-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    padding: 0 20px;
    font-weight: 900;
    text-decoration: none !important;
}

.ipo-search-submit {
    border: none;
    background: #f6c744;
    color: #071a33;
    cursor: pointer;
}

.ipo-search-reset {
    border: 1px solid rgba(246, 199, 68, .42);
    color: #f6c744;
    background: transparent;
}

.ipo-search-summary {
    margin: 18px 0 14px;
    color: #475569;
    font-weight: 800;
}

.ipo-search-summary strong {
    font-size: 1.35rem;
    color: #0f172a;
    margin-right: 4px;
}

.ipo-search-summary span {
    margin-left: 8px;
    font-size: 13px;
    color: #64748b;
}

.ipo-search-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ipo-search-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
    overflow: hidden;
    transition: .2s ease;
}

.ipo-search-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, .1);
}

.ipo-search-card__main {
    display: block;
    padding: 18px;
    color: inherit;
    text-decoration: none !important;
}

.ipo-search-card__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.ipo-search-card__title-row h3 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 900;
    line-height: 1.35;
    color: #0f172a;
}

.ipo-search-card__rating {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 32px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-weight: 900;
    border: 1px solid #fde68a;
}

.ipo-search-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.ipo-search-card__chips span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}

.ipo-search-card__data {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.ipo-search-card__data div {
    padding: 10px;
    border-radius: 12px;
    background: #f8fafc;
}

.ipo-search-card__data dt {
    margin: 0 0 3px;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

.ipo-search-card__data dd {
    margin: 0;
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
}

.ipo-search-card__more {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    background: #0b1f3f;
    color: #f6c744 !important;
    font-weight: 900;
    text-decoration: none !important;
}

.ipo-search-empty {
    padding: 22px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    color: #475569;
    font-weight: 800;
}

@media (max-width: 960px) {
    .ipo-search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ipo-search-results {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ipo-search-wrap {
        padding: 18px;
        border-radius: 18px;
    }

    .ipo-search-form {
        padding: 16px;
        border-radius: 16px;
    }

    .ipo-search-grid {
        grid-template-columns: 1fr;
    }

    .ipo-search-field--wide {
        grid-column: auto;
    }

    .ipo-search-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ipo-search-submit,
    .ipo-search-reset {
        width: 100%;
    }

    .ipo-search-card__data {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
 * 証券会社比較表
 * -------------------------------------------------------------------------- */
.ipo-sec-compare-wrap {
    margin: 40px 0;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    box-shadow: 0 14px 42px rgba(15, 23, 42, .07);
}

.ipo-sec-compare-head {
    margin-bottom: 18px;
}

.ipo-sec-compare-head h2 {
    margin: 4px 0 8px;
    font-size: 1.55rem;
    font-weight: 900;
    color: #0f172a;
}

.ipo-sec-compare-head p:last-child {
    margin: 0;
    color: #475569;
    font-weight: 700;
}

.ipo-sec-compare-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ipo-sec-compare-table {
    width: 100%;
    min-width: 980px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.ipo-sec-compare-table th,
.ipo-sec-compare-table td {
    padding: 13px 12px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    background: #fff;
}

.ipo-sec-compare-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #071a33;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.ipo-sec-compare-table th:first-child {
    border-top-left-radius: 14px;
}

.ipo-sec-compare-table th:last-child {
    border-top-right-radius: 14px;
}

.ipo-sec-compare-table tbody tr:hover td {
    background: #f8fafc;
}

.ipo-sec-compare-name a {
    display: block;
    color: #0f172a;
    font-weight: 900;
    text-decoration: none !important;
}

.ipo-sec-compare-name span {
    display: inline-flex;
    margin-top: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    font-weight: 900;
}

.ipo-sec-compare-text {
    max-width: 220px;
    line-height: 1.55;
}

.ipo-sec-compare-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 9px 12px;
    border-radius: 999px;
    background: #f6c744;
    color: #071a33 !important;
    font-weight: 900;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(246, 199, 68, .22);
}

.ipo-sec-compare-cta:hover {
    filter: brightness(.97);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .ipo-sec-compare-wrap {
        padding: 18px;
        border-radius: 18px;
    }

    .ipo-sec-compare-table-scroll {
        overflow: visible;
    }

    .ipo-sec-compare-table {
        min-width: 0;
        border-spacing: 0 12px;
    }

    .ipo-sec-compare-table thead {
        display: none;
    }

    .ipo-sec-compare-table,
    .ipo-sec-compare-table tbody,
    .ipo-sec-compare-table tr,
    .ipo-sec-compare-table td {
        display: block;
        width: 100%;
    }

    .ipo-sec-compare-table tr {
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    }

    .ipo-sec-compare-table td {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        padding: 11px 14px;
        border-bottom: 1px solid #eef2f7;
        text-align: right;
    }

    .ipo-sec-compare-table td::before {
        content: attr(data-label);
        flex: 0 0 112px;
        color: #64748b;
        font-weight: 900;
        text-align: left;
    }

    .ipo-sec-compare-table td:last-child {
        border-bottom: none;
    }

    .ipo-sec-compare-name,
    .ipo-sec-compare-text {
        max-width: none;
    }

    .ipo-sec-compare-name {
        display: block !important;
        text-align: left !important;
    }

    .ipo-sec-compare-name::before {
        display: block;
        margin-bottom: 6px;
    }

    .ipo-sec-compare-cta {
        width: 100%;
    }
}

/* v3.8.0: 上場後結果・業績グラフ・株主構成強化 */
.ipo-detail-result-section {
    background: linear-gradient(135deg,#061b3a 0%,#08244d 58%,#0f2f5f 100%);
    color: #fff;
    border-color: rgba(246,199,68,.28);
    box-shadow: 0 16px 44px rgba(6,27,58,.22);
}

.ipo-detail-result-section h2,
.ipo-detail-result-section .ipo-section-sub {
    color: #fff;
}

.ipo-detail-result-section .ipo-section-sub {
    color: #f6c744;
}

.ipo-detail-result-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.ipo-detail-result-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f6c744;
    color: #071a33;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.ipo-detail-result-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ipo-detail-result-grid .ipo-detail-summary-metric {
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.18);
}

.ipo-detail-result-grid .ipo-detail-summary-metric span {
    color: rgba(255,255,255,.72);
}

.ipo-detail-result-grid .ipo-detail-summary-metric strong {
    color: #fff;
}

.ipo-detail-result-profit.is-positive strong {
    color: #f6c744;
}

.ipo-detail-result-profit.is-negative strong {
    color: #fecaca;
}

.ipo-detail-result-comment {
    margin-top: 16px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.9);
}

.ipo-detail-result-comment p:last-child {
    margin-bottom: 0;
}

.ipo-detail-result-updated {
    margin: 0 0 8px;
    color: #f6c744;
    font-size: 12px;
    font-weight: 900;
}

.ipo-detail-chart-zero {
    stroke: #94a3b8;
    stroke-width: 1;
    stroke-dasharray: 4 5;
}

.ipo-detail-bar-sales {
    fill: #2563eb;
    opacity: .78;
}

.ipo-detail-line-profit {
    stroke: #f59e0b;
}

.ipo-detail-dot-profit {
    fill: #f59e0b;
}

.ipo-detail-financial-legend .legend-sales::before,
.ipo-detail-financial-legend .legend-profit::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: -1px;
}

.ipo-detail-financial-legend .legend-sales::before {
    background: #2563eb;
}

.ipo-detail-financial-legend .legend-profit::before {
    background: #f59e0b;
    border-radius: 999px;
}

.ipo-detail-shareholder-section {
    background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
}

.ipo-detail-shareholder-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
}

.ipo-detail-shareholder-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 16px;
    margin-top: 16px;
}

.ipo-detail-shareholder-comment {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
}

.ipo-detail-shareholder-comment h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 900;
    color: #0f172a;
}

.ipo-detail-shareholder-comment h3:not(:first-child) {
    margin-top: 16px;
}

@media (max-width: 768px) {
    .ipo-detail-result-head {
        display: block;
    }

    .ipo-detail-result-badge {
        margin-top: 10px;
    }

    .ipo-detail-result-grid,
    .ipo-detail-shareholder-grid,
    .ipo-detail-shareholder-layout {
        grid-template-columns: 1fr;
    }
}


/* v3.9.0: IPO詳細ページ スケジュール時間軸・業績グラフ目盛り強化 */
.ipo-detail-section-headline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.ipo-detail-section-headline h2 {
    margin: 0;
}

.ipo-detail-schedule-today {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-size: 12px;
    font-weight: 800;
}

.ipo-detail-schedule-axis {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.ipo-detail-schedule-axis::before {
    content: "";
    position: absolute;
    left: 7%;
    right: 7%;
    top: 18px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #7c3aed, #16a34a, #d97706);
    opacity: .28;
}

.ipo-detail-schedule-step {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.ipo-detail-schedule-marker {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.ipo-detail-schedule-marker span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(15,23,42,.16);
}

.ipo-detail-schedule-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 12px;
    text-align: center;
    min-height: 108px;
    box-shadow: 0 10px 24px rgba(15,23,42,.06);
}

.ipo-detail-schedule-label {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 900;
    background: #f1f5f9;
    color: #334155;
    margin-bottom: 7px;
}

.ipo-detail-schedule-card strong {
    display: block;
    font-size: 13px;
    color: #0f172a;
    line-height: 1.45;
}

.ipo-detail-schedule-card small {
    display: block;
    margin-top: 7px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.45;
}

.ipo-detail-schedule-bb .ipo-detail-schedule-marker span,
.ipo-detail-schedule-bb .ipo-detail-schedule-label { background: #dbeafe; color: #1d4ed8; }
.ipo-detail-schedule-lottery .ipo-detail-schedule-marker span,
.ipo-detail-schedule-lottery .ipo-detail-schedule-label { background: #ede9fe; color: #6d28d9; }
.ipo-detail-schedule-purchase .ipo-detail-schedule-marker span,
.ipo-detail-schedule-purchase .ipo-detail-schedule-label { background: #dcfce7; color: #15803d; }
.ipo-detail-schedule-listing .ipo-detail-schedule-marker span,
.ipo-detail-schedule-listing .ipo-detail-schedule-label { background: #fef3c7; color: #b45309; }

.ipo-detail-schedule-step.is-past .ipo-detail-schedule-card {
    opacity: .78;
}

.ipo-detail-schedule-step.is-today .ipo-detail-schedule-card {
    border-color: #f6c744;
    box-shadow: 0 14px 30px rgba(246,199,68,.22);
}

.ipo-detail-schedule-period {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(90deg, #061b3a, #08244d);
    color: #fff;
    border-radius: 16px;
    padding: 14px 16px;
}

.ipo-detail-schedule-period span {
    font-size: 13px;
    font-weight: 900;
    color: #f6c744;
}

.ipo-detail-schedule-period strong {
    font-size: 14px;
    text-align: right;
}

.ipo-detail-financial-svg {
    height: auto;
    overflow: visible;
}

.ipo-detail-chart-grid {
    stroke: #e5e7eb;
    stroke-width: 1;
    stroke-dasharray: 3 4;
}

.ipo-detail-chart-y-label,
.ipo-detail-chart-axis-caption {
    fill: #64748b;
    font-size: 10px;
    font-weight: 800;
}

.ipo-detail-chart-y-label-profit,
.ipo-detail-chart-axis-caption-profit {
    fill: #b45309;
}

.ipo-detail-chart-axis-profit {
    stroke: #f59e0b;
    opacity: .6;
}

@media (max-width: 960px) {
    .ipo-detail-schedule-axis {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ipo-detail-schedule-axis::before {
        display: none;
    }
}

@media (max-width: 640px) {
    .ipo-detail-section-headline {
        display: block;
    }

    .ipo-detail-schedule-today {
        margin-top: 8px;
    }

    .ipo-detail-schedule-axis {
        display: block;
        margin-top: 16px;
    }

    .ipo-detail-schedule-step {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 10px;
        margin-bottom: 12px;
    }

    .ipo-detail-schedule-marker {
        justify-content: flex-start;
        margin: 0;
    }

    .ipo-detail-schedule-card {
        text-align: left;
        min-height: auto;
    }

    .ipo-detail-schedule-period {
        display: block;
    }

    .ipo-detail-schedule-period strong {
        display: block;
        margin-top: 4px;
        text-align: left;
    }
}

/* v3.9.1: 株主構成・ロックアップの表形式表示 */
.ipo-detail-lockup-table-wrap,
.ipo-detail-shareholder-table-wrap {
    margin-top: 16px;
}

.ipo-detail-lockup-table,
.ipo-detail-shareholder-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15,23,42,.05);
}

.ipo-detail-lockup-table th,
.ipo-detail-lockup-table td,
.ipo-detail-shareholder-table th,
.ipo-detail-shareholder-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
    line-height: 1.55;
}

.ipo-detail-lockup-table tr:last-child th,
.ipo-detail-lockup-table tr:last-child td,
.ipo-detail-shareholder-table tbody tr:last-child td {
    border-bottom: none;
}

.ipo-detail-lockup-table th,
.ipo-detail-shareholder-table th {
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
    text-align: left;
    white-space: nowrap;
}

.ipo-detail-lockup-table th {
    width: 180px;
}

.ipo-detail-lockup-table td,
.ipo-detail-shareholder-table td {
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
}

.ipo-detail-shareholder-table-wrap h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 900;
    color: #0f172a;
}

.ipo-detail-shareholder-table tbody tr:nth-child(even) td {
    background: #fbfdff;
}

.ipo-detail-table-note {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .ipo-detail-lockup-table,
    .ipo-detail-lockup-table tbody,
    .ipo-detail-lockup-table tr,
    .ipo-detail-lockup-table th,
    .ipo-detail-lockup-table td,
    .ipo-detail-shareholder-table,
    .ipo-detail-shareholder-table thead,
    .ipo-detail-shareholder-table tbody,
    .ipo-detail-shareholder-table tr,
    .ipo-detail-shareholder-table th,
    .ipo-detail-shareholder-table td {
        display: block;
        width: 100%;
    }

    .ipo-detail-shareholder-table thead {
        display: none;
    }

    .ipo-detail-lockup-table tr,
    .ipo-detail-shareholder-table tr {
        padding: 12px;
        border-bottom: 1px solid #e5e7eb;
    }

    .ipo-detail-lockup-table tr:last-child,
    .ipo-detail-shareholder-table tr:last-child {
        border-bottom: none;
    }

    .ipo-detail-lockup-table th,
    .ipo-detail-lockup-table td,
    .ipo-detail-shareholder-table td {
        padding: 4px 0;
        border-bottom: none;
        background: transparent !important;
    }

    .ipo-detail-lockup-table th {
        color: #64748b;
        font-size: 12px;
    }

    .ipo-detail-shareholder-table td {
        display: grid;
        grid-template-columns: 120px minmax(0,1fr);
        gap: 10px;
        align-items: start;
    }

    .ipo-detail-shareholder-table td::before {
        content: attr(data-label);
        color: #64748b;
        font-size: 12px;
        font-weight: 900;
    }
}


/* v3.9.3: IPOスケジュール横軸ロードマップ・ロックアップ表現強化 */
.ipo-detail-schedule-section-v393 .ipo-detail-schedule-roadmap {
    margin-top: 22px;
    background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 22px 22px 26px;
    box-shadow: 0 14px 34px rgba(15,23,42,.06);
    overflow: hidden;
}

.ipo-detail-schedule-section-v393 .ipo-detail-schedule-scale {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.ipo-detail-schedule-section-v393 .ipo-detail-schedule-track {
    position: relative;
    height: 118px;
    margin: 0 18px;
}

.ipo-detail-schedule-section-v393 .ipo-detail-schedule-track-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 54px;
    height: 6px;
    border-radius: 999px;
    background: #e2e8f0;
}

.ipo-detail-schedule-section-v393 .ipo-detail-schedule-band {
    position: absolute;
    top: 36px;
    min-width: 70px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(15,23,42,.12);
    z-index: 2;
}

.ipo-detail-schedule-section-v393 .ipo-detail-schedule-band-bb {
    background: linear-gradient(90deg,#2563eb,#60a5fa);
}

.ipo-detail-schedule-section-v393 .ipo-detail-schedule-band-purchase {
    top: 70px;
    background: linear-gradient(90deg,#16a34a,#86efac);
}

.ipo-detail-schedule-section-v393 .ipo-detail-schedule-now {
    position: absolute;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #f6c744;
    transform: translateX(-1px);
    z-index: 4;
}

.ipo-detail-schedule-section-v393 .ipo-detail-schedule-now span {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translate(-50%,-100%);
    background: #f6c744;
    color: #071a33;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.ipo-detail-schedule-section-v393 .ipo-detail-schedule-pin {
    position: absolute;
    top: 42px;
    transform: translateX(-50%);
    z-index: 5;
}

.ipo-detail-schedule-section-v393 .ipo-detail-schedule-pin span,
.ipo-detail-schedule-section-v393 .ipo-detail-schedule-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(15,23,42,.18);
}

.ipo-detail-schedule-section-v393 .ipo-detail-schedule-pin-bb span,
.ipo-detail-schedule-section-v393 .ipo-detail-schedule-bb .ipo-detail-schedule-step-num { background: #2563eb; }
.ipo-detail-schedule-section-v393 .ipo-detail-schedule-pin-lottery span,
.ipo-detail-schedule-section-v393 .ipo-detail-schedule-lottery .ipo-detail-schedule-step-num { background: #7c3aed; }
.ipo-detail-schedule-section-v393 .ipo-detail-schedule-pin-purchase span,
.ipo-detail-schedule-section-v393 .ipo-detail-schedule-purchase .ipo-detail-schedule-step-num { background: #16a34a; }
.ipo-detail-schedule-section-v393 .ipo-detail-schedule-pin-listing span,
.ipo-detail-schedule-section-v393 .ipo-detail-schedule-listing .ipo-detail-schedule-step-num { background: #d97706; }

.ipo-detail-schedule-section-v393 .ipo-detail-schedule-pin.is-past span,
.ipo-detail-schedule-section-v393 .ipo-detail-schedule-step-card.is-past .ipo-detail-schedule-step-num {
    opacity: .55;
}

.ipo-detail-schedule-section-v393 .ipo-detail-schedule-pin.is-today span,
.ipo-detail-schedule-section-v393 .ipo-detail-schedule-step-card.is-today {
    box-shadow: 0 0 0 4px rgba(246,199,68,.28), 0 12px 28px rgba(15,23,42,.16);
}

.ipo-detail-schedule-section-v393 .ipo-detail-schedule-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
    margin-top: 18px;
}

.ipo-detail-schedule-section-v393 .ipo-detail-schedule-step-card {
    display: grid;
    grid-template-columns: 38px minmax(0,1fr);
    gap: 10px;
    align-items: start;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 22px rgba(15,23,42,.05);
}

.ipo-detail-schedule-section-v393 .ipo-detail-schedule-label {
    margin-bottom: 4px;
}

.ipo-detail-schedule-section-v393 .ipo-detail-schedule-step-card strong {
    display: block;
    color: #0f172a;
    font-size: 13px;
    line-height: 1.45;
}

.ipo-detail-schedule-section-v393 .ipo-detail-schedule-step-card small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.45;
}

.ipo-detail-lockup-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
    margin-top: 16px;
}

.ipo-detail-lockup-summary-card {
    background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
}

.ipo-detail-lockup-summary-card span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 6px;
}

.ipo-detail-lockup-summary-card strong {
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.45;
}

.ipo-detail-lockup-table-wrap h3,
.ipo-detail-shareholder-table-wrap h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 900;
    color: #0f172a;
}

.ipo-detail-lockup-table-structured thead th {
    background: #061b3a;
    color: #fff;
}

@media (max-width: 900px) {
    .ipo-detail-schedule-section-v393 .ipo-detail-schedule-card-grid,
    .ipo-detail-lockup-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ipo-detail-schedule-section-v393 .ipo-detail-schedule-roadmap {
        padding: 16px;
    }

    .ipo-detail-schedule-section-v393 .ipo-detail-schedule-track {
        height: auto;
        margin: 0;
        padding-left: 18px;
    }

    .ipo-detail-schedule-section-v393 .ipo-detail-schedule-scale,
    .ipo-detail-schedule-section-v393 .ipo-detail-schedule-track-line,
    .ipo-detail-schedule-section-v393 .ipo-detail-schedule-band,
    .ipo-detail-schedule-section-v393 .ipo-detail-schedule-now,
    .ipo-detail-schedule-section-v393 .ipo-detail-schedule-pin {
        display: none;
    }

    .ipo-detail-schedule-section-v393 .ipo-detail-schedule-card-grid {
        margin-top: 14px;
    }

    .ipo-detail-lockup-table-structured,
    .ipo-detail-lockup-table-structured thead,
    .ipo-detail-lockup-table-structured tbody,
    .ipo-detail-lockup-table-structured tr,
    .ipo-detail-lockup-table-structured th,
    .ipo-detail-lockup-table-structured td {
        display: block;
        width: 100%;
    }

    .ipo-detail-lockup-table-structured thead {
        display: none;
    }

    .ipo-detail-lockup-table-structured tr {
        padding: 12px;
        border-bottom: 1px solid #e5e7eb;
    }

    .ipo-detail-lockup-table-structured td {
        display: grid;
        grid-template-columns: 100px minmax(0,1fr);
        gap: 10px;
        padding: 4px 0;
        border-bottom: none;
        background: transparent !important;
    }

    .ipo-detail-lockup-table-structured td::before {
        content: attr(data-label);
        color: #64748b;
        font-size: 12px;
        font-weight: 900;
    }
}

/* v3.9.4: IPO詳細ページ スケジュール・ロックアップ表示の安定化 */
.ipo-detail-schedule-section-v394 {
    overflow: hidden;
}

.ipo-detail-schedule-axis {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

.ipo-detail-schedule-axis-range {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.ipo-detail-schedule-axis-line {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #dbeafe, #ede9fe, #dcfce7, #fef3c7);
    margin: 0 8px 18px;
}

.ipo-detail-schedule-axis-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.ipo-detail-schedule-axis-item {
    position: relative;
    min-width: 0;
}

.ipo-detail-schedule-axis-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 0 0 4px #fff;
}

.ipo-detail-schedule-axis-card {
    height: 100%;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.ipo-detail-schedule-axis-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 900;
}

.ipo-detail-schedule-axis-card strong {
    display: block;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.45;
    word-break: keep-all;
}

.ipo-detail-schedule-axis-card small {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.55;
}

.ipo-detail-schedule-axis-band {
    margin: 10px 0 2px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.ipo-detail-schedule-axis-bb .ipo-detail-schedule-axis-marker,
.ipo-detail-schedule-axis-bb .ipo-detail-schedule-axis-band {
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    color: #fff;
}

.ipo-detail-schedule-axis-lottery .ipo-detail-schedule-axis-marker {
    background: linear-gradient(135deg, #7c3aed, #c4b5fd);
    color: #fff;
}

.ipo-detail-schedule-axis-purchase .ipo-detail-schedule-axis-marker,
.ipo-detail-schedule-axis-purchase .ipo-detail-schedule-axis-band {
    background: linear-gradient(90deg, #16a34a, #86efac);
    color: #fff;
}

.ipo-detail-schedule-axis-listing .ipo-detail-schedule-axis-marker {
    background: linear-gradient(135deg, #d97706, #facc15);
    color: #fff;
}

.ipo-detail-schedule-axis-item.is-past {
    opacity: .68;
}

.ipo-detail-schedule-axis-item.is-today .ipo-detail-schedule-axis-card {
    border-color: #f6c744;
    box-shadow: 0 12px 30px rgba(246, 199, 68, .18);
}

.ipo-detail-lockup-table-structured,
.ipo-detail-shareholder-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

.ipo-detail-lockup-table-structured th,
.ipo-detail-lockup-table-structured td,
.ipo-detail-shareholder-table th,
.ipo-detail-shareholder-table td {
    word-break: break-word;
    overflow-wrap: anywhere;
    vertical-align: top;
}

.ipo-detail-lockup-table-structured th:nth-child(1),
.ipo-detail-lockup-table-structured td:nth-child(1) { width: 24%; }
.ipo-detail-lockup-table-structured th:nth-child(2),
.ipo-detail-lockup-table-structured td:nth-child(2) { width: 20%; }
.ipo-detail-lockup-table-structured th:nth-child(3),
.ipo-detail-lockup-table-structured td:nth-child(3) { width: 25%; }
.ipo-detail-lockup-table-structured th:nth-child(4),
.ipo-detail-lockup-table-structured td:nth-child(4) { width: 31%; }

.ipo-detail-table-note {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .ipo-detail-schedule-axis-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ipo-detail-schedule-axis {
        padding: 16px;
    }

    .ipo-detail-schedule-axis-line,
    .ipo-detail-schedule-axis-range {
        display: none;
    }

    .ipo-detail-schedule-axis-grid {
        display: block;
    }

    .ipo-detail-schedule-axis-item {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 10px;
        margin-bottom: 12px;
    }

    .ipo-detail-schedule-axis-marker {
        margin: 0;
    }

    .ipo-detail-schedule-axis-card {
        padding: 13px;
    }

    .ipo-detail-schedule-axis-card strong {
        font-size: 14px;
        word-break: normal;
    }

    .ipo-detail-lockup-table-structured,
    .ipo-detail-lockup-table-structured thead,
    .ipo-detail-lockup-table-structured tbody,
    .ipo-detail-lockup-table-structured tr,
    .ipo-detail-lockup-table-structured th,
    .ipo-detail-lockup-table-structured td,
    .ipo-detail-shareholder-table,
    .ipo-detail-shareholder-table thead,
    .ipo-detail-shareholder-table tbody,
    .ipo-detail-shareholder-table tr,
    .ipo-detail-shareholder-table th,
    .ipo-detail-shareholder-table td {
        display: block;
        width: 100% !important;
    }

    .ipo-detail-lockup-table-structured thead,
    .ipo-detail-shareholder-table thead {
        display: none;
    }

    .ipo-detail-lockup-table-structured tr,
    .ipo-detail-shareholder-table tr {
        margin-bottom: 12px;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        overflow: hidden;
        background: #fff;
    }

    .ipo-detail-lockup-table-structured td,
    .ipo-detail-shareholder-table td {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 10px;
        padding: 10px 12px;
        border-bottom: 1px solid #e5e7eb;
        text-align: left;
    }

    .ipo-detail-lockup-table-structured td:last-child,
    .ipo-detail-shareholder-table td:last-child {
        border-bottom: 0;
    }

    .ipo-detail-lockup-table-structured td::before,
    .ipo-detail-shareholder-table td::before {
        content: attr(data-label);
        color: #64748b;
        font-size: 12px;
        font-weight: 900;
    }
}

/* =========================================================
 * v3.9.5 IPO detail UI fixes
 * - Schedule: horizontal timeline cards with period bands
 * - Lockup/shareholders: stable table UI + mobile cards
 * - Result: hidden by PHP until initial_price is entered
 * ======================================================= */
.ipo-v395-section-headline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.ipo-v395-today-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 999px;
    padding: 8px 12px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-size: 12px;
    font-weight: 800;
}

.ipo-v395-schedule {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
    padding-top: 22px;
}

.ipo-v395-schedule::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 8%;
    right: 8%;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #7c3aed, #16a34a, #d97706);
    opacity: .22;
}

.ipo-v395-schedule-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 10px;
    min-width: 0;
}

.ipo-v395-schedule-pin {
    display: flex;
    justify-content: center;
}

.ipo-v395-schedule-pin span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(15,23,42,.18);
}

.ipo-v395-schedule-bb .ipo-v395-schedule-pin span { background: #2563eb; }
.ipo-v395-schedule-lottery .ipo-v395-schedule-pin span { background: #7c3aed; }
.ipo-v395-schedule-purchase .ipo-v395-schedule-pin span { background: #16a34a; }
.ipo-v395-schedule-listing .ipo-v395-schedule-pin span { background: #d97706; }

.ipo-v395-schedule-card.is-past .ipo-v395-schedule-pin span {
    background: #94a3b8;
}

.ipo-v395-schedule-card.is-today .ipo-v395-schedule-pin span {
    animation: ipo-v395-pulse 1.8s ease-in-out infinite;
}

@keyframes ipo-v395-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(246,199,68,.42), 0 10px 24px rgba(15,23,42,.18); }
    50% { box-shadow: 0 0 0 10px rgba(246,199,68,0), 0 10px 24px rgba(15,23,42,.18); }
}

.ipo-v395-schedule-body {
    position: relative;
    min-height: 178px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 32px rgba(15,23,42,.08);
    overflow: hidden;
}

.ipo-v395-schedule-body::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: #0f172a;
}

.ipo-v395-schedule-bb .ipo-v395-schedule-body::before { background: #2563eb; }
.ipo-v395-schedule-lottery .ipo-v395-schedule-body::before { background: #7c3aed; }
.ipo-v395-schedule-purchase .ipo-v395-schedule-body::before { background: #16a34a; }
.ipo-v395-schedule-listing .ipo-v395-schedule-body::before { background: #d97706; }

.ipo-v395-schedule-card.is-today .ipo-v395-schedule-body {
    border-color: #f6c744;
    box-shadow: 0 16px 38px rgba(246,199,68,.22);
}

.ipo-v395-schedule-card.is-past .ipo-v395-schedule-body {
    opacity: .82;
}

.ipo-v395-schedule-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.ipo-v395-schedule-label,
.ipo-v395-status-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.ipo-v395-schedule-label {
    background: #eff6ff;
    color: #1d4ed8;
}

.ipo-v395-schedule-lottery .ipo-v395-schedule-label { background: #ede9fe; color: #6d28d9; }
.ipo-v395-schedule-purchase .ipo-v395-schedule-label { background: #dcfce7; color: #15803d; }
.ipo-v395-schedule-listing .ipo-v395-schedule-label { background: #fef3c7; color: #b45309; }

.ipo-v395-status-chip {
    background: #fef3c7;
    color: #92400e;
}

.ipo-v395-status-chip.is-muted {
    background: #f1f5f9;
    color: #64748b;
}

.ipo-v395-schedule-date {
    display: block;
    color: #0f172a;
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.45;
    min-height: 2.8em;
}

.ipo-v395-period-band {
    position: relative;
    height: 12px;
    margin: 13px 0 12px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.ipo-v395-period-band span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.ipo-v395-schedule-purchase .ipo-v395-period-band span {
    background: linear-gradient(90deg, #16a34a, #86efac);
}

.ipo-v395-schedule-body p {
    margin: 0;
    color: #475569;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.65;
}

/* Lockup / shareholder visual tables */
.ipo-detail-shareholder-section .ipo-detail-section-headline {
    margin-bottom: 16px;
}

.ipo-detail-lockup-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.ipo-detail-lockup-summary-card {
    border-radius: 16px;
    padding: 15px 16px;
    background: linear-gradient(180deg, #0b1f3f 0%, #08244d 100%);
    color: #fff;
    box-shadow: 0 10px 28px rgba(8,36,77,.18);
}

.ipo-detail-lockup-summary-card span {
    display: block;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 7px;
}

.ipo-detail-lockup-summary-card strong {
    display: block;
    color: #f6c744;
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.35;
}

.ipo-detail-lockup-table-wrap,
.ipo-detail-shareholder-table-wrap {
    margin-top: 18px;
    padding: 18px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 32px rgba(15,23,42,.07);
    overflow-x: auto;
}

.ipo-detail-lockup-table-wrap h3,
.ipo-detail-shareholder-table-wrap h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 900;
}

.ipo-detail-lockup-table,
.ipo-detail-shareholder-table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

.ipo-detail-lockup-table thead th,
.ipo-detail-shareholder-table thead th {
    background: #0b1f3f;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    padding: 12px 14px;
    text-align: left;
    white-space: nowrap;
}

.ipo-detail-lockup-table tbody td,
.ipo-detail-shareholder-table tbody td {
    background: #fff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    padding: 13px 14px;
    border-top: 1px solid #e2e8f0;
    vertical-align: top;
    word-break: break-word;
}

.ipo-detail-lockup-table tbody tr:nth-child(even) td,
.ipo-detail-shareholder-table tbody tr:nth-child(even) td {
    background: #f8fafc;
}

.ipo-detail-lockup-table tbody td:nth-child(2),
.ipo-detail-lockup-table tbody td:nth-child(3),
.ipo-detail-shareholder-table tbody td:nth-child(3),
.ipo-detail-shareholder-table tbody td:nth-child(4) {
    font-weight: 900;
}

.ipo-detail-table-note {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
}

.ipo-detail-shareholder-comment {
    margin-top: 18px;
    padding: 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

@media (max-width: 900px) {
    .ipo-v395-section-headline {
        display: block;
    }

    .ipo-v395-today-chip {
        margin-top: 10px;
    }

    .ipo-v395-schedule {
        display: block;
        padding-top: 0;
    }

    .ipo-v395-schedule::before {
        display: none;
    }

    .ipo-v395-schedule-card {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 10px;
        margin-bottom: 12px;
    }

    .ipo-v395-schedule-pin {
        align-items: flex-start;
        justify-content: center;
        padding-top: 12px;
    }

    .ipo-v395-schedule-body {
        min-height: auto;
    }

    .ipo-detail-lockup-summary-grid {
        grid-template-columns: 1fr;
    }

    .ipo-detail-lockup-table-wrap,
    .ipo-detail-shareholder-table-wrap {
        padding: 14px;
        overflow-x: visible;
    }

    .ipo-detail-lockup-table,
    .ipo-detail-lockup-table thead,
    .ipo-detail-lockup-table tbody,
    .ipo-detail-lockup-table tr,
    .ipo-detail-lockup-table th,
    .ipo-detail-lockup-table td,
    .ipo-detail-shareholder-table,
    .ipo-detail-shareholder-table thead,
    .ipo-detail-shareholder-table tbody,
    .ipo-detail-shareholder-table tr,
    .ipo-detail-shareholder-table th,
    .ipo-detail-shareholder-table td {
        display: block;
        min-width: 0;
        width: 100%;
    }

    .ipo-detail-lockup-table thead,
    .ipo-detail-shareholder-table thead {
        display: none;
    }

    .ipo-detail-lockup-table,
    .ipo-detail-shareholder-table {
        border: 0;
        border-radius: 0;
    }

    .ipo-detail-lockup-table tr,
    .ipo-detail-shareholder-table tr {
        margin-bottom: 12px;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        background: #fff;
        overflow: hidden;
        box-shadow: 0 8px 22px rgba(15,23,42,.06);
    }

    .ipo-detail-lockup-table tbody td,
    .ipo-detail-shareholder-table tbody td {
        display: grid;
        grid-template-columns: 9em minmax(0, 1fr);
        gap: 8px;
        border-top: 1px solid #e2e8f0;
        padding: 10px 12px;
        background: #fff !important;
    }

    .ipo-detail-lockup-table tbody td:first-child,
    .ipo-detail-shareholder-table tbody td:first-child {
        border-top: 0;
    }

    .ipo-detail-lockup-table td::before,
    .ipo-detail-shareholder-table td::before {
        content: attr(data-label);
        color: #64748b;
        font-size: 12px;
        font-weight: 900;
    }
}

/* =========================================================
 * v3.9.6 IPO detail UI rebuild
 * Schedule: horizontal time-axis with period bands and point pins
 * Lockup/shareholders: card-based UI to avoid table collapse
 * ======================================================= */
.ipo-v396-section-headline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.ipo-v396-section-headline h2 {
    margin: 0;
    color: #0f172a;
    font-weight: 900;
    line-height: 1.35;
}

.ipo-v396-today-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 8px 12px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-size: 12px;
    font-weight: 900;
}

.ipo-v396-flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
    padding-top: 26px;
}

.ipo-v396-flow-rail {
    position: absolute;
    top: 40px;
    left: 8%;
    right: 8%;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb 0%, #7c3aed 34%, #16a34a 67%, #d97706 100%);
    opacity: .25;
    z-index: 0;
}

.ipo-v396-flow-step {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.ipo-v396-flow-marker {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.ipo-v396-flow-marker span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    color: #fff;
    background: #0f172a;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(15,23,42,.2);
}

.ipo-v396-flow-bb .ipo-v396-flow-marker span { background: #2563eb; }
.ipo-v396-flow-lottery .ipo-v396-flow-marker span { background: #7c3aed; }
.ipo-v396-flow-purchase .ipo-v396-flow-marker span { background: #16a34a; }
.ipo-v396-flow-listing .ipo-v396-flow-marker span { background: #d97706; }

.ipo-v396-flow-step.is-past .ipo-v396-flow-marker span { background: #94a3b8; }
.ipo-v396-flow-step.is-today .ipo-v396-flow-marker span {
    outline: 4px solid rgba(246,199,68,.28);
}

.ipo-v396-flow-card {
    min-height: 190px;
    border-radius: 20px;
    padding: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 34px rgba(15,23,42,.08);
    overflow: hidden;
    position: relative;
}

.ipo-v396-flow-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: #0f172a;
}

.ipo-v396-flow-bb .ipo-v396-flow-card::before { background: #2563eb; }
.ipo-v396-flow-lottery .ipo-v396-flow-card::before { background: #7c3aed; }
.ipo-v396-flow-purchase .ipo-v396-flow-card::before { background: #16a34a; }
.ipo-v396-flow-listing .ipo-v396-flow-card::before { background: #d97706; }
.ipo-v396-flow-step.is-today .ipo-v396-flow-card {
    border-color: #f6c744;
    box-shadow: 0 18px 42px rgba(246,199,68,.22);
}

.ipo-v396-flow-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.ipo-v396-flow-label,
.ipo-v396-flow-kind {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.ipo-v396-flow-label { background: #eff6ff; color: #1d4ed8; }
.ipo-v396-flow-lottery .ipo-v396-flow-label { background: #ede9fe; color: #6d28d9; }
.ipo-v396-flow-purchase .ipo-v396-flow-label { background: #dcfce7; color: #15803d; }
.ipo-v396-flow-listing .ipo-v396-flow-label { background: #fef3c7; color: #b45309; }
.ipo-v396-flow-kind { background: #f1f5f9; color: #64748b; }

.ipo-v396-flow-date-row {
    margin: 0 0 12px;
}

.ipo-v396-flow-date-row span {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

.ipo-v396-flow-date-row strong {
    display: block;
    color: #0f172a;
    font-size: .98rem;
    line-height: 1.45;
    font-weight: 900;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.ipo-v396-flow-band {
    height: 14px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin: 12px 0;
}

.ipo-v396-flow-band span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.ipo-v396-flow-purchase .ipo-v396-flow-band span {
    background: linear-gradient(90deg, #16a34a, #86efac);
}

.ipo-v396-flow-point {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
}

.ipo-v396-flow-point::before,
.ipo-v396-flow-point::after {
    content: "";
    height: 2px;
    flex: 1;
    background: #e2e8f0;
}

.ipo-v396-flow-point span {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #7c3aed;
    box-shadow: 0 0 0 5px rgba(124,58,237,.12);
}

.ipo-v396-flow-listing .ipo-v396-flow-point span {
    background: #d97706;
    box-shadow: 0 0 0 5px rgba(217,119,6,.13);
}

.ipo-v396-flow-card p {
    margin: 0;
    color: #475569;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.65;
}

.ipo-v396-lockup-section {
    overflow: hidden;
}

.ipo-v396-lockup-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.ipo-v396-lockup-metric {
    border-radius: 18px;
    padding: 16px;
    background: linear-gradient(180deg, #0b1f3f 0%, #08244d 100%);
    color: #fff;
    box-shadow: 0 12px 30px rgba(8,36,77,.18);
}

.ipo-v396-lockup-metric span {
    display: block;
    margin-bottom: 7px;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 900;
}

.ipo-v396-lockup-metric strong {
    display: block;
    color: #f6c744;
    font-size: 1.12rem;
    font-weight: 900;
    line-height: 1.35;
}

.ipo-v396-data-panel {
    margin-top: 18px;
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 34px rgba(15,23,42,.07);
}

.ipo-v396-data-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.ipo-v396-data-panel-head h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.08rem;
    font-weight: 900;
}

.ipo-v396-data-panel-head span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.ipo-v396-lockup-cards,
.ipo-v396-shareholder-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ipo-v396-lockup-card,
.ipo-v396-shareholder-card {
    border-radius: 18px;
    padding: 15px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    min-width: 0;
}

.ipo-v396-lockup-card-title {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.ipo-v396-lockup-card-title span,
.ipo-v396-shareholder-grid span {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

.ipo-v396-lockup-card-title strong,
.ipo-v396-shareholder-name {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.4;
}

.ipo-v396-lockup-card dl {
    margin: 0;
}

.ipo-v396-lockup-card dl div {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #e2e8f0;
}

.ipo-v396-lockup-card dl div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.ipo-v396-lockup-card dt {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.ipo-v396-lockup-card dd {
    margin: 0;
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.ipo-v396-shareholder-name {
    margin-bottom: 12px;
}

.ipo-v396-shareholder-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ipo-v396-shareholder-grid div {
    padding: 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.ipo-v396-shareholder-grid strong {
    display: block;
    color: #0f172a;
    font-size: .95rem;
    font-weight: 900;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.ipo-v396-shareholder-card p,
.ipo-v396-comment-panel p {
    margin: 12px 0 0;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
}

.ipo-v396-comment-panel {
    margin-top: 18px;
    padding: 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ipo-v396-comment-panel h3 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
}

@media (max-width: 960px) {
    .ipo-v396-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ipo-v396-flow-rail {
        display: none;
    }
}

@media (max-width: 640px) {
    .ipo-v396-section-headline {
        display: block;
    }

    .ipo-v396-today-chip {
        margin-top: 10px;
    }

    .ipo-v396-flow,
    .ipo-v396-lockup-summary,
    .ipo-v396-lockup-cards,
    .ipo-v396-shareholder-cards {
        display: block;
    }

    .ipo-v396-flow-step,
    .ipo-v396-lockup-metric,
    .ipo-v396-lockup-card,
    .ipo-v396-shareholder-card {
        margin-bottom: 12px;
    }

    .ipo-v396-flow-marker {
        justify-content: flex-start;
        margin: 0 0 -18px 14px;
        position: relative;
        z-index: 2;
    }

    .ipo-v396-flow-card {
        min-height: auto;
        padding: 20px 15px 15px;
    }

    .ipo-v396-flow-card-head,
    .ipo-v396-data-panel-head {
        display: block;
    }

    .ipo-v396-flow-kind,
    .ipo-v396-data-panel-head span {
        margin-top: 8px;
    }

    .ipo-v396-data-panel {
        padding: 14px;
    }

    .ipo-v396-lockup-card dl div {
        grid-template-columns: 76px minmax(0, 1fr);
    }
}

/* v4.5.58: 申込戦略のその他候補は最優先の隣に表示し、候補ごとに改行表示 */
.ipo-detail-strategy-broker-card-other {
    display: flex;
    flex-direction: column;
}

.ipo-detail-strategy-broker-other-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

.ipo-detail-strategy-broker-other-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(148, 163, 184, .25);
}

.ipo-detail-strategy-broker-other-list li:last-child {
    border-bottom: 0;
}

.ipo-detail-strategy-broker-other-list strong,
.ipo-detail-strategy-broker-other-meta {
    display: block;
}

.ipo-detail-strategy-broker-other-list strong {
    color: #071a33;
    font-size: 14px;
}

.ipo-detail-strategy-broker-other-meta {
    color: #334155;
    font-size: 13px;
    line-height: 1.65;
}

.ipo-detail-strategy-broker-mini-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.ipo-detail-strategy-broker-mini-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid rgba(148, 163, 184, .35);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

/* v4.5.59: 申込候補カードの文言・改行・ラベル幅を調整 */
.ipo-detail-strategy-rank {
    width: fit-content;
    max-width: 100%;
    line-height: 1.35;
}

.ipo-detail-strategy-rank-other {
    align-self: flex-start;
    white-space: normal;
}

.ipo-detail-strategy-broker-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 12px 0 0 !important;
    padding: 0 !important;
}

.ipo-detail-strategy-broker-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(148, 163, 184, .25);
}

.ipo-detail-strategy-broker-list li:last-child,
.ipo-detail-strategy-broker-primary-list li {
    border-bottom: 0;
}

.ipo-detail-strategy-broker-primary-list li {
    padding-bottom: 0;
}

.ipo-detail-strategy-broker-list strong,
.ipo-detail-strategy-broker-meta {
    display: block;
}

.ipo-detail-strategy-broker-list strong {
    color: #071a33;
    font-size: 14px;
}

.ipo-detail-strategy-broker-meta {
    color: #334155;
    font-size: 13px;
    line-height: 1.65;
}

/* -------------------------------------------------------------------------
 * v4.5.60 IPO企業ページ：口座開設CTAと申込戦略見出しの配置調整
 * ---------------------------------------------------------------------- */
body.single-ipo_company .ipo-detail-page .ipo-detail-broker-cta,
.ipo-detail-page .ipo-detail-broker-cta {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px) !important;
    align-items: center !important;
    gap: 24px !important;
    margin: 24px 0 !important;
    padding: clamp(22px, 3vw, 34px) !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 85% 12%, rgba(246, 199, 68, .30), transparent 32%),
        radial-gradient(circle at 12% 22%, rgba(37, 99, 235, .22), transparent 34%),
        linear-gradient(135deg, #061735 0%, #08244d 100%) !important;
    border: 1px solid rgba(246, 199, 68, .24) !important;
    box-shadow: 0 18px 44px rgba(6, 23, 53, .18) !important;
    color: #ffffff !important;
    overflow: hidden !important;
}

body.single-ipo_company .ipo-detail-page .ipo-detail-broker-cta-main,
.ipo-detail-page .ipo-detail-broker-cta-main {
    min-width: 0 !important;
}

body.single-ipo_company .ipo-detail-page .ipo-detail-broker-cta-label,
.ipo-detail-page .ipo-detail-broker-cta-label {
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #f6c744 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: .14em !important;
    line-height: 1.4 !important;
}

body.single-ipo_company .ipo-detail-page .ipo-detail-broker-cta h2,
.ipo-detail-page .ipo-detail-broker-cta h2 {
    margin: 0 0 6px !important;
    color: #ffffff !important;
    font-size: clamp(1.45rem, 2.8vw, 2rem) !important;
    font-weight: 900 !important;
    line-height: 1.35 !important;
}

body.single-ipo_company .ipo-detail-page .ipo-detail-broker-cta p,
.ipo-detail-page .ipo-detail-broker-cta p {
    color: rgba(255, 255, 255, .92) !important;
    font-weight: 800 !important;
    line-height: 1.8 !important;
}

body.single-ipo_company .ipo-detail-page .ipo-detail-broker-campaign,
.ipo-detail-page .ipo-detail-broker-campaign {
    display: inline-block !important;
    margin-top: 12px !important;
    padding: 9px 12px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, .10) !important;
    border: 1px solid rgba(246, 199, 68, .28) !important;
    color: #fff7db !important;
    box-shadow: none !important;
}

body.single-ipo_company .ipo-detail-page .ipo-detail-broker-cta-actions,
.ipo-detail-page .ipo-detail-broker-cta-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    justify-self: end !important;
}

body.single-ipo_company .ipo-detail-page .ipo-detail-broker-cta .ipo-detail-cta-button,
.ipo-detail-page .ipo-detail-broker-cta .ipo-detail-cta-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 50px !important;
    width: 100% !important;
    padding: 12px 18px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #f6c744, #ffe28a) !important;
    color: #071a33 !important;
    border: 0 !important;
    box-shadow: 0 10px 24px rgba(246, 199, 68, .25) !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

body.single-ipo_company .ipo-detail-page .ipo-detail-broker-cta .ipo-detail-secondary-button,
.ipo-detail-page .ipo-detail-broker-cta .ipo-detail-secondary-button {
    background: rgba(255, 255, 255, .10) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, .32) !important;
    box-shadow: none !important;
}

body.single-ipo_company .ipo-detail-page .ipo-detail-application-strategy > .ipo-strategy-fixed-head,
.ipo-detail-page .ipo-detail-application-strategy > .ipo-strategy-fixed-head {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    text-align: left !important;
    border: 0 !important;
    box-sizing: border-box !important;
}

body.single-ipo_company .ipo-detail-page .ipo-strategy-fixed-head-inner,
.ipo-detail-page .ipo-strategy-fixed-head-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    justify-content: stretch !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body.single-ipo_company .ipo-detail-page .ipo-strategy-fixed-title,
.ipo-detail-page .ipo-strategy-fixed-title {
    grid-column: 1 !important;
    justify-self: start !important;
    align-self: start !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

body.single-ipo_company .ipo-detail-page .ipo-strategy-fixed-sub,
body.single-ipo_company .ipo-detail-page .ipo-strategy-fixed-h2,
.ipo-detail-page .ipo-strategy-fixed-sub,
.ipo-detail-page .ipo-strategy-fixed-h2 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}

body.single-ipo_company .ipo-detail-page .ipo-strategy-fixed-chip,
.ipo-detail-page .ipo-strategy-fixed-chip {
    grid-column: 2 !important;
    justify-self: end !important;
    align-self: start !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

@media (max-width: 760px) {
    body.single-ipo_company .ipo-detail-page .ipo-detail-broker-cta,
    .ipo-detail-page .ipo-detail-broker-cta {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        padding: 20px !important;
    }

    body.single-ipo_company .ipo-detail-page .ipo-detail-broker-cta-actions,
    .ipo-detail-page .ipo-detail-broker-cta-actions {
        justify-self: stretch !important;
    }

    body.single-ipo_company .ipo-detail-page .ipo-strategy-fixed-head-inner,
    .ipo-detail-page .ipo-strategy-fixed-head-inner {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    body.single-ipo_company .ipo-detail-page .ipo-strategy-fixed-chip,
    .ipo-detail-page .ipo-strategy-fixed-chip {
        grid-column: 1 !important;
        justify-self: start !important;
    }
}
