@charset "UTF-8";

:root {
	--brand-blue: #006cb6;
	--brand-gray: #879496;
	--text-dark: #313131;
	--bg-light: #edf6f8;
	--border-color: #c9d6df;
	--dashed-line: #e2e8ed;
	--modal-overlay: rgba(0, 0, 0, 0.7);
	--modal-shadow: rgba(0, 0, 0, 0.3);
	--white: #fff;
	--white-10: rgba(255, 255, 255, 0.1);
	--white-20: rgba(255, 255, 255, 0.2);
	--white-30: rgba(255, 255, 255, 0.3);
	--border-blue: #bad5e8;
	--line-dashed: #D7DDE2;
}

*{
	box-sizing: border-box;
}

.about04 .h1-box {
	background-image: url("../img/evi_img/evi-header_pc.png");
}

.about04_01 p {
	font-size: 16px;
	max-width: 780px;
	margin: 0 auto 100px;
}

.about04_02 {
	width: 100%;
	padding: 60px 20px;
	box-sizing: border-box;
	background-color: var(--bg-light);
}

.about04_02 .container,
.career .container {
	max-width: 1200px;
	margin: 0 auto;
}

.about04_02 .container {
	padding: 0 0 220px;
}

.about04_02 .main-title,
.career .main-title {
	text-align: center;
	font-size: 34px;
	font-weight: 500;
	margin: 0;
	padding: 0;
	color: var(--brand-blue);
}

.about04_02 .main-title {
	margin-bottom: 50px;
	font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
	letter-spacing: 0.1em;
}

.about04_02 .section-area {
	width: 100%;
	margin-bottom: 0;
}

.about04_02 .section-area.type02 {
	margin-top: -30px;
}

.about04_02 .section-header-blue,
.about04_02 .patient-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 80px;
	font-size: 28px;
	font-weight: bold;
	box-sizing: border-box;
	background-color: var(--brand-blue);
	color: var(--white);
	position: relative;
}

.about04_02 .section-header-blue {
	width: 100%;
	margin: 0;
	text-align: center;
	z-index: 10;
}

.about04_02 .section-header-blue.type01,
.about04_02 .section-header-blue.type02 {
	width: 540px;
	max-width: 100%;
	margin: 0 auto;
}

.about04_02 .section-header-blue.type02 {
	margin-bottom: -40px;
}

.about04_02 .section-header-gray {
	background-color: var(--brand-gray);
	color: var(--white);
	text-align: center;
	padding: 10px 0;
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 20px;
}

.about04_02 .grid-layout,
.about04_02 .full-width-img-box {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--brand-blue);
	background-color: var(--white);
}

.about04_02 .grid-layout {
	display: grid;
	grid-template-columns: 1fr;
	padding: 50px 80px;
}

.about04_02 .grid-layout.no-top-border {
	border-top: 1px solid var(--brand-blue);
}

.about04_02 p {
	font-size: 15px;
	line-height: 1.8;
	margin: 0;
	color: var(--text-dark);
}

.about04_02 .label-text {
	font-size: 18px;
	font-weight: bold;
	color: var(--text-dark);
}

