/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/
.page-id-2578 .wp-block-heading {
	width: fit-content;
	padding: 19px;
	margin:0 auto 60px auto;
	border: none;
}

/* 共通スタイル（2つ目以降の h2） */
.page-id-2578 .wp-block-heading:not(:first-of-type) {
  padding: 0 0 5px 0;
  margin-top: 100px;
  margin-bottom: 56px;
  text-align: center;
  position: relative; /* 疑似要素を扱いやすくするために念のため */
}

/* 下線部分（::after） */
.page-id-2578 .wp-block-heading:not(:first-of-type)::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #f7dc85;
  margin: 8px auto 0;
}

/* 求める人材 部分 */
/* リストマークを工具にする */
.page-id-2578 .wp-block-list li {
  list-style: none; /* デフォルトの丸を消す */
  position: relative;
  padding-left: 32px; /* 画像ぶんの余白を開ける */
  margin: 12px 0;
}

.page-id-2578 .wp-block-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px; /* 縦の位置を微調整 */
  width: 20px;   /* 画像の幅 */
  height: 28px;  /* 画像の高さ */
  background-image: url("https://catech-eng.com/wp-content/uploads/2025/11/tool.jpg");
  background-size: contain;
  background-repeat: no-repeat;
}

/* 黄色の外枠 */
.page-id-2578 .frame {
  margin: 40px 0;
  padding: 24px;
  border: 1px solid #f7dc85;
  /*display: flex; */
  justify-content: center;
  position: relative;
}

/* 右下にズレた内枠 */
.page-id-2578 .frame::after {
    content: "";
    position: absolute;
    top: 10px;   /* 上から10pxズラす */
    left: 10px;  /* 左から10pxズラす */
    right: -10px; 
    bottom: -10px;
    border: 1px solid #f7dc85;
}

/* 募集職種 */
.page-id-2578 .job {
  margin: 20px 0 100px;
  border: 1px solid #ccc;
}

.page-id-2578 .job-name {
  padding: 16px 32px 16px 16px;
  background-color: #eee;
}

.page-id-2578 .job-name p {
  font-size: 1.25em;
  font-weight: 700;
}

.page-id-2578 .job-content {
  padding: 32px 16px;
}

.page-id-2578 .wp-block-table {
  width: 800px;
  margin: 0 auto;
}

.page-id-2578 .wp-block-table th,
.page-id-2578 .wp-block-table td {
    border-left: none;
    border-right: none;
	padding: 16px 16px 16px 0;
}

.page-id-2578 .wp-block-table th {
  border-color: #f7dc85;
}

.page-id-2578 .wp-block-table td {
  font-size: 1.11em;
}

/* 福利厚生 */
.page-id-2578 .benefit {
  margin: 0 auto;
}

.page-id-2578 .benefit-frame {
  width: 800px;
  padding: 0;
  display: flex;
  justify-content: space-between;
}

.page-id-2578 .benefit-frame .benefit-list {
  width: 233px;
  padding: 0;
  text-align: center;
}

.page-id-2578 .benefit-frame .benefit-list::before {
  content: none;
}

.page-id-2578 .benefit-frame .benefit-list h6 {
  padding: 0;
  margin: 10px auto 15px;
  background-color: #fff;
}

.page-id-2578 .benefit-frame .benefit-list #benefit-lunch {
  margin-bottom: 5px;
}


.page-id-2578 .benefit-frame .benefit-list p {
  font-size: 0.9em
}

/* エントリーフォーム */
#wpcf7-f2740-p2578-o1 {
  width: 800px;
  padding: 16px;
  margin: 0 auto;
  border: 5px solid #eee;
}

.page-id-2578 .recruit {
  margin: 10px 0 24px;
  padding: 0;
  list-style-type: none;
}

.page-id-2578 li {
  display: flex;
  flex-wrap: wrap;
  margin: 10px;
  padding: 5px 0;
}

.page-id-2578 .recruit-info {
  flex-basis: 220px;
  display: flex;
  flex-direction: row;
  margin-right: 24px;
  padding-top: 8px;
  justify-content: space-between;
}

.page-id-2578 .recruit-required {
  padding: 0 12px;
  font-size: 14px;
  color: #ff0000;
}

.page-id-2578 .wpcf7-form-control-wrap {
  flex-basis: 300px;
  flex-grow: 1;
  align-self: center;
}

.page-id-2578 .recruit input[type="text"],
.page-id-2578 .recruit input[type="email"],
.page-id-2578 .recruit input[type="tel"],
.page-id-2578 .recruit input[type="number"],
.page-id-2578 .recruit input[type="text"],
.page-id-2578 .recruit textarea {
  padding: 20px 16px;
  margin: 0;
}

.page-id-2578 .wpcf7-form p {
  text-align: center;
}

.page-id-2578 .recruit-button {
  width: 280px;
  background-color: #eee;
  color: #000;
  border-color: #eee;
  padding: 12px 20px 12px 32px;
}


.page-id-2578 .recruit-button:hover {
  color: #f7dc85;
}

.page-id-2578 .wpcf7-spinner {
  display: none;
}


/* iPad対応 */
@media screen and (max-width: 768px) {
	/* 募集職種 */
	.page-id-2578 .wp-block-table {
		width: 656px;
	}
	.page-id-2578 .wp-block-table th {
		padding: 14px 14px 14px 0;
	}
	.page-id-2578 .wp-block-table td {
		padding: 14px;
	}
	
	/* 福利厚生 */
	.page-id-2578 .wp-block-group .benefit-list {
		display: block;
	}
	
	/* エントリーフォーム */
	.page-id-2578 #wpcf7-f2740-p2578-o1 {
		width: 100%;
		padding: 14px;
	}
	.page-id-2578 .recruit-info {
		margin-right: 21px;
		padding-top: 7px;
	}
	.page-id-2578 .recruit input[type="text"],
    .page-id-2578 .recruit input[type="email"],
    .page-id-2578 .recruit input[type="tel"],
    .page-id-2578 .recruit input[type="number"],
    .page-id-2578 .recruit input[type="text"],
	.page-id-2578 .recruit textarea {
		padding: 18px 14px;
		margin-bottom: 7px;
	}
}

/* スマホ対応 */
@media screen and (max-width: 480px) {
	
	/* 募集職種 */
	.page-id-2578 .table-recruit {
		width: 100%;
	}
	
	.page-id-2578 .wp-block-table th {
		width: 80px;
	}
	
	/* エントリーフォーム */
	.page-id-2578 .recruit-info {
		display:revert;
	}
	
	.page-id-2578 .recruit-required {
		padding: 0 11px;
		margin-left: 11px;
	}
}