@charset "UTF-8";

:root {
	--main-color: #009BD3;
	--sub-color: #92DDF9;
	--thir-color: #002369;

	--font-size3: 3rem;
	--font-22: 2.2rem;

	--wid-1024: 1024px;
	--wid-360: 360px;
	--gradeA: linear-gradient(90deg, var(--main-color) 0%, var(--sub-color) 100%);
	--gradeB: linear-gradient(180deg, var(--thir-color) 0%, var(--main-color) 100%);

	--space-130: 130px;
	--space-622: 60px 20px 20px;
	--space-30: 30px;
	--space-50: 50px;
	--space-60: 60px;
}

@media screen and (max-width: 767px) {
:root {
	--wid-1024: 90%;
	--wid-360: 100%;

	--space-30: 10px;
	--space-50: 20px;
	--space-60: 20px;
	--space-130: 90px;
	--space-622: 60px 5% 20px;

	--font-size3: 2.4rem;
	--font-22: 1.8rem;
}
}

.mainvisual {
    background: url("../img/mv.png")no-repeat center/cover;
		position: relative;
}
.character{
	position: absolute;
  top: 50%;
  right: calc(50% - 35rem);
  transform: translate(50%, -50%);
}
@media screen and (max-width: 767px){

	.character{
		top: auto;
		bottom: 0;
		right: 50%;
		transform: translate(50%, 0%);
		margin: 0;

		img{
			width: 50px;
		}
	}
}

.cotemain{
	width: var(--wid-1024);
	margin: auto;
}

