@charset "UTF-8";

:root{
 --dmk--maincolor: #1d2088;	/* DMKメインカラー（紺）： #1d2088 */
 --dmk--subcolor: #0883cd;	/* DMKアクセントカラー（水色）： #0080cc */
  --radius: 12px;
  --border: 1px solid #d8e3f2;
  --card-bg: #fff;
  --q-bg: #f8fbff;
  --q-color: #1a3e78;
  --text-color: #192c55;
  --muted: #7f9bbf;
  --shadow: 0 4px 14px rgba(26,62,120,.08);
  --transition: 240ms ease;
  --maxw: 920px;
  --bg-top: #d4e7ff;           /* 背景グラデーション上部 */
  --bg-bottom: #f8fbff;        /* 背景グラデーション下部 */
  --card-radius: 22px;
  --card-shadow: 0 18px 40px rgba(0,0,0,0.12);

  --text-main: #1a3e78;
  --text-muted: #6a8c9e;

  --accent: #0883cd;           /* ラベルのアクセント（濃い線にも使用） */
  --line-strong: #0883cd;      /* 項目名用（濃い） */
  --line-weak: #cfe0ef;        /* 詳細用（薄い） */

  --maxw: 920px;
  --pad-x: 28px;
  --pad-y: 28px;
}


.contents{
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url('../images/bg.png');
	width:100%;
	background-repeat:repeat-y;
	background-size: contain;
	z-index: 3;
}


/*===============
 募集要項
===============*/
.jobDescription__bg{
	width:100%;
	background: linear-gradient(to bottom, var(--bg-top), var(--bg-bottom));
}

.jobDescription{
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	line-height: 1.7;
	color: var(--text-color);
	max-width: var(--maxw);
	margin: 0 auto;
	line-height: 1.5;
	color: var(--text-main);
	min-height: 100svh;
	padding: 28px;
	margin-bottom:20px;
}

.jobDesc__header{
	display: flex;
	flex-direction: column;
	margin: 0 0 20px;
	text-align:left;
}

.jobDesc__eyebrow{
	color: var(--dmk--subcolor);
	font-weight: 800;
	letter-spacing: .06em;
	font-size: clamp(12px, 2.6vw, 14px);
}
.jobDesc__title{
	font-size: clamp(20px, 4vw, 32px);
	font-weight: 800;
	margin: 0;
}

    /* カード */
	.card{
		max-width: var(--maxw);
		margin: 0 auto;
		background: var(--card-bg);
		border-radius: var(--card-radius);
		box-shadow: var(--card-shadow);
		overflow: hidden;
		background-image:
			radial-gradient(1200px 400px at 50% -20%, rgba(255,255,255,0.65), transparent);
    }

    .card__inner{ padding: var(--pad-y) var(--pad-x); }

    .spec{
		display: grid;
		grid-template-columns: 220px 1fr;
		column-gap: 24px;
		row-gap: 0;
    }

    .spec__row{
		display: contents; /* dt と dd を同じグリッド行に配置 */
    }

    /* 項目名 */
    .spec dt{
		display: flex;
		align-items: center;
		gap: 10px;
		font-weight: 700;
		color: var(--accent);
		font-size: clamp(14px, 2.4vw, 16px);
		align-items: flex-start; 
		border-bottom: 1px solid var(--line-strong);
		padding: 12px 0;
    }

    /* 要綱詳細：薄い下線 */
    .spec dd{
		margin: 0;
		font-size: clamp(14px, 2.6vw, 16px);
		color: var(--text-main);
		border-bottom: 1px solid var(--line-weak);
		padding: 12px 0;
    }

    /* 箇条書き */
    .bullet{
		list-style: none;
		padding: 0;
		margin: 0;
    }
    
    .bullet li{
		position: relative;
		padding-left: 1.2em;
		margin: .3em 0;
    }

    .bullet li::before{
		content: "・";
		position: absolute; left: 0;
		color: var(--text-muted);
    }

    /* 補助見出し */
    .section-label{
		font-weight: 700;
		color: var(--text-main);
		display: inline-flex;
		align-items: center;
		gap: 6px;
    }
    .section-label::before{
		content: "■";
		color: var(--text-muted);
		font-weight: 900;
    }
 
