/* リセットCSS */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* 改行を防ぐ */
.no-wrap {
	white-space: nowrap;
}

h5 {
	font-size: 1.1rem;
	font-weight: bold;
	color: #024ea2;
}


/******************************************************
ヘッダー(共通)
*******************************************************/
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 70px;
	background-color: #fff;
	z-index: 1000;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0px 1rem;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


/* ロゴとメニュー */
.logo img {
	max-height: 50px;
	width: 100%;
}

.hamburger-menu {
	font-size: 40px;
	cursor: pointer;
	color: #024ea2;
}

/* ハンバーガーメニュー全体 */
.menu-overlay {
	/* visibility: hidden; */
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #024ea2e3;
	z-index: 999;
	/* opacity: 0; */
	transition: opacity 0.5s ease-in-out, visibility 0.8s ease-in-out;
	overflow: scroll;
}

/* メニューが表示される時 */
.menu-overlay.show {
	/* visibility: visible; */
	/* opacity: 1; */
	display: block;
}

/* メニューリスト */
.menu-content {
	position: absolute;
	/*top: 50%;*/
	left: 50%;
	/*transform: translate(-50%, -50%);*/
	text-align: left;
	width: 50%;
	top: 120px;
	transform: translateX(-50%);
}

.menu-content ul {
	list-style: none;

}

.menu-content ul li {
	margin-bottom: 20px;
	line-height: 1rem;
}

.menu-content ul li a {
	color: white;
	text-decoration: none;
	font-size: 1.2rem;
	line-height: 1.2rem;
}

.menu-content ul ul {
	margin-top: 1rem;
}

.menu-content ul ul li {
	padding-left: 2ch;
}

.menu-content ul ul li a {
	font-size: 1.1rem;
}

/* ヘッダーとコンテンツの被り防止 */
main {
	margin-top: 70px;
}

/******************************************************
ページトップへ戻るボタン(共通)
*******************************************************/
.back-to-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	display: none;
	/* 初期状態では非表示 */
	background-color: #333;
	color: white;
	padding: 10px 15px;
	border-radius: 50px;
	font-size: 14px;
	text-align: center;
	text-decoration: none;
	z-index: 1000;
	transition: opacity 0.3s ease-in-out;
}

.back-to-top:hover {
	background-color: #555;
	cursor: pointer;
}

/* スクロールしたら表示 */
.show {
	display: block;
	opacity: 1;
}



/******************************************************
フッター(共通)
*******************************************************/
footer {
	background-color: #024ea2;
	color: white;
	padding: 3rem;
	width: 100%;
}

footer a {
	color: white;
	font-size: 0.9rem;
}

footer nav {
	width: 50%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	margin-bottom: 2rem;
}

.footer-col {
	width: 30%;
}


footer ul ul li {
	padding-left: 2ch;
}

@media screen and (max-width: 1300px) and (min-width: 1100px) {
	footer nav {
		width: 80%;
		justify-content: end;
	}
}

@media screen and (max-width: 1100px) and (min-width: 769px) {
	footer nav {
		width: 90%;
		justify-content: space-between;
	}
}



/******************************************************
スライドショー(共通)
*******************************************************/

.slideshow {
	overflow: hidden;
	position: relative;
}

.slide {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.slide.active {
	opacity: 1;
}

.slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: zoomEffect 10s linear infinite;
}

@keyframes zoomEffect {
	0% {
		transform: scale(1);
	}

	100% {
		transform: scale(1.1);
	}
}

.fade {
	animation-name: fade;
	animation-duration: 2s;
}

@keyframes fade {
	from {
		opacity: .4
	}

	to {
		opacity: 1
	}
}

/******************************************************
スクロールアニメーション(共通)
*******************************************************/

/* 左から右へのアニメーション */
.scroll-left {
	opacity: 0;
	transform: translateX(-100px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-left.visible {
	opacity: 1;
	transform: translateX(0);
}

/* 右から左へのアニメーション */
.scroll-right {
	opacity: 0;
	transform: translateX(100px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-right.visible {
	opacity: 1;
	transform: translateX(0);
}

/* 下から上へのアニメーション */
.scroll-bottom {
	opacity: 0;
	transform: translateY(50px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-bottom.visible {
	opacity: 1;
	transform: translateY(0);
}

/* フェードインアニメーション */
.scroll-fade {
	opacity: 0;
	transition: opacity 1.5s ease-out;
}

.scroll-fade.visible {
	opacity: 1;
}

/******************************************************
見出し(共通)
*******************************************************/
.heading,
.heading01,
.heading02,
.heading03 {
	padding: 0.5rem 1rem;
	box-sizing: border-box;
	text-align: left;
	overflow: hidden;
}

.heading h2,
.heading01 h2,
.heading02 h2,
.heading03 h2 {
	animation: slideInFromLeft 1s ease-out;
	color: white;
	font-size: 1.1rem;
	font-weight: bold;
}

@keyframes slideInFromLeft {
	0% {
		transform: translateX(-100%);
		opacity: 0;
	}

	100% {
		transform: translateX(0);
		opacity: 1;
	}
}


h4 {
	padding: 0.2rem 0.7rem;
	font-weight: bold;
	font-size: 1.2rem;
}

/*給与とキャリアアップについて*/
#career h4.salary {
	border-left: 10px solid #2C689F;
	color: #2C689F;
}

#career h4.up {
	border-left: 10px solid #008D31;
	color: #008D31;
}

#career h5.up {
	color: #008D31;
}

/*ワーク・ライフ・バランスについて(#work-life)*/
#work-life h4 {
	border-left: 10px solid #F19CC1;
	color: #F19CC1;
}

/*採用試験について(#recruit)*/
#recruit h4 {
	border-left: 10px solid #289fe7;
	color: #289fe7;
}

/*ホーム(#home)・長崎県警察について(#about)・警察学校について(#school)・採用試験について(#recruit)*/
#home .heading,
#about .heading,
#school .heading,
#recruit .heading,
#link .heading,
#recommend .heading {
	background: linear-gradient(to right, #64b3e4, #64b3e4, #fff794);
}


/*地域警察(#local)*/
#local .heading {
	background: linear-gradient(to right, #87caac, #87caac, #fff794);
}

#local .sub-title p {
	color: #13a061;
}