.anker_link ul{
	display: flex;
	gap: 2rem;
	margin-top: 6rem;

	li{
		width: calc(100% / 4);
		height: 60px;
		line-height: 1.3;
		position: relative;
		&:before {
			content: '';
			width: 8px;
			height: 8px;
			border: 0;
			border-bottom: solid 2px #fff;
			border-right: solid 2px #fff;
			transform: rotate(45deg);
			position: absolute;
			top: 0;
			right: 25px;
			bottom: 0;
			margin: auto;
		}
	a{
		color: #fff;
		background: var(--main-color);
		width: 100%;
		height: 100%;
		border-radius: 50px;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		transition: all .5s;
		&:link{color: #fff;}
		&:visited{color: #fff;}
		&:hover{
			background: var(--thir-color);
			transition: all .5s;
			opacity: 1;
		}
	}
	}
}

.common_link{
	background: var(--main-color);
	width: var(--wid-360);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: auto;
	color: #fff;
	border-radius: 50px;
	height: 60px;
	line-height: 1;
	position: relative;
	transition: all .5s;
	&::after{
		content: '';
		width: 8px;
		height: 8px;
		border: 0;
		border-bottom: solid 2px #fff;
		border-right: solid 2px #fff;
		transform: rotate(-45deg);
		position: absolute;
		top: 0;
		right: 25px;
		bottom: 0;
		margin: auto;
	}
	&:link{color: #fff;}
	&:visited{color: #fff;}
	&:hover{
		background: var(--thir-color);
		transition: all .5s;
		opacity: 1;
	}
}

@media screen and (max-width: 767px) {
	.anker_link ul{
		flex-wrap: wrap;
		gap: 1rem;
		margin-top: 3rem;

		li{
			width: calc(50% - 1rem);
			font-size: 1.2rem;
			box-sizing: border-box;
			height: auto;
			&:before{
				top: auto;
				right: 0;
				left: 0;
				bottom: 12px;
			}

			a{
				padding: 1rem 5% 2.2rem;
				box-sizing: border-box;
				line-height: 1.4;
			}
		}
	}
	.common_link{
		max-width: 300px;
		height: 40px;
	}
}

.cotemain{
	.contebox:last-of-type{
		margin-bottom: var(--space-130);
	}
}

.contebox{
	background: var(--gradeA);
	margin-top: var(--space-130);
	padding: var(--space-622);

	figure{
		margin: 0;
	}

	h3{
		line-height: 1.5;
		font-size: var(--font-size3);
		color: #fff;
		text-align: center;
		position: relative;
		display: flex;
		flex-direction: column;
		gap: 1.6rem;
		align-items: center;
		font-weight: 600;
		margin-top: -11rem;
		margin-bottom: var(--space-50);

		&::before{
			content: url(../img/aicon.svg);
			background: #e5f5fb;
			border-radius: 50%;
			width: 98px;
			height: 98px;
			display: flex;
			align-items: center;
			justify-content: center;
			line-height: 0;
		}
	}
}
.contebox_inner{
	background: #fff;
	padding: var(--space-60);
}

@media screen and (max-width: 767px){

}


.point_flex{
	display: flex;
	gap: 15px;
	margin-bottom: var(--space-50);

	li{
		width: calc(100% / 3);
		border: 3px solid var(--thir-color);
		height: 272px;
		position: relative;
		display: flex;
		align-items: center;
		justify-content: end;
		flex-direction: column;
		gap: 1rem;
		padding: 20px;
		box-sizing: border-box;

		p{
			text-align: center;
			font-weight: bold;
		}
	}

	.num{
		position: absolute;
		top: 0;
		left: 0;
		background: var(--gradeB);
		width: 87px;
		height: 87px;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		color: #fff;
		span{
			font-size: 4rem;
			line-height: 1;
		}
	}
}

@media screen and (max-width: 767px){
	.point_flex{
		flex-direction: column;

		li{
			width: 100%;
		}
	}
}

.mypage_box{
	display: flex;
	gap: 5rem;

	.mypage_image{
		max-width: 314px;
		width: 100%;
	}
}
.mypage_text{
	max-width: 455px;
	width: 100%;

	hgroup{
		display: flex;
		gap: 3rem;

		+ p{
			margin-top: var(--space-50);
		}
	}
	h4{
		color: var(--thir-color);
		font-size: 3rem;
		font-weight: bold;
		letter-spacing: 6px;
	}
}
.contebox_inner:has(.mypage_box){
	display: flex;
	flex-direction: column;
	gap: 6rem;
}
.span_indent{
	display: block;
	text-indent: -1em;
	padding-left: 1em;
}
@media screen and (max-width: 767px){
	.mypage_box{
		flex-direction: column;
	}
	.mypage_text {
		hgroup{
			flex-direction: column;
			gap: 1rem;
			align-items: center;

			figure img{
				width: 60%;
			}
		}
		h4{
			line-height: 1.4;
			font-size: 2rem;
			letter-spacing: 2px;
		}
	}
	.mypage_box{
		gap: 2rem;
	}

	.contebox_inner .mypage_box:nth-of-type(even){
		flex-direction: column-reverse;
	}
	.contebox_inner:has(.mypage_box){
		gap: 2rem;
	}
}

.login_box{
	display: flex;
	align-items: center;
	gap: 5rem;
	justify-content: space-between;
	background: #f4f4f3;
	padding: 30px 60px;
}
.login_allow{
	display: block;
	width: 45px;
	height: 45px;
	margin-inline: auto;
	border-radius: 50%;
	background: var(--thir-color);
	position: relative;
	&::after{
		content: "";
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    position: absolute;
		top: 45%;
		left: 50%;
		transform: translate(-50%, -50%) rotate(135deg);
    margin-inline: auto;
	}
}
.contebox_inner:has(.login_box){
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}
.contebox_inner .login_box:last-of-type{
	margin-bottom: var(--space-30);
}
@media screen and (max-width: 767px){
	.login_box{
		flex-direction: column;
		padding: 30px 20px;
		gap: 2rem;
	}
	.login_allow{
		width: 30px;
		height: 30px;
		&::after{
			width: 8px;
			height: 8px;
		}
	}
	.contebox_inner:has(.login_box){
		gap: 1.5rem;
	}
}

.faq_box{
	display: flex;
	flex-direction: column;
}
.faq_box--tt{
	display: flex;
	align-items: center;
	gap: 2rem;
	padding: 2rem 1.5rem;

	a{display: inline-block;}

	&.faq_box--q{
		background: #e5f5fb;
		border-radius: 10px;
		font-size: var(--font-22);
		color: var(--thir-color);
		font-weight: 600;

		.q_text{
		}
	}
	&.faq_box--a{
		.a_text{
			font-size: var(--font-22);
			color: #f3ae1e;
			font-weight: 600;
		}
	}
}
.contebox_inner:has(.faq_box){
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

@media screen and (max-width: 767px){
	.faq_box--tt{
		flex-direction: column;
		gap: 1rem;

		&.faq_box--a{
			padding: 2rem 0;
		}
	}
}

@media screen and (min-width: 768px) {
/* PCの場合はtelリンクを無効 */
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}