/*----------------------------------------*/
/* .lower-page */
/*----------------------------------------*/

.lower-page {
	background-color: #FCFCFC;
}
@media (max-width: 767px) {
	.lower-page {
		padding-top: 55px;
	}
}

/*----------------------------------------*/
/* .page-header */
/*----------------------------------------*/

.lower-page .page-header .container {
	max-width: 100%;
}
.lower-page .page-header .img-wrap {
	overflow: hidden;
}
.lower-page .page-header .img-wrap img {
	object-fit: cover;
	object-position: 0 50%;
	width: 100%;
	height: 100%;
}
.lower-page .page-header .title-wrap .en {
	font-size: 15px;
	color: var(--red);
}
.lower-page .page-header .title-wrap .page-title {
	font-size: 48px;
	font-weight: 500;
	line-height: 1.2;
	margin: 0;
}
@media (min-width: 768px) {
	.lower-page .page-header {
		position: relative;
		display: flex;
		align-items: flex-end;
		height: 380px;
	}
	.lower-page .page-header .img-wrap {
		position: absolute;
		left: 0;
		top: 0;
		width: 62.5vw;
		height: 100%;
		border-radius: 0 0 380px 0;
		z-index: 0;
	}
	.lower-page .page-header .title-wrap {
		position: relative;
		z-index: 1;
		padding-left: calc(62.5vw - 40px);
	}
}
@media (max-width: 767px) {
	.lower-page .page-header .img-wrap {
		height: 120px;
		border-radius: 0 0 120px 0;
		margin-bottom: 65px;
	}
	.lower-page .page-header .title-wrap .en {
		font-size: 12px;
	}
	.lower-page .page-header .title-wrap .page-title {
		font-size: 28px;
	}
}

/*----------------------------------------*/
/* .page-body */
/*----------------------------------------*/

.lower-page .page-body {
	font-size: 19px;
	line-height: 2;
	padding: 120px 0 120px 0;
}

@media (min-width: 768px) {
	
}
@media (max-width: 767px) {
	.lower-page .page-body {
		font-size: 16px;
		padding: 40px 0 100px 0;
	}
}

/*--------------------------------------------------*/
/* .anchor-wrap */
/*--------------------------------------------------*/

.lower-page .anchor-wrap {
	margin: -20px 0 100px 0;
}
.lower-page .anchor-wrap ul {
	margin: 0 -15px;
	padding: 0;
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
}
.lower-page .anchor-wrap ul li {
	display: flex;
	width: 33.33%;
	padding: 0 15px;
	margin-bottom: 20px;
}
.lower-page .anchor-wrap ul li a {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 55px;
	font-weight: 500;
	line-height: 1.4;
	border-bottom: 1px solid var(--gray);
	padding: 20px 15px;
}
@media (min-width: 768px) {
	.lower-page .anchor-wrap ul li a:hover {
		border-color: var(--red);
	}
}
@media (max-width: 991px) {
	.lower-page .anchor-wrap ul li {
		width: 50%;
	}
}
@media (max-width: 767px) {
	.lower-page .anchor-wrap {
		margin: -20px 0 80px 0;
	}
	.lower-page .anchor-wrap ul {
		margin: 0 -10px;
	}
	.lower-page .anchor-wrap ul li {
		padding: 0 10px;
		margin: 0;
	}
	.lower-page .anchor-wrap ul li a {
		font-size: 13px;
		padding: 20px 0;
	}
}

/*----------------------------------------*/
/* 試験項目 */
/*----------------------------------------*/

.analysis-items-page .page-header .img-wrap img {
	object-position: 50% 50%;
}
.analysis-items-page .page-body {
	padding-bottom: 0;
}

@media (min-width: 768px) {
	.analysis-items-page .page-body {
		font-size: 18px;
	}
}

/* .red-wrap */
.analysis-items-page .item-wrap .red-wrap {
	background-color: var(--red);
	color: #ffffff;
	padding: 80px 0 40px 0;
	overflow: hidden;
}
.analysis-items-page .item-wrap .red-wrap .title {
	font-size: 32px;
	border-bottom: 1px solid rgba(255,255,255,0.15);
	padding: 0 0 20px 15px;
	margin: 0 0 40px 0;
}
.analysis-items-page .item-wrap .item-slide {
	margin: 0 -20px;
}
.analysis-items-page .item-wrap .item-slide .img-wrap {
	padding: 0 20px;
}
@media (max-width: 767px) {
	.analysis-items-page .item-wrap .red-wrap {
		padding: 55px 0 40px 0;
	}
	.analysis-items-page .item-wrap .red-wrap .title {
		font-size: 25px;
	}
	.analysis-items-page .item-wrap .item-slide {
		margin: 0 -10px;
		padding-bottom: 55px;
	}
	.analysis-items-page .item-wrap .item-slide .img-wrap {
		padding: 0 10px;
	}
}