/*生活安全警察(#life_safety)*/
#life_safety .heading {
	background: linear-gradient(to right, #f3a7ae, #f3a7ae, #fff794);
}

#life_safety .sub-title p {
	color: #ef5966;
}

/*刑事警察(#criminal)*/
#criminal .heading {
	background: linear-gradient(to right, #a3cfef, #a3cfef, #fff794);
}

#criminal .sub-title p {
	color: #479ad6;
}

/*交通警察(#traffic)*/
#traffic .heading {
	background: linear-gradient(to right, #f7b76e, #f7b76e, #fff794);
}

#traffic .sub-title p {
	color: #ed7d3d;
}

/*警備警察(#security)*/
#security .heading {
	background: linear-gradient(to right, #bea2cb, #bea2cb, #fff794);
}

#security .sub-title p {
	color: #a365c3;
}

/*警務警察(#affairs)*/
#affairs .heading {
	background: linear-gradient(to right, #81cbc8, #81cbc8, #fff794);
}

#affairs .sub-title p {
	color: #3da6bb;
}

/*警察事務(#office)*/
#office .heading {
	background: linear-gradient(to right, #cda76e, #cda76e, #fff794);
}

#office .sub-title p {
	color: #cd8b2a;
}

/*給与とキャリアアップについて(#career)*/
#career .heading {
	background: linear-gradient(to right, #94CEA4, #90AFDC, #2F77BD);
}

/*ワーク・ライフ・バランスについて(#work-life)*/
#work-life .heading {
	background: linear-gradient(to right, #F19CC1, #F3A28D, #F19CC1);
}

/*オフスタイルについて(#off-style)*/
#off-style .heading {
	background: linear-gradient(to right, #8FC31F, #7EC9C3, #2CAC38);
}

/*離島勤務について(#island)*/
#island .heading {
	background: linear-gradient(to right, #85D0F4, #37B7A5, #0091D4);
}

/*CROSSTALK(#cross-talk)*/
#cross-talk .heading {
	background: linear-gradient(to right, #EEAE4E, #FFF794);
}

/*CROSSTALK(#cross-talk)*/
#cross-talk .heading {
	background: linear-gradient(to right, #EEAE4E, #FFF794);
}

/*CROSSTALK(#cross-talk)*/
#cross-talk .heading01 {
	background: linear-gradient(to right, #EEAFA8, #FFF794);
}

#cross-talk .heading02 {
	background: linear-gradient(to right, #EEAE4E, #FFF794);
}

#cross-talk .heading03 {
	background: linear-gradient(to right, #17A591, #FFF794);
}

/******************************************************
トップページ --　　背景動画(#home)
*******************************************************/
.background-video {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -1;
}

.top-lead {	  
	width: 40%;
	position: absolute;
	/*top: 50%;*/
	transform: translate(-50%, -50%);
	text-align: left;
	z-index: 100;
    animation: top-lead 8s; /*keyframesで命名したものを使う。2秒間で消える*/
    animation-fill-mode: both; /*0%の時と100%の時の状態を保つ*/
}
  
@keyframes top-lead {	
  0% {
    transform: translateX(0);
	top: 20%;
	left: 10%;
	  opacity: 1; /*初めに存在する*/
	  transform:translate(0, 0) rotate(0deg);
  }
	5%{
	top: 20%;
	left: 10%;
	  opacity: 1; /*初めに存在する*/
		transform:translate(0, -1px) rotate(-3deg);
	}
	10%{
	top: 20%;
	left: 10%;
	  opacity: 1; /*初めに存在する*/
	  transform:translate(0, 0) rotate(0deg);
	}
  15% {
    transform: translateX(0);	  
	top: 20%;
	left:10%;
	  opacity: 1; /*途中まで存在する*/
	  transform:translate(0, 0) rotate(-3deg);
  }
	20%{
	top: 20%;
	left: 10%;
	  opacity: 1; /*初めに存在する*/
	  transform:translate(0, 0) rotate(0deg);
	}
	25%{
	top: 20%;
	left: 10%;
	  opacity: 1; /*初めに存在する*/
	  transform:translate(0, 0) rotate(-3deg);
	}
  30% {
    transform: translateX(0);	  
	top: 20%;
	left:10%;
	  opacity: 1; /*途中まで存在する*/
	  transform:translate(0, 0) rotate(0deg);
  }
	70%{		
    transform: translateX(0);	  
	}
    90% {
    transform: translateX(-1300px);	  
	top: 20%;
	left:10%;
	  opacity: 1; /*途中まで存在する*/
    }
    100% {  
	top: 20%;
	left:-1300px;
        opacity: 0; /*最後に消える*/
    }
}

