/* ============================================================
   ミライタス トップページ リデザイン（2026/07）
   方針：白ベース・フラット・日本語見出し・機能優先（プロの求人サイト準拠）
   グラデーション/ぼかし/過剰な角丸・影は使わない
   既存CSSの後に読み込み、上書きする
============================================================ */

:root {
    /* ブランドカラー：本番 miraitas.jp 準拠の青×緑 */
    --rd-bg: #FFFFFF;
    --rd-bg-alt: #F6F9FB;      /* セクション交互の薄地 */
    --rd-text: #183040;
    --rd-sub: #64748B;
    --rd-blue: #4678E5;        /* メインの青（ボタン・リンク・強調） */
    --rd-blue-hover: #3560C4;
    --rd-accent: #00B87A;      /* ロゴの緑（CTA） */
    --rd-accent-hover: #00A26C;
    --rd-border: #E5EAF0;
    --rd-tag: #F1F5F9;
    --rd-radius: 10px;         /* カード */
    --rd-radius-btn: 8px;      /* ボタン */
    --rd-font-head: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
    --rd-font-body: 'Noto Sans JP', sans-serif;
    /* 旧トークン互換（他ファイル参照用） */
    --rd-navy: #4678E5;
    --rd-navy-hover: #3560C4;
}

html {
    scroll-padding-top: 84px;
}

/* スマホでBootstrapデフォルトの左右余白(12px)がやや狭く感じるため、
   ほんの少しだけ広げる（画面端に文字が張り付く見た目を防ぐ） */
@media (max-width: 767.98px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

body {
    background: var(--rd-bg);
    color: var(--rd-text);
    font-family: var(--rd-font-body);
}

a {
    color: var(--rd-blue);
    transition: color .15s ease;
}
a:hover {
    color: var(--rd-blue-hover);
}

/* ============ 共通パーツ ============ */

/* flex化してアイコンと文字を確実に中央揃え。下線(::after)は flex-basis:100% で
   折り返させて別行として表示する（vertical-alignの数値合わせに頼らない） */
.rd-h2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 10px;
    font-family: var(--rd-font-head);
    font-weight: 700;
    font-size: clamp(20px, 2.6vw, 26px);
    line-height: 1.4;
    margin-bottom: 8px;
}
.rd-h2::after {
    content: '';
    flex-basis: 100%;
    width: 34px;
    height: 3px;
    border-radius: 2px;
    background: var(--rd-accent);
    margin-top: 10px;
}
/* 見出し横のアイコン */
.rd-h2-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #EAF1FB;
    color: var(--rd-blue);
}
.rd-h2-icon svg {
    width: 18px;
    height: 18px;
}

/* 職種カラードット（チップ内） */
.rd-chip-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    flex: 0 0 auto;
}

.rd-section-lead {
    color: var(--rd-sub);
    font-size: 14px;
    margin-bottom: 24px;
}

.rd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 46px;
    padding: 11px 26px;
    border-radius: var(--rd-radius-btn);
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.rd-btn-accent {
    background: var(--rd-accent);
    color: #fff;
}
.rd-btn-accent:hover {
    background: var(--rd-accent-hover);
    color: #fff;
}
.rd-btn-outline {
    border: 1.5px solid var(--rd-blue);
    color: var(--rd-blue);
    background: #fff;
}
.rd-btn-outline:hover {
    background: var(--rd-blue);
    color: #fff;
}

