@charset "utf-8";

/************************************************************
トップページ
************************************************************/

.home #content {
	margin-top: 0 !important;
}
.home .site-header {
	top: -100px;
	opacity: 0;
}
.home.visible .site-header {
	top: 0;
	opacity: 1;
}


/*first-view*****************************************/
/* --- ベースコンテナ --- */
.comparison-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #000;
}

/* 全画像共通：幅は常に100%固定 */
.comparison-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
	object-position: bottom center;
  display: block;
}

/* 背面（After） */
.image-after {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* 前面（Before）：JSでclip-pathを操作 */
.image-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* --- テキストオーバーレイ --- */
.overlay-text {
  position: absolute;
  top: 10%;
  width: 100%;
  text-align: center;
  pointer-events: none;
  padding: 0 20px;
  box-sizing: border-box;
}

.overlay-text h2 {
  font-size: 3vw;
	line-height: 1.6;
  margin-bottom: 0.5em;
}
.overlay-text p {
  font-size: 1.2vw;
	line-height: 1.6;
}
.text-after.overlay-text h2 {
	text-shadow: 0 0.05em 0.1em rgba(0,0,0,0.2);
}
.text-after.overlay-text p {
	text-shadow: 0 0.05em 0.1em rgba(0,0,0,0.2);
}
.text-before.overlay-text h2 {
	text-shadow: 0 0.05em 0.1em rgba(0,0,0,0.5);
}
.text-before.overlay-text p {
	text-shadow: 0 0.05em 0.1em rgba(0,0,0,0.5);
}

.sp-br {
	display: none;
}

.text-before {
  color: #ffffff;
  z-index: 5;
  /* clip-pathはJSで制御 */
}

.text-after {
  color: #333333;
  z-index: 4;
}

/* --- ハンドル画像 --- */
.handle {
  position: absolute;
  top: 50%;
  left: 50%; /* JSで可変 */
  transform: translate(-50%, -50%);
  width: 50px;  /* ハンドル画像の横幅 */
  height: 50px; /* ハンドル画像の縦幅 */
  background: url(../images/handle.png) no-repeat center / contain;
  z-index: 10;
  pointer-events: none;
}

/* --- アニメーション設定 --- */
/* アニメーション中のみ付与。cubic-bezierで計算タイミングを統一 */
.is-animating .image-before,
.is-animating .text-before,
.is-animating .handle {
  transition: all 0.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) !important;
}

/* ドラッグ時はマウスに即座に追従させるためtransitionを0に */
.image-before,
.text-before,
.handle {
  transition: none;
}

/* --- 透明なスライダー（最前面） --- */
.slider-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
  z-index: 20;
  margin: 0;
  outline: none;
}

/* スライダー本体の見た目をリセット */
.slider-input {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  outline: none;
  border: none;
}

/* Chrome, Safari, Edge, Opera のつまみを消す */
.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 0;
  height: 0;
  background: transparent;
  border: none;
}

/* Firefox のつまみを消す */
.slider-input::-moz-range-thumb {
  width: 0;
  height: 0;
  background: transparent;
  border: none;
}

@media(max-width:991px){
	.comparison-slider {
		aspect-ratio: 1 / 1;
	}
	.overlay-text {
  	top: 5%;
	}
	.overlay-text h2 {
  	font-size: 5.2vw;
	}
	.overlay-text p {
  	font-size: 3.2vw;
	}
	.handle {
  	top: 55%;
  	width: 30px;  /* ハンドル画像の横幅 */
  	height: 30px; /* ハンドル画像の縦幅 */
	}
	.sp-br {
		display: inline;
	}
}



/*home_01*****************************************/

#home_01 {
	background: linear-gradient(158deg, #618AB4 0%, #64B4C3 75%);
	position: relative;
}

