/* box-sizing を全体に */
.page-top,
.page-top * {
  box-sizing: border-box;
}

/* 見出し・テキスト系 */
.page-top h1,
.page-top h2,
.page-top h3,
.page-top h4,
.page-top h5,
.page-top h6,
.page-top p,
.page-top ul,
.page-top ol,
.page-top li,
.page-top figure {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-weight: normal;
  line-height: 1.6;
}

/* 見出しの罫線を完全に殺す */
.page-top h1,
.page-top h2,
.page-top h3 {
  border: none;
}

/* Lightning対策（疑似要素） */
.page-top h1::before,
.page-top h1::after,
.page-top h2::before,
.page-top h2::after,
.page-top h3::before,
.page-top h3::after {
  content: none ;
}

/* リスト */
.page-top ul,
.page-top ol {
  list-style: none;
}

/* 画像 */
.page-top img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* リンク */
.page-top a {
  color: inherit;
  text-decoration: none;
}

/* フォーム */
.page-top button,
.page-top input,
.page-top textarea,
.page-top select {
  font: inherit;
  border: none;
  outline: none;
}
/* 見出し下線（Lightningの疑似要素）を完全に無効化 */
.page-top h1::before,
.page-top h1::after,
.page-top h2::before,
.page-top h2::after,
.page-top h3::before,
.page-top h3::after {
  content: none ;
  display: none ;
}
.page-top h3 {
  border: none ;
  box-shadow: none ;
  background: none ;
}

.page-top section {
  margin-bottom: 180px;
  padding: 30px;
}

.page-top h1 {
  font-size: 48px;
  font-weight: bold;
  letter-spacing: 2px;
  line-height: 1.2;
  color: #344f1f;
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
}
.page-top .top-fv-subtitle{
  font-size: 20px;
  color: #344f1f;
  margin-top: 16px;
  font-family: "Shippori Mincho", serif;
}

.page-top .top-fv-inner{
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: #565656 2px 2px 4px;
}

.top-fv{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: end;
  padding: 50px;
  background-image: url('https://tono-recruit.com/wp-content/uploads/2025/10/東濃求人FV-1-scaled.png');
  background-size: cover;
  background-position: bottom;
  height: 600px;
  width: 100%;
}
/* =========================
   Search & Filter ボタン化
========================= */

/* チェックボックス非表示 */
.top-serch input[type="checkbox"] {
  display: none;
}

/* label をボタン風に */
.top-serch label {
  display: inline-block;
  padding: 8px 14px;
  margin: 6px 6px 0 0;
  border: 1px solid #6b7f5a;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  background: #344f1f;
  color: #fff;
  transition: all 0.2s ease;
  white-space: nowrap;
}

/* 選択中（チェックされた状態） */
/* inputがlabelの中にあるパターンの場合（最新のS&Fに多い） */
.top-serch label:has(input:checked) {
  background: #ef9b0b;
  border-color: #ef9b0b;
}


/* ホバー */
.top-serch label:hover {
  opacity: 0.8;
}

/* ul を横並び＆折り返し */
.top-serch ul {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

/* li の余計なスタイル消す */
.top-serch li {
  list-style: none;
}

/* 見出し（地域を選択・特徴を選択） */
.top-serch h4 {
  font-size: 14px;
  font-weight: bold;
  margin: 16px 0 8px;
}

/* 検索ボタン */
.top-serch input[type="submit"] {
  margin-top: 16px;
  padding: 10px 24px;
  background: #2f3a2f;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.top-serch input[type="submit"]:hover {
  opacity: 0.85;
}
.top-newjob .top-2title h2{
  color: #fff;
}

.top-newjob{
  background-color: #344f1fb2;
}
.new-jobs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.job-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.job-title {
  font-size: 16px;
  margin-top: 8px;
}

.job-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.job-thumb img {
  object-fit: cover;
  height: 100%;
}
.job-terms {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.job-terms span {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 12px;
  background: #f2f2f2;
  color: #333;
}


.top-2title{
  width: 280px;
  height: 100px;
  margin: 0 auto 50px;
  position: relative;
  z-index: 3;
}
.insta-title{
  width: 320px;
}
.top-2title p{
  font-family: "Arizonia", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 36px;
  color: #56565669;
  position: absolute;
  top: 0;
  left: 0;
}
.top-2title h2{
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;
  line-height: 1.2;
  color: #344f1f;
  font-family: "Shippori Mincho", serif;
}

.top-about-top{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.top-about-top-top{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 16px;
}

.top-about-top-top-item{
  width: 350px;
  height: 250px;
  text-align: center;
  padding: 10px;
  box-shadow: #565656 2px 2px 4px;
}

.top-about-top-top-item p{
  margin: 20px auto;
}

.top-about-top-top li{
  margin-bottom: 16px;
  list-style: disc;
  text-align: left;
  margin-left: 20px;
}

.top-about-top-bottom{
 text-decoration: underline;
 font-size: 20px;
 margin: 50px auto;
}

.top-about-center-item h3{
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: bold;
  letter-spacing: 2px;
  line-height: 1.2;
  color: #344f1f;
  font-family: "Shippori Mincho", serif;
}

.top-about-center-item p{
  line-height: 2;
}

.top-about-center-item{
  text-align: center;
}

.top-about-center-item{
  margin:0 auto 40px auto;
  width: 80%;
  max-width: 800px;
  border: 1px double #344f1f;
  padding: 20px;
}

.top-about-center-item-inner{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.top-about-center-item-inner img{
  width: 300px;
  height: auto;
  box-shadow: #565656 2px 2px 4px;
}

.top-about-bottom{
  margin-bottom: 80px;
  font-size: 14px;
  text-align: end;
  margin-right: 30px;
}

.top-cta{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 80px;
}

.top-cta-button{
  display: inline-block;
  background-color: #344f1f;
  color: #fff;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 4px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.page-top a{
  color: #fff;
}

.top-cta-button:hover{
  background-color: #2a3e17;
}