@charset "UTF-8";
/**
 * 決定実績（Results）スタイルシート
 * Archive & Single ページ対応
 * * @package CIW-Construction
 * @version 2.0.2
 */

/* ==========================================================================
   CSS変数定義
   ========================================================================== */
:root {
    /* カラーパレット */
    --result-primary: #1a2f2a;
    --result-accent: #c9a96e;
    --result-accent-text: #8a6d3b; /* 白背景上のテキスト/リンク/数値用（AA 4.5:1準拠） */
    --result-text: #333333;
    --result-text-light: #6e6e6e; /* AA準拠のため #888888 から引き上げ */
    --result-white: #ffffff;
    --result-bg: #fafafa;
    --result-bg-grid: #e8ece9;
    --result-border: #e0e5e3;
    
    /* フォント - サイト全体の設定を継承 */
    --font-base: inherit;
    --font-serif: inherit;
    --font-accent: inherit;
    --font-num: inherit;
    
    /* スペーシング */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --spacing-xxl: 100px;
}

/* ==========================================================================
   ユーティリティクラス
   ========================================================================== */
.font-serif { font-family: var(--font-serif); }
.font-accent { font-family: var(--font-accent); }
.font-num { font-family: var(--font-num); }

.sp-only { display: none; }
.pc-only { display: inline; }

@media screen and (max-width: 768px) {
    .sp-only { display: inline; }
    .pc-only { display: none; }
}

/* ==========================================================================
   共通レイアウト
   ========================================================================== */
.results-page-wrapper {
    background-color: var(--result-white);
    color: var(--result-text);
    line-height: 1.8;
}

/* ==========================================================================
   ヒーローセクション (Archive & Single 共通)
   ========================================================================== */
.results-hero {
    background-color: var(--result-white);
    background-image: radial-gradient(var(--result-bg-grid) 1px, transparent 1px);
    background-size: 40px 40px;
    padding: 120px 5% 80px;
    position: relative;
    text-align: left;
    border-bottom: 1px solid var(--result-primary);
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* キッカー */
.hero-label {
    font-size: 12px;
    color: var(--result-primary);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: block;
    position: relative;
    padding-left: 50px;
    font-family: var(--font-num);
}

.hero-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--result-primary);
}

/* メインタイトル */
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 500;
    color: var(--result-primary);
    margin-bottom: 32px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.hero-title .en-sub {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 0.5em;
    display: block;
    margin-bottom: 8px;
    color: var(--result-accent-text);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.hero-title .ja-main {
    border-bottom: 2px solid var(--result-accent);
    display: inline-block;
    line-height: 1.4;
    padding-bottom: 8px;
}

.hero-description {
    font-size: 0.95rem;
    color: #4a5955;
    line-height: 1.9;
    max-width: 600px;
    font-weight: 400;
}

/* ヒーロー内のフレックスレイアウト (PC) */
@media (min-width: 960px) {
    .hero-content-flex {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-end;
        justify-content: space-between;
        gap: 60px;
    }
    .hero-text-block {
        flex: 1;
        max-width: 600px;
    }
    .hero-description {
        flex: 0 0 400px;
        margin-bottom: 10px;
    }
}

/* ==========================================================================
   統計情報バー
   ========================================================================== */
.results-stats-bar {
    background: var(--result-primary);
    padding: 40px 5%;
}

.stats-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.stat-block {
    text-align: center;
    color: var(--result-white);
}

.stat-block .stat-number {
    font-family: var(--font-num);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1;
    display: inline;
}

.stat-block .stat-unit {
    font-family: var(--font-num);
    font-size: 1.2rem;
    margin-left: 4px;
}

.stat-block .stat-label {
    display: block;
    font-size: 12px;
    margin-top: 8px;
    opacity: 0.8;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   検索・フィルターエリア
   ========================================================================== */
.results-search-bar {
    border-bottom: 1px solid var(--result-border);
    padding: 0;
    background: #fff;
}

.search-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    flex-wrap: wrap;
}

.search-item {
    flex: 1;
    min-width: 180px;
    padding: 24px 24px 24px 0;
    border-right: 1px solid #f0f4f3;
}

.search-item:last-of-type {
    border-right: none;
}

.search-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--result-text-light);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.1em;
    font-family: var(--font-num);
}

.search-item select {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--result-primary);
    font-weight: 500;
    padding: 0;
    outline: none;
    cursor: pointer;
    font-family: var(--font-base);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a2f2a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px;
}

/* 修正: ボタンラッパーにgapを追加 */
.search-button-wrapper {
    display: flex;
    align-items: center;
    padding: 24px 0;
    gap: 16px;
}

