@charset "UTF-8";

/* --------------------------------------------------------------------------------------
	共通部分
--------------------------------------------------------------------------------------- */

main {
	position: relative;
	z-index: 11;
}

.box {
	margin-left: auto;
	margin-right: auto;
	position: relative;
	text-align: left;
	width: 1000px;
	z-index: 1;
}

@media (max-width: 1016px) {
	.box {
		max-width: 1000px;
		padding-left: 4.267vw;
		padding-right: 4.267vw;
		width: auto;
	}
}

.over { transition: all .3s ease-in-out; }

.fadeOut { opacity: 0; }

.sp { display: none !important; }

.banner_input { position: relative; }

.banner a,
.banner-white a,
.banner_input button,
.banner_input input[type='submit'],
.wp-block-button__link,
.common-btn-link-wrap > a,
.common-btn-application-wrap > a,
.form_btn_area button {
	appearance: none;
	background-color: #00b0e3;
	border: none;
	border-radius: 10px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	min-width: 296px;
	padding: 24px 50px 24px 28px;
	position: relative;
	text-decoration: none !important;
	transition: all .3s ease-in-out;
}

.banner_input button.button_back,
.form_btn_area button.button_back {
	background-color: #cad6e0;
	color: #737a80;
}

.banner a::after,
.banner-white a::after,
.banner_input::after,
.wp-block-button__link::after,
.common-btn-link-wrap > a::after,
.common-btn-application-wrap > a::after,
.form_btn_area button::after { right: 20px; }

.banner-white a {
	background-color: #fff;
	color: #00b0e3;
}