/* 登場アニメーション（ヒーローのみ・控えめ） */
.rd-fadeup {
    opacity: 0;
    transform: translateY(12px);
    animation: rdFadeUp .5s ease forwards;
    animation-delay: var(--d, 0s);
}
@keyframes rdFadeUp {
    to {
        opacity: 1;
        transform: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .rd-fadeup {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ============ ヘッダー ============ */

.rd-header {
    background: #fff !important;
    border-bottom: 1px solid var(--rd-border) !important;
    box-shadow: none !important;
    padding-top: 8px;
    padding-bottom: 8px;
}
.rd-header .navbar-logo {
    height: 38px;
    width: auto;
}
.rd-header .nav-link {
    color: var(--rd-text);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 14px;
}
.rd-header .nav-link:hover {
    color: var(--rd-blue);
}
.rd-header-cta {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 20px;
    border-radius: var(--rd-radius-btn);
    background: var(--rd-accent);
    color: #fff !important;
    font-weight: 700;
    font-size: 13.5px;
    transition: background .15s ease;
}
.rd-header-cta:hover {
    background: var(--rd-accent-hover);
}
@media (min-width: 992px) {
    .rd-header-cta {
        margin-left: 12px;
    }
}
@media (max-width: 991.98px) {
    .rd-header-cta {
        margin: 8px 14px 10px;
    }
}

/* ============ ヒーロー（左：コピー / 右：検索パネル） ============ */

/* FV は本番 miraitas.jp と同じグラデーション */
.rd-hero {
    background: linear-gradient(135deg, #66C6E4 0%, #91DBA8 50%, #4678E5 100%);
    padding: clamp(40px, 6vw, 68px) 0;
}
.rd-hero .rd-hero-lede {
    color: #fff;
    opacity: .92;
}
.rd-hero .rd-hero-title {
    color: #fff;
}
.rd-hero .rd-hero-sub {
    color: rgba(255, 255, 255, .92);
}
.rd-hero .rd-hero-facts li {
    color: #fff;
}
.rd-hero .rd-btn-outline {
    border-color: #fff;
    color: #fff;
    background: transparent;
}
.rd-hero .rd-btn-outline:hover {
    background: #fff;
    color: var(--rd-blue);
}
.rd-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}
@media (max-width: 767.98px) {
    /* minmax(0,1fr) が重要：ただの 1fr だと最小幅=コンテンツ幅になり、
       iOSの文字サイズ拡大（aAメニュー）でコンテンツが画面幅を超えたとき
       列ごと広がってレイアウト全体が右に切れる */
    .rd-hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* グリッドの子は必ず縮められるように。文字拡大時の保険 */
.rd-hero-copy,
.rd-hero-panel {
    min-width: 0;
    max-width: 100%;
}
/* それでもはみ出す要素が出た場合はヒーロー内で切り、ページ全体を歪ませない */
.rd-hero {
    overflow-x: clip;
}

.rd-hero-lede {
    color: var(--rd-blue);
    font-weight: 700;
    font-size: 13.5px;
    margin-bottom: 12px;
}
.rd-hero-title {
    font-family: var(--rd-font-head);
    font-weight: 900;
    font-size: clamp(26px, 3.8vw, 40px);
    line-height: 1.5;
    margin-bottom: 14px;
}
/* 文節単位でしか折り返さない（変な位置での改行を防ぐ）。
   max-width:100% で、文字拡大時に文節が画面幅を超えたら文節内でも折り返す */
.rd-nowrap {
    display: inline-block;
    max-width: 100%;
}
.rd-hero-em {
    color: #FF7043;
    text-decoration: underline;
    text-decoration-color: rgba(255, 112, 67, .5);
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
}
.rd-hero-sub {
    color: var(--rd-sub);
    font-size: 14.5px;
    line-height: 2;
    margin-bottom: 16px;
}
.rd-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}
.rd-hero-facts li {
    position: relative;
    padding-left: 20px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--rd-text);
}
.rd-hero-facts li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%2300B87A'/%3E%3Cpath d='M4.5 8.2l2.4 2.4 4.6-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.rd-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* 検索パネル */
.rd-hero-panel {
    background: #fff;
    border: 1px solid var(--rd-border);
    border-radius: 12px;
    padding: 22px 22px 16px;
    box-shadow: 0 1px 3px rgba(16, 42, 67, .06);
}
.rd-hero-panel-title {
    font-family: var(--rd-font-head);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 12px;
}
.rd-hero-search {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.rd-hero-search input {
    flex: 1 1 auto;
    min-width: 0;
    border: 1px solid #CBD5E1;
    border-radius: var(--rd-radius-btn);
    padding: 10px 14px;
    font-size: 14px;
    background: #fff;
}
.rd-hero-search input:focus {
    outline: 2px solid var(--rd-blue);
    outline-offset: -1px;
    border-color: transparent;
}
.rd-hero-search button {
    flex: 0 0 auto;
    border: none;
    border-radius: var(--rd-radius-btn);
    background: var(--rd-blue);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 20px;
    min-height: 44px;
    transition: background .15s ease;
}
.rd-hero-search button:hover {
    background: var(--rd-blue-hover);
}
.rd-hero-panel-label {
    color: var(--rd-sub);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}
.rd-hero-panel-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.rd-hero-panel-chips a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 5px 12px;
    border: 1px solid var(--rd-border);
    border-radius: 6px;
    background: #fff;
    color: var(--rd-text);
    font-size: 12.5px;
    text-decoration: none;
    transition: border-color .15s ease, color .15s ease;
}
.rd-hero-panel-chips a:hover {
    border-color: var(--rd-blue);
    color: var(--rd-blue);
}
.rd-hero-panel-note {
    color: var(--rd-sub);
    font-size: 11.5px;
    text-align: center;
    margin: 0;
}

/* ============ 求人一覧 ============ */

.rd-jobs {
    padding: clamp(40px, 5vw, 64px) 0;
}
.rd-jobs-head {
    margin-bottom: 18px;
}

.rd-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.rd-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid var(--rd-border);
    background: #fff;
    color: var(--rd-text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.rd-chip:hover {
    border-color: var(--rd-blue);
    color: var(--rd-blue);
}
.rd-chip b {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--rd-blue);
}
.rd-chip.is-active {
    background: var(--rd-blue);
    border-color: var(--rd-blue);
    color: #fff;
}
.rd-chip.is-active b {
    color: #fff;
}
.rd-chip-clear {
    background: var(--rd-tag);
    color: var(--rd-sub);
}

.rd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr));
    gap: 20px;
}

