/* 基本レイアウト */
html, body {
margin: 0;
  padding: 0;
  overflow-x: hidden; /* 横揺れ防止 */
background-color: #f5f5f5;
}

body {
    -webkit-font-smoothing: antialiased; /* 文字のギザギザを抑える */
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.03em;             /* 文字間隔をほんの少し広げる */
    line-height: 1.8;                   /* 行間をゆったり取る */
}



/* ACFのリッチエディタから出力されるタグにTailwind風のデザインを当てる */
.acf-custom-content p {
    margin-bottom: 1.5rem;
}

.acf-custom-content h4 {
    font-weight: 700;
    color: #111827; /* gray-900 */
    margin-bottom: 0.5rem;
    font-size: 0.875rem; /* text-sm */
}

.acf-custom-content ul {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    padding-left: 0;
    list-style: none; /* デフォルトの点を消す */
}

.acf-custom-content li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem; /* text-sm */
    color: #374151; /* gray-700 */
    line-height: 1.6;
}

/* 元のデザインにあった「シアン色（水色）のドット」を疑似要素で再現 */
.acf-custom-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -2px;
    color: #22d3ee; /* cyan-400 */
    font-weight: bold;
    font-size: 1.25rem;
}




/* カード全体をサイトデザインと統一 */
.wpcr3_review_item {
    background-color: #ffffff !important;
    border: 1px solid #f3f4f6 !important; /* border-gray-100 */
    border-radius: 1rem !important;      /* rounded-2xl */
    padding: 2rem !important;            /* p-8 */
    margin-bottom: 2rem !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important; /* shadow-sm */
}

/* タイトルと評価の調整 */
.wpcr3_review_title {
    font-weight: 700 !important;
    font-size: 1.125rem !important;      /* text-lg */
    color: #111827 !important;           /* text-gray-900 */
    margin-bottom: 1rem !important;
}

/* 本文の調整 */
.wpcr3_review_content {
    color: #4b5563 !important;           /* text-gray-600 */
    line-height: 1.625 !important;
    font-size: 0.875rem !important;      /* text-sm */
}

/* 投稿者情報の装飾 */
.wpcr3_review_author {
    border-top: 1px solid #f9fafb !important;
    padding-top: 1rem !important;
    margin-top: 1rem !important;
    color: #6b7280 !important;           /* text-gray-500 */
    font-weight: 500 !important;
}

/* 星評価をオレンジに合わせる */
.wpcr3_rating_stars {
    color: #fbbf24 !important;           /* text-yellow-400 */
}


.wpcr3_respond_button {
    background: linear-gradient(to right, #fb923c, #f97316) !important;
    border: none !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
    color: white !important;
    transition: opacity 0.3s !important;
}

.wpcr3_respond_button:hover {
    opacity: 0.9;
}



/* ==========================================
   共通設定・ヘッダースタイル
=========================================== */
body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
}

.site-header {
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid #f0f0f0;
  padding: 15px 0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* ナビゲーションを下揃えに */
}

/* ロゴエリア */
.header-logo-area {
  display: flex;
  flex-direction: column;
}

.header-catch {
  font-size: 11px;
  color: #666;
  margin: 0 0 4px 0;
  font-weight: bold;
}

.header-logo img {
  height: 36px; /* ロゴのサイズに合わせて調整 */
  display: block;
}

/* 右側アクションエリア */
.header-nav-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

/* ボタン群 */
.header-buttons {
  display: flex;
  gap: 10px;
}

.btn-contact, .btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  height: 36px;
  padding: 0 16px;
  border-radius: 18px;
}

.btn-contact {
  background-color: #ffd700; /* 黄色 */
  color: #333;
}

.btn-download {
  background-color: #1a1a1a; /* 黒 */
  color: #fff;
}

/* ナビゲーションメニュー */
.nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 15px;
}

.nav-item a {
  font-size: 13px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-item a:hover {
  color: #ff8c00; /* ホバー時にオレンジに */
}

.nav-arrow a {
  color: #ff8c00;
}


/* ==========================================
   メインビジュアル / スライダースタイル
=========================================== */
.hero-slider-section {
  width: 100%;
  background-color: #f9f9f9;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
}

/* バナーを横一列に並べる（画面外はみ出しを許容する構成） */
.slider-track {
  display: flex;
  width: 100%;
}

.slide-item {
  flex: 0 0 25%; /* 画面内に常に4つのバナーが見えている状態を再現 */
  min-width: 280px; /* 縮みすぎ防止 */
}

.slide-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* スライダーの矢印ボタン（画像に重ねる配置） */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-left {
  left: 20px;
}

.arrow-right {
  right: 20px;
}

/* 下部のインジケーター（ドット） */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 15px 0;
}

.dot {
  width: 24px;
  height: 4px;
  background-color: #e0e0e0;
  border-radius: 2px;
  cursor: pointer;
}