/* slickカスタマイズ */
.analysis-items-page .item-wrap .item-slide .slick-list {
	overflow: visible;
}
.analysis-items-page .item-wrap .item-slide .slick-prev {
	left: auto;
	right: 70px;
	top: -85px;
	width: 35px;
	height: 35px;
}
.analysis-items-page .item-wrap .item-slide .slick-next {
	right: 20px;
	top: -85px;
	width: 35px;
	height: 35px;
}
.analysis-items-page .item-wrap .item-slide .slick-prev::before,
.analysis-items-page .item-wrap .item-slide .slick-next::before {
	position: absolute;
	right: auto;
	bottom: auto;
	left: 0;
	top: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	border: 1px solid #ffffff;
	background-color: #ffffff;
	border-radius: 4px;
	color: var(--red);
	font-family: "Material Symbols Sharp";
	content: "\ef7d";
	font-weight: 200;
	font-size: 28px;
	line-height: 1;
	text-align: center;
	transition: 0.3s;
	opacity: 1;
}
.analysis-items-page .item-wrap .item-slide .slick-next::before {
	content: "\e941";
}
@media (max-width: 767px) {
	.analysis-items-page .item-wrap .item-slide .slick-prev {
		top: auto;
		right: calc(50% + 10px);
		bottom: -30px;
		width: 40px;
		height: 40px;
	}
	.analysis-items-page .item-wrap .item-slide .slick-next {
		top: auto;
		right: auto;
		left: calc(50% + 10px);
		bottom: -30px;
		width: 40px;
		height: 40px;
	}
}

/* .white-wrap */
.analysis-items-page .item-wrap .white-wrap {
	padding: 40px 0 200px 0;
}
.analysis-items-page .item-wrap .list-wrap ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
.analysis-items-page .item-wrap .list-wrap ul li {
	position: relative;
	padding-left: 1em;
}
.analysis-items-page .item-wrap .list-wrap ul li::before {
	position: absolute;
	left: 0;
	top: 0.9em;
	content: "";
	width: 6px;
	height: 6px;
	background-color: var(--red);
}
.analysis-items-page .item-wrap .red-wrap .container > *:last-child,
.analysis-items-page .item-wrap .white-wrap .container > *:last-child {
	margin-bottom: 0;
}
.analysis-items-page .page-footer .txt-wrap .min span {
	display: inline-block;
}
@media (max-width: 1199px) {
	.analysis-items-page .page-footer .txt-wrap .min {
		font-size: 48px;
	}
}
@media (max-width: 767px) {
	.analysis-items-page .item-wrap .white-wrap {
		padding: 25px 0 100px 0;
	}
	.analysis-items-page .item-wrap .list-wrap ul li::before {
		top: 0.9em;
		width: 4px;
		height: 4px;
	}
	.analysis-items-page .page-footer .txt-wrap .min {
		font-size: 20px;
	}
}

/*--------------------------------------------------*/
/* 404ページ */
/*--------------------------------------------------*/

@media (min-width: 768px) {
	.page-404 .page-body .container {
		max-width: 1060px;
	}
}
.page-404 .content-wrap {
	text-align: center;
	margin: 50px 0 120px 0;
}
.page-404 .content-wrap dl dt {
	font-size: min(120px, 10vw);
	font-weight: 600;
	font-style: italic;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: #2E2624;
	opacity: 0.04;
	margin-bottom: -0.7em;
}
.page-404 .content-wrap dl dd {
	font-size: 48px;
	font-weight: 500;
	line-height: 1.6;
}
.page-404 .page-body .btn {
	max-width: 350px;
	margin: 0 auto;
}
@media (max-width: 767px) {
	.page-404 .content-wrap dl dd {
		font-size: 22px;
	}
	.page-404 .content-wrap {
		margin: 40px 0 60px 0;
	}
}

/*--------------------------------------------------*/
/* お問い合わせ */
/*--------------------------------------------------*/