#home_01:after {
	content: "";
  width: 0;
  height: 0;
  border-left: 100px solid transparent;  /* 横幅の半分 */
  border-right: 100px solid transparent; /* 横幅の半分 */
  border-top: 80px solid #64B4C3;     /* 三角形の高さと色 */
	position: absolute;
	left: 0;
	right: 0;
	bottom: -80px;
	margin: 0 auto;
	z-index: 10;
}

.sec-1-left {
	width: 66%;
}

.sec-1-right {
	width: 33%;
}

.sec-1-left_inner {
	margin-left: auto;
	margin-right: 0;
	padding-left:60px;
	padding-right:30px;
	max-width: 1000px;
}

.problem-list li {
	padding-left: 1em;
	position: relative;
}
.problem-list li:before {
	content: "・";
	position: absolute;
	top: 0;
	left: 0;
}

.problem_icon p {
	flex: 1;
}

.problem_icon li {
	padding: 20px 10px;
	border-bottom: dotted 2px #fff;
}
.problem_icon li:first-child {
	border-top: dotted 2px #fff;
}

.sec-1-left_img_sp {
	display: none;
}


@media(max-width:1200px){
	.sec-1-left, .sec-1-right {
		width: 100%;
	}
	.sec-1-left_inner {
		max-width: 100%;
		padding-left: 30px;
		padding-right: 30px; 
		padding-top: 0;
	}
	.sec-1-right {
		display: none;
	}
	.sec-1-left_img {
		display: none;
	}
	.sec-1-left_img_sp {
		display: inline;
	}
}

@media(max-width:991px){
	.problem_icon img {
		max-width: 300px;
	}
}

@media(max-width:767px){
	#home_01:after {
		border-left: 50px solid transparent;  /* 横幅の半分 */
  	border-right: 50px solid transparent; /* 横幅の半分 */
  	border-top: 40px solid #64B4C3;     /* 三角形の高さと色 */
		bottom: -40px;
	}
	.ttl-icon img {
		width: 90px;
		height: auto;
	}
	.ttl-icon h2 {
		font-size: 20px;
	}
	.sec-1-left_inner {
		padding-left: 15px;
		padding-right: 15px; 
	}
}

@media(max-width:600px){
	.txt-54 {
		font-size: 22px;
	}
	.txt-24 {
		font-size: 15px;
	}
	.problem_icon li {
		padding: 20px 10px;
		flex-direction: column;
		align-items: center;
		row-gap: 10px;
	}
	#home_01 .txt-26 {
		font-size: 17px;
	}
}

/*home_01_extra*****************************************/
#home_01_extra {
	background-image: url(../images/extra-bg.webp);
	background-repeat: no-repeat;
  background-position: right;
  background-size: cover;
	position: relative;
}

#home_01_extra .container {
	max-width: 920px;
}

#home_01_extra h3 {
	width: 300px;
	line-height: 1.2;
	padding: 10px 10px;
	border: 2px solid #fff;
	margin-left: auto;
	margin-right: auto;
	border-radius: 32px;
}

#home_01_extra ul li {
	padding-left: 1em;
	position: relative;
	line-height: 1.5;
}

#home_01_extra ul {
	row-gap: 20px;
}

#home_01_extra ul li:before {
	content: "・";
	position: absolute;
	top: 0;
	left: 0;
}

#home_01_extra:after {
	content: "";
  width: 0;
  height: 0;
  border-left: 100px solid transparent;  /* 横幅の半分 */
  border-right: 100px solid transparent; /* 横幅の半分 */
  border-top: 80px solid #26565e;     /* 三角形の高さと色 */
	position: absolute;
	left: 0;
	right: 0;
	bottom: -80px;
	margin: 0 auto;
	z-index: 10;
}

@media(max-width:767px){
	#home_01_extra:after {
		border-left: 50px solid transparent;  /* 横幅の半分 */
  	border-right: 50px solid transparent; /* 横幅の半分 */
  	border-top: 40px solid #20474C;     /* 三角形の高さと色 */
		bottom: -40px;
	}
}