.top-title {
	width: 40%;
	position: absolute;
	/*top: 50%;*/
	bottom: -10%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	z-index: 100;
}
.top_cap{
	color: #fff;
	font-size: 14px;
	margin-left: 30px;
    animation: top_cap 6s; /*keyframesで命名したものを使う。2秒間で消える*/
    animation-fill-mode: both; /*0%の時と100%の時の状態を保つ*/
}

@keyframes top_cap {	
  0% {
	  opacity: 1; /*初めに存在する*/
  }
    90% {
	  opacity: 1; /*途中まで存在する*/
    }
    100% {  
        opacity: 0; /*最後に消える*/
    }
}

@media screen and (max-width: 1300px) and (min-width: 769px) {
	.top-lead {
		width: 60%;
		top: 30%;
		/*bottom: -10%;*/
	}
	.top-title {
		width: 60%;
		/*top: 55%;*/
		bottom: -10%;
	}
}

.top-title img {
	filter: drop-shadow(0px 0px 10px #002D71) drop-shadow(0px 0px 0 #002D71);
}

/******************************************************
トップページ (#home)
*******************************************************/
#home {
	max-width: 100%;
	margin: 0 auto;
	margin-top: 70px;
}

#home .contents {
	max-width: 1000px;
	/*1200*/
	margin: 2rem auto;
}

@media screen and (max-width: 1300px) and (min-width: 769px) {
	#home .contents {
		width: 90%;
	}
}

.back-white {
	background-color: #ffffffec;
	padding-top: 3rem;
	padding-bottom: 3rem;
}

/*インタビュー・動画コーナー(#interview・#movie)*/
#home #interview .left img,
#home #movie .left img {
	width: 400px;
	height: 400px;
	object-fit: cover;
}

#home .movie .wrap {
	flex-direction: row-reverse;
	margin-top: -4rem;
}

/*資料請求*/
#home #panf .content {
	background-color: #fff;
	border: solid 3px #024ea2;
	border-radius: 15px;
	padding: 1rem 2rem;
	margin: 3rem auto;

}

#home #panf .wrap2 {
	justify-content: center;
	margin-bottom: 2rem;
}

#home #panf .left {
	width: 30%;
	flex: unset;
	text-align: center;
}

#home #panf .left img {
	width: 90%;
}

#home #panf .right {
	width: 60%;
	flex: unset;
}

@media screen and (max-width: 1100px) and (min-width: 769px) {
	#home #panf .right .blue-button {
		width: 100%;
	}
}

/*お知らせ(#news)*/
#home #news.contents {
	max-width: 80%;
	margin: 5rem auto;
}

#home #news .content {
	background-color: #fff;
	border: solid 3px #024ea2;
	border-radius: 15px;
	padding: 1.5rem;
	margin: 1rem auto;
}

#news .title {
	display: flex;
	align-items: center;
	flex-direction: unset;
	justify-content: unset;
	position: unset;
	text-align: unset;
	height: unset;
	padding: 0.4rem 1rem;
	background-color: #024ea2;
	color: white;
	margin-bottom: 1rem;
	font-size: 1.1rem;
	font-weight: bold;
}

#news p {
	font-size: 0.9rem;
}

#news .title span img {
	margin-right: 0.5rem;
	width: 2rem;
	vertical-align: middle;
}

@media screen and (max-width: 1400px) and (min-width: 900px) {
	#home #news.contents {
		width: 95%;
		max-width: 95%;
	}
}

@media screen and (min-width: 900px) {
	#news {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	#news .content {
		width: 33%;
		margin-bottom: 20px;
	}
}

/*スクロール適用
#news .news-content {
	max-height: 100px;
	overflow-y: auto;
}*/


/******************************************************
サブページ　--　共通トップ（.top）
*******************************************************/

/*トップ画像スライドショー*/
.slideshow.top {
	width: 1200px;
	height: 650px;
	margin: 9rem auto 3rem auto;
	border-radius: 20px;
}

@media screen and (max-width: 1300px) and (min-width: 769px) {
	.slideshow.top {
		width: 90%;
		height: 550px;
		margin: 8rem auto 3rem auto;
	}
}

/*トップタイトル*/
.slide-title {
	position: absolute;
	bottom: 3rem;
	left: 0;
	padding-left: 3rem;
	padding-right: 3rem;
	overflow: hidden;
	text-align: left;
}

.slide-title h1 {
	display: inline-block;
	background: rgba(255, 255, 255, 0.8);
	font-size: 1.3rem;
	font-weight: bold;
	margin: 0;
	padding: 1rem;
	animation: slideInFromLeft 1s ease-out;
}