/*===============
 待遇
===============*/
.benefits__bg{
	background: linear-gradient(to bottom, #f8fbff, #FFFFFF);
}

table{
	margin:10px;
	border-collapse: collapse;
	width:90%;
}

th {
	padding: 10px;
	border: 1px solid #ccc;
}

td {
	padding: 10px;
	border: 1px solid #ccc;
	text-align: right;
}

.th_left{
	text-align: left;
}
/*===============
 よくあるご質問
===============*/
.faq{
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	line-height: 1.7;
	color: var(--text-color);
	margin: 0 10px;
	max-width: var(--maxw);
	margin: 0 auto;
}

.faq__header{
	display: flex;
	flex-direction: column;
	margin: 0 0 20px;
	text-align:right;
}
.faq__eyebrow{
	color: var(--dmk--subcolor);
	font-weight: 800;
	letter-spacing: .06em;
	font-size: clamp(12px, 2.6vw, 14px);
}
.faq__title{
	font-size: clamp(20px, 4vw, 32px);
	font-weight: 800;
	margin: 0;
}

.faq__list{
	display: grid;
	gap: 14px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.faq-item{
	border: var(--border);
	border-radius: var(--radius);
	background: var(--card-bg);
	box-shadow: var(--shadow);
	overflow: hidden;
}

/* 質問パネル */
.faq-item__header{
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	background: var(--q-bg);
	cursor: pointer;
	user-select: none;
}

.faq-item__q{
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	color: var(--q-color);
	font-size: clamp(14px, 2.6vw, 18px);
}
.faq-item__q::before{
	content: "Q.";
	color: var(--muted);
	font-weight: 800;
}

/* 開閉アイコン */
.faq-item__icon{
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: inline-grid;
	place-items: center;
	border: 1px solid #cfe0ff;
	background: #e7f0ff;
	color: var(--q-color);
	transition: background var(--transition), border-color var(--transition);
	pointer-events: none;
}

.faq-item__header:hover .faq-item__icon{
	background: #d8e8ff;
}

.faq-item__icon svg{
	width: 18px;
	height: 18px;
	transition: transform var(--transition);
	transform: rotate(0deg);
}

/* 開いたとき矢印を反転 */
.faq-item__header[aria-expanded="true"] .faq-item__icon svg{
	transform: rotate(180deg);
}

/* 回答パネル */
.faq-item__panel{
	padding: 0 18px;
	overflow: hidden;
	max-height: 0;
	transition: max-height var(--transition);
	will-change: max-height;
}
.faq-item__inner{
	display: flex;
	gap: 10px;
	padding: 14px 0 18px;
	border-top: var(--border);
	font-size: clamp(13px, 2.4vw, 16px);
	color: var(--text-color);
}

.faq-item__inner::before{
	content: "A.";
	color: var(--muted);
	font-weight: 800;
}
.faq-item__inner p{
	margin: 0 0 10px;
}

@media screen and (max-width: 480px) {
	.contents{
		background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url('../images/bg_phone.png');
	}
      
	.jobDescription{
	  padding: 14px;
	}

    .spec dd:last-of-type{
		border-bottom-color: var(--line-weak);
	}

	.card__inner{
		padding: 22px 18px; 
	}
	.spec{
		grid-template-columns: 1fr; /* ラベル→詳細の縦並び */
	}
	
	.spec dt{
		border:none;
	}
	.spec dd{
		padding-top: 8px;
		padding-bottom: 12px;
	}
  
	/* よくあるご質問 */
	.faq{
		width:90%;
	}
}