.dot.active {
  background-color: #333; /* アクティブなドットは黒に */
}

/* --- レスポンシブ（スマホ対応） --- */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .header-nav-actions {
    align-items: center;
  }

  .slide-item {
    flex: 0 0 100%; /* スマホ時はバナーを1枚ずつ大きく見せる */
  }
}

/* ==========================================================================
           1. 全体設定・カラー変数（ポップすぎない明るさ・グラデーション）
           ========================================================================== */
        :root {
            --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
            --primary-grad: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%); /* 爽やかな青〜水色グラデ */
            --accent-grad: linear-gradient(90deg, #ff0844 0%, #ffb199 100%);  /* 暖色系のアクセント */
            --text-main: #333333;
            --text-sub: #666666;
            --card-bg: #ffffff;
            --star-color: #ffb400;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
            background: var(--bg-gradient);
            color: var(--text-main);
            line-height: 1.6;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
            display: grid;
            grid-template-columns: 1sfr;
            gap: 40px;
        }

        /* 2カラムレイアウト（PC用） */
        @media (min-width: 992px) {
            .container {
                grid-template-columns: 2fr 1fr;
            }
        }

        /* セクション共通見出し（グラデーション下線） */
        .section-title {
            font-size: 1.5rem;
            margin-bottom: 24px;
            position: relative;
            padding-bottom: 10px;
        }
        .section-title::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 60px;
            height: 4px;
            background: var(--primary-grad);
            border-radius: 2px;
        }

        /* ==========================================================================
           2. メインコンテンツ（左側）
           ========================================================================== */
        .main-content {
            display: flex;
            flex-direction: column;
            gap: 50px;
        }

        /* --- 求人サイト比較用カード（レビュー付き） --- */
        .comparison-card {
            background: var(--card-bg);
            border-radius: 12px;
            box-shadow: 0 8px 24px rgba(149, 157, 165, 0.1);
            padding: 24px;
            border-top: 6px solid #4facfe; /* 上部にグラデ感を持たせる */
            transition: transform 0.2s;
        }
        .comparison-card:hover {
            transform: translateY(-2px);
        }

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 20px;
        }
        .site-name {
            font-size: 1.4rem;
            font-weight: bold;
        }
        .rating-box {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #fff9e6;
            padding: 6px 12px;
            border-radius: 20px;
        }
        .rating-num {
            font-size: 1.3rem;
            font-weight: bold;
            color: var(--star-color);
        }
        .stars {
            color: var(--star-color);
        }

        /* メリット・デメリット（画像のような2カラム表示） */
        .points-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
            margin-bottom: 20px;
        }
        @media (min-width: 768px) {
            .points-grid { grid-template-columns: 1fr 1fr; }
        }
        .point-box {
            padding: 16px;
            border-radius: 8px;
        }
        .point-box.good { background-color: #f0f9ff; border: 1px solid #bae6fd; }
        .point-box.bad { background-color: #fff5f5; border: 1px solid #fed7d7; }
        .point-title { font-weight: bold; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
        .point-box ul { padding-left: 20px; font-size: 0.9rem; color: var(--text-sub); }

        /* 詳細を見るボタン（グラデーション） */
        .btn-detail {
            display: block;
            text-align: center;
            background: var(--primary-grad);
            color: #fff;
            font-weight: bold;
            padding: 14px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
            transition: opacity 0.2s;
        }
        .btn-detail:hover { opacity: 0.9; }

        /* --- コラムセクション（グリッド表示） --- */
        .column-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
        }
        @media (min-width: 768px) {
            .column-grid { grid-template-columns: 1fr 1fr; }
        }
        .column-card {
            background: var(--card-bg);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            display: flex;
            flex-direction: column;
        }
        .column-img {
            width: 100%;
            height: 180px;
            background: linear-gradient(45deg, #e0c3fc 0%, #8ec5fc 100%); /* ダミー画像用グラデ */
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: bold;
        }
        .column-body { padding: 16px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
        .column-title { font-weight: bold; font-size: 1rem; margin-bottom: 10px; }
        .column-date { font-size: 0.8rem; color: var(--text-sub); }

        /* ==========================================================================
           3. サイドバー（右側）
           ========================================================================== */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 40px;
        }

        .sidebar-widget {
            background: var(--card-bg);
            border-radius: 12px;
            padding: 24px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }

        /* --- お役立ち資料ダウンロード（目立たせるためのアクセントグラデ） --- */
        .download-widget {
            background: var(--accent-grad);
            color: #fff;
            text-align: center;
        }
        .download-widget h3 { margin-bottom: 10px; font-size: 1.2rem; }
        .download-widget p { font-size: 0.85rem; margin-bottom: 16px; opacity: 0.9; }
        .btn-download {
            display: block;
            background: #fff;
            color: #ff0844;
            font-weight: bold;
            padding: 10px;
            border-radius: 6px;
            font-size: 0.9rem;
        }

        /* --- 人気ランキング（画像右側のパーツをオマージュ） --- */
        .ranking-list { list-style: none; }
        .ranking-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 0;
            border-bottom: 1px solid #edf2f7;
        }
        .ranking-item:last-child { border-bottom: none; }
        .rank-num {
            width: 24px;
            height: 24px;
            background: #ddd;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: bold;
            color: #fff;
        }
        .ranking-item:nth-child(1) .rank-num { background: #ffb400; }
        .ranking-item:nth-child(2) .rank-num { background: #b2bec3; }
        .ranking-item:nth-child(3) .rank-num { background: #cd7f32; }
        .rank-name { font-size: 0.9rem; font-weight: bold; }







/* セクション全体の装飾 */
.new-articles-section {
  max-width: 1000px; /* メインコンテンツの幅に合わせて調整してください */
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Noto Sans JP", sans-serif;
}

/* タイトル部分 */
.section-title-wrap {
  display: flex;
  align-items: baseline;
  border-bottom: 2px solid #ddd;
  padding-bottom: 8px;
  margin-bottom: 24px;
}

.section-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.section-subtitle {
  font-size: 11px;
  font-weight: bold;
  color: #aaa;
  margin-left: 10px;
  letter-spacing: 0.05em;
}

/* 3列のグリッドシステム */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 15fr);
  gap: 40px 24px; /* 縦の隙間: 40px, 横の隙間: 24px */
}

/* 記事カードのスタイル */
.article-card {
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.useful-list-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.useful-list-link:hover {
  opacity: 0.8;
}

/* 画像エリア */
.image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 の比率を維持 */
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.useful-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像のアスペクト比を崩さずにトリミング */
}

/* コンテンツエリア */
.article-content {
  padding-top: 12px;
}

/* タグ（カテゴリ） */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.tag {
  display: inline-block;
  font-size: 10px;
  background-color: #f4f4f4;
  color: #666;
  padding: 2px 6px;
  border-radius: 2px;
  border: 1px solid #e0e0e0;
}

/* タイトル（2行で切り捨てる場合の設定） */
.article-title {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
  color: #333;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* 2行時間を超えたら3点リーダーにする（ブラウザ機能） */
  overflow: hidden;
}

/* 日付 */
.article-date {
  display: block;
  font-size: 11px;
  color: #999;
}

/* --- レスポンシブ対応（タブレット・スマホ） --- */
@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr); /* タブレット時は2列 */
    gap: 24px 16px;
  }
}

