/* ================================================
   04-components.css - Reusable Components
   休眠特許マッチング - yasutake.net
   トップページ専用
   ================================================ */

/* ===== BUTTONS ===== */
.top-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-base);
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    text-align: center;
}

.top-btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.top-btn-primary:hover {
    background-color: var(--color-primary-dark);
}

.top-btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.top-btn-secondary:hover {
    background-color: var(--color-secondary-dark);
}

.top-btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-xl);
}

/* ===== BADGES & LABELS ===== */
.top-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    font-weight: 700;
}

.top-badge-blue {
    background-color: var(--color-blue-50);
    color: var(--color-blue-700);
}

.top-badge-orange {
    background-color: #fff7ed;
    color: var(--color-secondary);
}

/* ===== CARDS ===== */
.top-card {
    background-color: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-transform);
    border: 1px solid var(--color-slate-100);
}

.top-card:hover {
    box-shadow: var(--shadow-lg);
}

.top-card-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
}

.top-card-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.top-card-list {
    font-size: var(--text-base);
    color: var(--color-slate-600);
    line-height: 1.75;
}

.top-card-list li {
    margin-bottom: var(--space-2);
}

/* ===== FORM ELEMENTS ===== */
.top-form-label {
    display: block;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-gray-800);
    margin-bottom: var(--space-2);
}

.top-form-input {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-lg);
    line-height: 1.5;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.top-form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(25, 47, 96, 0.1);
}

.top-form-input::placeholder {
    color: var(--color-gray-500);
}

/* ===== IMAGES ===== */
.top-img-rounded {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    object-fit: cover;
    width: 100%;
}

.top-img-rounded-sm {
    border-radius: var(--radius-xl);
}

/* ===== BACKGROUNDS ===== */
.top-bg-white {
    background-color: var(--color-white);
}

.top-bg-slate-50 {
    background-color: var(--color-slate-50);
}

.top-bg-beige {
    background-color: #fffdfa;
}

/* ===== TEXT UTILITIES ===== */
.top-text-primary {
    color: var(--color-primary);
}

.top-text-secondary {
    color: var(--color-secondary);
}

.top-text-slate-600 {
    color: var(--color-slate-600);
}

.top-text-slate-900 {
    color: var(--color-slate-900);
}

.top-text-white {
    color: var(--color-white);
}

.top-text-xs {
    font-size: var(--text-xs);
}

.top-text-sm {
    font-size: var(--text-sm);
}

.top-text-base {
    font-size: var(--text-base);
}

.top-text-lg {
    font-size: var(--text-lg);
}

.top-text-xl {
    font-size: var(--text-xl);
}

.top-text-2xl {
    font-size: var(--text-2xl);
}

.top-text-3xl {
    font-size: var(--text-3xl);
}

.top-text-4xl {
    font-size: var(--text-4xl);
}

.top-font-bold {
    font-weight: 700;
}

.top-font-extrabold {
    font-weight: 800;
}

.top-font-medium {
    font-weight: 500;
}

.top-leading-tight {
    line-height: 1.25;
}

.top-leading-relaxed {
    line-height: 1.625;
}

.top-tracking-tight {
    letter-spacing: -0.025em;
}

.top-tracking-wider {
    letter-spacing: 0.05em;
}

.top-uppercase {
    text-transform: uppercase;
}

/* ===== BORDERS ===== */
.top-border {
    border-width: 1px;
}

.top-border-slate-100 {
    border-color: var(--color-slate-100);
}

.top-rounded-xl {
    border-radius: var(--radius-xl);
}

.top-rounded-2xl {
    border-radius: var(--radius-2xl);
}

.top-rounded-full {
    border-radius: var(--radius-full);
}

/* ===== SHADOWS ===== */
.top-shadow-sm {
    box-shadow: var(--shadow-sm);
}

.top-shadow-lg {
    box-shadow: var(--shadow-lg);
}

.top-shadow-xl {
    box-shadow: var(--shadow-xl);
}

/* ===== TRANSITIONS ===== */
.top-transition-all {
    transition: var(--transition-base);
}

.top-transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: ease;
    transition-duration: 0.2s;
}