.about04_02 .flow-connector,
.about04_02 .arrow-v {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.about04_02 .flow-connector {
	width: 100%;
	margin-bottom: 10px;
}

.about04_02 .arrow-v-line {
	width: 16px;
	background-color: var(--brand-blue);
}

.about04_02 .arrow-v-head {
	width: 0;
	height: 0;
	border-left: 18px solid transparent;
	border-right: 18px solid transparent;
	border-top: 22px solid var(--brand-blue);
}

.about04_02 .split-arrows {
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding: 0 190px;
}

.about04_02 .arrow-with-text {
	display: flex;
	align-items: center;
}

.about04_02 .arrow-with-text.left .label-text {
	margin-top: -30px;
	margin-left: 20px;
}

.about04_02 .arrow-with-text.right {
	justify-content: flex-end;
}

.about04_02 .arrow-with-text.right .label-text {
	margin-top: -30px;
	margin-right: 20px;
}

.about04_02 .img-container {
	width: 100%;
	margin-bottom: 20px;
}

.about04_02 .img-container img,
.about04_02 .full-width-img-box img,
.about04_02 .icon-home-box img {
	width: 100%;
	height: auto;
	display: block;
}

.about04_02 .full-width-img-box {
	padding: 15px;
	position: relative;
	z-index: 1;
}

.about04_02 .flow-to-patient {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	padding: 0 0 10px;
}

.about04_02 .flow-to-patient .arrow-with-text {
	max-width: 100%;
	padding-right: 190px;
	justify-content: flex-end;
}

.about04_02 .flow-to-patient .label-text {
	margin-right: 20px;
}

.about04_02 .patient-banner {
	width: 600px;
	max-width: 100%;
	margin-left: auto;
}

.about04_02 .icon-home-box {
	position: absolute;
	top: -45px;
	right: 15px;
	width: 100px;
	z-index: 20;
}

.career .career-main {
	width: 100%;
}

.career .container {
	padding: 0 0 160px;
}

.career .main-title {
	margin-bottom: 60px;
	font-family: serif;
	letter-spacing: 0.15em;
}

.career .career-box {
	display: grid;
	grid-template-columns: repeat(3, 380px);
	gap: 30px;
	justify-content: center;
}

.career .career-job-card,
.btn02 {
	background-color: var(--brand-blue);
	box-sizing: border-box;
	cursor: pointer;
	transition: opacity 0.3s ease;
}

.career .career-job-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 380px;
	height: 120px;
	padding: 10px;
	position: relative;
}

.career .career-job-card:hover,
.btn02:hover {
	opacity: 0.9;
}

.career .career-job-card h4,
.btn02 .btn-label,
.modal-body h4 {
	font-family: serif;
	font-weight: 500;
}

.career .career-job-card h4 {
	color: var(--white);
	font-size: 18px;
	margin: 0 0 10px;
	letter-spacing: 0.05em;
	line-height: 1.4;
}

.career .plus-icon-box {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin-top: 10px;
	border-radius: 50%;
	background-color: var(--white);
	position: relative;
	box-shadow:
		0 0 0 6px var(--white-10),
		0 0 0 14px var(--white-10);
}

.career .plus-icon-box::before,
.career .plus-icon-box::after {
	content: "";
	position: absolute;
	background-color: var(--brand-blue);
}

.career .plus-icon-box::before {
	width: 15px;
	height: 2px;
}

.career .plus-icon-box::after {
	width: 2px;
	height: 15px;
}

.career .job-detail-data {
	display: none;
}

.modal-overlay {
	display: none;
	align-items: center;
	justify-content: center;
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 20px;
	box-sizing: border-box;
	background-color: var(--modal-overlay);
	z-index: 9999;
}

