/* ============================================================
   RootFo カスタムCSS — WordPress (SWELL) 用
   
   このファイルの役割：
   ・サイト全体の色・フォント・デザインを統一する
   ・SWELLのデフォルトデザインを RootFo 仕様に上書きする
   ============================================================ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   【1】デザイントークン（色・サイズの変数）
   ここの数値を変えるだけでサイト全体の色が変わります
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
    /* ── メインカラー ── */
    --rf-white:          #FFFFFF;
    --rf-bg-light:       #F8F9FB;   /* 薄いグレー背景 */
    --rf-bg-blue:        #F0F4FB;   /* 薄いブルー背景 */
    --rf-primary:        #0066CC;   /* メインブルー（ボタン等） */
    --rf-primary-dark:   #003A8C;   /* 濃いブルー（ホバー時） */
    --rf-green:          #2c5234;   /* RootFo グリーン */
    --rf-green-light:    #5a9e6f;   /* 薄いグリーン */
    --rf-text:           #1A2B3C;   /* 本文テキスト */
    --rf-text-mid:       #4a4a4a;   /* 中間テキスト */
    --rf-text-light:     #8B92A0;   /* 薄いテキスト */
    --rf-border:         #D4D8E0;   /* 区切り線 */
    --rf-gold:           #FFB800;   /* 星評価の色 */

    /* ── フォントサイズ（PC） ── */
    --rf-fz-h1:   48px;
    --rf-fz-h2:   36px;
    --rf-fz-h3:   22px;
    --rf-fz-body: 16px;
    --rf-fz-sm:   14px;
    --rf-fz-xs:   13px;

    /* ── 角丸・余白 ── */
    --rf-radius:    16px;
    --rf-radius-sm: 12px;
    --rf-radius-full: 9999px;
    --rf-section-py: 80px;

    /* ── 影 ── */
    --rf-shadow:      0 4px 12px rgba(0,0,0,0.08);
    --rf-shadow-blue: 0 8px 20px rgba(0,102,204,0.12);
    --rf-shadow-btn:  0 4px 16px rgba(0,102,204,0.30);

    /* ── フォント ── */
    --rf-font: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   【2】サイト全体の基本スタイル
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
body {
    font-family: var(--rf-font);
    color: var(--rf-text);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

/* コンテナ（中身の最大幅） */
.rf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* セクション（各ブロックの上下余白） */
.rf-section {
    padding: var(--rf-section-py) 0;
}
.rf-section--gray  { background: var(--rf-bg-light); }
.rf-section--blue  { background: var(--rf-bg-blue); }
.rf-section--white { background: var(--rf-white); }
.rf-section--dark  { background: #2C3E50; color: white; }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   【3】見出しスタイル
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* セクションのラベル（例：「Services」「FAQ」など小さい文字） */
.rf-eyebrow {
    display: inline-block;
    font-size: var(--rf-fz-xs);
    font-weight: 600;
    color: var(--rf-primary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* セクション見出し（H2相当） */
.rf-title {
    font-size: var(--rf-fz-h2);
    font-weight: 700;
    line-height: 1.3;
    color: var(--rf-text);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}
.rf-title--blue   { color: var(--rf-primary); }
.rf-title--green  { color: var(--rf-green); }
.rf-title--center { text-align: center; }

/* サブ見出し（H3相当） */
.rf-subtitle {
    font-size: var(--rf-fz-h3);
    font-weight: 600;
    color: var(--rf-text);
    line-height: 1.4;
    margin-bottom: 12px;
}

/* セクション説明文 */
.rf-lead {
    font-size: var(--rf-fz-body);
    color: var(--rf-text-light);
    line-height: 1.8;
    max-width: 640px;
}
.rf-lead--center { margin: 0 auto; text-align: center; }

/* セクションヘッダー（eyebrow + title + lead をまとめたブロック） */
.rf-sec-header {
    text-align: center;
    margin-bottom: 56px;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   【4】ボタン
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.rf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 40px;
    border-radius: var(--rf-radius-full);
    font-size: var(--rf-fz-body);
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
    min-height: 56px;
    border: 2px solid transparent;
    font-family: var(--rf-font);
}

/* 青ボタン（メイン） */
.rf-btn--primary {
    background: var(--rf-primary);
    color: #fff !important;
    border-color: var(--rf-primary);
    box-shadow: var(--rf-shadow-btn);
}
.rf-btn--primary:hover {
    background: var(--rf-primary-dark);
    border-color: var(--rf-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,102,204,0.4);
    color: #fff !important;
    text-decoration: none;
}

/* 枠線ボタン（サブ） */
.rf-btn--outline {
    background: transparent;
    color: var(--rf-primary) !important;
    border-color: var(--rf-primary);
}
.rf-btn--outline:hover {
    background: var(--rf-primary);
    color: #fff !important;
    transform: translateY(-2px);
    text-decoration: none;
}

/* グリーンボタン */
.rf-btn--green {
    background: var(--rf-green);
    color: #fff !important;
    border-color: var(--rf-green);
    box-shadow: 0 4px 16px rgba(44,82,52,0.3);
}
.rf-btn--green:hover {
    background: var(--rf-green-light);
    border-color: var(--rf-green-light);
    transform: translateY(-2px);
    color: #fff !important;
    text-decoration: none;
}

/* LINEボタン */
.rf-btn--line {
    background: #06C755;
    color: #fff !important;
    border-color: #06C755;
}
.rf-btn--line:hover {
    background: #05A847;
    transform: translateY(-2px);
    color: #fff !important;
    text-decoration: none;
}

/* サイズ変更 */
.rf-btn--lg  { padding: 18px 48px; font-size: 18px; min-height: 64px; }
.rf-btn--sm  { padding: 10px 24px; font-size: 14px; min-height: 44px; }
.rf-btn--full { width: 100%; }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   【5】カード共通スタイル
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.rf-card {
    background: var(--rf-white);
    border-radius: var(--rf-radius);
    padding: 32px;
    border: 1px solid var(--rf-border);
    transition: all 0.25s ease;
}
.rf-card:hover {
    box-shadow: var(--rf-shadow-blue);
    transform: translateY(-4px);
    border-color: transparent;
}

/* カード内のアイコンボックス */
.rf-card-icon {
    width: 56px;
    height: 56px;
    background: var(--rf-bg-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   【6】グリッドレイアウト
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.rf-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.rf-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rf-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rf-grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: center; }
.rf-grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: center; }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   【7】スクロールアニメーション
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.rf-fade {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.rf-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.rf-fade--d1 { transition-delay: 0.1s; }
.rf-fade--d2 { transition-delay: 0.2s; }
.rf-fade--d3 { transition-delay: 0.3s; }
.rf-fade--d4 { transition-delay: 0.4s; }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   【8】ページヒーロー（各ページ上部の緑背景エリア）
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.rf-page-hero {
    background: linear-gradient(135deg, #1e3a24 0%, var(--rf-green) 100%);
    color: white;
    padding: 120px 0 72px;
    text-align: center;
}
.rf-page-hero .rf-eyebrow {
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
    display: block;
}
.rf-page-hero h1 {
    font-size: var(--rf-fz-h1);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}
.rf-page-hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.82);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   【9】弊社の特徴ページ専用
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* 特徴ブロック（左画像 + 右テキストの2カラム） */
.rf-feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    padding: 72px 0;
    border-bottom: 1px solid var(--rf-border);
}
.rf-feature-block:last-child { border-bottom: none; }
.rf-feature-block.rf-reverse { direction: rtl; }
.rf-feature-block.rf-reverse > * { direction: ltr; }

/* 特徴ブロック・画像エリア */
.rf-feature-img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--rf-radius);
    background: linear-gradient(135deg, var(--rf-bg-light), var(--rf-border));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    position: relative;
    overflow: hidden;
}

/* 大きな番号（01, 02, 03） */
.rf-feature-num {
    font-size: 72px;
    font-weight: 800;
    color: rgba(0,0,0,0.06);
    line-height: 1;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

/* チェックリスト */
.rf-check-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}
.rf-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--rf-fz-sm);
    color: var(--rf-text-mid);
    padding: 12px 16px;
    background: var(--rf-bg-light);
    border-radius: 8px;
}
.rf-check-list li::before {
    content: '✓';
    color: var(--rf-primary);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* フロー（ステップ） */
.rf-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 48px;
}
.rf-steps::before {
    content: '';
    position: absolute;
    top: 38px;
    left: calc(12.5% + 16px);
    right: calc(12.5% + 16px);
    height: 2px;
    background: linear-gradient(90deg, var(--rf-primary), rgba(0,102,204,0.2));
}
.rf-step {
    text-align: center;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}