/*home_02*****************************************/

#home_02 ul li {
	width:32%;
}
#home_02 ul li a {
	display: block;
	width: 100%;
	aspect-ratio: 10 / 7;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
#home_02 ul li a img {
	width: 100%;
	height: 100%;
	max-width: none !important;
	object-fit: cover;
	transition: .3s;
}

@media(min-width:768px){
	#home_02 ul li a:hover img {
		transform: scale(1.05);
		opacity: 0.8;
	}
}



/*home_03*****************************************/

#home_03 ul li {
	width:24%;
}
#home_03 ul li a {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
#home_03 ul li a img {
	width: 100%;
	height: 100%;
	max-width: none !important;
	object-fit: cover;
	transition: .3s;
}

@media(max-width:767px){
	#home_03 ul {
		row-gap: 5vw;
	}
	#home_03 ul li {
		width:48%;
	}
}

/**リンクボタン****************************/
.link-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 280px;
	height: 60px;
	border-radius: 30px;
	border: 2px solid #2FB6C7;
	color: #fff !important;
	background: #2FB6C7;
	font-size: 16px;
	font-weight: 500;
	position: relative;
	transition: .2s;
}
.link-btn:after {
	content: "";
	display: block;
	width: 24px;
	height: 24px;
	background: url(../images/arrow-circle.webp) no-repeat;
	background-size: contain;
	position:absolute;
	top:50%;
	right: 14px;
	transform: translateY(-50%);
}

#home_03 .link-btn {
    margin-left: auto;
    margin-right: auto;
}

/**************************/

@media(min-width:768px){
	.link-btn:hover {
		color: #2FB6C7 !important;
		background: #fff;
	}
	#home_03 ul li a:hover img {
		transform: scale(1.05);
		opacity: 0.8;
	}
}


/*home_04*****************************************/
#home_04 ul li {
	width:32%;
}
#home_04 ul li a {
	display: block;
	width: 100%;
	aspect-ratio: 10 / 7;
	overflow: hidden;
}
#home_04 ul li a img {
	width: 100%;
	height: 100%;
	max-width: none !important;
	object-fit: cover;
	transition: .3s;
}

@media(min-width:768px){
	#home_04 ul li a:hover img {
		transform: scale(1.05);
		opacity: 0.8;
	}
}

@media(max-width:767px){
	#home_04 ul {
		justify-content: center;
		column-gap: 4%;
		row-gap: 5vw;
	}
	#home_04 ul li {
		width:100%;
		max-width: 500px;
	}
}



/*home_05*****************************************/

#home_05 .link-btn {
    margin-left: auto;
    margin-right: auto;
}


/*home_06*****************************************/

#home_06 ul li {
	width: 24%;
	aspect-ratio: 16 / 9;
}
#home_06 ul li iframe {
	width: 100%;
  height: 100%;
}

#home_06 .link-btn {
    margin-left: auto;
    margin-right: auto;
}

@media(max-width:767px){
	#home_06 ul {
		row-gap: 5vw;
	}
	#home_06 ul li {
		width:48%;
	}
}

/*home_07*****************************************/

#home_07 ul {
	row-gap: 50px;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.home_07_inner {
	padding-left: 5vw;
	padding-right: 5vw;
}

#home_07 .nk-awb {
	border-radius: 30px;
	overflow: hidden;
}

.banner_full {
	width: 100%;
}
.banner_half {
	width: 47.8%;
}

#home_07 ul li a {
	transition: .2s;
}

#home_07 ul li a img {
	width: 100%;
	max-width: none;
	height: auto;
	box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@media(min-width:768px){
	#home_07 ul li a:hover img {
		opacity: 0.7;
	}
}

@media(max-width:767px){
	#home_07 ul {
		row-gap: 5vw;
	}
	#home_07 .nk-awb {
		border-radius: 15px;
	}
}