@keyframes slideInFromLeft {
	0% {
		transform: translateX(-100%);
	}

	100% {
		transform: translateX(0);
	}
}

/*タイトル*/
.title {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	text-align: center;
	height: 130px;
}

.title-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	width: 130px;
	height: 130px;
}

.title h2 {
	position: relative;
	z-index: 5;
	color: #014a97;
	font-size: 2rem;
	font-weight: bold;
}


/******************************************************
サブページ　--　コンテンツ(共通)
*******************************************************/

main {
	max-width: 1200px;
	margin: 0 auto;
}

@media screen and (max-width: 1300px) and (min-width: 769px) {
	main {
		width: 90%;
	}

	main#home {
		width: unset !important;
	}
}

/*文字数が画像サイズよりも少ないコンテンツ(中央寄せ)*/
.wrap {
	display: flex;
	align-items: center;
	gap: 30px;
	margin-top: 2rem;
	margin-bottom: 4rem;
}

/*文字数が画像サイズよりも多いコンテンツ(上寄せ)*/
.wrap2 {
	display: flex;
	align-items: start;
	gap: 30px;
	margin-top: 2rem;
	margin-bottom: 4rem;
}


.left {
	flex: 1.5;
}

.right {
	flex: 2;
}

.left img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}

/*-----------　　ボタン (赤)  -----------*/
.red-button {
	width: 50%;
	display: inline-block;
	background-color: #ff0000;
	color: #ffffff;
	text-decoration: none;
	border-radius: 50px;
	font-weight: bold;
	transition: all 0.3s ease;
	padding: 0.5rem 1rem;
	box-sizing: border-box;
	text-align: center;
	margin-top: 2rem;
	/* バウンドアニメーション */
	animation: bounce 1.5s ease-in-out infinite;
}

@media (hover: hover) and (pointer: fine) {
	.red-button:hover {
		background-color: #cc0000;
		transform: scale(1.05);
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	}
}

/* バウンドアニメーション */
@keyframes bounce {

	0%,
	100% {
		transform: scale(1);
	}

	40% {
		transform: scale(1.08);
	}

	60% {
		transform: scale(1.08);
	}
}

/*-----------　　ボタン (赤) ここまで -----------*/

/*-----------　　ボタン (青)  -----------*/
.blue-button {
	width: 50%;
	display: inline-block;
	background-color: #024ea2;
	color: #ffffff;
	text-decoration: none;
	border-radius: 50px;
	font-weight: bold;
	transition: all 0.3s ease;
	padding: 0.5rem 1rem;
	box-sizing: border-box;
	text-align: center;
	margin-top: 2rem;
}

@media (hover: hover) and (pointer: fine) {
	.blue-button:hover {
		background-color: #003067;
		transform: scale(0.95);
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	}
}

/*-----------　　ボタン (青) ここまで -----------*/


/*-----------　　矢印つきボタン (青)  -----------*/
.detail-button {
	width: 100%;
	text-align: left;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	transition: background-color 0.3s ease;
	padding: 1rem 2rem 1rem 4rem;
	box-sizing: border-box;
	color: #fff;
	font-size: 1.1rem;
	font-weight: bold;
	background-color: #024ea2;
	border-radius: 50px;
	border: unset;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.detail-button:hover {
	background-color: #1270dc;
	/*transform: scale(0.98);*/
}

.detail-button .detail-arrow {
	display: flex;
	justify-content: center;
	align-items: center;
	transition: transform 0.3s;
	font-weight: bold;
}

.detail-button:hover .detail-arrow {
	transform: translateX(20px);
}

/*-----------　　矢印つきボタン (青) ここまで -----------*/


/*アコーディオンメニュー*/
.qa .left {
	flex: 30%;
	max-width: 30%;
}

.qa .right {
	flex: 70%;
	max-width: 70%;
	padding-left: 20px;
}

.accordion-item {
	margin-bottom: 10px;
}


.accordion01 {
	width: 100%;
	font-size: 1rem;
	font-weight: bold;
	text-align: left;
	padding: 1rem;
	box-sizing: border-box;
	background-color: #ffe992;
	border: none;
	outline: none;
	cursor: pointer;
	transition: background-color 0.3s ease;
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.accordion-icon {
	width: 10px;
	height: 10px;
	padding-left: 10px;
	position: relative;
	transition: transform 0.3s ease;
}

.accordion-icon::before,
.accordion-icon::after {
	content: '';
	position: absolute;
	background-color: #94896c;
	transition: all 0.3s ease;
}

.accordion-icon::before {
	width: 2px;
	height: 10px;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}

.accordion-icon::after {
	width: 10px;
	height: 2px;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

.accordion01.active .accordion-icon {
	transform: rotate(45deg);
}



/**/

.accordion01:hover {
	background-color: #e0c760;
}

.accordion02 {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out, padding 0.3s ease-out;
	background-color: #fff7d8;
	/*border: 1px solid #dfc149;*/
	padding: 0 1rem;
	box-sizing: border-box;
}

.accordion02.active {
	max-height: 1000px;
	transition: max-height 0.5s ease-in, padding 0.5s ease-in;
	padding: 1rem;
	box-sizing: unset;
}

/*アコーディオンメニューここまで*/


/*自動スライドショー*/
.auto-slideshow {
	width: 100%;
	overflow: hidden;
	position: relative;
	margin-bottom: 3rem;
}

.auto-slideshow-wrapper {
	display: flex;
	width: max-content;
	/* コンテンツの幅に合わせて自動的に伸縮 */
	animation: slide 40s linear infinite;
}

.auto-slideshow-wrapper img {
	display: inline-block;
	width: 300px;
	height: 300px;
	object-fit: cover;
	margin-right: 20px;
}

#work .auto-slideshow-wrapper img {
	border-radius: 100%;
}

.career .auto-slideshow-wrapper img {
	object-fit: contain;
	width: 400px;
	height: 400px;
}

@keyframes slide {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(calc(-100% / 2));
	}
}

/*自動スライドショーここまで*/


/*サブタイトル*/
.sub-title {
	margin-bottom: 2rem;
}

.sub-title p {
	font-size: 1.5rem;
	color: #024ea2;
	font-weight: bold;
}

.sub-title p span {
	color: #000;
	font-size: 1rem;
}


/*サブタイトルここまで*/

/******************************************************
SNSアイコン
*******************************************************/
.sns-icons {
	display: flex;
	justify-content: center;
	flex-wrap: nowrap;
	width: 50%;
	margin: 0 auto;
	margin-bottom: 3rem;
}

.sns-icons a {
	margin: 0 10px;
}

.sns-icons img {
	width: 40px;
	height: auto;
	transition: opacity 0.3s ease;
}

.sns-icons img:hover {
	opacity: 0.7;
}


/******************************************************
お問い合わせサブページ(#info-sub)
*******************************************************/

#info-sub .button-wrap {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 3rem;
	margin-top: 3rem;
}