@media (min-width: 768px) {
	.contact-page .page-body {
		padding-top: 160px;
	}
	.contact-page .page-body .container {
		max-width: 1060px;
	}
}
.contact-page .form-content {
	margin-top: -100px;
	padding-top: 100px;
}
.contact-page .form-content .form-title {
	font-size: 32px;
	margin: -50px 0 30px 0;
	padding-top: 50px;
}
.contact-page .form-content .form-table {
	width: 100%;
	line-height: 1.8;
}
.contact-page .form-content .form-table th,
.contact-page .form-content .form-table td {
	vertical-align: top;
	padding: 15px 0;
}
.contact-page .form-content .form-table th {
	font-weight: 500;
	width: 240px;
	padding: 30px 0;
}
.contact-page .form-content .form-table .th {
	padding: 30px 0 10px 0;
}
.contact-page .form-content .form-table th span {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 29px;
	border-radius: 3px;
	background-color: var(--red);
	color: #ffffff;
	font-size: 14px;
	font-weight: 400;
	margin-left: 0.4em;
}
.contact-page .form-content .form-table th span.gray {
	background-color: #726F6E;
}
.contact-page .form-content .form-table .horizontal-item {
	display: inline-block;
	margin: 0 40px 20px 0;
}
.contact-page .form-content .tel-wrap {
	margin-top: 160px;
}
.contact-page .form-content .tel-wrap .form-title {
	margin-bottom: 0;
}
@media (min-width: 768px) {
	.contact-page .form-content .other-wrap {
		padding-left: 240px;
	}
}
@media (max-width: 767px) {
	.contact-page .form-content .form-title {
		font-size: 22px;
		margin: 0 0 30px 0;
	}
	.contact-page .form-content .form-table th,
	.contact-page .form-content .form-table td {
		display: block;
		width: 100%;
	}
	.contact-page .form-content .form-table th {
		padding: 0 0 10px 0;
	}
	.contact-page .form-content .form-table td {
		padding: 0 0 25px 0;
	}
	.contact-page .form-content .form-table th span {
		height: 21px;
		font-size: 12px;
	}
	.contact-page .form-content .form-table .th {
		padding: 0 0 20px 10px;
	}
	.contact-page .form-content .form-table .horizontal-item {
		display: block;
		margin: 20px 0;
	}
	.contact-page .form-content .tel-wrap {
		margin-top: 100px;
	}
	.contact-page .form-content .tel-wrap .form-title {
		margin-bottom: 30px;
	}
}

/*--------------------------------------------------*/
/* フォーム リセット */
/*--------------------------------------------------*/

.contact-page input[type='text'],
.contact-page button,
.contact-page select,
.contact-page textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: transparent;
	border: none;
	border-radius: 0;
	font: inherit;
	outline: none;
}
.contact-page textarea {
	resize: vertical;
}
.contact-page input[type='submit'],
.contact-page input[type='button'],
.contact-page label,
.contact-page button,
.contact-page select {
	cursor: pointer;
}
.contact-page select::-ms-expand {
	display: none;
}

/*--------------------------------------------------*/
/* フォーム カスタマイズ */
/*--------------------------------------------------*/

.contact-page input[type='text'],
.contact-page textarea {
	background-color: #ffffff;
	border: 1px solid #cccccc;
	padding: 15px 20px;
	width: 100%;
}
.contact-page input[type='text']:focus,
.contact-page textarea:focus {
	background-color: #ffffff;
	border: 1px solid var(--red);
}
.contact-page ::placeholder {
	color: #cccccc;
}

