:where([class^="ri-"])::before { content: "\f3c2"; }
body {
    font-family: 'Noto Sans JP', sans-serif;
}
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.custom-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}
.custom-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #4F46E5;
}
input:checked + .slider:before {
    transform: translateX(26px);
}
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e5e7eb;
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4F46E5;
    cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4F46E5;
    cursor: pointer;
}
.custom-radio {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
.custom-radio-input {
    display: none;
}
.custom-radio-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-radio-input:checked + .custom-radio-dot {
    border-color: #4F46E5;
}
.custom-radio-input:checked + .custom-radio-dot:after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #4F46E5;
}
.custom-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
.custom-checkbox-input {
    display: none;
}
.custom-checkbox-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #d1d5db;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-checkbox-input:checked + .custom-checkbox-box {
    border-color: #4F46E5;
    background-color: #4F46E5;
}
.custom-checkbox-input:checked + .custom-checkbox-box:after {
    content: "✓";
    color: white;
    font-size: 14px;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* ===== 共通コンポーネント ===== */

/* カード */
.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

/* ボタン */
.btn {
    display: inline-block;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.btn-lg {
    padding: 1rem 2rem;
}
.btn-primary {
    background-color: #4F46E5;
    color: #fff;
}
.btn-primary:hover {
    background-color: rgba(79, 70, 229, 0.9);
}
.btn-outline-gray {
    background-color: transparent;
    border: 1px solid #d1d5db;
    color: #374151;
}
.btn-outline-gray:hover {
    background-color: #f9fafb;
}
.btn-white {
    background-color: #fff;
    color: #4F46E5;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.btn-white:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.btn-outline-white {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    text-align: center;
}
.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.btn-link-primary {
    display: inline-block;
    color: #4F46E5;
    font-weight: 500;
    border-radius: 8px;
    background-color: rgba(79, 70, 229, 0.1);
    padding: 0.5rem 1rem;
    white-space: nowrap;
}
.btn-link-primary:hover {
    color: rgba(79, 70, 229, 0.9);
}

/* セクション見出し */
.section-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #4b5563;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}
.subsection-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

/* タグ・ピルラベル */
.tag {
    padding: 0.25rem 0.75rem;
    background-color: #f3f4f6;
    border-radius: 9999px;
    font-size: 0.875rem;
    color: #374151;
}

/* ステータスバッジ（出品型・応募型など） */
.status-badge {
    padding: 0.25rem 0.75rem;
    display: inline-flex;
    font-size: 0.75rem;
    line-height: 1.25rem;
    font-weight: 600;
    border-radius: 9999px;
}
.status-badge-green {
    background-color: #d1fae5;
    color: #065f46;
}
.status-badge-blue {
    background-color: #dbeafe;
    color: #1e40af;
}

/* ナビゲーションリンク */
.nav-link {
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
}
.nav-link:hover {
    color: #4F46E5;
}
.nav-link-active {
    color: #4F46E5;
}
.nav-link-active:hover {
    color: rgba(79, 70, 229, 0.9);
}

/* アイコンサークル */
.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
}
.icon-circle-xs { width: 24px; height: 24px; }
.icon-circle-sm { width: 32px; height: 32px; }
.icon-circle-md { width: 40px; height: 40px; }
.icon-circle-lg { width: 48px; height: 48px; }
.icon-circle-xl { width: 64px; height: 64px; }

.icon-circle-yellow { background-color: #fef3c7; }
.icon-circle-blue { background-color: #dbeafe; }
.icon-circle-purple { background-color: #f3e8ff; }
.icon-circle-green { background-color: #d1fae5; }
.icon-circle-red { background-color: #fee2e2; }
.icon-circle-pink { background-color: #fce7f3; }
.icon-circle-indigo { background-color: #e0e7ff; }
.icon-circle-gray { background-color: #e5e7eb; }
.icon-circle-primary { background-color: rgba(79, 70, 229, 0.1); }

/* ステップ番号サークル */
.step-circle {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 9999px;
    z-index: 10;
    font-size: 1.25rem;
    font-weight: 700;
}
.step-circle-primary { background-color: #4F46E5; }
.step-circle-secondary { background-color: #8B5CF6; }