#info-sub .button {
	flex: 0 0 calc(50% - 20px);
	text-align: center;
	padding: 20px 0;
	vertical-align: middle;
	box-sizing: border-box;
	background-color: #deedf9;
	border-radius: 20px;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

#info-sub .button:hover {
	background-color: #f0f0f0;
	transform: scale(0.95);
}

/*#info-sub .phone-info {
	display: flex;
	align-items: center;
	justify-content: center;
}

#info-sub .phone-info img {
	margin-right: 0.1rem;
	margin-left: -1rem;
	width: 2rem;
}

@media screen and (max-width: 850px) {
	#info-sub .phone-info img {
		margin-left: -1rem;
	}
}

#info-sub .phone-info span {
	font-size: 2rem;
	font-weight: bold;
}

@media screen and (max-width: 1000px) and (min-width: 768px) {
	#info-sub .phone-info span {
		font-size: 1.5rem;
	}
}*/

#info-sub .button h3 {
	font-size: 1.2rem;
	font-weight: bold;
}

.phone-info {
	display: flex;
	align-items: center;
	justify-content: center;
}

.phone-info a {
	width: 100%;
}

.phone-info img {
	margin-right: 0.1rem;
	margin-left: -1rem;
	width: 2rem;
}

@media screen and (max-width: 850px) {
	.phone-info img {
		margin-left: -1rem;
	}
}

.phone-info span {
	font-size: 1.6rem;
	font-weight: bold;
}

@media screen and (max-width: 1000px) and (min-width: 768px) {
	.phone-info span {
		font-size: 1.5rem;
	}
}

#info-sub .button.link {
	text-align: left;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background-color 0.3s ease;
	padding: 1rem 2rem 1rem 4rem;
	box-sizing: border-box;
	color: #fff;
	background-color: #585858;
	border-radius: 20px;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

#info-sub .button.link:hover {
	background-color: #919191;
	transform: unset;
}

#info-sub .arrow {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #d1d1d1;
	color: #585858;
	transition: transform 0.3s;
	font-weight: bold;
}

#info-sub .button.link:hover .arrow {
	transform: translateX(10px);
}

/* グーグルマップボタン */
#info-sub .map-btn {
	background-color: #585858;
	border-radius: 50px;
	padding: 5px 20px;
	color: white;
	font-weight: bold;
	border: none;
	cursor: pointer;
	transition: background-color 0.3s;
	font-size: 1rem;
	vertical-align: middle;
}

#info-sub .map-btn:hover {
	background-color: #919191;
}

#info-sub .map-icon {
	width: 15px;
	height: 15px;
	margin-right: 5px;
	vertical-align: middle;
}

#info-sub .detail-button {
	width: 35%;
}

@media screen and (max-width: 1300px) and (min-width: 768px) {
	#info-sub .detail-button {
		width: 50%;
	}
}

/******************************************************
サブページ　--　警察学校について(#school)
*******************************************************/
#school .left img {
	width: 100%;
	height: 300px;
	object-fit: cover;
}

/* 年間スケジュールスライドショー */

.event-slideshow {
	position: relative;
	overflow: hidden;
	width: 100%;
}