/* ============ 求人カード ============ */

.job-card.rd-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(16, 42, 67, .05);
    transition: border-color .15s ease, box-shadow .15s ease;
    margin: 0;
    padding: 0;
}
/* カード全体のタップ領域（詳細ページへの遷移率を上げる）。
   アクション行のボタンは z-index で上に重ねて誤ってこの下に隠れないようにする */
.rd-card-stretch {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.job-card.rd-card:hover {
    transform: none;
    border-color: var(--rd-blue);
    box-shadow: 0 4px 14px rgba(16, 42, 67, .1);
}

/* 写真はコンパクトな帯で表示（トリミングOK） */
.rd-card-visual {
    position: relative;
    display: block;
    height: 150px;
    overflow: hidden;
    background: #EAF1F7;
}
.rd-card-visual .job-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.job-card.rd-card:hover .job-card-image {
    transform: none;
}
.rd-card-visual-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rd-blue);
    font-family: var(--rd-font-head);
    font-weight: 900;
    font-size: 36px;
}
.rd-card-badge {
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px 12px;
    border-radius: 0 0 6px 0;
    background: var(--rd-blue);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
}
/* 職種別バッジカラー（詳細ページの職種色と同じ体系） */
.rd-card-badge.job-engineer  { background: #3B82F6; }
.rd-card-badge.job-marketing { background: #EC4899; }
.rd-card-badge.job-sales     { background: #F59E0B; }
.rd-card-badge.job-design    { background: #8B5CF6; }
.rd-card-badge.job-planning  { background: #14B8A6; }
.rd-card-badge.job-bizdev    { background: #EF4444; }
.rd-card-badge.job-corporate { background: #64748B; }
.rd-card-badge.job-default   { background: var(--rd-accent); }

.rd-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 14px 16px 0;
}
.rd-card-company {
    color: var(--rd-sub);
    font-size: 12px;
    margin-bottom: 4px;
}
.rd-card-company a {
    color: inherit;
    text-decoration: none;
}
.rd-card-company a:hover {
    color: var(--rd-blue);
}
.rd-card-title {
    font-family: var(--rd-font-head);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 10px;
}
.rd-card-title a {
    color: var(--rd-text);
    text-decoration: none;
}
.rd-card-title a:hover {
    color: var(--rd-blue);
}
.rd-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 12px;
}
.rd-card-tag {
    padding: 3px 10px;
    border-radius: 4px;
    background: var(--rd-tag);
    color: #506478;
    font-size: 11.5px;
    font-weight: 500;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rd-card-tag--accent {
    background: #E3F6EF;
    color: #00966B;
    font-weight: 700;
}
.rd-card-tag--style {
    background: #EAF1FB;
    color: var(--rd-blue);
    font-weight: 700;
}

.rd-card-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    border-top: 1px solid var(--rd-border);
    padding: 10px 0 12px;
    margin-top: auto;
}
.rd-card-info-item {
    min-width: 0;
}
.rd-card-info-label {
    display: flex;
    align-items: center;
    gap: 3px;
    color: var(--rd-sub);
    font-size: 10.5px;
    margin-bottom: 2px;
}
.rd-card-info-label svg {
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    color: var(--rd-blue);
}
.rd-card-info-value {
    display: block;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rd-card-actions {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 8px;
    padding: 0 16px 14px;
}
.rd-card-btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: var(--rd-radius-btn);
    background: var(--rd-blue);
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    transition: background .15s ease;
}
.rd-card-btn:hover {
    background: var(--rd-blue-hover);
    color: #fff;
}
.rd-card-keep {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: var(--rd-radius-btn);
    border: 1px solid #CBD5E1;
    background: #fff;
    color: var(--rd-text);
    font-weight: 700;
    font-size: 12.5px;
    white-space: nowrap;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.rd-card-keep:hover {
    border-color: var(--rd-accent);
    color: var(--rd-accent);
}
.rd-card-keep.is-kept {
    background: #E3F6EF;
    border-color: var(--rd-accent);
    color: #00966B;
}
.rd-card-keep .keep-star {
    color: var(--rd-accent);
}

/* ============ 3ステップ ============ */

.rd-steps {
    padding: clamp(40px, 5vw, 64px) 0;
    background: var(--rd-bg-alt);
    border-top: 1px solid var(--rd-border);
    border-bottom: 1px solid var(--rd-border);
}
.rd-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 16px;
    margin-top: 24px;
}
.rd-step-card {
    background: #fff;
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius);
    padding: 22px 22px 20px;
}
.rd-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #EAF1FB;
    color: var(--rd-blue);
    margin-bottom: 12px;
}
/* ステップごとに色を変える（緑→青→オレンジ） */
.rd-step-card:nth-child(1) .rd-step-icon { background: #E3F6EF; color: #00966B; }
.rd-step-card:nth-child(2) .rd-step-icon { background: #EAF1FB; color: var(--rd-blue); }
.rd-step-card:nth-child(3) .rd-step-icon { background: #FEF3E2; color: #E08A00; }
.rd-step-card:nth-child(1) .rd-step-num { color: #00966B; }
.rd-step-card:nth-child(3) .rd-step-num { color: #E08A00; }
.rd-step-icon svg {
    width: 20px;
    height: 20px;
}
.rd-step-num {
    display: block;
    color: var(--rd-blue);
    font-family: var(--rd-font-head);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .14em;
    margin-bottom: 6px;
}
.rd-step-card h3 {
    font-family: var(--rd-font-head);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
}
.rd-step-card p {
    color: var(--rd-sub);
    font-size: 13px;
    line-height: 1.9;
    margin: 0;
}

/* ============ 成功例 ============ */

.rd-voices {
    padding: clamp(40px, 5vw, 64px) 0;
}
.rd-voices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 16px;
    margin-top: 24px;
}
.rd-voice-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
/* カード上端にブランドグラデーションの帯（本番サイトと共通の演出） */
.rd-voice-card::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #4678E5, #66C6E4, #91DBA8);
}
.rd-voice-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 22px 14px;
    background: linear-gradient(135deg, #F5F8FF 0%, #EEF4FF 100%);
    border-bottom: 1px solid #E6EDFB;
}
.rd-voice-card > :not(.rd-voice-head) {
    padding-left: 22px;
    padding-right: 22px;
}
.rd-voice-card > .rd-voice-title {
    margin-top: 16px;
}
.rd-voice-card > .rd-voice-result {
    margin-bottom: 22px;
}
.rd-voice-avatar {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rd-blue);
    color: #fff;
    font-family: var(--rd-font-head);
    font-weight: 700;
    font-size: 17px;
}
.rd-voice-avatar--sales    { background: #F59E0B; }
.rd-voice-avatar--engineer { background: #3B82F6; }
.rd-voice-avatar--mixed    { background: #14B8A6; }
.rd-voice-person {
    min-width: 0;
}
.rd-voice-univ {
    display: block;
    color: var(--rd-sub);
    font-size: 11.5px;
}
.rd-voice-name {
    font-weight: 700;
    font-size: 14px;
}
.rd-voice-tag {
    margin-left: auto;
    flex: 0 0 auto;
    padding: 3px 10px;
    border: 1px solid var(--rd-border);
    border-radius: 4px;
    background: var(--rd-tag);
    color: #506478;
    font-size: 11px;
    font-weight: 700;
}
.rd-voice-tag--sales    { background: #FEF3E2; border-color: #F8DFB4; color: #C77A00; }
.rd-voice-tag--engineer { background: #E7F0FE; border-color: #C6DBFB; color: #2563EB; }
.rd-voice-tag--mixed    { background: #E0F5F2; border-color: #B8E5DF; color: #0F9488; }
.rd-voice-title {
    font-family: var(--rd-font-head);
    font-weight: 700;
    font-size: 15.5px;
    line-height: 1.6;
    margin-bottom: 8px;
}
.rd-voice-text {
    color: var(--rd-sub);
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 16px;
}
.rd-voice-result {
    margin-top: auto;
    border-left: 3px solid var(--rd-accent);
    background: #F4FBF8;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
}
.rd-voice-result b {
    color: #00966B;
    font-size: 11px;
    letter-spacing: .1em;
    margin-right: 8px;
}

/* ============ FAQ ============ */

.rd-faq {
    padding: clamp(40px, 5vw, 64px) 0;
    background: var(--rd-bg-alt);
    border-top: 1px solid var(--rd-border);
}
.rd-faq-list {
    max-width: 840px;
    margin-top: 20px;
}
.rd-faq .faq-item {
    background: #fff;
    border: 1px solid var(--rd-border);
    border-left: 3px solid transparent;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: border-color .15s ease;
}
.rd-faq .faq-item.is-open {
    border-left-color: var(--rd-blue);
}
.rd-faq .faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: none;
    border: none;
    text-align: left;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--rd-text);
    cursor: pointer;
    min-height: 44px;
}
.rd-faq-q {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rd-blue);
    color: #fff;
    font-family: var(--rd-font-head);
    font-weight: 700;
    font-size: 13px;
}
.rd-faq-icon {
    margin-left: auto;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rd-tag);
    color: var(--rd-blue);
    font-weight: 700;
    line-height: 1;
}
.rd-faq-icon::before {
    content: '＋';
    font-size: 12px;
}
.rd-faq .faq-item.is-open .rd-faq-icon {
    background: var(--rd-blue);
    color: #fff;
}
.rd-faq .faq-item.is-open .rd-faq-icon::before {
    content: '−';
}
.rd-faq-answer {
    padding: 0 18px 18px 54px;
    color: var(--rd-sub);
    font-size: 13.5px;
    line-height: 2;
}

/* ============ 最終CTA ============ */

.rd-final-cta {
    padding: clamp(36px, 5vw, 56px) 0;
    border-top: 1px solid var(--rd-border);
}
/* ヒーローと同じブランドグラデで統一（ページの冒頭と締めくくりで色を揃える） */
.rd-cta-band {
    background: linear-gradient(135deg, #66C6E4 0%, #91DBA8 50%, #4678E5 100%);
    border-radius: 12px;
    color: #fff;
    text-align: center;
    padding: clamp(36px, 5vw, 56px) 24px;
    box-shadow: 0 10px 28px rgba(70, 120, 229, .18);
}
.rd-cta-band h2 {
    font-family: var(--rd-font-head);
    font-weight: 700;
    font-size: clamp(19px, 2.6vw, 26px);
    line-height: 1.5;
    margin-bottom: 10px;
}
.rd-cta-band p {
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    margin-bottom: 24px;
}
/* ボタンはグラデのどの位置でも読めるよう白地に統一（本番CTAと同じ配色パターン） */
.rd-cta-band .rd-btn-accent {
    background: #fff;
    color: var(--rd-blue-hover);
}
.rd-cta-band .rd-btn-accent:hover {
    background: #F2F7FF;
    color: var(--rd-blue-hover);
}

/* ============ SEOテキスト・回遊エリア（視覚優先度を下げる） ============ */

.rd-seo-area {
    padding: 36px 0 8px;
    border-top: 1px solid var(--rd-border);
}
.rd-seo-area h2 {
    font-size: 15px;
    font-weight: 700;
}
.rd-seo-area,
.rd-seo-area p {
    color: var(--rd-sub);
    font-size: 13px;
    line-height: 2;
}
.rd-seo-area .rd-chip {
    min-height: 34px;
    font-size: 12px;
}

/* お役立ち記事カード（既存クラスを軽く上書き） */
.home-column-card {
    background: #fff;
    border: 1px solid var(--rd-border);
    border-radius: 8px;
    overflow: hidden;
}

/* ============ フッター ============ */

.rd-footer {
    background: #fff;
    border-top: 1px solid var(--rd-border);
    padding: 20px 0;
    margin-top: 0;
}
.rd-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.rd-footer-logo img {
    height: 28px;
    width: auto;
}
.rd-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
}
.rd-footer-links a {
    color: var(--rd-sub);
    font-size: 12.5px;
    text-decoration: none;
    padding: 6px 0;
}
.rd-footer-links a:hover {
    color: var(--rd-blue);
}
.rd-footer-copy {
    color: var(--rd-sub);
    font-size: 12px;
}

/* ============ キープ固定バー ============ */

.job-cards-sticky-bar {
    background: var(--rd-blue);
}
