/* ------------------------------------------------------
   ck-header 共通スタイル（PC/SP共通で固定）
--------------------------------------------------------- */
.ck-header {
	font-family: 'Kaisei Decol', serif;
	background: #fff;
	width: 100%;
	position: fixed;      /* 常に固定 */
	top: 0;               /* 上部に */
	left: 0;
	z-index: 1100;        /* SPとPCで重なり順統一 */
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	padding: 10px 0;
	box-sizing: border-box;
}

/* 本文がヘッダーに隠れないようにpadding */
body {
	padding-top: 80px; /* ヘッダー高さに合わせる */
}

/* 最大幅1484px・中央寄せ（PC） */
@media (min-width: 993px) {
	.site-content {
		margin: 0;
	}
	.ck-header-inner {
		width: 100%;
		max-width: 1440px;
		margin: 0 auto;
		table-layout: fixed;
		padding: 0;
		display: table;
	}
	.ck-header-inner > * {
		display: table-cell;
		vertical-align: middle;
		text-align: left;
	}
}

/* PCナビ/SPナビ切替 */
@media screen and (min-width: 1401px) {
	.ck-nav.pc-nav { display: flex !important; }
	.ck-nav.sp-nav { display: none !important; }
	.ck-hamburger { display: none !important; }
}
@media screen and (max-width: 1400px) {
	.ck-nav.pc-nav { display: none !important; }
	.ck-hamburger { display: block !important; }
}


/* 1400px以下 → ハンバーガー + SPナビ */
@media screen and (max-width: 1400px) {
	.ck-nav.pc-nav {
		display: none !important;
	}
	.ck-hamburger {
		display: block !important;
	}
	#ck-hamburger {
	margin-top: 10px;
	margin-right: 10px !important;
	}
}

@media (max-width: 992px) {
  .ck-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1100 !important;
    background-color: #fff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    padding: 10px 0 !important; /* ここで上下10pxのpadding */
    box-sizing: border-box;    /* パディング含めて幅を調整 */
  }
  body {
    padding-top: calc(70px + 20px) !important; /* ヘッダー高さ＋padding上下分20pxを足す */
  }
}


/* PC/SP表示切替 */
/*@media screen and (min-width: 1401px) {
	.ck-nav.pc-nav {
		display: flex !important;
	}
	.ck-nav.sp-nav {
		display: none !important;
	}
	.ck-hamburger {
		display: none !important;
	}
}
@media screen and (max-width: 1400px) {
	.ck-nav.pc-nav {
		display: none !important;
	}
	.ck-hamburger {
		display: block !important;
	}
}*/
/* ------------------------------------------------------
   ロゴ
--------------------------------------------------------- */
.ck-logo {
	width: 175px;
	margin: 0;
	text-align: center;
	padding: 0;
}
.ck-logo img {
	width: 160px;
	height: auto;
	margin: 0 15px;
}
@media (max-width: 992px) {
	.ck-logo {
		width: 25%;
		margin: 0;
		padding: 0;
	}
	.ck-logo img {
		width: 170px;
		height: auto;
		margin: 0;
	}
}

/* ------------------------------------------------------
   YouTube + キャッチコピー
--------------------------------------------------------- */
.ck-youtube-catch {
	display: flex;
	flex-direction: column;
	align-items: baseline;
	gap: 5px;
	text-align: left;
	width: 290px;
	padding: 0 5px;
}
.ck-youtube-catch i {
	font-size: 26px;
	color: #000;
	margin: 0;
}
.ck-youtube-catch .small {
	display: block;
	font-size: 16px;
	line-height: 1.6em;
	text-align: left;
	white-space: nowrap;
	color: #000;
}
.ck-youtube-catch a {
	transition: 300ms;
}
.ck-youtube-catch a:hover i {
	color: #f00;
}
/* 1400px以下〜992pxまで */
@media (max-width: 1400px) {
    .ck-youtube-catch {
        width: auto;          /* 幅を自動に */
        min-width: 180px;     /* 最小幅 */
        margin-left: 20px;
        text-align: left;
        flex: 1;              /* 横幅に応じて伸縮 */
    }
}