.slides {
	display: flex;
	transition: transform 0.5s ease;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.event-slide {
	box-sizing: border-box;
	text-align: center;
}

.event-slide {
	min-width: calc(33.33% - 10px);
	margin: 0 5px;
	opacity: 1;
}


.event-slide img {
	width: 100%;
	height: 250px;
	border-radius: 10px;
	object-fit: cover;
}

.prev,
.next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: transparent;
	border: none;
	color: white;
	font-size: 2rem;
	cursor: pointer;
	z-index: 10;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
	/* シャドウを追加 */
}

.prev {
	left: 10px;
}

.next {
	right: 10px;
}

.event-slide p span.back-color {
	background-color: #30bdff;
	color: #fff;
	font-weight: bold;
	padding: 0.2rem 0.5rem;
	box-sizing: border-box;
	margin-right: 1rem;
	border-radius: 5px;
}

/*授業内容（表）*/
.styled-table {
	width: 85%;
	border-collapse: collapse;
	/*margin: 2rem 0;*/
	font-size: 1rem;
	text-align: left;
}

.styled-table th,
.styled-table td {
	padding: 0.8rem;
	border: 1px solid #ddd;
}

.left-column {
	background-color: #4a80bf;
	color: white;
	width: 20%;
	text-align: center;
}

.styled-table td:not(.left-column) {
	width: 80%;
	vertical-align: middle;
	line-height: 0.9rem;
	font-size: 0.9rem;
}

.styled-table tr:hover {
	background-color: #ddd;
}


/*採用時教養（表）*/
.styled-table.table02 {
	margin: unset;
	margin-bottom: 2rem;
}

.styled-table.table02 td span {
	font-size: 0.7rem;
}

.styled-table.table02 {
	text-align: center;
}

.red-cell {
	background-color: #4a80bf;
	color: white;
}

.light-red-cell {
	background-color: #e9f3ff;
}

.right-border {
	border-right: 2px solid #bdbdbd !important;
}

.bottom-border {
	border-bottom: 2px solid #bdbdbd !important;
}

/*警察学校の一日*/
.content-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.content-item h3 {
	text-align: left;
	font-size: 1.1rem;
	font-weight: bold;
}

.content-item img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 10px;
}

.star-icon {
	color: gold;
	margin-right: 5px;
}


/******************************************************
サブページ --警察の仕事について(#work)
*******************************************************/
.content-item a {
	display: inline-block;
	overflow: hidden;
	border-radius: 10px;
}

.content-item img {
	transition: transform 0.3s ease;
	border-radius: 10px;
}

.content-item a:hover img {
	transform: scale(1.05);
}

/*円グラフ*/
#local .local-graph {
	width: 50%;
	margin: 0 auto;
}

/*事務の１日*/
#office .office-schedule {
	width: 50%;
	margin: 0 auto;
}

#office .schedule {
	background-color: #E1F2F9;
	color: #000000;
	font-size: 1.2rem;
	padding: 1rem 3rem;
	margin: 1.5rem 0;
	border-radius: 5px;
	position: relative;
}

#office .office-arrow {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -1rem;
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid #cca66e;
}

@media screen and (max-width: 1400px) and (min-width: 900px) {
	#work section {
		width: 85%;
		margin: 0 auto;
	}

	#office .office-schedule {
		width: 80%;
		margin: 0 auto;
	}
}

@media screen and (max-width: 900px) and (min-width: 769px) {
	#work section {
		width: 90%;
		margin: 0 auto;
	}

	#office .office-schedule {
		width: 70%;
		margin: 0 auto;
	}
}

/******************************************************
サブページ --給与とキャリアアップについて(#career)
*******************************************************/

#career .styled-table {
	width: 60%;
}

#career .styled-table td {
	font-size: 1rem;
}

#career .content-img img {
	width: 40%;
	border-radius: 10px;
}

#career .sub-title p {
	color: #a47eb8;
}

#work-life .left,
#career .left {
	flex: 1;
	text-align: center;
}

#work-life .right,
#career .right {
	flex: 1;
	text-align: center;
}

#career .in-block {
	border: 1px solid black;
	padding: 1rem;
}

/*インタビュー*/
#career #interview .left {
	flex: 35%;
}

#career #interview .right {
	flex: 60%;
}

#career #interview .right img {
	border-radius: 10px;
}

@media screen and (max-width: 1000px) and (min-width: 769px) {
	#career #interview .left {
		flex: 50%;
	}

	#career #interview .right {
		flex: 50%;
	}
}

/*これまでのキャリア*/
#career h6 {
	font-size: 1rem;
	font-weight: bold;
	color: #13a061;
	text-align: left;
}

#career .timeline {
	list-style: none;
}

#career .timeline>li {
	margin-bottom: 60px;
}

#career .timeline>li {
	overflow: hidden;
	margin: 0;
	position: relative;
}

#career .timeline-date {
	width: 110px;
	float: left;
	margin-top: 20px;
}

#career .timeline-content {
	width: 75%;
	float: left;
	border-left: 3px #e5e5d1 solid;
	padding-left: 30px;
	padding-top: 1rem;
	box-sizing: border-box;
	width: auto;
}

#career .timeline-content:before {
	content: '';
	width: 12px;
	height: 12px;
	background: #6fc173;
	position: absolute;
	left: 106px;
	top: 1.5rem;
	border-radius: 100%;
}


