@charset "utf-8";

:root {
	--main-color: #3471D6;
	--sub-color: #91B5FB;
	--black: #333333;
}
.pc_display {
	display: none;
}

.contents__wrap img {
	width: 100%;
	height: auto;
}
.contents__wrap a {
	color: var(--black);
	transition: .3s all;
}
.contents__box * {
	font-family: "Noto Sans JP", sans-serif;
	font-weight: var(--weight__regular);
	line-height: 1.5;
	font-size: min(4.102vw, 16px);
	color: var(--black);
}
.contents__box span {
	transition: .3s all;
}
.btn {
	cursor: pointer;
}


.contents__box div h1 {
	display: flex;
	gap: 25px;
	justify-content: center;
}
.contents__box div h1 span {
	font-family: "Outfit", sans-serif;
	font-size: min(10.256vw, 58px);
	text-transform: uppercase;
	color: var(--main-color);
	font-weight: 100;
}
.contents__box div p {
	font-size: min(4.615vw, 24px);
	color: var(--main-color);
	text-align: center;
	/*font-weight: 600;*/
}

.contents__box .read_text {
	line-height: 2;
    font-size: min(4.102vw, 16px);
    text-align: justify;
    padding: 0 10px;
    width: min(90%, 450px);
    margin: 0 auto;
}

.contents__box .btn a {
    width: min(100%, 190px);
    height: 50px;
    padding: 0 20px;
    position: relative;
    text-decoration: none;
    outline: none;
    display: flex;
    border-radius: 50px;
    background-color: #fff;
    transition: all 0.3s ease, background-color 0.3s;
    overflow: hidden;
    background-size: 400%;
    margin: 20px auto;
}
/* 伸びてくる背景 */
.contents__box .btn a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10px;
    z-index: 2;
    transform: scaleX(0);
    transform-origin: 0 50%;
    width: 110%;
    height: inherit;
    border-radius: inherit;
    background-color: var(--main-color);
    transition: all 0.3s ease;
}
/* 丸アイコン */
.contents__box .btn a::after {
    content: "";
    position: absolute;
    top: calc(50% - 4px);
    right: 20px;
    z-index: 3;
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--sub-color);
    border-radius: 20px;
    transition: all 0.3s ease;
}
/* テキスト */
.contents__box .btn .text {
    position: relative;
    position: absolute;
    top: 50%;
    left: 20px;
    z-index: 3;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    letter-spacing: .5px;
    font-weight: 600;
}

.illust__404 {
	width: min(60%, 360px);
    margin: 20px auto;
    display: block;
    padding: 0 20px;
	position: relative;
}
.illust__404::before,
.illust__404::after {
	content:"";
	width: min(2.607vw, 15px);
	height: 20px;
	position: absolute;
}
.illust__404::before {
	background: url("../img/illust__question-blue.png");
	background-repeat: no-repeat;
	background-size:contain;
	top: 20%;
	left: 30%;
	animation: fade-in__blue 3s ease-out infinite;
}

@keyframes fade-in__blue {
	0% {
		transform: rotate(-40deg);
		opacity: 0;
	}
	20% {
		transform: rotate(-20deg);
	}
	40% {
		transform: rotate(0deg);
		opacity: 1;
	}
}


.illust__404::after {
	background: url("../img/illust__question-pink.png");
	background-repeat: no-repeat;
	background-size:contain;
	top: 35%;
	left: 20%;
	animation: fade-in__pink 3s ease-out infinite;
}
@keyframes fade-in__pink {
	0% {
		transform: rotate(60deg);
		opacity: 0;
	}
	20% {
		transform: rotate(30deg);
		opacity: 0;
	}
	40% {
		transform: rotate(0deg);
		opacity: 1;
	}
}
/*=============================
min-width: 768px
==============================*/
@media (min-width: 768px) {
	.sp_display {
		display: none;
	}
	.pc_display {
		display: block;
	}
	.contents__box {
		width: 50%;
		position: relative;
		margin: 50px 0;
	}
	.illust__404 {
		position: absolute;
		top: 50%;
		right: -50%;
		transform: translate(50%, -50%);
		margin: 0 auto;
		width: min(100%, 360px);
		padding: 0;
	}
	.contents__box div h1 span {
		font-size: min(5.208vw, 56px);
	}
	.contents__box div p {
		font-size: min(2.604vw, 24px);
		margin-bottom: 30px;
	}
	.contents__box svg {
		padding: 0;
	}
}

/*=============================
hover-animation
==============================*/
.contents__wrap a:hover {
	opacity: 1;
}
@media (hover: hover) and (pointer: fine) {
	.contents__box .btn a:hover::before {
    transform: scaleX(1);
}
.contents__box .btn a:hover .text {
    color: #fff;
}
.contents__box .btn a:hover::after {
    background-color: #fff;
    transform-origin: center;
    transform: scale(2);

	
}