/*
=========================================
マン活 職業ページ 共通CSS
Version : 1.0
=========================================
*/

/* =========================
   共通設定
========================= */

.mankatsu-job-page {
	--job-main: #e97f98;
	--job-dark: #c95973;
	--job-light: #fff1f4;
	--job-accent: #f4b85f;
	--job-text: #4d4547;
	--job-subtext: #746b6e;
	--job-border: #efdadd;
	--job-white: #ffffff;

	max-width: 920px;
	margin: 0 auto;
	color: var(--job-text);
	font-size: 16px;
	line-height: 1;
	font-family:
		-apple-system,
		BlinkMacSystemFont,
		"Hiragino Kaku Gothic ProN",
		"Hiragino Sans",
		"Yu Gothic",
		Meiryo,
		sans-serif;
}

.mankatsu-job-page *,
.mankatsu-job-page *::before,
.mankatsu-job-page *::after {
	box-sizing: border-box;
}

.mankatsu-job-page img {
	max-width: 100%;
	height: auto;
}

.mankatsu-job-page a {
	color: var(--job-dark);
}

.mankatsu-job-page a:hover {
	text-decoration: none;
}


/* =========================
   ファーストビュー
========================= */

.job-hero {
	display: grid;
	grid-template-columns: minmax(230px, 34%) 1fr;
	grid-template-areas:
		"image content"
		"summary summary";
	gap: 28px;
	align-items: start;
	margin-bottom: 44px;
	padding: 32px;
	background: linear-gradient(135deg, #fff8fa 0%, #fff0f4 100%);
	border: 1px solid var(--job-border);
	border-radius: 22px;
}

.job-hero__image {
	grid-area: image;
	align-self: start;
	overflow: hidden;
	background: var(--job-white);
	border-radius: 18px;
	box-shadow: 0 8px 22px rgba(130, 77, 90, 0.1);
}

.job-hero__image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.job-hero__content {
	grid-area: content;
	align-self: start;
}

.job-hero__heading {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 1px;
}

.job-hero__label {
	display: inline-block;
	margin: 0;
	padding: 4px 14px;
	color: var(--job-dark);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	background: var(--job-white);
	border: 1px solid var(--job-border);
	border-radius: 20px;
}

.job-hero__title {
	display: inline-block;
	flex: 0 1 auto;
	margin: 0 !important;
	padding: 0 !important;
	color: #6b4e45;
	font-size: 23px;
	font-weight: 500;
	line-height: 1.5;
	word-break: keep-all;
	white-space: normal;
}

.job-hero__lead {
	margin: 0;
	font-size: 15px;
}


/* =========================
   概要カード
========================= */

.job-summary {
	grid-area: summary;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.job-summary li {
	padding: 18px;
	background: var(--job-white);
	border: 1px solid var(--job-border);
	border-radius: 13px;
}

.job-summary__title {
	display: block;
	margin-bottom: 1px;
	color: var(--job-dark);
	font-size: 14px;
	font-weight: 700;
}

.job-summary__text {
	display: block;
	font-size: 15px;
	line-height: 1.7;
}


/* =========================
   共通見出し
========================= */

.job-section {
	margin-bottom: 52px;
}

.job-section h2 {
	position: relative;
	margin: 0 0 24px;
	padding: 13px 16px 13px 22px;
	color: #6b4e45;
	font-size: 22px;
	font-weight: normal;
	line-height: 1.5;
	background: var(--job-light);
	border-radius: 10px;
}

.job-section h2::before {
	position: absolute;
	top: 12px;
	bottom: 12px;
	left: 0;
	width: 6px;
	background: var(--job-main);
	border-radius: 8px;
	content: "";
}

.job-section h3 {
	margin: 34px 0 14px;
	padding-bottom: 8px;
	color: var(--job-dark);
	font-size: 20px;
	border-bottom: 1px solid var(--job-border);
}

.job-section p {
	margin: 0 0 18px;
}


/* =========================
   職業の1日
========================= */

.job-day-section {
	max-width: 920px;
	margin-right: auto;
	margin-left: auto;
}

.job-day-note {
	margin: -8px 0 26px;
	padding: 0;
	color: #756a67;
	font-size: 14px;
	line-height: 1.8;
	background: none;
	border: 0;
}

.job-timeline {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
}

.job-timeline::before {
	position: absolute;
	top: 14px;
	bottom: 14px;
	left: 62px;
	width: 2px;
	background: #efdadd;
	content: "";
}

.job-timeline__item {
	position: relative;
	display: grid;
	grid-template-columns: 125px minmax(0, 1fr);
	align-items: start;
	gap: 18px;
	width: 100%;
	margin-bottom: 20px;
}

.job-timeline__item:last-child {
	margin-bottom: 0;
}

.job-timeline__time {
	position: relative;
	z-index: 1;
	align-self: start;
	padding-top: 15px;
	color: #b65f75;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}

.job-timeline__time::after {
	position: absolute;
	top: 20px;
	right: -7px;
	width: 10px;
	height: 10px;
	background: #e98da0;
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px #e8cdd3;
	content: "";
}

.job-timeline__content {
	align-self: start;
	min-width: 0;
	height: auto;
min-height: 0;
margin: 0 !important;
	padding: 17px 19px;
	background: #ffffff;
	border: 1px solid #efdadd;
	border-radius: 10px;
}

.job-timeline__content h3 {
	width: auto;
	max-width: 100%;
	margin: 0 0 7px;
	padding: 0;
	color: #6b4e45;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.5;
	border: 0;
	box-sizing: border-box;
}

.job-timeline__content p {
	margin: 0;
	color: #655d5f;
	font-size: 15px;
	line-height: 1.8;
}


/* =========================
   向いている人
========================= */

.job-fit-intro {
	margin: 0 0 20px;
	color: #655d5f;
	line-height: 1.9;
}

.job-fit-list {
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.job-fit-list li {
	position: relative;
	margin: 0;
	padding: 11px 0 11px 24px;
	color: #5f5759;
	line-height: 1.8;
	background: none;
	border-bottom: 1px solid #eee1e4;
}

.job-fit-list li:first-child {
	border-top: 1px solid #eee1e4;
}

.job-fit-list li::before {
	position: absolute;
	top: 19px;
	left: 5px;
	width: 7px;
	height: 7px;
	background: #d98a9a;
	border-radius: 50%;
	content: "";
}


/* =========================
   職業に就くまでのステップ
========================= */

.job-step-intro {
	margin: 0 0 26px;
	color: #655d5f;
	line-height: 1.9;
}

.job-steps {
	position: relative;
	margin: 0;
	padding: 0;
}

.job-steps::before {
	position: absolute;
	top: 24px;
	bottom: 24px;
	left: 22px;
	width: 2px;
	background: #efdadd;
	content: "";
}

.job-steps__item {
	position: relative;
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 17px;
	margin-bottom: 22px;
}

.job-steps__item:last-child {
	margin-bottom: 0;
}

.job-steps__number {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	background: #e98da0;
	border: 5px solid #ffffff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px #e8cdd3;
}

.job-steps__content {
	min-width: 0;
	padding: 17px 19px;
	background: #ffffff;
	border: 1px solid #efdadd;
	border-radius: 10px;
}

.job-steps__content h3 {
	width: auto;
	max-width: 100%;
	margin: 0 0 8px;
	padding: 0;
	color: #6b4e45;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.5;
	background: none;
	border: 0;
}

.job-steps__content p {
	margin: 0;
	color: #655d5f;
	font-size: 15px;
	line-height: 1.85;
}


/* 応募・契約などの注意 */

.job-step-caution {
	margin-top: 28px;
	padding: 20px 22px;
	background: #fff9ed;
	border: 1px solid #efd7a8;
	border-radius: 10px;
}

.job-step-caution__title {
	margin: 0 0 8px;
	color: #7a5837;
	font-size: 16px;
	font-weight: 600;
}

.job-step-caution p {
	margin-bottom: 10px;
}

.job-step-caution p:last-child {
	margin-bottom: 0;
}


/* =========================
   ステップ内Q&A
========================= */

.job-step-faq {
	position: relative;
	margin: 2px 0 22px 63px;
	padding: 17px 19px;
	background: #fff8fa;
	border-left: 4px solid #e98da0;
}

.job-step-faq__question {
	position: relative;
	margin: 0 0 8px;
	padding-left: 26px;
	color: #6b4e45;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.6;
}

.job-step-faq__question::before {
	position: absolute;
	top: 0;
	left: 0;
	color: #c8697d;
	font-size: 17px;
	font-weight: 700;
	content: "Q";
}

.job-step-faq__answer {
	position: relative;
	margin: 0;
	padding-left: 26px;
	color: #655d5f;
	font-size: 14px;
	line-height: 1.85;
}

.job-step-faq__answer::before {
	position: absolute;
	top: 0;
	left: 0;
	color: #d69a58;
	font-size: 17px;
	font-weight: 700;
	content: "A";
}


/* =========================
   仕事について知っておきたいこと
========================= */

.job-caution-intro {
	margin: 0 0 24px;
	color: #655d5f;
	line-height: 1.9;
}

.job-caution-list {
	margin: 0;
	padding: 0;
	border-top: 1px solid #eee1e4;
}

.job-caution-list__item {
	position: relative;
	padding: 18px 0 18px 28px;
	border-bottom: 1px solid #eee1e4;
}

.job-caution-list__item::before {
	position: absolute;
	top: 27px;
	left: 7px;
	width: 7px;
	height: 7px;
	background: #d98a9a;
	border-radius: 50%;
	content: "";
}

.job-caution-list__item h3 {
	width: auto;
	max-width: 100%;
	margin: 0 0 7px;
	padding: 0;
	color: #6b4e45;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.5;
	background: none;
	border: 0;
}

.job-caution-list__item p {
	margin: 0;
	color: #655d5f;
	font-size: 15px;
	line-height: 1.85;
}


/* =========================
   漫画紹介
========================= */

.job-comic-section {
	margin-bottom: 46px;
}

.job-comic-lead {
	margin: 0 0 20px;
	color: #655d5f;
	font-size: 15px;
	line-height: 1.9;
}

.job-comic-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 14px;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
}

.job-comic-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #efdadd;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(109, 76, 83, 0.05);
}

.job-comic-card__heading {
	margin: 0;
	padding: 10px 15px 5px;
	background: #f8f2ee;
	border-bottom: 1px solid #efdadd;
}

.job-comic-card__heading h3 {
	display: block;
	width: auto;
	max-width: 100%;
	margin: 0 0 2px;
	padding: 0;
	color: #6b4e45;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.25;
	word-break: keep-all;
	background: none;
	border: 0;
	box-shadow: none;
}

.job-comic-card__author {
	margin: 0 !important;
	padding: 0 !important;
	color: #827577;
	font-size: 12px;
	line-height: 1.4;
}

.job-comic-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
	margin: 0;
	padding: 10px 15px;
	background: #ffffff;
}

.job-comic-card__text {
	display: block;
	min-height: 3.4em;
	margin: 0 0 18px;
	padding: 0;
	color: #655d5f;
	font-size: 14px;
	line-height: 1.7;
}

.job-comic-card__more {
	margin: auto 0 0;
	padding: 2px 0 0;
	line-height: 1.3;
}

.job-comic-card__link {
	display: inline;
	margin: 0;
	padding: 0;
	color: #8d6572;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	border: 0;
}

.job-comic-card__link:hover {
	color: #93495b;
	text-decoration: underline;
}


/* =========================
   おすすめ漫画の投稿
========================= */

.job-comic-submit {
	margin-top: 42px;
}

.job-comic-submit__intro {
	margin: 0 0 22px;
	padding: 18px 20px;
	background: #fff9fa;
	border: 1px solid #efdadd;
	border-radius: 10px;
}

.job-comic-submit__intro p {
	margin: 0 0 8px;
	color: #655d5f;
	font-size: 15px;
	line-height: 1.85;
}

.job-comic-submit__intro p:last-child {
	margin-bottom: 0;
}

.job-comic-submit__form {
	padding: 20px;
	background: #ffffff;
	border: 1px solid #efdadd;
	border-radius: 10px;
}

.job-comic-submit__label {
	margin: 0 0 6px !important;
	color: #6b4e45;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.6;
}

.job-comic-submit__label span {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 7px;
	color: #ffffff;
	font-size: 11px;
	font-weight: 600;
	background: #d97f93;
	border-radius: 10px;
}

.job-comic-submit__label em {
	margin-left: 5px;
	color: #8b7e80;
	font-size: 12px;
	font-style: normal;
	font-weight: normal;
}

.job-comic-submit__note {
	margin: -2px 0 8px !important;
	color: #857a7c;
	font-size: 12px;
	line-height: 1.6;
}

.job-comic-submit__field {
	margin: 0 0 18px;
}

.job-comic-submit__field input,
.job-comic-submit__field textarea,
.job-comic-submit input[type="text"],
.job-comic-submit textarea {
	width: 100%;
	max-width: 100%;
	padding: 9px 10px;
	font-size: 14px;
	line-height: 1.6;
	background: #ffffff;
	border: 1px solid #dcc8cd;
	border-radius: 5px;
}

.job-comic-submit textarea {
	min-height: 110px;
	resize: vertical;
}

.job-comic-submit__button {
	margin-top: 6px;
}

.job-comic-submit input[type="submit"],
.job-comic-submit button {
	display: inline-block;
	padding: 9px 22px;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	background: #d97f93;
	border: 0;
	border-radius: 5px;
	cursor: pointer;
}

.job-comic-submit input[type="submit"]:hover,
.job-comic-submit button:hover {
	background: #c7687e;
}

.job-comic-submit__privacy {
	margin: 10px 0 0 !important;
	color: #857a7c;
	font-size: 13px;
	line-height: 1.7;
}


/* =========================
   レスポンシブ
========================= */

@media screen and (max-width: 800px) {
	.job-comic-list {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.job-comic-card {
		height: auto;
	}
}

@media screen and (max-width: 700px) {
	.job-hero {
		grid-template-columns: 1fr;
		grid-template-areas:
			"image"
			"content"
			"summary";
		gap: 22px;
		padding: 22px;
	}

	.job-hero__image {
		max-width: 300px;
		margin: 0 auto;
	}

	.job-hero__title {
		font-size: 21px;
	}

	.job-section {
		margin-bottom: 43px;
	}

	.job-section h2 {
		font-size: 21px;
	}

	.job-summary {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 600px) {
	.job-timeline::before {
		left: 16px;
	}

	.job-timeline__item {
		grid-template-columns: 1fr;
		gap: 6px;
		padding-left: 40px;
	}

	.job-timeline__time {
		padding-top: 0;
		text-align: left;
	}

	.job-timeline__time::after {
		top: 4px;
		right: auto;
		left: -30px;
	}

	.job-timeline__content {
		padding: 15px;
	}

	.job-timeline__content h3 {
		font-size: 16px;
	}

	.job-steps::before {
		left: 19px;
	}

	.job-steps__item {
		grid-template-columns: 40px minmax(0, 1fr);
		gap: 12px;
	}

	.job-steps__number {
		width: 40px;
		height: 40px;
		font-size: 14px;
	}

	.job-steps__content {
		padding: 15px;
	}

	.job-steps__content h3 {
		font-size: 16px;
	}

	.job-step-faq {
		margin-left: 52px;
		padding: 15px;
	}

	.job-caution-list__item {
		padding-left: 24px;
	}

	.job-caution-list__item::before {
		left: 5px;
	}

	.job-comic-card__heading {
		padding: 10px 13px 5px;
	}

	.job-comic-card__body {
		padding: 6px 13px;
	}

	.job-comic-submit__intro,
	.job-comic-submit__form {
		padding: 16px;
	}
}