.rf-step-circle {
    width: 76px; height: 76px;
    background: white;
    border: 3px solid var(--rf-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 22px;
    position: relative;
    z-index: 1;
    transition: all 0.25s ease;
}
.rf-step:hover .rf-step-circle {
    background: var(--rf-primary);
    color: white;
}
.rf-step-num {
    font-size: 10px;
    font-weight: 700;
    color: var(--rf-primary);
    letter-spacing: 0.05em;
    line-height: 1;
}
.rf-step:hover .rf-step-num { color: white; }
.rf-step-card {
    background: white;
    border-radius: var(--rf-radius-sm);
    padding: 20px 16px;
    box-shadow: var(--rf-shadow);
}
.rf-step-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--rf-text);
    margin-bottom: 6px;
}
.rf-step-card p {
    font-size: 12px;
    color: var(--rf-text-light);
    line-height: 1.65;
}

/* 価値観カード（3カラム） */
.rf-value-card {
    background: var(--rf-bg-light);
    border-radius: var(--rf-radius);
    padding: 40px 28px;
    text-align: center;
    border: 1px solid var(--rf-border);
    transition: all 0.25s ease;
}
.rf-value-card:hover {
    background: white;
    box-shadow: var(--rf-shadow-blue);
    transform: translateY(-4px);
    border-color: transparent;
}
.rf-value-icon {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, var(--rf-green), var(--rf-green-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   【10】サービスページ専用
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* サービスナビ（ページ内タブ） */
.rf-service-nav {
    background: white;
    border-bottom: 1px solid var(--rf-border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.rf-service-nav-inner {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.rf-service-nav-inner::-webkit-scrollbar { display: none; }
.rf-service-nav a {
    flex-shrink: 0;
    padding: 18px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--rf-text-light);
    border-bottom: 3px solid transparent;
    transition: all 0.25s ease;
    white-space: nowrap;
    text-decoration: none;
}
.rf-service-nav a:hover,
.rf-service-nav a.active {
    color: var(--rf-primary);
    border-bottom-color: var(--rf-primary);
}

/* サービス詳細セクション */
.rf-service-section {
    padding: 80px 0;
}
.rf-service-section:nth-child(even) {
    background: var(--rf-bg-light);
}

/* サービスヘッダー（画像＋テキスト2カラム） */
.rf-service-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 48px;
}
.rf-service-header.rf-reverse { direction: rtl; }
.rf-service-header.rf-reverse > * { direction: ltr; }

.rf-service-img {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: var(--rf-radius);
    background: linear-gradient(135deg, var(--rf-bg-light), var(--rf-border));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}
.rf-service-label {
    display: inline-block;
    padding: 4px 14px;
    background: var(--rf-bg-blue);
    color: var(--rf-primary);
    border-radius: var(--rf-radius-full);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.rf-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}
.rf-service-tag {
    padding: 4px 12px;
    background: var(--rf-bg-light);
    border-radius: var(--rf-radius-full);
    font-size: 12px;
    color: var(--rf-primary);
    font-weight: 500;
}

/* 対象者ブロック */
.rf-for-whom {
    background: var(--rf-bg-blue);
    border-radius: var(--rf-radius-sm);
    padding: 28px 32px;
    border-left: 4px solid var(--rf-primary);
    margin-top: 32px;
}
.rf-for-whom h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--rf-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}
.rf-for-whom ul { display: flex; flex-direction: column; gap: 8px; }
.rf-for-whom li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--rf-text-mid);
}
.rf-for-whom li::before {
    content: '✓';
    color: var(--rf-primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* FAQアコーディオン */
.rf-faq-list {
    max-width: 760px;
    margin: 0 auto;
}
.rf-faq-item {
    border-bottom: 1px solid var(--rf-border);
}
.rf-faq-item:first-child { border-top: 1px solid var(--rf-border); }
.rf-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 4px;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: var(--rf-text);
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--rf-font);
    transition: color 0.25s ease;
}
.rf-faq-q:hover { color: var(--rf-primary); }
.rf-faq-icon {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--rf-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    color: var(--rf-primary);
    transition: all 0.25s ease;
    line-height: 1;
}
.rf-faq-item.is-open .rf-faq-icon {
    background: var(--rf-primary);
    color: white;
    transform: rotate(45deg);
}
.rf-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.rf-faq-item.is-open .rf-faq-a { max-height: 400px; }
.rf-faq-a-inner {
    background: var(--rf-bg-light);
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--rf-text-mid);
    line-height: 1.8;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   【11】お問い合わせページ専用
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Contact Form 7 のスタイル上書き */
.rf-contact-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}
.rf-contact-form input[type="text"],
.rf-contact-form input[type="email"],
.rf-contact-form input[type="tel"],
.rf-contact-form select,
.rf-contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--rf-border);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--rf-font);
    color: var(--rf-text);
    background: var(--rf-bg-light);
    transition: all 0.25s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    margin-top: 4px;
}
.rf-contact-form input[type="text"]:focus,
.rf-contact-form input[type="email"]:focus,
.rf-contact-form input[type="tel"]:focus,
.rf-contact-form select:focus,
.rf-contact-form textarea:focus {
    border-color: var(--rf-primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}
.rf-contact-form textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.rf-contact-form .wpcf7-submit {
    width: 100%;
    padding: 18px;
    background: var(--rf-primary);
    color: white;
    border: none;
    border-radius: var(--rf-radius-full);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--rf-font);
    margin-top: 8px;
}
.rf-contact-form .wpcf7-submit:hover {
    background: var(--rf-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--rf-shadow-btn);
}

