@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.2
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*追加CSS*/
.no-thumbnail .card-thumb, .no-thumbnail .widget-entry-card-pv{
  display: block;
}
#list .entry-card-wrap .entry-card-categories-ex{
 display: block!important;
}
.entry-card-tags-ex{
  display: contents;
}
.entry-card-tags-ex a{
  color: var(--cocoon-text-color);
    text-decoration: none;
    display: inline-block;
    margin-right: 5px;
    padding: 1px 5px;
    font-size: 12px;
    border: 1px solid var(--cocoon-x-pallid-text-color);
    border-radius: var(--cocoon-badge-border-radius);
    word-break: break-all;
  border: none !important;
  background-color: orange;
  border-radius: 10px;
  padding: 2px 12px !important;
}
.pm-blog-post-wrap{
  display: flex;
  position: relative;
}
.pmagic .pm-blog-img{
  width: 300px;
}
.pmagic .pm-blog-time{
  position: absolute;
  right: 147px;
  top: 35px;

}
.pmagic .pm-blog-img-wrap .pm-blog-img img{
  width: 300px;
  height: auto;
  border-radius: 0;
}
.pmagic .pm-blog-img-wrap .pm-blog-status span:last-child{
  display:none;
}
.pm-blog-desc-wrap{
  margin: 50px 0 0 25px;
}
.entry-categories-tags{
	max-width:50%;
}
#wrap-add-tag-edit{
	clear:both;
	height:30px;
}
.entry-categories-tags{
	max-width:45%;
	float:left;
}
#wrap-add-edit{
width:45%;
	float:right;
	text-align: end;
}
/*ビジュアルエディターのスタイルを書く*/
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
  .pm-blog-post-wrap{
    display: block;
    position: relative;
  }
  .pmagic .pm-blog-img-wrap,
  .pmagic .pm-blog-img-wrap .pm-blog-img img{
    width: 100%;
  }
  .pmagic .pm-blog-img-wrap .pm-blog-img{
     max-height: 150px;
     overflow-y: hidden;
  }
  .pmagic .pm-blog-time {
    right: 0;
    top: 49%;
    left: -34.6%;
  }
  .pm-blog-desc-wrap{
    margin: 50px 0 0 0;
    padding:0;
  }
	#wrap-add-edit{
		    font-size: 14px;
	}
}
	p:empty:before {
    content: initial!important;
}
	.entry-title, .article h2 {
    font-size: 20px;
    padding: 0;
}


/* ====================================
追加CSS
==================================== */