/* 修正: SEARCHボタンの調整 */
.btn-search {
    padding: 0 32px;
    height: 44px;
    background: var(--result-primary);
    color: #fff;
    border: 1px solid var(--result-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-num);
    white-space: nowrap; /* 折り返し防止 */
}

.btn-search:hover {
    background: #fff;
    color: var(--result-primary);
}

/* 追加: リセットボタンのスタイル */
.btn-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px; /* SEARCHボタンと高さを合わせる */
    padding: 0 24px;
    font-size: 12px;
    font-weight: 500;
    color: var(--result-text-light);
    text-decoration: none;
    letter-spacing: 0.1em;
    font-family: var(--font-num);
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-reset:hover {
    color: var(--result-primary);
    text-decoration: underline;
}

/* ==========================================================================
   アーカイブコンテンツ
   ========================================================================== */
.archive-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 5% 100px;
}

/* 件数表示バー */
.results-stat-bar {
    margin-bottom: 40px;
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.results-stat-bar .stat-number {
    font-family: var(--font-num);
    font-size: 3rem;
    line-height: 1;
    color: var(--result-primary);
    font-weight: 400;
}

.results-stat-bar .stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--result-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-num);
}

.stat-line {
    height: 1px;
    background: var(--result-primary);
    flex-grow: 1;
    margin-left: 24px;
    opacity: 0.2;
}

/* カードグリッド */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

/* ==========================================================================
   実績カード
   ========================================================================== */
.result-card {
    background: #fff;
    border: 1px solid var(--result-border);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.result-card:hover {
    border-color: var(--result-primary);
    box-shadow: 8px 8px 0px rgba(26, 47, 42, 0.06);
    transform: translateY(-4px);
}

.result-card .card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-top {
    padding: 28px 24px 20px;
    flex-grow: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-case-num {
    font-size: 11px;
    color: var(--result-primary);
    font-weight: 600;
    letter-spacing: 0.08em;
    border: 1px solid var(--result-primary);
    padding: 4px 10px;
    font-family: var(--font-num);
}

.card-date {
    font-size: 12px;
    color: var(--result-text-light);
    font-family: var(--font-accent);
    font-style: italic;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--result-primary);
    margin: 0 0 20px;
    font-weight: 500;
}

.card-specs {
    border-top: 1px solid #f0f4f3;
    padding-top: 16px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.spec-row:last-child {
    margin-bottom: 0;
}

.spec-label {
    color: var(--result-text-light);
    font-family: var(--font-num);
    font-size: 11px;
    letter-spacing: 0.05em;
}

.spec-value {
    font-weight: 500;
    color: var(--result-text);
}

/* カード年収セクション */
.card-salary {
    background: #f8fafa;
    padding: 18px 24px;
    border-top: 1px solid var(--result-border);
}

.salary-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.salary-up-block .label,
.salary-after-block .label {
    font-size: 10px;
    color: var(--result-text-light);
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-num);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.salary-up-block .value {
    font-family: var(--font-num);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--result-accent-text);
    line-height: 1;
}

.salary-up-block .unit {
    font-size: 0.85rem;
    margin-left: 2px;
    font-weight: 400;
}

.salary-after-block {
    text-align: right;
}

.salary-after-block .value {
    font-family: var(--font-num);
    font-weight: 500;
    color: var(--result-primary);
    font-size: 1rem;
}

/* 結果なし */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--result-text-light);
    font-size: 1rem;
}

/* ==========================================================================
   ページネーション
   ========================================================================== */
.pagination {
    margin-top: 60px;
    text-align: center;
}

.pagination ul {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li {
    display: inline-block;
}

.page-numbers {
    font-family: var(--font-num);
    font-size: 14px;
    color: var(--result-text-light);
    text-decoration: none;
    padding: 8px 14px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.page-numbers.current {
    font-weight: 600;
    color: var(--result-primary);
    border-color: var(--result-primary);
}

.page-numbers:hover:not(.current) {
    color: var(--result-primary);
    border-color: var(--result-border);
}

.page-numbers.prev,
.page-numbers.next {
    font-size: 13px;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   CTAセクション (共通)
   ========================================================================== */
.results-cta-section {
    background: var(--result-primary);
    padding: 80px 5%;
    text-align: center;
}

.cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.cta-label {
    font-size: 12px;
    color: var(--result-accent);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
    font-family: var(--font-num);
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--result-white);
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 500;
}

.cta-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.8;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--result-accent);
    color: var(--result-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 2px solid var(--result-accent);
}

.cta-button:hover {
    background: transparent;
    color: var(--result-accent);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   シングルページ専用スタイル
   ========================================================================== */

/* シングルヒーロー */
.single-hero {
    padding: 100px 5% 60px;
}

.single-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

/* 戻るボタン */
.btn-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--result-text-light);
    letter-spacing: 0.1em;
    text-decoration: none;
    margin-bottom: 40px;
    font-family: var(--font-num);
    transition: color 0.2s ease;
}