@media (max-width : 517px) {
	#career .timeline {
		background-color: #fffdeb;
		border-radius: 10px;
		padding: 1rem;
		box-sizing: border-box;
	}

	#career .timeline-date {
		width: 4rem;
	}

	#career .timeline-content {
		width: auto;
	}

	#career .timeline-content:before {
		left: 60px;
	}


}


/******************************************************
6つのボタンセクション(#section6)
*******************************************************/

#section6 .button-section {
	padding-top: 2rem;
}

#section6 .button-container {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, 1fr);
	/* ボタン間の隙間 */
}

#section6 .button {
	position: relative;
	display: block;
	text-align: center;
	overflow: hidden;
	border-radius: 15px;
	object-fit: cover;
	width: 100%;
	height: 200px;
}

#section6 .button::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #62626282;
	z-index: 1;
}

#section6 .button img {
	width: 100%;
	height: 100%;
	transition: transform 0.3s ease;
	object-fit: cover;
}

#section6 .button-text {
	position: absolute;
	top: 2rem;
	left: 1rem;
	color: #ffffff;
	font-size: 1.8rem;
	line-height: 2rem;
	font-weight: bold;
	text-align: left;
	z-index: 5;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#section6 .button-text span {
	font-size: 1rem;
}

#section6 .arrow {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background-color: rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	padding: 8px;
	transition: transform 0.3s ease;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: black;
	font-weight: bold;
	z-index: 2;
}

#section6 .button:hover img {
	transform: scale(1.1);
}

#section6 .button:hover .arrow {
	transform: translateX(5px);
}

#section6 .detail-button {
	width: 35%;
	margin: 0 auto;
}

@media screen and (max-width: 1300px) and (min-width: 768px) {
	#section6 .detail-button {
		width: 50%;
	}
}

/******************************************************
お問い合わせトップページ(#info)
*******************************************************/

/*#info .button-wrap {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 3rem auto;
	width: 80%;
}

#info .button {
	flex: 0 0 calc(50% - 20px);
	text-align: center;
	padding: 20px;
	box-sizing: border-box;
	background-color: #deedf9;
	border-radius: 20px;
	transition: background-color 0.3s ease, transform 0.3s ease;
	margin-bottom: 1rem;
}

#info .button:hover {
	background-color: #f0f0f0;
	transform: scale(0.95);
}

/*#info .phone-info {
	display: flex;
	align-items: center;
	justify-content: center;
}

#info .phone-info img {
	margin-right: 0.2rem;
	margin-left: -3rem;
	width: 3rem;
}

@media screen and (max-width: 850px) {
	#info .phone-info img {
		margin-left: -1rem;
	}
}

#info .phone-info span {
	font-size: 2rem;
	font-weight: bold;
}

#info .button.link {
	text-align: left;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background-color 0.3s ease;
	padding: 1rem 2rem 1rem 4rem;
	box-sizing: border-box;
	color: #fff;
	background-color: #585858;
	border-radius: 20px;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

#info .button.link:hover {
	background-color: #919191;
	transform: unset;
}

#info .arrow {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #d1d1d1;
	color: #585858;
	transition: transform 0.3s;
	font-weight: bold;
}

#info .button.link:hover .arrow {
	transform: translateX(10px);
}

#info .contact-container {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	margin: 0 auto;
	max-width: 1200px;
}

#info .contact-info {
	flex: 0 0 40%;
	margin-right: 20px;
	margin-bottom: 20px;
}

#info .map {
	flex: 0 0 55%;
}

#info .map iframe {
	border-radius: 15px;
}


@media screen and (max-width: 1300px) and (min-width: 1100px) {
	#info .contact-container {
		max-width: 90%;
	}
}

@media screen and (max-width: 1100px) and (min-width: 769px) {
	#info .contact-container {
		max-width: 70%;
	}

	#info .contact-info {
		flex: unset;
		margin-right: unset;
		width: 70%;
		margin: 2rem 0;

	}

	#info .map {
		flex: unset;
		width: 100%;
	}

	#info .button-wrap {
		display: block;
		width: 100%;
	}

}
*/



/******************************************************
ポップアップ(画像拡大)
*******************************************************/
.popup {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.9);
}

.popup.show {
	display: flex;
	justify-content: center;
	align-items: center;
}

.popup-content {
	margin: auto;
	display: block;
	width: 90%;
	max-width: 90%;
}

.close {
	position: absolute;
	top: 15px;
	right: 35px;
	color: white;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
}

.close:hover,
.close:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}

/******************************************************
サブページ --Iターン・Uターン(#cross-talk)
*******************************************************/
#cross-talk {
	background-color: #FFFCE0;
}

#cross-talk .left {
	flex: 1;
}

#cross-talk .right {
	flex: 1;
}



.cross-talk-header {
	position: relative;
	width: 100%;
	overflow: visible;
	background-image: url('../img/cross-talk/K_125.jpg');
	background-size: cover;
	background-position: center;
	/* height: 400px; 適切な高さを設定 */
}

.cross-talk-header::before {
	content: '';
	position: absolute;
	bottom: -16%;
	left: 50%;
	transform: translateX(-50%);
	width: 600px;
	height: 200px;
	background-image: url(../img/crosstalk.svg);
	background-size: contain;
	background-repeat: no-repeat;
	z-index: 2;
}