/* フォームラベル */
.rf-form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--rf-text);
    margin-bottom: 4px;
    margin-top: 20px;
}
.rf-required {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    background: var(--rf-primary);
    color: white;
    font-size: 10px;
    border-radius: 3px;
    vertical-align: middle;
    font-weight: 600;
}
.rf-optional {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    background: var(--rf-border);
    color: var(--rf-text-light);
    font-size: 10px;
    border-radius: 3px;
    vertical-align: middle;
}

/* お問い合わせ導線カード */
.rf-contact-perk {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: white;
    border-radius: var(--rf-radius-sm);
    border: 1px solid var(--rf-border);
    margin-bottom: 14px;
}
.rf-contact-perk-icon {
    width: 44px; height: 44px;
    background: var(--rf-bg-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.rf-contact-perk h4 { font-size: 14px; font-weight: 700; color: var(--rf-text); margin-bottom: 4px; }
.rf-contact-perk p  { font-size: 12px; color: var(--rf-text-light); line-height: 1.5; margin: 0; }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   【12】CTAセクション（緑 or 青グラデ背景）
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.rf-cta {
    background: linear-gradient(135deg, #1e3a24 0%, var(--rf-green) 100%);
    padding: 96px 0;
    text-align: center;
}
.rf-cta h2 {
    font-size: var(--rf-fz-h2);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    line-height: 1.3;
}
.rf-cta p  { color: rgba(255,255,255,0.82); font-size: 18px; margin-bottom: 40px; }
.rf-cta-blue {
    background: linear-gradient(135deg, var(--rf-bg-blue) 0%, white 100%);
}
.rf-cta-blue h2 { color: var(--rf-primary); }
.rf-cta-blue p  { color: var(--rf-text-light); }

/* CTA ボタングループ */
.rf-cta-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.rf-cta-note {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-top: 8px;
}
.rf-cta-blue .rf-cta-note { color: var(--rf-text-light); }

/* 信頼バッジ（CTAの下） */
.rf-trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 32px;
}
.rf-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}
.rf-cta-blue .rf-trust-badge { color: var(--rf-text-light); }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   【13】SWELLのデフォルトスタイル上書き
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* SWELLのヘッダー調整 */
#site-header {
    border-bottom: 1px solid rgba(44,82,52,0.08);
}