.btn-back-link:hover {
    color: var(--result-primary);
}

.btn-back-link svg {
    transition: transform 0.2s ease;
}

.btn-back-link:hover svg {
    transform: translateX(-4px);
}

/* シングルヘッダー情報 */
.single-header-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.single-case-num {
    font-size: 14px;
    font-weight: 600;
    color: var(--result-accent-text);
    font-family: var(--font-num);
    letter-spacing: 0.05em;
}

.meta-divider {
    width: 40px;
    height: 1px;
    background: var(--result-border);
}

.single-date {
    font-size: 13px;
    color: var(--result-text-light);
    font-family: var(--font-accent);
    font-style: italic;
}

.single-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--result-primary);
    line-height: 1.4;
    margin-bottom: 24px;
}

.single-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.single-tag {
    border: 1px solid var(--result-primary);
    color: var(--result-primary);
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* メインコンテンツレイアウト */
.single-content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 5% 80px;
}

.single-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

.single-main {
    min-width: 0;
}

/* ==========================================================================
   年収比較セクション (シングル)
   ========================================================================== */
.salary-growth-sec {
    margin-bottom: 60px;
}

.sec-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--result-text-light);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    display: block;
    font-family: var(--font-num);
}

.salary-growth-box {
    display: flex;
    align-items: center;
    padding: 32px 0;
    border-top: 1px solid var(--result-primary);
    border-bottom: 1px solid var(--result-primary);
    gap: 24px;
}

.salary-item {
    flex: 1;
}

.salary-label {
    font-size: 12px;
    color: var(--result-text-light);
    margin-bottom: 8px;
    display: block;
    font-family: var(--font-num);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.salary-val-before {
    font-family: var(--font-num);
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    color: #666;
    font-weight: 300;
    white-space: nowrap;
}

.salary-arrow-large {
    color: var(--result-accent-text);
    font-size: 24px;
    padding: 0 16px;
}

.salary-val-after {
    font-family: var(--font-num);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 500;
    color: var(--result-primary);
    line-height: 1;
    white-space: nowrap;
}

.salary-badge {
    background: var(--result-primary);
    color: #fff;
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    min-width: 80px;
}

.salary-badge .up-label {
    font-size: 10px;
    opacity: 0.7;
    font-family: var(--font-num);
    letter-spacing: 0.1em;
}

.salary-badge .up-val {
    font-family: var(--font-num);
    font-weight: 500;
    font-size: 1.2rem;
}

.salary-summary {
    margin-top: 20px;
    padding: 16px 20px;
    background: #f8fafa;
    display: flex;
    justify-content: flex-end;
}

.summary-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.summary-label {
    font-size: 12px;
    color: var(--result-text-light);
}

.summary-value {
    font-family: var(--font-num);
    font-size: 1.1rem;
    font-weight: 500;
}

.summary-value.highlight {
    color: var(--result-accent-text);
    font-size: 1.3rem;
}

/* ==========================================================================
   プロフィールセクション (シングル)
   ========================================================================== */
.profile-sec {
    margin-bottom: 60px;
}

.sec-heading-serif {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--result-primary);
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--result-border);
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.profile-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0f4f3;
}

.profile-item-label {
    font-size: 10px;
    color: var(--result-text-light);
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    display: block;
    font-family: var(--font-num);
    text-transform: uppercase;
}

.profile-item-val {
    font-size: 1rem;
    color: var(--result-primary);
    font-weight: 500;
}

/* ==========================================================================
   ストーリーセクション (シングル)
   ========================================================================== */
.story-sec {
    margin-bottom: 60px;
}

.story-content {
    font-size: 1rem;
    line-height: 2;
    color: #4a5955;
    text-align: justify;
    padding: 24px;
    background: #fafafa;
    border-left: 3px solid var(--result-accent);
}

/* ==========================================================================
   関連実績セクション (シングル)
   ========================================================================== */