.modal-content {
	width: 100%;
	max-width: 800px;
	padding: 60px;
	box-sizing: border-box;
	background-color: var(--white);
	position: relative;
	box-shadow: 0 15px 40px var(--modal-shadow);
	animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
	from {
		opacity: 0;
		transform: scale(0.95);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

.modal-close {
	position: absolute;
	top: 25px;
	right: 25px;
	font-size: 35px;
	line-height: 1;
	cursor: pointer;
	color: var(--brand-gray);
}

.modal-body {
	text-align: left;
}

.modal-body h4 {
	display: inline-block;
	margin: 0 0 25px;
	padding-bottom: 12px;
	font-size: 24px;
	color: var(--brand-blue);
	border-bottom: 2px solid var(--brand-blue);
}

.modal-body p {
	font-size: 16px;
	line-height: 1.8;
	margin: 0;
	color: var(--text-dark);
}

.modal-body p span {
	color: var(--brand-blue);
	font-weight: bold;
}

.career .career-entry {
	padding: 160px 0;
	background-color: var(--bg-light);
}

.career-map {
	max-width: 800px;
}

.btn02 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 390px;
	height: 80px;
	margin: 60px auto 0;
	padding: 0 25px 0 35px;
	text-decoration: none;
}

.btn02 .btn-label {
	color: var(--white);
	font-size: 18px;
	white-space: nowrap;
	margin-right: 25px;
	letter-spacing: 0.05em;
}

.btn02 .btn-line {
	flex-grow: 1;
	height: 1px;
	background-color: var(--white);
	position: relative;
}

.btn02 .circle-point {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 50%;
	right: 0;
	width: 23px;
	height: 23px;
	border-radius: 50%;
	background-color: var(--white-10);
	transform: translate(50%, -50%);
}

.btn02 .circle-point::before {
	content: "";
	display: flex;
	align-items: center;
	justify-content: center;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background-color: var(--white-20);
}

.btn02 .circle-point::after {
	content: "";
	position: absolute;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: var(--white);
}

.career .table-wrapper:before,
.career .table-wrapper:after {
	display: none;
}

.career .sub-title {
	text-align: center;
	font-size: 16px;
	margin-bottom: 50px;
	color: var(--text-dark);
}

.career .table-wrapper,
.career .publish-date {
	max-width: 930px;
	margin: 0 auto;
}

.career .table-wrapper {
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
}

.career .ratio-table :before,.career .ratio-table :after {
	display: none;
}

.career .ratio-table {
	min-width: 100%;
	margin: 0;
	border-collapse: collapse;
	border: 5px solid var(--border-blue);
	background-color: var(--white);
	table-layout: fixed;
	box-sizing: border-box;
}

.career .ratio-table th,
.career .ratio-table td {
	height: 90px;
	padding: 15px;
	border: 1px solid var(--border-blue);
	text-align: center;
	font-size: 16px;
	color: var(--text-dark);
	vertical-align: middle;
	box-sizing: border-box;
}

.career .ratio-table thead th {
	background-color: var(--brand-gray);
	color: var(--white);
	font-weight: bold;
	border-top: none;
	border-left: 1px solid var(--white-30);
	border-right: 1px solid var(--white-30);
}

.career .ratio-table .col-label {
	width: 312px;
}

.career .ratio-table .col-data {
	width: 206px;
}

.career .ratio-table td:nth-child(1) {
	text-align: left;
	padding-left: 30px;
	white-space: nowrap;
}

.career .ratio-table thead th:first-child {
	border-left: none;
}

.career .publish-date {
	margin-top: 10px;
	text-align: right;
	font-size: 14px;
	color: var(--text-dark);
}

@media (min-width: 768px) {
	.about04_02 .grid-layout {
		grid-template-columns: repeat(2, 1fr);
		gap: 0;
	}

	.about04_02 .grid-item {
		box-sizing: border-box;
	}

	.about04_02 .grid-item:first-child {
		padding-right: 70px;
		border-right: 1px dashed var(--dashed-line);
	}

	.about04_02 .grid-item:last-child {
		padding-left: 70px;
	}
}

@media (max-width: 1200px) {
	.career .career-box {
		grid-template-columns: repeat(auto-fit, 380px);
		padding: 0 20px;
	}
}

@media (max-width: 767px) {
	.about04 .h1-box {
		background-image: url("../img/evi_img/evi-header_sp.png");
	}

	.about04_01 p {
		font-size: 14px;
		padding: 20px;
		margin-bottom: 40px;
	}

	.about04_02 {
		padding: 40px 15px;
	}

	.about04_02 .container {
		padding-bottom: 100px;
	}

	.about04_02 .main-title {
		font-size: 26px;
		margin-bottom: 30px;
	}

	.about04_02 .section-area,
	.about04_02 .section-area.type02 {
		margin-top: 0;
	}

	.about04_02 .section-header-blue,
	.about04_02 .patient-banner {
		height: 60px;
		font-size: 20px;
	}

	.about04_02 .section-header-blue.type02 {
		margin-bottom: -20px;
	}

	.about04_02 .patient-banner {
		width: 100%;
	}

	.about04_02 .section-header-gray {
		font-size: 18px;
	}

	.about04_02 .label-text {
		display: block;
		max-width: 105px;
		font-size: 14px;
		line-height: 1.4;
		margin-top: 0 !important;
		word-break: break-all;
	}

	.about04_02 .grid-layout {
		padding: 20px;
	}

	.about04_02 .full-width-img-box {
		padding: 8px;
	}

	.about04_02 .icon-home-box {
		top: -35px;
		right: 10px;
		width: 70px;
	}

	.about04_02 .split-arrows {
		padding: 0 10px 10px;
	}

	.about04_02 .arrow-with-text.left .label-text {
		margin-left: 10px;
	}

	.about04_02 .arrow-with-text.right .label-text {
		margin-right: 10px;
	}

	.about04_02 .flow-to-patient .arrow-with-text {
		width: 100%;
		padding-right: 100px;
		justify-content: flex-end;
		box-sizing: border-box;
		transform: translateX(-15px);
	}

	.about04_02 .grid-item:first-child {
		margin-bottom: 40px;
	}

	.career .career-main {
		padding: 40px 15px;
	}

	.career .container {
		padding-bottom: 100px;
	}

	.career .main-title {
		font-size: 28px;
	}

	.career .career-box {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.career .career-job-card {
		width: 100%;
		height: 110px;
	}

	.modal-content {
		padding: 40px 20px;
	}

	.btn02 {
		width: 100%;
		max-width: 390px;
	}

	.career .table-wrapper,
	.career .publish-date {
		padding: 0 20px;
	}

	.career .ratio-table {
		min-width: 600px;
		padding: 0 20px;
	}
	.career .sub-title {
		font-size: 14px;
		padding: 0 10px;
	}
}

		.process .process-container {
			max-width: 1200px;
			margin: 0 auto;
			padding: 0 20px 80px;
			box-sizing: border-box;
		}

		/* 各ステップのアイテム */
		.process .process-item {
			display: flex;
			position: relative;
		}

		/* 最後のアイテム以外の境界線（破線） */
		.process .process-item {
			border-bottom: 1px dashed var(--line-dashed);
		}

		/* アイコンエリア */
		.process .process-icon-column {
			width: 160px;
			flex-shrink: 0;
			display: flex;
			flex-direction: column;
			align-items: center;
			position: relative;
			padding: 40px 0; /* 余白をカラム側に持たせることで線を繋げやすくします */
		}

		.process .process-icon {
			width: 160px;
			height: 160px;
			z-index: 2;
			display: block;
		}

		/* 垂直の接続線 */
		.process .process-icon-column::before {
			content: "";
			position: absolute;
			top: 0;
			bottom: 0;
			width: 2px;
			background-color: var(--brand-blue);
			z-index: 1;
		}

		/* 1つめのアイテムはアイコンの中央（120px地点）から線を開始する */
		.process .process-item:first-child .process-icon-column::before {
			top: 120px;
		}

		/* 最後のアイテムはアイコンの中央（120px地点）で線を止める */
		.process .process-item:last-child .process-icon-column::before {
			bottom: auto;
			height: 120px; /* padding 40px + icon center 80px */
		}

		/* コンテンツエリア */
		.process .process-content {
			flex-grow: 1;
			padding: 40px 0 40px 60px;
			display: flex;
			flex-direction: column;
			justify-content: center;
		}

		/* 見出し：28px / #006CB6 */
		.process .process-title {
			font-size: 28px;
			color: var(--brand-blue);
			font-weight: bold;
			margin: 0 0 20px 0;
			line-height: 1.2;
		}

		/* 本文：16px / #313131 */
		.process .process-text {
			font-size: 16px;
			line-height: 1.8;
			margin: 0;
			color: var(--text-dark);
		}

		.process .process-text span {
			display: block;
			font-size: 14px;
			margin-top: 5px;
		}

		/* レスポンシブ対応 */
		@media (max-width: 767px) {
			.process .process-container {
				padding: 0 20px 40px;
			}
			.process .process-item {
				flex-direction: column;
				align-items: center;
				text-align: center;
			}
			.process .process-icon-column {
				width: 120px;
				padding: 30px 0;
			}
			.process .process-icon {
				width: 120px;
				height: 120px;
			}
			.process .process-icon-column::before {
				display: none; /* スマホ版ではデザインに合わせて非表示または調整 */
			}
			.process .process-content {
				padding: 0 0 30px 0;
			}
			.process .process-title {
				font-size: 22px;
			}
			.process .process-text {
				font-size: 15px;
			}
		}
		
		.area .btn02{
			height: 60px;
			margin-top: 40px;
		}
		
				@media (max-width: 767px) {
		.area .btn02{
			margin-top: 25px;
		}
}
/* normalize hamburger menu layout to match /new exactly */
@media screen and (min-width: 1024px) {
  body.career #slide_menu {
    width: 600px;
  }
  body.career .smbox .menu-split {
    width: 48%;
  }
}

@media screen and (max-width: 1023px) {
  body.career .smbox .menu-split {
    width: 50%;
    margin: 0;
  }
}

/* process: keep job-entry as stable 3x2 grid on PC */
@media screen and (min-width: 1024px) {
  .process .job-entry {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px 2%;
    justify-content: normal;
  }

  .process .job-entry li {
    width: 100%;
    margin: 0;
  }
}
