/* TJCORENEX グループポータル（静的・ログインなし）
   finance の portal.blade.php の見た目を忠実移植したもの。 */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: #060d1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    padding: 20px 48px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    min-height: 62px;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 48px 48px;
}

.hero-logo { width: 100%; max-width: 600px; margin-bottom: 8px; }

.subtitle {
    color: #94a3b8;
    font-size: 10px;
    text-align: center;
    letter-spacing: 5px;
    margin-bottom: 48px;
    text-transform: uppercase;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 720px;
    width: 100%;
}

.app-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 24px 28px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.app-card.active {
    border-color: rgba(56,189,248,0.25);
    background: rgba(56,189,248,0.05);
}

.app-card.active:hover {
    border-color: rgba(56,189,248,0.5);
    background: rgba(56,189,248,0.1);
    transform: translateX(4px);
}

.app-card.coming-soon {
    opacity: 0.35;
    cursor: not-allowed;
}

.app-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.badge-active {
    background: rgba(56,189,248,0.15);
    color: #38bdf8;
    border: 1px solid rgba(56,189,248,0.3);
}

.badge-soon {
    background: rgba(255,255,255,0.05);
    color: #64748b;
    border: 1px solid rgba(255,255,255,0.1);
}

.app-icon-wrap {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(56,189,248,0.1);
    border: 1px solid rgba(56,189,248,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-icon-wrap svg {
    width: 22px;
    height: 22px;
    stroke: #38bdf8;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.app-card.coming-soon .app-icon-wrap {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.08);
}
.app-card.coming-soon .app-icon-wrap svg { stroke: #475569; }

.app-content { flex: 1; }

.app-name {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.app-desc {
    color: #64748b;
    font-size: 11px;
    line-height: 1.7;
}

.app-card.active .app-desc { color: #94a3b8; }

.app-arrow {
    color: #38bdf8;
    font-size: 18px;
    opacity: 0.6;
    transition: all 0.2s;
    min-width: 24px;
    text-align: right;
}

.app-card.active:hover .app-arrow {
    opacity: 1;
    transform: translateX(4px);
}

footer {
    text-align: center;
    padding: 16px;
    color: #689ee9;
    font-size: 16px;
    letter-spacing: 3px;
    border-top: 1px solid rgba(255,255,255,0.04);
}

/* スマホ幅：カードを1カラムに落とす（最低限対応） */
@media (max-width: 640px) {
    header { padding: 16px 20px; }
    main { padding: 20px 20px 40px; }
    .apps-grid { grid-template-columns: 1fr; }
    .subtitle { margin-bottom: 32px; }
    footer { font-size: 13px; letter-spacing: 2px; }
}