.banner.orange a,
.common-btn-application-wrap > a { background-color: #f69c00; }

.banner.small a {
	min-width: 224px;
	padding-bottom: 16px;
	padding-top: 16px;
}

.arrow,
.arrow-white,
.form_btn_area button::after { min-height: 24px; }

.arrow::after,
.arrow-white::after,
.wp-block-button__link::after,
.common-btn-link-wrap > a::after,
.common-btn-application-wrap > a::after,
.form_btn_area button::after {
	background-repeat: no-repeat;
	background-size: 100% auto;
	content: '';
	display: block;
	height: 24px;
	position: absolute;
	top: calc(50% - 12px);
	transition: all .3s ease-in-out;
	width: 24px;
}

.arrow::after { background-image: url(../img/common/arrow.svg); }

.arrow-white::after,
.wp-block-button__link::after,
.common-btn-link-wrap > a::after,
.form_btn_area button::after { background-image: url(../img/common/arrow_white.svg); }

.back_style::after,
.form_btn_area button.button_back::after { background-image: url(../img/common/arrow_disabled.svg); }

.banner.orange .arrow-white::after,
.common-btn-application-wrap > a::after  { background-image: url(../img/common/arrow_orange.svg); }

.common-btn-link-wrap { text-align: center; }
.common-btn-application-wrap {
	margin-top: 30px;
	text-align: center;
}

@media (min-width: 749px) {

	.banner a:hover,
	.banner_input:hover button,
	.wp-block-button__link:hover,
	.common-btn-link-wrap > a:hover  {
		background-color: #0098c2;
		text-decoration: none;
	}

	.banner.orange a:hover,
	.common-btn-application-wrap > a:hover { background-color: #e69305; }

	.banner_input:hover button.button_back { background-color: #b4bfc8; }

	.banner-white a:hover {
		background-color: #e3f6fc;
		text-decoration: none;
	}

	.over:hover {
		opacity: .6;
		text-decoration: none;
	}
}

.wave-ttl {
	font-size: 4rem;
	font-weight: 600;
	text-align: center;
}

.wave-ttl::after {
	background: url(../img/common/deco_wave.svg) no-repeat;
	background-size: contain;
	content: '';
	display: block;
	height: 8px;
	margin: 20px auto auto;
	width: 48px;
}

.circle-ttl {
	font-size: 2.8rem;
	font-weight: 600;
	padding-left: 26px;
	position: relative;
}

.circle-ttl::after {
	background-color: #00b0e3;
	border-radius: 100vw;
	content: '';
	height: 16px;
	left: 0;
	position: absolute;
	top: calc(50% - 6px);
	width: 16px;
}

@media (max-width: 749px) {

	.box {
		padding-left: 0;
		padding-right: 0;
	}

	.pc { display: none !important; }
	.sp { display: block !important; }

	.banner a,
	.banner-white a,
	.banner_input button,
	.banner_input input[type='submit'],
	.wp-block-button__link,
	.common-btn-link-wrap > a,
	.common-btn-application-wrap > a {
		font-size: 3.733vw;
		min-width: 62.933vw;
		padding: 5vw 4.8vw;
	}

	.banner a::after,
	.banner-white a::after { right: 4vw; }

	.arrow::after,
	.arrow-white::after {
		height: 6vw;
		top: calc(50% - 3vw);
		width: 6vw;
	}

	.banner.small a {
		min-width: 53.333vw;
		padding-bottom: 3.467vw;
		padding-top: 3.467vw;
	}

	.wave-ttl {
		font-size: 7.533vw;
		font-weight: 700;
	}

	.wave-ttl::after { margin-top: 3.2vw; }

	.circle-ttl { font-size: 5.6vw; }
}

.water-area {
	background: url(../img/common/fotter_bg.gif) repeat left top;
	height: 370px;
	position: relative;
}

.water-parts {
	background: url(../img/common/fotter_parts_bg.png) no-repeat center bottom / 100% auto;
	content: '';
	height: 13.133vw;
	width: 100%;
}

.water-area::before {
	background: url(../img/common/fotter_parts_bg.png) no-repeat center top / cover;
	content: '';
	height: 10.333vw;
	left: 0;
	position: absolute;
	top: -10.333vw;
	width: 100%;
}

/* --------------------------------------------------------------------------------------
	キービジュアル
--------------------------------------------------------------------------------------- */

.key-sub {
	background-color: #000;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 24px;
	height: 280px;
	margin: 90px min(6.033vw, 80px) auto;
}

.key-sub .box {
	align-items: flex-end;
	color: #fff;
	display: flex;
	height: 100%;
	padding-bottom: 42px;
}

.key-sub .box h2 {
	font-size: 4.8rem;
	font-weight: 700;
}

#form-wrap { display: none; }

@media (max-width: 790px) {
	.key-sub .box h2 { font-size: 4.6vw; }
}

@media (max-width: 749px) {

	.key-sub {
		border-radius: 4.267vw;
		height: 55.4vw;
		margin: auto 4.267vw;
	}

	.key-sub .box {
		align-items: center;
		padding-bottom: 0;
	}

	.key-sub .box h2 {
		font-size: 8vw;
		line-height: 1.4;
		margin-left: 5.333vw;
		margin-right: 5.333vw;
	}

	.top-key .box .banner { margin-top: 6vw; }

}

/* --------------------------------------------------------------------------------------
	パンくず
--------------------------------------------------------------------------------------- */

.pankuzu {
	align-items: center;
	display: flex;
	font-size: 1.4rem;
	margin-bottom: 70px;
	padding-top: 23px;
}

.pankuzu > span {
	align-items: center;
	display: flex;
}

.pankuzu > span::after {
	background-color: #0098c2;
	content: '';
	display: block;
	height: 1px;
	margin: 0 6px;
	width: 10px;
}

.pankuzu > span:last-child:after { display: none; }

@media (max-width: 1016px) {

	.pankuzu {
		margin-left: min(6.033vw, 80px);
		margin-right: min(6.033vw, 80px);
		padding-left: 0;
		padding-right: 0;
	}
}

@media (max-width: 750px) {

	.pankuzu {
		flex-wrap: inherit;
		font-size: 3.2vw;
		margin-bottom: 8.333vw;
		margin-left: 4.267vw;
		margin-right: 4.267vw;
		padding: 5.333vw 0 0;
	}

	.pankuzu > span { white-space: nowrap; }
	/*
	.pankuzu > span::before {
		height: 1.2vw;
		margin-left: 1.333vw;
		margin-right: 3.633vw;
		margin-top: -1.333vw;
		width: 1.2vw;
	} */

	.pankuzu > span:last-child {
		display: inline-block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		width: auto;
	}

}

/* --------------------------------------------------------------------------------------
	お知らせ
--------------------------------------------------------------------------------------- */

.news-list li a {
	border-bottom: 1px solid #cad6e0;
	display: flex;
	padding: 18px 0;
}

.news-list li:first-child a { border-top: 1px solid #cad6e0; }

.news-list li a time,
.news-list li a h3 { font-weight: 400; }

.news-list li a time,
.news-list .latest h3::before { margin-right: 20px; }

.news-list .latest a { align-items: center; }

.news-list .latest span {
	align-items: center;
	background-color: #25c602;
	border-radius: 100vw;
	color: #fff;
	display: inline-flex	;
	font-size: 1.6rem;
	font-weight: 600;
	justify-content: center;
	margin-right: 20px;
	min-height: 32px;
	min-width: 78px;
	text-align: center;
}

.news-list .latest h3 { font-weight: 500; }

@media (max-width: 749px) {

	.news-list li a { padding: 4vw 0; }

	.news-list li a time {
		font-weight: 600;
		margin-right: 2.667vw;
	}

	.news-list .latest a { display: block; }

	.news-list .latest span {
		font-size: 3.467vw;
		line-height: 1;
		margin-right: 0;
		min-height: inherit;
		min-width: inherit;
		padding: .933vw 1.333vw;
	}

	.news-list .latest h3 {
		margin-left: 22.333vw;
		margin-top: 1.333vw;
	}
}

/* --------------------------------------------------------------------------------------
	睡眠コラム
--------------------------------------------------------------------------------------- */

.column-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.column-list li { width: 485px; }

.column-list li .taglist { display: none; }

.column-list li > a {
	align-items: center;
	display: flex;
	justify-content: space-between;
	padding: 24px 0;
	position: relative;
}

.column-list li:nth-child(n+3) { border-top: 1px solid #cad6e0; }

.column-list li > a .image {
	border-radius: 8px;
	height: 112px;
	overflow: hidden;
	position: relative;
	width: 168px;
}

.column-list li > a .image .imageBox {
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	transition: all .3s ease-in-out;
	width: 100%;
}

.column-list li > a section { width: 294px; }

.column-list li > a section p {
	font-size: 1.4rem;
	font-weight: 400;
	margin-top: 10px;
}

@media (min-width: 749px) {

	.column-list li > a:hover { text-decoration: none; }
	.column-list li > a:hover .image .imageBox { transform: scale(1.1); }
}

.taglist { display: flex; }

.taglist object a {
	background-color: #00b0e3;
	border-radius: 0 0 16px 0;
	color: #fff;
	display: inline-block;
	font-size: 1.4rem;
	padding: 6px 18px;
}

.taglist object a:hover { text-decoration: none; }

@media (max-width: 1016px) {

	.column-list li { width: 48%; }

	.column-list li a div { width: 34%; }
	.column-list li a section { width: 61%; }
}

@media (max-width: 749px) {

	.column-list li { width: 100%; }
	.column-list li:nth-child(n+2) { border-top: 1px solid #cad6e0; }

	.column-list li a { padding: 3.333vw 0; }

	.column-list li a .image {
		border-radius: 1.067vw;
		height: 21.333vw;
		width: 32vw;
	}

	.column-list li a section { width: 56vw; }

	.column-list li a section h3 {
		font-size: 3.733vw;
		font-weight: 600;
	}

	.column-list li a section p {
		font-size: 3.467vw;
		margin-top: 1.333vw;
		max-height: 10.333vw;
		overflow: hidden;
	}

	.taglist object a {
		font-size: 3.733vw;
		padding: 2.333vw 3.333vw;
		white-space: nowrap;
	}
}

/* --------------------------------------------------------------------------------------
	バナーエリア
--------------------------------------------------------------------------------------- */

.banner-sub-wrap > p {
	font-size: 2rem;
	line-height: 1.7;
}

.banner-sub-wrap nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 84px;
	margin-top: 42px;
}

.banner-sub-wrap nav::before,
.banner-sub-wrap nav::after {
	background: url(../img/common/deco_dotted.svg) no-repeat;
	content: '';
	height: 164px;
	position: absolute;
	width: 160px;
	z-index: -1;
}

.banner-sub-wrap nav::before {
	right: -70px;
	top: -70px;
}

.banner-sub-wrap nav::after {
	bottom: -70px;
	left: -70px;
}

.banner-sub-wrap nav > a {
	background-color: #fff;
	border-radius: 16px;
	box-shadow: 0px 6px 20px 0px rgba(0, 81, 145, .1);
	cursor: default;
	padding: 32px;
	text-decoration: none;
	width: 484px;
}

.banner-sub-wrap nav > a:nth-child(n+3) { margin-top: 32px; }

.banner-sub-wrap nav > a div {
	border-radius: 10px;
	overflow: hidden;
}

.banner-sub-wrap nav > a h2 {
	font-size: 2.4rem;
	font-weight: 600;
	margin-top: 22px;
}

.banner-sub-wrap nav > a p {
	font-weight: 400;
	margin-top: 10px;
}

.banner-sub-wrap nav > a object {
	float: right;
	margin-top: 24px;
}

@media (max-width: 1016px) {

	.inspection-wrap.banner-sub-wrap { overflow: hidden; }

	.banner-sub-wrap nav > a { width: 48%; }

	.column-list li > a .image { width: 35%; }
}

@media (max-width: 749px) {

	.banner-sub-wrap > p {
		font-size: 4.267vw;
		margin: 0 4.267vw;
		text-align: left;
	}

	.banner-sub-wrap > p br { display: none; }

	.banner-sub-wrap nav { margin: 14.267vw 4.267vw 24.267vw; }

	.banner-sub-wrap nav > a {
		border-radius: 2.667vw;
		padding: 5.333vw;
		width: 100%;
	}

	.banner-sub-wrap nav > a,
	.banner-sub-wrap nav > a:nth-child(n+3) { margin-top: 8vw; }

	.banner-sub-wrap nav > a:first-child { margin-top: 0; }

	.banner-sub-wrap nav > a div { border-radius: 1.333vw; }

	.banner-sub-wrap nav > a h2 {
		font-size: 5.333vw;
		margin-top: 3.733vw;
	}

	.column-list li > a .image { width: 32vw; }
}

/* --------------------------------------------------------------------------------------
	人気の記事
--------------------------------------------------------------------------------------- */

.popularity-wrap {
	background-color: #f5f5f5;
	border-top: 2px solid #00b0e3;
	padding-bottom: 60px;
	padding-top: 64px;
}

.popularity-wrap .popularity-inner .popularity-head {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.popularity-wrap .popularity-inner .popularity-head h2 {
	font-size: 2.4rem;
	font-weight: 600;
}

.popularity-wrap .popularity-inner .popularity-head a {
	padding-right: 42px;
	position: relative;
}

.popularity-wrap .popularity-inner .popularity-head a::after { right: 0; }

@media (max-width: 749px) {

	.popularity-wrap { padding: 9.333vw 4.267vw; }

	.popularity-wrap .popularity-inner .popularity-head { margin-bottom: 3.4vw; }

	.popularity-wrap .popularity-inner .popularity-head h2 { font-size: 5.333vw; }
}

/* --------------------------------------------------------------------------------------
	検査の流れ
--------------------------------------------------------------------------------------- */

.inspection-flow-wrap > .banner { margin-top: 60px; }

.inspection-flow-wrap .diagram {
	margin-left: auto;
	margin-right: auto;
	max-width: 1000px;
}

.inspection-flow-wrap .note {
	color: red;
	font-size: 80%;
	font-weight: bold;
	margin-top: 10px;
	text-align: right;
	white-space: nowrap;
}

.inspection-flow-wrap .inspection-wrap nav { margin-top: 80px; }

.inspection-flow-wrap .inspection-wrap nav::before,
.inspection-flow-wrap .inspection-wrap nav::after { display: none; }

.inspection-flow-wrap .notice { margin-top: 24px; }

.inspection-flow-wrap .notice .mail-text {
	background: #fff5f5 url(../img/inspection/common/icon_notice.svg) no-repeat 31px center / 40px auto;
	border: 1px solid #f00;
	border-radius: 6px;
	color: #f00;
	font-size: 1.4rem;
	padding: 20px 20px 20px 100px;
}

.inspection-flow-wrap .notice .mail-text a {
	color: #f00;
	text-decoration: underline;
}

.inspection-flow-wrap .notice .note-text {
	color: #f00;
	font-size: 1.3rem;
	margin-top: 14px;
}

@media (max-width: 1016px) {

	.inspection-flow-wrap {
		margin-left: 4.267vw;
		margin-right: 4.267vw;
	}

	.inspection-flow-wrap > .banner { margin-top: 8vw; }

	.inspection-flow-wrap .inspection-wrap nav { margin-top: 14.267vw; }

	.inspection-flow-wrap .notice .mail-text { font-size: 3.467vw; }

}

/* --------------------------------------------------------------------------------------
	スライダー
--------------------------------------------------------------------------------------- */

.slider-style { overflow: hidden; }

.slider-style .swiper-container {
	overflow: inherit !important;
	padding-bottom: 18px;
}

.slider-style .swiper-slide {
	background-color: #fff;
	border-radius: 16px;
	box-shadow: 0px 6px 20px 0px rgba(0, 81, 145, .1);
	display: flex;
	flex-wrap: wrap;
	height: auto;
	padding: 20px;
	transition: all .3s ease-in-out;
	width: 314px;
}

@media (min-width: 749px) {

	.slider-style .swiper-slide:hover {
		box-shadow:
			0 6px 8px rgba(1,66,118,.1),
			0 6px 8px rgba(1,66,118,.1),
			0 6px 8px rgba(1,66,118,.1);
		text-decoration: none;
	}
}

.slider-style .swiper-slide::after {
	bottom: 20px;
	right: 20px;
	top: auto;
}

.slider-style .swiper-slide div {
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 10px;
	height: 181px;
	width: 100%;
}

.slider-style .swiper-slide h3 {
	font-size: 1.8rem;
	font-weight: 600;
	margin-top: 20px;
}

.slider-style .swiper-slide p {
	font-size: 1.4rem;
	font-weight: 400;
	margin-top: 10px;
}

.slider-style .swiper-pager {
	align-items: center;
	display: flex;
	justify-content: center;
	margin-top: 48px;
}

.slider-style .swiper-pagination {
	align-items: center;
	display: flex;
	margin: 0 38px;
	position: relative;
}

.slider-style .swiper-button-prev,
.slider-style .swiper-button-next {
	background: url(../img/common/slider_arrow.svg) no-repeat;
	height: 16px;
	left: auto;
	margin-top: 0;
	position: relative;
	right: auto;
	top: auto;
	width: 11px;
}

.slider-style .swiper-button-prev { transform: scale(-1,1); }

.slider-style .swiper-pagination-bullet {
	background-color: #e1e1e1;
	margin-left: 24px;
	opacity: 1;
}

.slider-style .swiper-pagination-bullet:first-child { margin-left: 0; }
.slider-style .swiper-pagination-bullet-active { background-color: #00b0e3; }

@media (max-width: 1016px) {

	.slider-style .slider-wrap .swiper-slide { width: 30%; }
}

@media (max-width: 749px) {

	.slider-style {
		margin: 9.333vw 12.533vw auto;
		overflow: inherit;
	}

	.slider-style .swiper-slide {
		border-radius: 2.133vw;
		padding: 5.333vw;
	}

	.slider-style .swiper-slide div { height: 43.067vw; }

	.slider-style .swiper-slide h3 {
		font-size: 4.267vw;
		margin-top: 4.4vw;
	}

	.slider-style .swiper-slide p {
		font-size: 3.467vw;
		margin-top: 2.133vw;
		padding-bottom: 4.333vw;
	}

	.slider-style .swiper-slide::after {
		bottom: 5.333vw;
		right: 5.333vw;
	}

	.slider-style .swiper-pager { margin-top: 7.067vw; }

	.slider-style .swiper-pagination {
		margin-left: 9.6vw;
		margin-right: 9.6vw;
	}

	.slider-style .swiper-pagination-bullet {
		height: 2.133vw;
		margin-left: 5.6vw;
		width: 2.133vw;
	}
}

/* --------------------------------------------------------------------------------------
	ページネーション
--------------------------------------------------------------------------------------- */

.nav-links > ul {
	align-items: center;
	display: flex;
	justify-content: center;
	margin-top: 36px;
}

.page-numbers > li { margin-left: 14px; }

.page-numbers > li .current {
	color: #0098c2;
	position: relative;
}

.page-numbers > li .current::after {
	background-color: #0098c2;
	bottom: 0;
	content: '';
	display: block;
	height: 2px;
	position: absolute;
	width: 100%;
}

.page-numbers > li a { position: relative; }

.page-numbers > li a.prev,
.page-numbers > li a.next {
	background: url(../img/common/arrow_pager.svg) no-repeat;
	display: block;
	height: 16px;
	width: 11px;
}

.page-numbers > li a.prev {
	margin-right: 16px;
	transform: scale(-1,1);
}
.page-numbers > li a.next { margin-left: 16px; }

@media (min-width: 749px) {

	.page-numbers > li a:not(.next):hover {
		color: #0098c2;
		text-decoration: none;
	}

	.page-numbers > li a::not(.next):hover::after {
		background-color: #0098c2;
		bottom: 0;
		content: '';
		display: block;
		height: 2px;
		position: absolute;
		width: 100%;
	}
}