body { background-color: #fff;}
.header { padding-top: 20px; padding-bottom: 20px;}
.footer { padding: 8px 0 !important;}
.main { padding: 0 50px 0 0;}
.sec-inner { max-width: 1100px; margin: auto;}
.content { margin-top: 0 !important;}
.org-top-top-section { background-color: #fff !important; padding-top: 0 !important; margin-top: 0 !important;}
.org-top-util-inner { padding-top: 0 !important; margin-top: 0 !important;}
.org-top-top-inner { background-color: #fff !important;}

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


@media screen and (max-width: 1040px) {
.org-top-service-message { width: 100% !important; /* 1040px固定を解除 */ padding: 0 15px; /* 左右に少し余白を入れる */ box-sizing: border-box;}
.only-pc	{ display: block !important;}
}



.sidebar { padding: 0;}
.article-header.entry-header { margin-bottom: 50px;}
.entry-header .entry-title , #archive-title { font-size: 36px; font-weight: bold; background-color: #E7F2FD !important; padding: 20px; border-left: 10px solid #1D8EEE !important; border-bottom: 0 !important;}
.widget-sidebar-title.widget-title { background-color: #E7F2FD; color: #60B0F3; padding: 10px; font-size: 16px; margin-bottom: 0;}
.sidebar .widget-title { margin-bottom: 0 !important; border-bottom: 0 !important;} 
.sidebar ul { list-style-type: none; border: 1px solid #ccc; padding: 0 10px; box-shadow: none !important;}
.sidebar ul li { font-size: 12px; border-top: 1px solid #ccc; padding-right: 2em;}
.sidebar .pg_user_blogs ul li { display: flex; align-items: center;}
.sidebar ul li:first-child { border-top: none;}
.sidebar ul li::marker { display: none;}
.sidebar ul li a { color: #333; padding: 10px 4px; display: inline-block; width: 100%;}
.sidebar ul li a:hover { text-decoration: none; background-color: #fff;}
#sidebar ul li::after { left: auto !important; right: 1em !important; top: auto !important;}
#sidebar #pages-2 ul { margin-top: 0 !important;}
#sidebar #pg_user_blogs-2 ul { padding: 0 !important;}
#sidebar #pages-2 ul { padding: 0 !important;}
#sidebar #pages-2 ul li { display: flex !important; align-items: center; padding-left: 0 !important; padding-right: 2em;}
#sidebar #pages-2 ul li::after { left: auto !important; right: 1em !important; top: auto !important;}
#sidebar #pages-2 ul li a { padding: 10px 10px  !important;}


/* スマホ対応 */
@media screen and (max-width: 768px) {
.entry-header .entry-title , #archive-title { font-size: 20px;}
}



.userblog-add , .ect-entry-card { display: flex; flex-direction: row; flex-wrap: wrap; gap: 40px;}
.ect-entry-card .wrap-tag { padding: 10px 20px;}

.entry-content { margin-left: auto; margin-right: 0;}
#content-in .a-wrap { padding: 0 !important; position: relative; padding-bottom: 2em !important;}
#content-in .a-wrap::after { content: "詳細を見る >"; display: inline-block; position: absolute; right: 1em; bottom: 0.5em; font-size: 12px;}
#content-in .entry-card-wrap {width: calc((100% - 80px) / 3); box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.2); border: 0 !important;}
.entry-card-wrap:hover { background-color: #fff;}
.entry-card-thumb { width: 100%; height: auto; float: unset; margin: 0;}
.entry-card-thumb img { object-fit: cover;}
.entry-card-content { margin-left: 0; padding: 20px;}
.related-entry-card-title, .entry-card-title { font-size: 18px; color: #1D8EEE; font-weight: bold;}
.related-entry-card-title, .entry-card-title { margin: 0; line-height: 1.25em; display: block; overflow: visible; -webkit-line-clamp: none; -webkit-box-orient: unset;}
.pg-load-more-container { margin-top: 60px;}
.pg-load-more-container .userblogs-more { display: block; background-color: #207DD0; color: #fff; border: 0; max-width: 400px; margin: auto;}

.entry-card-tags-ex a { background-color: #fff; border: 1px solid #1D8EEE !important; border-radius: 0; color: #1D8EEE; font-size: 10px;}


.sns-share { display: none;}
.eye-catch-wrap { display: none;}
.date-tags { text-align: left;}
.entry-categories { display: block;}
#wrap-add-tag-edit .entry-categories .tag-link { background-color: #fff; border: 1px solid #1D8EEE !important; border-radius: 0; color: #1D8EEE; font-size: 10px;}
#wrap-add-tag-edit .entry-categories .tag-link:hover { background-color: #fff !important;}
.wrap-add-tag-edit { height: auto;}


/* スマホ対応 */
@media screen and (max-width: 768px) {
.userblog-add , .ect-entry-card { flex-direction: column; gap: 20px;}
.ect-entry-card .wrap-tag { padding: 10px 10px;}
#content-in .entry-card-wrap {width: 100%;}
}


/* TOP */
.home .org-top-top-inner { max-width: 100% !important;}
.top-kv { width: 100%; background-color: #fff;}
.top-kv img { width: 100%;}

/* 検索窓 */
/* 検索フォーム全体 */
.custom-search-container { position: relative; z-index: 10; margin: -100px auto 30px; background: #ffffff; padding: 25px 50px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); max-width: 1000px; border: 1px solid #eee;}

.job-search-form { display: flex; align-items: flex-end; flex-wrap: wrap;}

.search-fields { display: flex; flex: 1; width: 100%;}
.select-wrap { flex: 1; display: flex; flex-direction: column; min-width: 160px;}
.select-label { font-size: 14px; font-weight: bold; color: #333; margin-bottom: 8px; display: block; text-align: left;}
.select-wrap select { width: 100%; height: 50px; border: 1px solid #ccc; border-right: 0; border-radius: 0; padding: 0 15px; background-color: #f9f9f9; font-size: 16px; cursor: pointer;}

.search-btn { width: 140px; height: 50px; background-color: #333; color: #fff; border: none; border-radius: 0; font-weight: bold; font-size: 16px; cursor: pointer; transition: 0.3s;}

.search-btn:hover { background-color: rgb(66, 66, 66); opacity: 1;}

/* スマホ対応 */
@media screen and (max-width: 768px) {
.custom-search-container { width: 90%; margin: -30px auto 30px; padding: 20px 30px 30px;}
.job-search-form, .search-fields { flex-direction: column; gap: 5px;}
.select-wrap, .search-btn { width: 100%;}
.search-btn { margin-top: 15px;}
.select-label { font-size: 12px; margin-bottom: 0;}
.select-wrap select { border-right: 1px solid #ccc; padding: 0 10px; font-size: 14px;}
}


.ctabtn { display: flex; gap: 40px; margin-top: 40px;}
.ctabtn-item { width: calc(( 100% - 40px) / 2);}
.ctabtn-item a { padding: 20px; color: #fff; font-size: 16px; text-decoration: none; display: inline-block; width: 100%;}
.ctabtn-item._bl a { background-color: #1D8EEE;}
.ctabtn-item._or a { background-color: #FE822C;}

/* スマホ対応 */
@media screen and (max-width: 768px) {
.ctabtn { flex-direction: column; gap: 10px;}
.ctabtn-item { width: 100%;}
.ctabtn-item a { padding: 10px 20px;}
}


/* swiper */
.swiper-pagination { position: static !important; margin-top: 10px;}
/* --- スライダー全体の調整 --- */
.top-banner-slider { width: 100%; padding-bottom: 40px; margin-top: 20px;}

/* スライド1枚の枠設定 */
.slider-item { display: block; position: relative; width: 100%; height: auto; overflow: hidden; text-decoration: none !important;
}

/* 画像を枠いっぱいに広げる設定 */
.slider-img { width: 100%; height: 100%; overflow: hidden;}

/* imgタグ自体の設定 */
.slider-img img {
  width: 100%;
  height: 200px; /* PCでの画像の高さ（好みに合わせて変更可） */
  object-fit: cover; /* 画像を歪ませずにトリミング */
  vertical-align: bottom; /* 謎の隙間を消す */
  transition: transform 0.3s;
}

/* ホバー時に画像を少しズーム */
.slider-item:hover .slider-img img {
  transform: scale(1.05);
}

/* スマホ対応（スマホでは高さを少し小さくする例） */
@media screen and (max-width: 768px) {
  .slider-img img {
      height: 150px; /* スマホでの高さ */
  }
}


/* 注目の求人 */
/* --- 注目の求人セクション --- */
.featured-jobs-section {
  margin: 60px 0;
  padding: 0 10px;
}
.sec-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.sec-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin: 0;
}
.sec-link {
  font-size: 14px;
  color: #0073e6;
  text-decoration: none;
  font-weight: bold;
}

/* カードデザイン */
.job-card {
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.job-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.job-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.job-card:hover .job-card-img img {
  transform: scale(1.05);
}
.job-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.job-card-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.4;
}
.job-card-title a { color: #0073e6; text-decoration: none; }
.new-badge {
  background: #ff0000;
  color: #fff;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 2px;
  margin-left: 5px;
  vertical-align: middle;
}
.job-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  font-size: 13px;
  color: #555;
  line-height: 1.8;
}
.job-card-list .label { font-weight: bold; color: #333; }
.job-card-footer { margin-top: auto; text-align: right; }
.btn-detail { font-size: 14px; color: #0073e6; font-weight: bold; text-decoration: none;}

/* Swiper矢印 */
.featured-job-slider { padding-bottom: 50px !important; }
.featured-job-slider .swiper-button-next,
.featured-job-slider .swiper-button-prev { color: #0073e6; width: 40px; height: 40px; border-radius: 50%;}
.featured-job-slider .swiper-button-next:after,
.featured-job-slider .swiper-button-prev:after { font-size: 18px; }


.swiperbtn { display: flex; align-items: center; justify-content: center; position: relative; max-width: 300px; margin: auto;}



/* ====================================
   新着求人セクション (New Arrivals)
   ==================================== */

/* --- セクション全体（薄い水色背景） --- */
.new-arrivals-section { background-color: #f0f8ff; padding: 60px 20px; margin-top: 50px; width: 100%; box-sizing: border-box;}

/* --- コンテンツ幅の制限 --- */
/* 画面いっぱいになった背景の中で、中身を中央に寄せる */
.sec-header, .new-arrival-grid { max-width: 1200px; /* サイトの最大幅に合わせる */ margin-left: auto; margin-right: auto; }

/* --- ヘッダー --- */
.sec-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 0 10px;
}

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

.sec-link {
  font-size: 14px;
  color: #0073e6;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* --- 2カラムのグリッドレイアウト --- */
.new-arrival-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 1:1で2列 */
  gap: 25px; /* カード同士の間隔 */
}

/* --- カードデザイン --- */
.new-arrival-card {
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #f0f0f0;
}

/* ホバー時の動き */
.new-arrival-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transform: translateY(-3px); /* 少し浮く */
  border-color: #e0e0e0;
}

/* --- タイトル周り --- */
.na-card-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.na-card-title a {
  color: #0073e6;
  text-decoration: none;
  transition: color 0.2s;
}

.na-card-title a:hover {
  color: #005bb5;
  text-decoration: underline;
}

/* NEWバッジ */
.na-new-badge {
  background: #e60012; /* 赤色 */
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 3px;
  font-weight: bold;
  white-space: nowrap;
  margin-top: 3px; /* テキストとの位置合わせ */
}

/* --- 情報リスト --- */
.na-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #333;
}

.na-info-list li {
  margin-bottom: 10px;
  line-height: 1.6;
  display: flex; /* ラベルと内容を整列 */
  align-items: baseline;
}

.na-label {
  font-weight: bold;
  color: #555;
  display: inline-block;
  min-width: 5em; /* ラベルの幅を固定して揃える */
  flex-shrink: 0; /* ラベルが縮まないようにする */
}

/* --- カードフッター（詳細ボタン） --- */
.na-card-footer {
  text-align: right;
}

.na-btn-detail {
  font-size: 14px;
  color: #0073e6;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.na-btn-detail:hover {
  text-decoration: underline;
}

/* --- スマホ対応（768px以下） --- */
@media screen and (max-width: 768px) {
/* 背景色の全幅指定を解除（横スクロール防止のため微調整） */
.new-arrivals-section { width: 100%; padding: 40px 15px;}

/* 1列表示に変更 */
.new-arrival-grid { grid-template-columns: 1fr; gap: 15px;}
.new-arrival-card { padding: 20px;}
.na-card-title { font-size: 16px; flex-direction: column-reverse; gap: 5px;}
}


/* ====================================
選ばれる理由セクション (Mission & Reason)
==================================== */
/* ▼ここに背景画像を設定 */ 
.mission-reason-section { background-image: url('https://ms.spdev.org/wp-content/themes/cocoon-child-master/assets/images/top/bg_01.jpg');  background-size: cover; background-position: center; background-attachment: fixed; position: relative; padding: 80px 20px; margin-top: 50px; color: #fff; width: 100%; box-sizing: border-box;
}
.mission-reason-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 50, 120, 0.85); z-index: 1;
}

.mission-reason-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;

/* ▼ここを変更：グラデーションで上下の色変更 */
background: linear-gradient( to bottom, rgba(0, 30, 90, 0.9) 0%,    /* 上：かなり濃い青 */ rgba(0, 30, 90, 0.9) 43%,   /* 上の色の範囲（真ん中まで） */ rgba(29, 142, 238, 0.5) 43%,  /* 下：少し明るい青 */ rgba(29, 142, 238, 0.5) 100%  /* 下の色の範囲（最後まで） */); z-index: 1;}

/* コンテンツを前面に出す */
.mission-inner { position: relative; z-index: 2; max-width: 1000px; margin: 0 auto; text-align: center;}

/* --- 上部メッセージ --- */
.mission-header { margin-bottom: 60px;}

.mission-title { font-size: 32px; font-weight: bold; margin-bottom: 30px; color: #fff;}

.mission-text p {
    font-size: 15px;
    line-height: 2;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* --- 選ばれる理由エリア --- */
.reason-area {
    margin-bottom: 60px;
}

.reason-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #fff;
}

/* カードグリッド（2列表示） */
.reason-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* 白いカード */
.reason-card {
    background: #fff;
    border-radius: 6px;
    padding: 25px;
    display: flex; /* アイコンとテキストを横並び */
    align-items: center;
    text-align: left;
    gap: 20px;
}

/* アイコン */
.reason-icon {
    font-size: 40px;
    color: #0044cc; /* アイコンの青色 */
    flex-shrink: 0;
}

/* テキスト部分 */
.reason-content h4 {
    font-size: 18px;
    font-weight: bold;
    color: #0073e6; /* 見出しの青色 */
    margin: 0 0 5px 0;
}

.reason-content p {
    font-size: 13px;
    color: #333; /* 説明文の黒色 */
    margin: 0;
    line-height: 1.5;
    font-weight: bold;
}

/* --- 下部メッセージ --- */
.mission-footer p {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.8;
    margin: 0;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {
    .mission-reason-section {
        padding: 50px 15px;
    }

    .mission-title {
        font-size: 24px;
    }

    .mission-text p {
        font-size: 14px;
        text-align: left; /* スマホでは読みやすく左揃えに */
    }
    
    .mission-text br {
        display: none; /* スマホでは改行を無視して自然な折り返しに */
    }

    /* 理由カードを1列にする */
    .reason-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .reason-card {
        padding: 20px;
    }

    .mission-footer p {
        font-size: 16px;
    }
    
    .pc-only {
        display: none;
    }
}

/* ====================================
   注目の求人特集セクション
   ==================================== */

   .special-feature-section {
    margin: 60px 0;
    padding: 0 10px;
}

/* 3列のグリッドレイアウト */
.special-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3等分 */
    gap: 20px; /* カード間の隙間 */
    max-width: 1200px;
    margin: 0 auto;
}

/* 特集カード（リンク全体） */
.special-card {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px; /* カードの高さ */
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
    transition: transform 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 黒いフィルター（文字を読みやすくするため） */
.special-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 黒色の透過40% */
    transition: background 0.3s;
}

/* ホバー時の動き */
.special-card:hover {
    transform: translateY(-3px); /* 少し浮く */
}

.special-card:hover::before {
    background: rgba(0, 0, 0, 0.2); /* ホバー時は少し明るくする */
}

/* カード内のタイトル */
.special-title {
    position: relative;
    z-index: 1; /* フィルターより手前に表示 */
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* 文字の影 */
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    /* スマホでは2列にする */
    .special-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .special-card {
        height: 120px; /* 高さを少し小さく */
    }

    .special-title {
        font-size: 14px;
    }
}


/* ====================================
勤務地検索セクション（マップ重ね合わせ＆リスト併用）
==================================== */

.location-search-section { background-color: #f4f9ff; padding: 60px 20px; margin-top: 60px; width: 100%; box-sizing: border-box; text-align: center;}

.location-search-section .sec-header { display: block; text-align: center;}

.sec-subtitle { font-size: 14px; color: #666; margin-top: -10px; margin-bottom: 40px;}

/* --- マップコンテナ（基準） --- */
.japan-map-container { position: relative; /* ここを基準に文字を配置 */ max-width: 650px;   /* PCでの最大幅 */ margin: 0 auto 50px;}

.japan-map-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9; /* 少し薄くして文字を見やすく */
}

/* --- 地図上のオーバーレイ項目（PCのみ） --- */
.map-overlay-item {
    position: absolute; /* 地図の上に重ねる */
    text-align: left;
    padding: 10px 15px;
    z-index: 2;
}

.overlay-title {
    font-size: 14px;
    font-weight: bold;
    color: #0073e6;
    margin: 0 0 5px 0;
    border-bottom: 2px solid #0073e6;
}

.overlay-links {
    font-size: 12px;
    line-height: 1.8;
    color: #666;
}

.overlay-links a {
    color: #333;
    text-decoration: none;
}
.overlay-links a:hover {
    color: #0073e6;
    text-decoration: underline;
}

/* --- PCでの配置位置 (画像に合わせて%で調整してください) --- */
.area-hokkaido { top: 34%; right: -5%; }    /* 北海道・東北 */
.area-kanto    { top: 60%; right: 2%; }   /* 関東 */
.area-chubu    { top: 30%; left: 32%; }   /* 中部・北陸 */
.area-kansai   { bottom: -1%; left: 48%; }/* 関西 */
.area-chugoku  { top: 46%; left: 1%; }    /* 中国・四国 */
.area-kyushu   { bottom: -7%; left: 14%; }  /* 九州・沖縄 */


/* --- 下部のリスト（既存） --- */
.prefecture-list-container { max-width: 900px; margin: 0 auto; text-align: left; padding-top: 30px;}
.pref-row { display: flex; border-bottom: 1px dotted #ccc; padding: 15px 0; align-items: baseline;}
.pref-row:last-child { border-bottom: none;}
.pref-region { font-size: 16px; width: 150px; font-weight: bold; color: #333; flex-shrink: 0;
}
.pref-links { flex: 1; font-size: 14px; line-height: 1.8; color: #999;}
.pref-links a { color: #0073e6; text-decoration: none; margin: 0 5px;}
.pref-links a:hover { text-decoration: underline; }

@media screen and (max-width: 768px) {

.map-overlay-item {display: none;}
.japan-map-img { display: none;}

/* 以下、リストのスマホ調整 */
.location-search-section { padding: 40px 15px; width: 100%;}
.pref-row { flex-direction: column; padding: 15px 0;}
.pref-region { width: 100%; margin-bottom: 8px; font-size: 16px; border-left: 4px solid #0073e6; padding-left: 10px;}
.pref-links { padding-left: 10px;}
}

/* --- エリア検索ボタン群 --- */
.area-buttons-container { max-width: 900px; margin: 30px auto 50px; padding: 0 10px;}

.area-btn-row { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px;}

.area-btn { display: block; width: 200px; padding: 15px 0; text-align: center; border: 1px solid #3b82f6; color: #3b82f6; text-decoration: none; font-weight: bold; background-color: #fff; transition: all 0.3s;}

.area-btn:hover { background-color: #3b82f6; color: #fff; opacity: 1; /* Cocoonの透過を無効化 */}

/* スマホ対応 */
@media screen and (max-width: 768px) {
.area-btn-row { gap: 10px; margin-bottom: 10px;}
.area-btn { width: 100%; padding: 10px 0; font-size: 14px;}
}


/* ====================================
CVセクション (Future & Action)
==================================== */
.future-cv-section, .footer-links-section { width: 100%;  margin: 0; padding-top: 60px; padding-bottom: 60px; box-sizing: border-box;}


/* --- 上部：ヒーローエリア --- */
.cv-hero-area { height: 420px; /* 画像エリアの高さ */ background-size: cover; background-position: center; position: relative; display: flex; justify-content: center; align-items: center; text-align: center; color: #fff;}

/* 画像を少し暗くするフィルター */
.cv-hero-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 黒の40%透過 */
}

.cv-hero-content {
    position: relative;
    z-index: 1; /* フィルターより手前に */
}

.cv-hero-main {
    font-size: 42px;
    font-weight: bold;
    margin: 0 0 10px 0;
    letter-spacing: 0.05em;
    font-family: Arial, sans-serif; /* 英語フォント優先 */
}

.cv-hero-sub {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    opacity: 0.9;
}

/* --- 下部：アクションエリア（2カラム） --- */
.cv-action-area {
    display: flex;
    width: 100%;
}

.cv-box {
    flex: 1; /* 左右均等に分割 */
    padding: 60px 20px;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cv-box-inner {
    max-width: 500px;
    width: 100%;
}

/* 左：求職者向け（青） */
.box-seeker {
    background-color: #1D8EEE; /* 画像に近い鮮やかな青 */
}

/* 右：企業向け（オレンジ） */
.box-company {
    background-color: #FE822C; /* 画像に近い鮮やかなオレンジ */
}

/* テキストスタイル */
.cv-lead {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    opacity: 0.9;
}

.cv-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.4;
}

/* ボタン共通スタイル */
.cv-btn {
    display: inline-block;
    width: 100%;
    max-width: 380px;
    padding: 18px;
    background-color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cv-btn i {
    margin-right: 8px;
}

#footer .cv-btn:hover {
    transform: translateY(-2px);
    background-color: #fff !important;
    opacity: 1 !important; /* Cocoonのホバー透過を無効化 */
}

/* ボタンごとの文字色 */
.btn-seeker {
    color: #1D8EEE; /* 背景色と同じ青 */
}

.btn-company {
    color: #FE822C; /* 背景色と同じオレンジ */
}

/* --- スマホ対応 (768px以下) --- */
@media screen and (max-width: 768px) {
    .cv-hero-area {
        height: 200px; /* スマホでは高さを減らす */
    }
    
    .cv-hero-main {
        font-size: 28px;
    }
    
    .cv-action-area {
        flex-direction: column; /* 縦並びにする */
    }

    .cv-box {
        padding: 40px 15px;
    }

    .cv-title {
        font-size: 22px;
    }
}

/* オリジナルアイコンの調整 */
.cv-btn .original-icon {
  width: 20px;       /* アイコンの幅（お好みで調整） */
  height: 20px;      /* アイコンの高さ */
  object-fit: contain;
  vertical-align: middle; /* 文字と高さを合わせる */
  margin-right: 8px;      /* 文字との隙間 */
  margin-bottom: 3px;     /* 微調整（位置がずれる場合） */
}



/* ====================================
   フッターリンクエリア (Footer Links)
   ==================================== */

   .footer-links-section {
    background-color: #fff; /* 背景色は白 */
    padding: 60px 20px;
    border-top: 1px solid #eee; /* 上に薄い線 */
    box-sizing: border-box;
}

.footer-links-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex; /* 左右に配置 */
    justify-content: space-between;
    gap: 40px;
}

/* --- 左側：ロゴエリア --- */
.footer-left {
    width: 30%; /* 幅3割 */
    padding-top: 10px;
}

.footer-site-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.footer-logo-img {
    max-width: 200px; /* ロゴの大きさ制限 */
    height: auto;
}

/* --- 右側：リンクエリア --- */
.footer-right {
    width: 70%; /* 幅7割 */
}

.footer-list-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    border-left: none; /* Cocoonの装飾をリセット */
    padding-left: 0;
}

/* リストの各行 */
.f-pref-row {
    display: flex;
    align-items: baseline;
    margin-bottom: 12px;
    font-size: 13px;
    padding-bottom: 8px;
}
.f-pref-row:last-child {
    border-bottom: none;
}

/* 地域名（左） */
.f-region {
    width: 120px;
    font-weight: bold;
    color: #333;
    flex-shrink: 0;
}

/* リンク群（右） */
.f-links {
    flex: 1;
    color: #ccc; /* 縦区切り線の色 */
}

.f-links a {
    color: #666;
    text-decoration: none;
    margin: 0 8px;
    display: inline-block;
}

.f-links a:hover {
    color: #0073e6;
    text-decoration: underline;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {
.footer-links-section { padding: 40px 15px; width: 100%; }
.footer-links-inner { flex-direction: column; gap: 30px;}
.footer-left, .footer-right { width: 100%;}
.footer-left { text-align: center; border-bottom: 1px solid #eee; padding-bottom: 20px;}
.f-pref-row { flex-direction: column; align-items: flex-start;}
.f-region { margin-bottom: 5px; color: #0073e6;}
.f-links { line-height: 1.8;}
}

/* ====================================
削除完了ページのデザイン
==================================== */
.delete-complete-section { max-width: 800px; margin: 60px auto; padding: 0 20px; text-align: center;}
.delete-msg-box { border: 2px solid #9ecfff; background-color: #fff; padding: 80px 20px; margin-bottom: 50px;}
.delete-title { color: #1e88e5 !important; font-size: 36px !important; font-weight: bold; margin-bottom: 20px;}
.delete-text { color: #666; font-size: 14px; margin: 0;}
.delete-btn-area { display: flex; justify-content: center;}

.btn-mypage { display: inline-flex; align-items: center; justify-content: center; position: relative; background-color: #2b6bc0; color: #fff !important; text-decoration: none; font-weight: bold; font-size: 15px; width: 320px; height: 60px; transition: opacity 0.3s;}

.btn-mypage:hover { opacity: 0.8;}

/* 矢印アイコン（右側に配置） */
.btn-mypage i { position: absolute; right: 20px; font-size: 14px;}

/* スマホ対応 */
@media screen and (max-width: 768px) {
.delete-msg-box { padding: 50px 15px;}
.delete-title { font-size: 22px;}
.btn-mypage { width: 100%; max-width: 320px;}
}

/* ====================================
料金プラン表のデザイン
==================================== */

.fee-plan-section { max-width: 800px; margin: 60px auto; padding: 0 20px; font-family: sans-serif; text-align: center;}
.fee-title { font-size: 24px; font-weight: bold; color: #333; margin-bottom: 10px;}
.fee-desc { font-size: 15px; color: #555; margin-bottom: 40px;}
.fee-table-container { width: 100%; margin-bottom: 20px;}
.fee-table { width: 100%; border-collapse: collapse; border-spacing: 0;}

/* 一番上の青いヘッダー */

/* 左側の項目列（th） */
.fee-table th {
    background-color: #cfe5f8 !important; /* 薄い青 */
    color: #333;
    font-weight: bold;
    padding: 18px 15px;
    width: 30%; /* 幅の比率 */
    text-align: left;
    vertical-align: middle;
    border: 1px solid #fff; /* 白い区切り線 */
}

.fee-table th.fee-table-head {
  background-color: #3182ce !important; /* ヘッダーの青色 */
  color: #fff !important;
  font-size: 18px !important;
  font-weight: bold;
  padding: 15px;
  text-align: left;
  border: 1px solid #fff;
}

/* 右側の内容列（td） */
.fee-table td {
    background-color: #eaf6fd !important; /* さらに薄い青 */
    color: #333;
    padding: 18px 20px;
    text-align: left;
    vertical-align: middle;
    border: 1px solid #fff; /* 白い区切り線 */
    font-size: 18px !important;
}

/* テーブル内のリスト */
.fee-points ul {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.8;
}

/* 強調スタイル */
.fee-price {
    font-size: 20px;
    font-weight: bold;
}

.text-red {
    color: #e53e3e; /* 赤文字 */
    font-weight: bold;
}

/* 注釈 */
.fee-note {
    font-size: 13px;
    color: #666;
    text-align: left;
    margin-top: 10px;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {
    .fee-table th {
        width: 35%; /* スマホでは項目幅を少し広げる */
        padding: 15px 10px;
        font-size: 14px;
    }
    .fee-table td {
        padding: 15px 10px;
        font-size: 14px;
    }
}


/* ====================================
   問い合わせフォーム
   ==================================== */
#content .CF7_table { border: 0; color: #333;}
#content .CF7_table th { background-color: #fff !important; font-size: 16px; font-weight: bold; border: 0; padding: 30px 0; vertical-align: text-top;}
#content .CF7_table td { background-color: #fff !important; font-size: 16px; border: 0; padding: 30px 0;}
#content .CF7_table td input { border: 1px solid #ccc; background-color: #F7F7F7;}
#content .CF7_table td textarea { border: 1px solid #ccc; background-color: #F7F7F7;}
#content .CF7_req { background-color: unset; color: #207DD0; font-size: 14px; font-weight: normal;}
@media screen and (max-width: 768px) {
#content .CF7_table th { padding: 10px 0;}
#content .CF7_table td { padding: 10px 0;}
.article p { line-height: 1.5em;}
}

.wpcf7 input.wpcf7-submit { border-bottom: 0 !important; box-shadow: none !important; border-radius: 0 !important;}


/* ====================================
登録フロー（タブ切り替え）
==================================== */
.flow-tabs-section {
  max-width: 800px;
  margin: 40px auto;
  font-family: sans-serif;
  }
  /* --- タブナビゲーション --- */
  .flow-tab-nav {
  display: flex;
  border-bottom: 2px solid #ddd;
  }
  .flow-tab-btn {
  flex: 1;
  padding: 15px;
  background: #e0e0e0;
  border: none;
  font-weight: bold;
  color: #555;
  cursor: pointer;
  border-top: 3px solid transparent;
  transition: all 0.3s;
  }
  .flow-tab-btn.active {
  background: #fff;
  color: #333;
  border-top: 3px solid #3b82f6;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #fff;
  margin-bottom: -2px;
  }
  .flow-tab-btn[data-target="company-flow"].active {
  border-top-color: #f97316;
  }
  /* --- コンテンツエリア --- */
  .flow-content-area {
  padding: 40px 0;
  }
  .flow-panel {
  display: none;
  animation: fadeIn 0.5s ease;
  }
  .flow-panel.active {
  display: block;
  }
  @keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
  }
  /* --- ステップボックス共通 --- */
  .flow-box {
  border: 1px solid;
  margin-bottom: 40px;
  position: relative;
  background: #fff;
  }
  .flow-head {
  color: #fff;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 18px;
  }
  .flow-body {
  padding: 20px;
  }
  .flow-lead {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
  }
  .flow-lead a {
  color: inherit;
  text-decoration: underline;
  }
  .flow-note {
  font-size: 13px;
  color: #666;
  margin: 0;
  }
  /* --- 下向き矢印 (▼) --- */
  .flow-box::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 20px 20px 0 20px;
  border-style: solid;
  border-color: transparent;
  }
  .flow-box:last-child {
  margin-bottom: 0;
  }
  .flow-box:last-child::after {
  display: none;
  }
  /* --- 色設定：求職者（青） --- */
  .type-seeker {
  border-color: #3b82f6;
  }
  .type-seeker .flow-head {
  background-color: #3b82f6;
  }
  .type-seeker .flow-lead a {
  color: #3b82f6;
  }
  .type-seeker::after {
  border-top-color: #3b82f6;
  }
  /* --- 色設定：企業（オレンジ） --- */
  .type-company {
  border-color: #f97316;
  }
  .type-company .flow-head {
  background-color: #f97316;
  }
  .type-company .flow-lead a {
  color: #f97316;
  }
  .type-company::after {
  border-top-color: #f97316;
  }
  /* スマホ対応 */
  @media screen and (max-width: 768px) {
  .flow-tab-nav {
  flex-direction: column;
  }
  .flow-tab-btn {
  width: 100%;
  border: 1px solid #ddd;
  }
  .flow-tab-btn.active {
  border-top-width: 3px;
  margin-bottom: 0;
  }
  }



/* ヘッダーメニュー */
.logo-menu-button.menu-button { padding: 10px 20px;}


/* スマホ対応 */
@media screen and (max-width: 834px) {
.content {padding-top: 20px !important;}
.fa-times:before { content: "\00d7"; color: #1D8EEE;}
.menu-drawer a { text-align: left;}
.menu-close-button { text-align: right; margin-right: 20px;}
}