/* SWELLのメニューリンク色 */
.header__nav .menu-item a {
    color: var(--rf-text-mid);
    font-weight: 500;
}
.header__nav .menu-item a:hover {
    color: var(--rf-primary);
}

/* SWELLのフッター */
#site-footer {
    background: #2C3E50;
    color: rgba(255,255,255,0.75);
}

/* SWELLのウィジェットエリア */
.sidebar .widget {
    border-radius: var(--rf-radius-sm);
    overflow: hidden;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   【14】レスポンシブ（スマホ対応）
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
    .rf-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .rf-feature-block { gap: 40px; }
    .rf-steps { grid-template-columns: repeat(2, 1fr); }
    .rf-steps::before { display: none; }
    .rf-service-header { gap: 36px; }
}

@media (max-width: 768px) {
    :root {
        --rf-fz-h1:      32px;
        --rf-fz-h2:      26px;
        --rf-fz-h3:      18px;
        --rf-fz-body:    15px;
        --rf-fz-sm:      13px;
        --rf-section-py: 56px;
    }
    .rf-container { padding: 0 20px; }
    .rf-grid-2,
    .rf-grid-3,
    .rf-grid-4 { grid-template-columns: 1fr; }
    .rf-grid-2-1,
    .rf-grid-1-2 { grid-template-columns: 1fr; }
    .rf-feature-block { grid-template-columns: 1fr; padding: 48px 0; }
    .rf-feature-block.rf-reverse { direction: ltr; }
    .rf-service-header { grid-template-columns: 1fr; }
    .rf-service-header.rf-reverse { direction: ltr; }
    .rf-steps { grid-template-columns: 1fr; }
    .rf-btn--full-sp { width: 100%; }
    .rf-sec-header { margin-bottom: 36px; }
    .rf-page-hero { padding: 100px 0 56px; }
    .rf-page-hero h1 { font-size: 28px; }
    .rf-cta { padding: 72px 0; }
    .rf-cta-btns .rf-btn { width: 100%; max-width: 360px; }
    .rf-trust-badges { gap: 16px; }
}

@media (max-width: 480px) {
    .rf-trust-badges { flex-direction: column; gap: 8px; }
}