@media screen and (max-width: 1300px) and (min-width: 700px) {
	.cross-talk-header::before {
		bottom: -25%;
	}
}

@media screen and (max-width: 690px) {
	.cross-talk-header::before {
		bottom: -25%;
		width: 90%;
	}
}

/******************************************************
サブページ --ワーク・ライフ・バランス(#work-life)
*******************************************************/
#work-life table,
#work-life td,
#work-life th {
	width: 100%;
	border: 1px solid #ca7724;
	border-collapse: collapse;
}

#work-life table {
	min-width: 850px;
}

#work-life td,
#work-life th {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	text-align: center;
	vertical-align: middle;
}

#work-life th {
	background: #f8a756;
	color: #fff;
	font-size: 1.1rem;
	font-weight: bold;
}

#work-life .table-responsive {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

#work-life .t-color {
	background: #FBD4AB;
}

#work-life .t-color2 {
	background: #FFFCD3;
}

/******************************************************
サブページ --オフスタイルについて(#off-style)
*******************************************************/

#off-style .left {
	flex: 1.5;
	text-align: center;
}

#off-style .left img {
	border-radius: unset;
}

#off-style .right {
	flex: 1;
	text-align: center;
}


@media screen and (max-width: 1100px) and (min-width: 768px) {
	#off-style .left {
		flex: 1;
	}

	#off-style .right {
		flex: 1;
	}
}

/******************************************************
サブページ --離島勤務について(#island)
*******************************************************/

#island .comment img {
	width: 70%;
	margin-left: auto;
	margin-right: auto;
}

#island .qa .left {
	text-align: center;
}

#island .qa img {
	width: 70%;
}

#island .island01-img {
	text-align: center;
}

#island .island01-img img {
	width: 80%;
}

@media screen and (max-width: 768px) and (min-width: 550px) {
	#island .island01-img img {
		width: 55%;
	}
}

@media screen and (max-width: 1100px) and (min-width: 768px) {
	#island .comment img {
		width: 90%;
	}

	#island .qa img {
		width: 80%;
	}

	#island .island01-img img {
		width: 95%;
	}
}

/******************************************************
サブページ --リンク集(#link)
*******************************************************/
/* SNSボタン */
.sns-container {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 20px;
	flex-wrap: wrap;
	padding: 20px 0;
}

.sns-item {
	width: 150px;
	text-align: center;
}

.sns-item a {
	display: block;
	text-decoration: none;
	transition: transform 0.3s ease;
	padding: 15px 10px;
	border: 2px solid #ddd;
	border-radius: 12px;
	background-color: #fff;
}

.sns-item a:hover {
	transform: scale(1.1);
	border-color: #999;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.sns-item img {
	width: 60px;
	height: 60px;
	object-fit: contain;
	margin-bottom: 8px;
}

.sns-item p {
	margin: 0;
	font-size: 14px;
	color: #333;
	line-height: 1.2;
	text-align: center;
}

/* テキストボタン */
/* リンクボタン */
.link-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	/* 2列のグリッド */
	gap: 20px;
	padding: 20px 0;
	max-width: 800px;
	/* コンテナの最大幅を設定 */
	margin: 0 auto;
}

.link-item {
	width: 100%;
}

.link-item a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60px;
	/* 最小の高さを設定 */
	text-decoration: none;
	transition: transform 0.3s ease;
	padding: 15px 10px;
	border: 2px solid #ddd;
	border-radius: 12px;
	background-color: #fff;
	height: 100%;
	/* 親要素の高さいっぱいに広げる */
}

.link-item a:hover {
	transform: scale(1.05);
	border-color: #999;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.link-item p {
	margin: 0;
	font-size: 1rem;
	color: #000000;
	line-height: 1.4;
	text-align: center;
}

/* スマホ用のスタイル */
@media screen and (max-width: 768px) {
	.link-container {
		grid-template-columns: 1fr;
		/* 1列に変更 */
	}
}

/******************************************************
サブページ --採用情報(#recruit)
*******************************************************/
#recruit .link-container .nittei a {
	background-color: #c1e7ff;
}

#recruit .link-container .nittei p {
	color: #024ea2;
}

#recruit .popup {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
}

#recruit .popup-content {
	position: relative;
	background-color: white;
	padding: 20px;
	border-radius: 5px;
	text-align: center;
	width: 60%;
	height: 50%;
	max-width: 90%;
	max-height: 90%;
	overflow: hidden;
}

#recruit .close {
	cursor: pointer;
	font-size: 24px;
	color: #024ea2;
	position: absolute;
	right: 10px;
	top: 10px;
}

#recruit iframe {
	width: 100%;
	height: 100%;
	border: none;
}

@media (max-width: 768px) {
	#recruit .popup-content {
		max-width: 95%;
		width: 80%;
		height: 100%;
		max-height: 80%;
	}
}

@media (min-width: 769px) and (max-width: 1100px) {
	#recruit .popup-content {
		width: 80%;
		height: 60%;
		max-width: 80%;
		max-height: 80%;
	}
}