/* recruit/job - layout & detail overrides */
body {
	width: 100%;
	background-color: #F4F9FF;
}

@media (max-width: 801px) {
	main {
		padding: 40px 0;
	}
}

.container {
	margin: 40px auto;
	padding: 0;
	width: 112rem;
}

@media (max-width: 801px) {
	.container {
		width: 100%;
		margin: 0 auto;
		padding: 0 32px;
	}
}

.joboffer-show-merit{
	padding: 0 10px;
	border-right: solid 1px #ccc;
}

.joboffer-show-merit:first-child {
	padding-left: 0;
}

.joboffer-show-merit:last-child {
	padding-right: 0;
	border-right: none;
}

.joboffer-show-btn_iframe_base {
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1;
	position: relative;
	display: inline-block;
	padding: 0.5rem 2rem;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	letter-spacing: 0.1em;
	color: #212529;
	border-radius: 0.5rem;
}

.joboffer-show-btn_iframe,
a.joboffer-show-btn_iframe {
	color: #fff;
	background-color: #fff;
	border: 1px solid #000;
}
.joboffer-show-btn_iframe:hover,
a.joboffer-show-btn_iframe:hover {
	color: #fff;
	background-color: #dcdcdc;
	border: 1px solid #000;
}

/* ===== Header ===== */
.joboffer-show-hero {
  display: flex;
  gap: 40px;
  background: #fff;
  border-radius: 12px;
}

/* 画像側 */
.joboffer-show-hero-image {
  width: 33.85%;
  position: relative;
  height: fit-content;
}

.joboffer-show-hero-image img {
  width: 100%;
  height: 198px;
  border-radius: 12px;
  display: block;
  object-fit: contain;
  object-position: center;
}

/* スライダードット */
.joboffer-show-dots {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
}

.joboffer-show-dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  display: inline-block;
  margin: 0 4px;
  cursor: pointer;
}

.joboffer-show-dot.joboffer-show-active {
  background: #2563eb;
  cursor: default;
}

/* 右情報 */
.joboffer-show-hero-info {
  flex: 1;
}

.joboffer-show-hero-info h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1.5;
}

.joboffer-show-company {
  font-size: 12px;
  color: #828282;
  margin-bottom: 8px;
}

/* メタ情報 */
.joboffer-show-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.joboffer-show-meta li {
  font-size: 14px;
  color: #444;
  margin-bottom: 0;
  padding-left: 0;
  position: relative;
}

/* 説明文 */
.joboffer-show-description {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .joboffer-show-hero {
    flex-direction: column;
  }

  .joboffer-show-hero-image {
    width: 100%;
  }
}

/* ===== Main ===== */

/* 求人ヘッダー */
.joboffer-show-header{
  display:flex;
  gap:24px;
  background:#fff;
  padding:24px;
  border-radius:8px;
}
.joboffer-show-image{
  width:320px;
  height:200px;
  background:#ddd url("https://via.placeholder.com/640x400") center/cover;
  border-radius:8px;
}
.joboffer-show-info h1{
  font-size:20px;
  margin:0 0 12px;
}
.joboffer-show-info p{
  font-size:14px;
  color:#666;
}
.joboffer-show-apply-btn{
  display:inline-block;
  margin-top:16px;
  padding:12px 24px;
  background:var(--main);
  color:#fff;
  text-decoration:none;
  border-radius:6px;
  font-weight:bold;
}