/* ラジオボタンの基本スタイル */
.contact-page input[type="radio"] {
  appearance: none;        /* デフォルトのチェックボックスを消す */
  -webkit-appearance: none;
  -moz-appearance: none;
  
  width: 30px;
  height: 30px;
  border: 1px solid #cccccc;
  background-color: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 0.2em;
}
/* チェック時の見た目 */
.contact-page input[type="radio"]:checked {
  position: relative;
}
/* チェックマーク（擬似要素で追加） */
.contact-page input[type="radio"]:checked::after {
  content: "\025cf";
  color: var(--red);
  font-size: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* チェックボックスの基本スタイル */
.contact-page input[type="checkbox"] {
  appearance: none;        /* デフォルトのチェックボックスを消す */
  -webkit-appearance: none;
  -moz-appearance: none;
  
  width: 30px;
  height: 30px;
  border: 1px solid #cccccc;
  background-color: #ffffff;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 0.2em;
}
/* チェック時の見た目 */
.contact-page input[type="checkbox"]:checked {
  position: relative;
}
/* チェックマーク（擬似要素で追加） */
.contact-page input[type="checkbox"]:checked::after {
  content: "\2714";
  color: var(--red);
  font-size: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.contact-page .check-wrap {
	width: fit-content;
	margin: 0 auto;
}
.contact-page .btn-wrap {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 60px;
}
.contact-page .btn-wrap .btn-next {
	position: relative;
	width: 350px;
	border-radius: 15px;
	background-color: var(--red);
	border: 1px solid var(--red);
	font-size: 19px;
	font-weight: 500;
	line-height: 1.4;
	margin: 0 10px;
}
.contact-page .btn-wrap .btn-next::after {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	justify-content: center;
	align-items: center;
	width: 35px;
	height: 35px;
	border: 1px solid #ffffff;
	background-color: #ffffff;
	border-radius: 4px;
	color: var(--red);
	font-family: "Material Symbols Sharp";
	content: "\e941";
	font-weight: 100;
	font-size: 28px;
	line-height: 1;
	text-align: center;
	transition: 0.3s;
	z-index: 0;
}
.contact-page .btn-wrap .btn-next .btn-inner {
	position: relative;
	background-color: rgba(0,0,0,0);
	border: none;
	display: flex;
	align-items: center;
	text-align: left;
	width: 100%;
	height: 75px;
	color: #ffffff;
	padding: 10px 60px 10px 30px;
	z-index: 1;
}
.contact-page .btn-wrap .btn-prev {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: left;
	width: 250px;
	height: 75px;
	font-size: 19px;
	font-weight: 500;
	line-height: 1.4;
	margin: 0 10px;
	display: none;
}
.contact-page .btn-wrap .btn-prev .btn-inner {
	position: relative;
	color: var(--basic);
	background-color: rgba(0,0,0,0);
	border: none;
	width: fit-content;
	border-bottom: 1px solid #666666;
	padding: 0 0 5px 0;
	z-index: 1;
}
@media (min-width: 768px) {
	.contact-page .btn-wrap .btn-next:hover {
		background-color: #ffffff;
		color: var(--red);
	}
	.contact-page .btn-wrap .btn-next:hover::after {
		border: 1px solid var(--red);
		background-color: var(--red);
		color:  #ffffff;
	}
	.contact-page .btn-wrap .btn-next .btn-inner:hover {
		color: var(--red);
	}
	.contact-page .btn-wrap .btn-prev .btn-inner:hover {
		border-color: var(--red);
	}
}
@media (max-width: 767px) {
	.contact-page input[type="radio"],
	.contact-page input[type="checkbox"] {
	  width: 24px;
	  height: 24px;
	}
	.contact-page .btn-wrap {
		margin-top: 40px;
	}
	.contact-page .btn-wrap .btn-next {
		font-size: 18px;
		width: 100%;
		margin: 0;
	}
	.contact-page .btn-wrap .btn-prev {
		font-size: 16px;
	}
}

/*--------------------------------------------------*/
/* フォーム 画面遷移 */
/*--------------------------------------------------*/

/* エラー画面 */
.contact-page .mw_wp_form .error {
	color: #ff0000;
}

/* 確認画面 */
.contact-page .form-content .confirm-title {
	display: none;
}
.contact-page .mw_wp_form_preview .form-content .input-title {
	display: none;
}
.contact-page .mw_wp_form_preview .form-content .confirm-title {
	display: block;
}
.contact-page .mw_wp_form_preview .form-content .form-table td div {
	background-color: #ffffff;
	padding: 15px 20px;
}
.contact-page .mw_wp_form_preview .form-content .btn-next {
	width: 250px;
}
.contact-page .mw_wp_form_preview .btn-wrap .btn-prev {
	display: flex;
}
.contact-page .mw_wp_form_preview .form-content .iframe-wrap,
.contact-page .mw_wp_form_preview .form-content .check-wrap,
.contact-page .mw_wp_form_preview .form-content .tel-wrap {
	display: none;
}
@media (min-width: 768px) {
	.contact-page .mw_wp_form_preview .form-content .form-table .th {
		padding: 15px 0;
	}
	.contact-page .mw_wp_form_preview .form-content .btn-wrap {
		margin-top: 20px;
	}
	.contact-page .mw_wp_form_preview .form-content .btn-next {
		order: 1;
	}
}
@media (max-width: 767px) {
	.contact-page .mw_wp_form_preview .form-content .form-table .th {
		padding: 0 0 25px 0;
	}
	.contact-page .mw_wp_form_preview .form-content .btn-next {
		width: 100%;
	}
	.contact-page .mw_wp_form_preview .form-content .btn-prev {
		margin-top: 20px;
	}
}

/* 送信完了画面 */
.contact-page .mw_wp_form_complete  {
	
}

/*--------------------------------------------------*/
/* 個人情報保護方針 */
/*--------------------------------------------------*/

.contact-page .form-content .iframe-wrap {
	background-color: #ffffff;
	height: 280px;
	margin: 30px 0 60px 0;
}
.contact-page .form-content .iframe-wrap iframe {
	width: 100%;
	height: 100%;
	border: none;
	overflow: auto;
}
@media (max-width: 767px) {
	.contact-page .form-content .iframe-wrap {
		height: 240px;
		margin: 10px 0 40px 0;
	}
}