.related-sec {
    margin-bottom: 40px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.related-card {
    display: block;
    padding: 20px;
    border: 1px solid var(--result-border);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.related-card:hover {
    border-color: var(--result-primary);
    box-shadow: 4px 4px 0 rgba(26, 47, 42, 0.06);
}

.related-card-header {
    margin-bottom: 12px;
}

.related-case {
    font-size: 11px;
    color: var(--result-text-light);
    font-family: var(--font-num);
    letter-spacing: 0.05em;
}

.related-salary {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.related-before {
    font-family: var(--font-num);
    font-size: 0.95rem;
    /* 同ファイルの --result-text-light は既に AA 対応済み。取り残しを揃える */
    color: var(--result-text-light);
}

.related-arrow {
    color: var(--result-text-light);
    font-size: 12px;
}

.related-after {
    font-family: var(--font-num);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--result-primary);
}

.related-up {
    font-family: var(--font-num);
    font-size: 0.9rem;
    color: var(--result-accent-text);
    font-weight: 500;
}

.related-info {
    font-size: 12px;
    color: var(--result-text-light);
    line-height: 1.5;
}

/* ==========================================================================
   サイドバー (シングル)
   ========================================================================== */
.single-sidebar {
    min-width: 0;
}

.sidebar-sticky {
    position: sticky;
    top: 40px;
    border: 1px solid var(--result-primary);
    padding: 32px 24px;
    text-align: center;
}

.sidebar-divider {
    width: 40px;
    height: 1px;
    background: var(--result-primary);
    margin: 0 auto 20px;
}

.sidebar-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--result-primary);
}

.sidebar-desc {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #666;
}

.btn-sidebar-cta {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--result-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid var(--result-primary);
    font-family: var(--font-num);
    transition: all 0.3s;
}

.btn-sidebar-cta:hover {
    background: #fff;
    color: var(--result-primary);
}

.sidebar-stats {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--result-border);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-stat-item {
    text-align: center;
}

.sidebar-stat-num {
    font-family: var(--font-num);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--result-accent-text);
    display: block;
    line-height: 1;
}

.sidebar-stat-label {
    font-size: 11px;
    color: var(--result-text-light);
    margin-top: 4px;
    display: block;
}

/* ==========================================================================
   レスポンシブ (タブレット)
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .single-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .single-sidebar {
        order: -1;
    }
    
    .sidebar-sticky {
        position: static;
    }
    
    .sidebar-stats {
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }
}

/* ==========================================================================
   レスポンシブ (スマートフォン)
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* ヒーロー */
    .results-hero {
        padding: 80px 5% 50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-content-flex {
        display: block;
    }
    
    .hero-text-block {
        margin-bottom: 24px;
    }
    
    /* 統計バー */
    .stats-inner {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    /* 検索フィルター */
    .search-inner {
        display: block;
        padding: 0 5%;
    }
    
    .search-item {
        border-right: none;
        border-bottom: 1px solid #f0f4f3;
        padding: 16px 0;
    }
    
    /* 修正: スマホでのボタン配置 */
    .search-button-wrapper {
        padding: 20px 0;
        flex-direction: column; /* 縦並び */
        gap: 12px;
    }
    
    .btn-search {
        width: 100%;
    }

    /* 修正: スマホでのリセットボタン */
    .btn-reset {
        width: 100%;
        border: 1px solid var(--result-border); /* 押しやすいように枠線追加 */
        background: #fff;
    }
    
    /* カードグリッド */
    .results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .results-stat-bar {
        display: block;
        text-align: center;
    }
    
    .results-stat-bar .stat-number {
        font-size: 2.5rem;
        display: block;
    }
    
    .stat-line {
        display: none;
    }
    
    /* シングルページ */
    .single-hero {
        padding: 70px 5% 40px;
    }
    
    .single-title {
        font-size: 1.5rem;
    }
    
    .single-content-wrapper {
        padding: 40px 5% 60px;
    }
    
    /* 年収比較 */
    .salary-growth-box {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px 0;
    }
    
    .salary-arrow-large {
        transform: rotate(90deg);
        padding: 8px 0;
    }
    
    .salary-badge {
        width: 100%;
        margin-top: 8px;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        padding: 12px;
    }
    
    .salary-summary {
        justify-content: center;
    }
    
    /* プロフィール */
    .profile-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    /* 関連 */
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    /* CTA */
    .results-cta-section {
        padding: 60px 5%;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   印刷用スタイル
   ========================================================================== */
@media print {
    .results-search-bar,
    .results-cta-section,
    .btn-back-link,
    .sidebar-sticky,
    .pagination {
        display: none !important;
    }
    
    .single-grid {
        grid-template-columns: 1fr;
    }
    
    .result-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}