.joboffer-show-summary {
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.joboffer-show-summary-row {
  display: flex;
  margin: 0;
}

.joboffer-show-summary-row:last-child {
  border-bottom: none;
}

.joboffer-show-summary-label {
  border-radius: 8px;
  width: 240px;
  background: #F1F7FF;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: bold;
  color: #4f4f4f;
}

.joboffer-show-summary-value {
  flex: 1;
  padding: 8px 0 8px 40px;
  font-size: 14px;
  color: #4f4f4f;
  line-height: 1.8;
}

@media (max-width: 801px) {
	.joboffer-show-summary-value {
		width: 100%;
		padding: 8px 0;
	}
}

.joboffer-show-sub-title {
  font-size: 20px;
  font-weight: bold;
  color: #4f4f4f;
  margin-bottom: 24px;
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}

/* 補足テキスト */
.joboffer-show-note {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #666;
}

/* スマホ対応 */
@media (max-width: 801px) {
  .joboffer-show-summary-row {
    flex-direction: column;
  }

  .joboffer-show-summary-label {
    width: 100%;
    border-right: none;
	border-bottom: none;
  }
}

/* ===== 応募フォーム ===== */
.joboffer-show-form{
  margin-top:40px;
  background:#fff;
  padding:32px;
  border-radius:8px;
}

.joboffer-show-form-row-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.joboffer-show-form h2{
  font-size:18px;
  margin-bottom:24px;
}

.joboffer-show-form-row label{
  display:block;
  font-size:13px;
  margin-bottom: 0;
  margin-right: 10px;
  padding-left: 44px;
}
.joboffer-show-form-row input,
.joboffer-show-form-row textarea{
  width:100%;
  padding:10px;
  border:1px solid var(--border);
  border-radius:4px;
}

.joboffer-show-form-row input {
	max-width: 332px; 
}

@media (max-width: 801px) {
	.joboffer-show-form-row input {
		max-width: 100%;
	}
}

.joboffer-show-form-row textarea {
	resize: none;
}

.joboffer-show-submit{
  margin-top: 0;
  text-align:center;
  padding: 0;
}
.joboffer-show-submit button,
.joboffer-show-submit input[type="submit"],
.joboffer-show-submit .wpcf7-submit{
  padding:14px 40px;
  background:var(--main);
  color:#fff;
  border:none;
  border-radius:6px;
  font-size:16px;
  cursor:pointer;
}

/* ===== 関連求人 ===== */
.joboffer-show-entry-form {
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.joboffer-show-form-row {
  margin-bottom: 0;
  display: flex;
  border-bottom: none;
}

@media (max-width: 801px) {
	.joboffer-show-form-row {
		flex-direction: column;
	}
}

.joboffer-show-form-row-sex {
	display: flex;
	gap :10px;
}	

.joboffer-show-form-row-sex label {
	margin-right: 0;
}

.joboffer-show-form-label {
  width: 240px;
  background: #FAFAFA;
  padding: 24px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
}

@media (max-width: 801px) {
	.joboffer-show-form-label {
		width: 100%;
	}
}

.joboffer-show-form-field {
  flex: 1;
  padding: 24px 40px;
}

@media (max-width: 801px) {
	.joboffer-show-form-field {
		padding: 24px 24px;
	}
}

.joboffer-show-form-field-row {
	flex: 1;
	padding: 24px 40px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

@media (max-width: 801px) {
	.joboffer-show-form-field-row {
		padding: 24px 0;
	}
}

.joboffer-show-form-field input,
.joboffer-show-form-field select,
.joboffer-show-form-field textarea {
  width: 100%;
  padding: 9px 24px;
  margin-bottom: 0;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  font-size: 16px;
}

.joboffer-show-form-field-row select {
	max-width: 332px; 
}

@media (max-width: 801px) {
	.joboffer-show-form-field-row select {
		max-width: 100%;
	}
}

textarea {
  min-height: 100px;
  resize: vertical;
}

/* 必須 */
.joboffer-show-req {
  display: inline-block;
  background: #ff5a5a;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  padding: 4px;
  border-radius: 4px;
  margin-right: 10px;
}

/* エラー */
.joboffer-show-error {
  color: #ff5a5a;
  font-size: 14px;
  margin-top: 8px;
}

/* ラジオボタン */
.joboffer-show-radio {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 16px;
  margin-right: 12px;
  cursor: pointer;
  color: #999;
  position: relative;
}

@media (max-width: 801px) {
	.joboffer-show-radio {
		width: fit-content;
		margin-right: 0;
		flex-direction: row;
	}
}

.joboffer-show-radio::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 11px;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'><path fill-rule='evenodd' clip-rule='evenodd' d='M9 18C10.1819 18 11.3522 17.7672 12.4442 17.3149C13.5361 16.8626 14.5282 16.1997 15.364 15.364C16.1997 14.5282 16.8626 13.5361 17.3149 12.4442C17.7672 11.3522 18 10.1819 18 9C18 7.8181 17.7672 6.64778 17.3149 5.55585C16.8626 4.46392 16.1997 3.47177 15.364 2.63604C14.5282 1.80031 13.5361 1.13738 12.4442 0.685084C11.3522 0.232792 10.1819 -1.76116e-08 9 0C6.61305 3.55683e-08 4.32387 0.948211 2.63604 2.63604C0.948212 4.32387 0 6.61305 0 9C0 11.3869 0.948212 13.6761 2.63604 15.364C4.32387 17.0518 6.61305 18 9 18ZM8.768 12.64L13.768 6.64L12.232 5.36L7.932 10.519L5.707 8.293L4.293 9.707L7.293 12.707L8.067 13.481L8.768 12.64Z' fill='%23E0E0E0'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.joboffer-show-radio.joboffer-show-active::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'><path fill-rule='evenodd' clip-rule='evenodd' d='M9 18C10.1819 18 11.3522 17.7672 12.4442 17.3149C13.5361 16.8626 14.5282 16.1997 15.364 15.364C16.1997 14.5282 16.8626 13.5361 17.3149 12.4442C17.7672 11.3522 18 10.1819 18 9C18 7.8181 17.7672 6.64778 17.3149 5.55585C16.8626 4.46392 16.1997 3.47177 15.364 2.63604C14.5282 1.80031 13.5361 1.13738 12.4442 0.685084C11.3522 0.232792 10.1819 -1.76116e-08 9 0C6.61305 3.55683e-08 4.32387 0.948211 2.63604 2.63604C0.948212 4.32387 0 6.61305 0 9C0 11.3869 0.948212 13.6761 2.63604 15.364C4.32387 17.0518 6.61305 18 9 18ZM8.768 12.64L13.768 6.64L12.232 5.36L7.932 10.519L5.707 8.293L4.293 9.707L7.293 12.707L8.067 13.481L8.768 12.64Z' fill='%232F80ED'/></svg>");
}

.joboffer-show-radio input {
  display: none;
}

.joboffer-show-radio.joboffer-show-active {
  border-color: #3b82f6;
  color: #3b82f6;
  background-color: white;
}

/* 生年月日 */
.joboffer-show-date {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 1030px) {
	.joboffer-show-date {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}

.joboffer-show-date-inner {
	display: flex;
	align-items: center;
	gap: 10px;
}

.joboffer-show-date select {
  width: auto;
  margin-right: 8px;
  width: 160px;
  margin-right: 0;
}

/* 同意 */
.joboffer-show-agree {
  text-align: center;
  padding: 0;
  color: #000000;
  margin-top: 24px;
}

.joboffer-show-agree a {
  color: #3b82f6;
  text-decoration: underline;
}

.joboffer-show-agree label {
  margin-bottom: 0;
}

.joboffer-show-agree input[type="checkbox"] {
	width: 14px;
	height: 14px;
}

.joboffer-show-agree textarea {
	width: 100%;
    border: solid 1px #ccc;
    margin-bottom: 20px;
    padding: 20px;
}

/* ボタン */

.joboffer-show-submit button,
.joboffer-show-submit input[type="submit"],
.joboffer-show-submit .wpcf7-submit {
  background: #3b82f6;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  padding: 16px 72px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  margin-top: 40px;
}

/* ===== Footer ===== */
.joboffer-show-footer{
  background:#111;
  color:#aaa;
  text-align:center;
  padding:20px;
  margin-top:60px;
  font-size:12px;
}

/* ===== Responsive ===== */
@media(max-width:900px){
  .joboffer-show-header,
  .joboffer-show-detail{
    flex-direction:column;
  }
  .joboffer-show-side{
    width:100%;
  }
}

.joboffer-show-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #E5DDCE;
  margin-bottom: 32px;
}

@media (max-width: 801px) {
	.joboffer-show-detail-header {
		margin-bottom: 24px;
	}
}

.joboffer-show-detail-header-title {
  color: #4F4F4F;
  font-size: 20px;
  letter-spacing: 0;
}

.joboffer-show-apply-link {
  display: inline-block;
  background: #2F80ED;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 100px;
  padding: 8px 54px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: none;
}

@media (max-width: 801px) {
	.joboffer-show-apply-link {
		padding: 8px 24px;
	}
}

.joboffer-show-apply-link:hover {
	color: #fff;
}

.joboffer-show-tag {
  display: inline-block;
  background: #f4f7fa;
  color: #222;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 16px;
  margin-right: 6px;
  margin-bottom: 4px;
}

/* 詳細テーブル */
.joboffer-show-detail_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  margin-bottom: 0;

  margin-top :16px;
}

.joboffer-show-detail_table tbody {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.joboffer-show-detail_table th {
  background: #F1F7FF;
  color: #4f4f4f;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  width: 240px;
  border-bottom: none;
  vertical-align: top;
  border-radius: 8px;
}
.joboffer-show-detail_table td {
	width: calc(100% - 240px);
  background: #fff;
  color: #4f4f4f;
  padding: 8px 0 8px 40px;
  border-bottom: none;
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .joboffer-show-detail_table th,
  .joboffer-show-detail_table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

	.joboffer-show-detail_table td {
		padding: 20px 0;
	}
}

.joboffer-show-box_white {
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (max-width: 801px) {
	.joboffer-show-box_white {
		padding: 32px 24px;
	}
}

.joboffer-show-detail_title {
  font-size: 20px;
  margin-bottom: 10px;
}

.joboffer-show-detail_card {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
}

.joboffer-show-detail_card_inner {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.joboffer-show-detail_card_inner img {
  width: 100%;
  display: block;
  border-radius: 8px 8px 0 0;
}

/* ===== Related jobs (job detail page) ===== */
.joboffers-index-card-wrap {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

@media (max-width: 801px) {
	.joboffers-index-card-wrap {
		gap: 40px;
	}
}

.joboffers-index-card-wrap .joboffers-index-card {
	display: flex;
	background: #fff;
	margin-bottom: 0;
	box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.15);
	padding: 24px;
	border-radius: 10px;
	gap: 40px;
}

@media (max-width: 801px) {
	.joboffers-index-card-wrap .joboffers-index-card {
		flex-direction: column;
		gap: 16px;
		padding: 0;
		box-shadow: none;
	}
}

.joboffers-index-card-wrap .joboffers-index-card img {
	width: 250px;
	height: 160px;
	object-fit: cover;
	border-radius: 10px;
	flex-shrink: 0;
}

@media (max-width: 801px) {
	.joboffers-index-card-wrap .joboffers-index-card img {
		width: 100%;
		height: auto;
	}
}

.joboffers-index-card-wrap .joboffers-index-card h3 {
	font-size: 18px;
	margin-bottom: 8px;
	font-weight: bold;
}

.joboffers-index-card-wrap .joboffers-index-card ul {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.joboffers-index-card-wrap .joboffers-index-card ul li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 0;
	font-size: 12px;
	list-style: none;
}

@media (max-width: 801px) {
	.joboffers-index-card-wrap .joboffers-index-card ul li {
		font-size: 12px;
	}
}

.joboffers-index-card-wrap .joboffers-index-card button {
	padding: 8px 30px;
	margin-top: 16px;
	background: #2F80ED;
	color: #fff;
	border: none;
	border-radius: 24px;
	font-size: 14px;
	font-weight: bold;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
}

.joboffers-index-card-wrap .joboffers-index-badge {
	font-weight: bold;
	margin-bottom: 8px;
	padding: 4px 6px;
}

.joboffers-index-card-wrap .joboffers-index-company {
	font-size: 12px;
	color: #828282;
	margin-bottom: 8px;
}

/* ===== Job list (job/index.html) ===== */
main {
	width: 100%;
	background-color: #F4F9FF;
}

@media (max-width: 801px) {
	main {
		padding: 40px 0;
	}
}

.joboffers-index-page h2 {
	font-size: 20px;
	margin: 0 0 24px;
	font-weight: bold;
}

.joboffers-index-page .joboffers-index-count {
	margin-bottom: 24px;
}

.joboffers-index-page .joboffers-index-count span {
	color: #2F80ED;
	font-size: 20px;
	font-weight: bold;
}

.joboffers-index-page .joboffers-index-card {
	display: flex;
	background: #fff;
	margin-bottom: 32px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
	padding: 24px;
	border-radius: 10px;
	gap: 40px;
	width: 100%;
}

@media (max-width: 801px) {
	.joboffers-index-page .joboffers-index-card {
		flex-direction: column;
	}
}

.joboffers-index-page .joboffers-index-card img {
	width: 250px;
	height: 160px;
	object-fit: cover;
	border-radius: 10px;
	flex-shrink: 0;
}

@media (max-width: 801px) {
	.joboffers-index-page .joboffers-index-card img {
		width: 100%;
		height: auto;
	}
}

.joboffers-index-page .joboffers-index-card h3 {
	font-size: 18px;
	margin-bottom: 8px;
	font-weight: bold;
}

.joboffers-index-page .joboffers-index-company {
	font-size: 12px;
	color: #828282;
	margin-bottom: 8px;
}

.joboffers-index-page .joboffers-index-card ul {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.joboffers-index-page .joboffers-index-card ul li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 0;
	font-size: 12px;
	list-style: none;
}

.joboffers-index-page .joboffers-index-card button {
	margin-top: 16px;
	padding: 10px 30px;
	background: #2F80ED;
	color: #fff;
	border: none;
	border-radius: 24px;
	font-size: 14px;
	font-weight: bold;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
}