@media (max-width: 480px) {
  .articles-grid {
    grid-template-columns: 1fr; /* スマホ時は1列 */
  }
}






/* ==========================================
   フッタースタイル
=========================================== */
.site-footer {
  width: 100%;
  background-color: #fff;
  border-top: 1px solid #e0e0e0;
  padding: 60px 0 30px 0;
  font-family: "Noto Sans JP", sans-serif;
  color: #1a1a1a;
}

.footer-inner {
  max-width: 1140px; /* メイン幅に合わせて調整してください */
  margin: 0 auto;
  padding: 0 20px;
}

/* --- 上段エリア（ブランド & ナビ） --- */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

/* 左側：ロゴとSNS */
.footer-brand-area {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-logo img {
  height: 52px; /* 画像のロゴサイズに合わせて調整 */
  display: block;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333;
  transition: opacity 0.2s;
}

.social-icon:hover {
  opacity: 0.7;
}

/* noteアイコン用の簡易装飾（画像に差し替える場合は不要） */
.note-mark {
  background-color: #41c192; /* noteグリーン */
  color: #fff;
  font-size: 10px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

/* 右側：サイトマップ */
.footer-sitemap {
  display: flex;
  gap: 40px; /* 各メニュー列の間隔 */
}

.sitemap-column {
  display: flex;
  flex-direction: column;
}

.sitemap-title {
  font-size: 13px;
  font-weight: bold;
  color: #1a1a1a;
  text-decoration: none;
  margin-bottom: 12px;
  white-space: nowrap;
}

.sitemap-child-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px; /* 子メニュー同士の縦の隙間 */
}

.sitemap-child-list a {
  font-size: 11px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.sitemap-child-list a:hover,
.sitemap-title:hover {
  color: #ff8c00; /* ホバー時にお好みのテーマカラーへ変更 */
}


/* --- 下段エリア（ポリシー & コピーライト） --- */
.footer-bottom {
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-policy a {
  font-size: 11px;
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

.footer-policy a:hover {
  text-decoration: underline;
}

.footer-copyright {
  font-size: 10px;
  color: #1a1a1a;
  margin: 0;
  font-weight: 500;
}


/* --- レスポンシブ（スマホ対応） --- */
@media (max-width: 992px) {
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-sitemap {
    flex-wrap: wrap;
    gap: 30px 20px;
  }
}

@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}





