/* SP（992px以下） */
@media (max-width: 992px) {
    .ck-youtube-catch {
        width: 100%;          /* 左寄せ・横幅いっぱいに */
        margin: 0;            /* 左寄せ確実に */
        text-align: left;
		 margin-left: 20px;
    }
    .ck-youtube-catch .small {
        font-size: 12px;
    }
}
/* ------------------------------------------------------
   PCナビゲーション
--------------------------------------------------------- */
.pc-nav {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.pc-nav .nav-item a {
	color: #333;
	font-size: 15px;
	text-decoration: none;
	transition: 300ms;
}
.pc-nav .nav-item a:hover {
	opacity: 0.7;
}


/* フリーワード検索 */
.nav-search-free {
	width: 180px;
	margin: 0 15px 0 10px;
	height: 98px;
	text-align: center;
	padding: 0px 5px;
}
/* フォーム全体 */
.nav-search-free form {
	position: relative;
	width: 100%;
	margin-top: 35px;
}

/* 検索入力欄 */
.nav-search-free .search-field {
	width: 100%;
	padding: 8px 40px 8px 12px; /* ←右にアイコン分の余白 */
	border: 1px solid #939393;
	border-radius: 3px;
	font-family: 'Kaisei Decol', serif;
	font-size: 14px;
	box-sizing: border-box;
	background: #fff;
	transition: background-color 0.3s ease;
}

/* ホバー時 */
.nav-search-free .search-field:hover,
.nav-search-free .search-field:focus {
	background-color: #f5f5f5;
	outline: none;
}

/* 虫眼鏡ボタン（入力欄の中に重ねる） */
.nav-search-free .search-submit {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	font-size: 16px;
	color: #666;
	padding: 0;
	line-height: 1;
	box-shadow: none;
}

.nav-search-free .search-submit:hover {
	color: #81d18e;
}

@media screen and (max-width: 1400px) {
	.nav-search-free {
		width: 320px;
		margin: 5px 10px;
		padding: 0;
	}
	.nav-search-free .search-field {
    width: 300px;
	}
	.nav-search-free .search-submit {
	right: 30px;
	}
	.nav-search-free .search-submit {
	transition: color 0.3s ease;
	background: none !important;
	box-shadow: none !important;
}
}
@media (max-width: 992px) {
	.nav-search-free {
    width: 80%;
    margin: -20px 0 0 0;
    height: auto;
    text-align: center;
    padding: 0px 5px;
	}
	.nav-search-free .search-field {
    width: 90%;
	}
	.nav-search-free .search-submit {
	right: 10%;
	}
}

/* 求人検索 */
.nav-search {
	background: #81d18e;
	margin: 0 auto;
	padding: 5px;
	height: 98px;
	width: 160px;
}
.nav-search a {
	display: block;
	padding: 5px 10px;
	border: 1px solid #fff;
	width: 150px;
	text-align: center;
}
.nav-search a span {
	display: inline-block;
	width: 100%;
	font-size: 16px;
	font-weight: 600;
}
.nav-search a:hover {
	background: #74B87F;
	color: #fff;
}

/* コンテンツ */
.nav-contents {
	background: #fc6;
	margin: 0 auto !important;
	padding: 5px;
	text-align: center;
	height: 98px;
	width: 160px;
}
.nav-contents a {
	display: block;
	padding: 10px;
	border: 1px solid #fff;
}
.nav-contents a span {
	display: inline-block;
	width: 100%;
	font-size: 12px;
}
.nav-contents a:hover {
	background: #F5A618;
	color: #fff;
}

/* 使い方 */
.nav-howto {
	text-align: center;
	background: #fc6;
	margin: 0 auto;
	padding: 5px;
	height: 98px;
	width: 65px;
}
.nav-howto a {
	display: block;
	padding: 7px 2px;
	border: 1px solid #fff;
	height: 88px;
}
.nav-howto a span {
	font-size: 11px;
	line-height: 1.1;
	display: inline-block;
}
.nav-howto a:hover {
	background: #F5A618;
	color: #fff;
}

/* お問い合わせ */
.nav-contact {
	text-align: center;
	background: #fc6;
	margin: 0 auto;
	padding: 5px;
	height: 98px;
	width: 65px;
}
.nav-contact a {
	display: block;
	padding: 8px 4px;
	border: 1px solid #fff;
	height: 88px;
}
.nav-contact a span {
	font-size: 10px;
	line-height: 1.1;
	display: inline-block;
	letter-spacing: -0.1em;
}
.nav-contact a:hover {
	background: #F5A618;
	color: #fff;
}

/* 掲載をお考えの企業様 + バックナンバー */
.nav-item.nav-bk {
	width: 264px;
	background: #ccc;
	height: 98px;
	margin: 0;
	padding: 0;
	display: table;
}
.nav-bk ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: table;
	width: 100%;
}
.nav-bk ul li {
	margin: 0 !important;
	padding: 5px;
	width: 100%;
	height: 49px;
	text-align: center;
}
.nav-bk ul li:first-child {
	background: #81d18e;
}
.nav-bk ul li:last-child {
	background: #fc6;
}
.nav-item.nav-bk a {
	display: block;
	width: 100%;
	border: 1px solid #fff;
	padding: 7px 0;
	font-weight: normal;
}

.nav-bk ul li:first-child a:hover {
	background: #74B87F;
	color: #fff;
}
.nav-bk ul li:last-child a:hover {
	background: #F5A618;
	color: #fff;
}

/* ------------------------------------------------------
   SP用ハンバーガー
--------------------------------------------------------- */
#ck-hamburger {
	background: #81d18e;
	width: 50px;
	height: 55px;
	border-radius: 3px;
	cursor: pointer;
	border: none;
	padding: 10px;
	margin-top: 10px;
}

.ck-hamburger .label {
	display: block;
	font-size: 9px;
	letter-spacing: 0.1em;
	text-align: center;
	margin-top: 4px;
	font-family: initial;
	color: #333;
}
.ck-hamburger .bar {
	display: block;
	width: 26px;
	height: 3px;
	margin: 5px 0;
	background: #333;
	transition: 0.3s;
}
/* 押された（active）時の × 変形 */
#ck-hamburger.active .bar:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}
#ck-hamburger.active .bar:nth-child(2) {
	opacity: 0;
}
#ck-hamburger.active .bar:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}
#ck-sp-nav {
	display: none;
}
#ck-sp-nav.open {
	display: block;
}


#ck-sp-nav {
	width: 100%;
}
#ck-sp-nav ul {
	width: 100%;
	margin: 0;
	padding: 10px;
}
#ck-sp-nav ul li {
	border-bottom: 1px dashed #ccc;
}
#ck-sp-nav ul li a {
	color: #333;
	width: 100%;
	display: block;
}
#ck-sp-nav ul li a::before {
    content: "\f0da"; /* Font Awesome caret-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-block;
    padding-right: 6px;
    color: inherit;
    transition: transform 0.3s ease;
}

#ck-sp-nav ul li a:hover::before {
    transform: translateX(5px);
}


