@charset "UTF-8";
/*base*/
*{
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
}

header, footer, nav, section, article {
	display:block;
}

html{
	font-size: 62.5%;
	overflow-y: scroll;
}

body{
	font-size: 1.4rem;
	color: #222222;
	background: #F8F8F8;
	font-family: 'Noto Sans JP','Helvetica','Helvetica Neue','Avenir','Arial','メイリオ',sans-serif;
}

* html .clearfix { zoom: 1; }  /* IE6 */
*:first-child+html .clearfix{ zoom: 1; }  /* IE7 */

/*text-align*/
.txt_alignleft{
	text-align: left !important;
}
.txt_alignright{
	text-align: right !important;
}
.txt_aligncenter{
	text-align: center !important;
}

/*vertical-align*/

.txt_aligntop{
	vertical-align: top !important;
}
.txt_alignmiddle{
	vertical-align: middle !important;
}
.txt_alignbottom{
	vertical-align: bottom !important;
}

/*link*/
a img {
    border-style: none;
  }

a:link{
	color: #222222;
	text-decoration: none;
}

a:active{
	text-decoration: none;
	}

a:visited{
	color: #222222;
	}

a:hover{
	text-decoration: none;
}

a.btn_join{
	display: block;
	background: #dd0034;
	color: #ffffff;
	text-align: center;
	border-radius: 5px;
}

a img:hover,a.btn_join:hover{
	opacity: 0.8;
}

.wrap {
	position: relative;
	max-width: 800px;
	margin: 0 auto 60px;
	border-left: 1px solid #222;
}
.backgorund_wrap {
	position: absolute;
	width: 100%;
	height: 100%;
	inset: 0 0 0 0;
	overflow: hidden;
	z-index: -1;
}
.background_gradient {
	position: absolute;
	z-index: -1;
}

.color01 {
	width: 500px;
	height: 500px;
	left: -80px;
	top: -200px;
	background: radial-gradient(circle, rgba(246, 239, 196, 0.6) 0%, rgba(255, 255, 255, 0) 80%);
}
.color02 {
	width: 600px;
	height: 600px;
	right: 20px;
	top: 80px;
	background: radial-gradient(circle, rgba(240, 220, 255, 0.5) 0%, rgba(255, 255, 255, 0) 60%);
}
.color03 {
	width: 550px;
	height: 550px;
	right: -200px;
	bottom: 80px;
	background: radial-gradient(circle, rgba(207, 224, 124, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
}
.color04 {
	width: 450px;
	height: 450px;
	right: -140px;
	bottom: -100px;
	background: radial-gradient(circle, rgba(240, 220, 255, 0.5) 0%, rgba(255, 255, 255, 0) 70%);
}
/* header */
.header {
	position: relative;
	display: flex;
	flex-direction: column-reverse;
	height: 240px;
}
.container {
	position: absolute;
	right: 40px;
	top: 28px;
	width: 300px;
	height: 415px;
	border-radius: 200px;
	background-color: #fff;
}
.container::after {
	content: "";
	display: block;
	position: absolute;
	left: -31px;
	top: 181px;
	width: 64px;
	height: 64px;
	background: url('../img/animaltype/header_obj.svg') center center no-repeat;
}

.slider-area {
	position: relative;
	width: 100%;
	height: 415px;
}

.slider-item {
	position: absolute;
	inset: 0;
	opacity: 0;
	z-index: 0;
	animation: slideShow 16s linear infinite 0s;
}

.slider-item:nth-child(2) {
	animation-delay: 2s;
}

.slider-item:nth-child(3) {
	animation-delay: 4s;
}

.slider-item:nth-child(4) {
	animation-delay: 6s;
}

.slider-item:nth-child(5) {
	animation-delay: 8s;
}

.slider-item:nth-child(6) {
	animation-delay: 10s;
}

.slider-item:nth-child(7) {
	animation-delay: 12s;
}

.slider-item:nth-child(8) {
	animation-delay: 14s;
}

.slider-item img {
	width: 300px;
	height: 100%;
	border-radius: 200px;
	object-fit: cover;
	border: 1px solid #222;
}
.page-ttl_wrap {
	position: relative;
}
.page-ttl_wrap::after {
	content: "";
	position: absolute;
	display: block;
	width: 40px;
	height: 40px;
	top: -60px;
	right: 0;
	background: url('../img/animaltype/header_obj.svg') center center no-repeat;
	background-size: cover;
}
.page-ttl_wrap h1 {
	padding: 20px 0 20px 20px;
	font-size: 40px;
	font-weight: 100;
	line-height: 1.3;
}
.page_description {
	position: absolute;
	padding: 20px;
}

/* list */
.type_list_wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 220px 20px 20px 20px;
	border: 1px solid #222;
	border-left: 0;
}
.type_list_wrap::after {
    content: "";
    display:block;
	width: 24%;
}
.type_list_wrap::before {
    content: "";
    display:block;
	width: 24%;
	order: 1;
}
.type_list_wrap .page_description {
	width: 100%;
	font-size: 20px;
	font-weight: 300;
}.type_list_wrap .page_description p {
	padding: 0px 0px 148px 0px;
}
.type_box {
	position: relative;
	background-color: #ffffff;
}
.type_box .type_title {
	padding: 12px;
	font-size: 26px;
	font-weight: bold;
	text-align: center;
	border-bottom: 1px solid #333333;
}
.type_box.fox .type_title {
	background-color: #C5E0AD;
}
.type_box.horse .type_title {
	background-color: #F6EFC4;
}
.type_box.lion .type_title {
	background-color: #2AA3C5;
}
.type_box.mole .type_title {
	background-color: #615C81;
}
.type_box.monkey .type_title {
	background-color: #F8ECAD;
}
.type_box.raccoon .type_title {
	background-color: #CFE07C;
}
.type_box.sheep .type_title {
	background-color: #E9C796;
}
.type_box.tiger .type_title {
	background-color: #4BB680;
}
.type_list_wrap .type_box {
	display: flex;
	width: 24%;
	margin: 6px 0;
	border: 1px solid #333333;
	overflow-wrap: break-word;
	word-break: break-all;
	transition: all .1s linear;
}
/* .type_list_wrap .type_box:hover {
	box-shadow: 4px 4px;
	transform: translateY(-2px) translateX(-2px);
} */
.type_body {
	padding: 8px;
}
.type_list_wrap .type_box figure {
	position: relative;
}
.type_list_wrap .type_box figure img {
	position: relative;
	width: 100%;
	height: 100%;
	transition: all .25s linear;
	z-index: 1;
}
.type_list_wrap .type_box:hover figure img {
	transform: scale(1.05);
	opacity: 1;
}
.type_list_wrap .type_box figure::after {
	content: "";
	position: absolute;
	width: 80px;
	height: 80px;
	left: 50%;
	top: 50%;
	transform: translateY(-50%) translateX(-50%);
	border-radius: 50px;
	z-index: 0;
}
.type_list_wrap .type_box.fox figure::after {
	background-color: #C5E0AD;
}
.type_list_wrap .type_box.horse figure::after {
	background-color: #F6EFC4;
}
.type_list_wrap .type_box.lion figure::after {
	background-color: #2AA3C5;
}
.type_list_wrap .type_box.mole figure::after {
	background-color: #615C81;
}
.type_list_wrap .type_box.monkey figure::after {
	background-color: #F8ECAD;
}
.type_list_wrap .type_box.raccoon figure::after {
	background-color: #CFE07C;
}
.type_list_wrap .type_box.sheep figure::after {
	background-color: #E9C796;
}
.type_list_wrap .type_box.tiger figure::after {
	background-color: #4BB680;
}

.type_content {
	margin: 16px auto 8px;
	text-align: center;
	font-size: 14px;
	color: #222;
}

button {
	position: relative;
	display: block;
	cursor: pointer;
	outline: none;
	border: 0;
	vertical-align: middle;
	text-decoration: none;
	background: transparent;
	padding: 0;
	margin: 0 auto 16px;
	font-size: inherit;
	font-family: inherit;
}

button.learn-more {
	width: 140px;
	height: auto;
}

button.learn-more .circle {
	transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
	position: relative;
	display: block;
	margin: 0 auto;
	width: 48px;
	height: 48px;
	background: #222;
	border-radius: 48px;
}

button.learn-more .circle .icon {
	transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	background: #fff;
}

button.learn-more .circle .icon.arrow {
	transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
	left: 16px;
	width: 12px;
	height: 1.5px;
	background: none;
}

button.learn-more .circle .icon.arrow::before {
	position: absolute;
	content: "";
	top: -4px;
	right: 0px;
	width: 8px;
	height: 8px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);	
}

button.learn-more .button-text {
	position: absolute;
	inset: 0 -5px 0 0;
	padding: 14px 0;
	margin: 0 0 0 20px;
	color: #fff;
	font-weight: bold;
	line-height: 1.6;
	text-align: center;
	text-transform: uppercase;
	opacity: 0;
	transition: all .2s linear;
}

.type_box:hover button .circle {
	width: 100%;
}

.type_box:hover button .circle .icon.arrow {
	background: #fff;
	transform: translate(5px, 0);
}

.type_box:hover button .button-text {
	opacity: 1;
	inset: 0;
}
@keyframes slideShow {
	0% {
		opacity: 0;
		animation-timing-function: ease-in;
	}

	8% {
		opacity: 1;
		animation-timing-function: ease-out;
	}

	20% {
		opacity: 1;
	}

	40%,
	100% {
		opacity: 0;
	}
}

/* button */
.button_area {
	display: flex;
	align-items: center;
	flex-direction: column;
	width: 100%;
	margin: 20px auto;
}
.button_area a.cta {
	display: block;
	padding: 16px 20px;
	margin: 12px 0;
	width: 100%;
	max-width: 360px;
	color: #fff;
	font-weight: bold;
	font-size: 16px;
	text-align: center;
	border-radius: 50px;
	background-color: #2C72D9;
}
.button_area a.top_link {
	margin-bottom: 8px;
	font-size: 16px;
	color: #2C72D9;
	text-decoration: underline;
}

/* content */
.type_list_wrap.content {
	flex-direction: column;
}
.animaltype-single .container {
	background-color: #CFE07C;
}
.animaltype-single .slider-area {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 200px;
	border: 1px solid #222;
}
.content .content_inner {
	display: flex;
	flex-direction: column;
	padding: 20px 40px;
	margin-bottom: 20px;
	background-color: #fff;
	border: 1px #222 solid;
	border-radius: 8px;
	line-height: 1.6;
	overflow-wrap: break-word;
    word-break: break-all;
}
.content section {
	margin-top: 40px;
}
.content h2 {
	padding-bottom: 4px;
	font-size: 16px;
}
.content h2 + div.content_inner {
	margin-top: 12px;
}
.content h2 + p {
	padding-bottom: 16px;
}
.content .content_inner h3 {
	font-size: 14px;
	line-height: 1.6;
	padding-bottom: 12px;
	margin-bottom: 12px;
	border-bottom: 1px solid #222;
}
.content .content_inner h3 .description {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	font-weight: normal;
}
.animaltype-single .page-ttl_wrap::after {
	top: -110px;
}
.animaltype-single .type_list_wrap {
	padding: 180px 40px 20px 40px;
}
.content .button_area {
	margin: 0 auto;
}

/* index */
.toc {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: 48px auto 0;
	padding: 20px 40px;
	background-color: #fff;
	border: 1px #222 solid;
	border-radius: 8px;
	line-height: 1.6;
	overflow-wrap: break-word;
	word-break: break-all;
}

.toc div {
	display: flex;
	justify-content: space-between;
	align-items: center;
	line-height: 1.6;
	font-size: 16px;
}
.toc label {
	padding-right: 4px;
	transition: all .5s linear;
}
.toc label::after {
	content: "";
	display: block;
	cursor: pointer;
	width: 6px;
	height: 6px;
	margin-left: 10px;
	border-bottom: 1px solid #333;
	border-right: 1px solid #333;
	transform: rotate(45deg);
}

.toc:has(:checked) label::after {
	content: "";
	display: block;
	width: 6px;
	height: 6px;
	margin-left: 10px;
	border-bottom: 1px solid #333;
	border-right: 1px solid #333;
	transform: rotate(-135deg);
	cursor: pointer;
}

.toc input {
	display: none;
}

.toc ol {
	list-style-type: decimal;
	margin: 0;
	overflow: hidden;
}

.toc>ol {
	height: 0;
	opacity: 0;
	transition: all .3s linear;
}

.toc:has(:checked)>ol {
	height: auto;
	margin-top:12px;
	border-top: 1px solid #222;
	opacity: 1;
}
.toc li {
	padding: 8px 0 0 0 ;
	margin-left: 20px;
	font-weight: 600;
}
.toc li a.toc_h2 {
	font-size: 16px;
}
.toc>ol>li:first-child {
	margin-top: 12px;
}
.toc ol ol li {
	padding: 4px 0;
	font-weight: normal;
	font-size: 14px;
}

.toc a {
	color: #333;
	text-decoration: none;
}
.toc a:hover {
	text-decoration: underline;
	transition: all .5s linear;
}



@media screen and (max-width:760px) {
	.header {
		display: flex;
		flex-direction: column;
		height: auto;
	}
	.wrap {
		border: 0;
		margin: 0 auto;
		padding-bottom: 40px;
	}
	.type_list_wrap {
		border: 0;
		padding: 20px;
	}
	.container {
		position: relative;
		right: auto;
		left: 50%;
		top: 0;
		width: 300px;
		height: 415px;
		transform: translateX(-50%);
	}
	.container::before {
		content: "";
		position: absolute;
		width: 100vw;
		left: 50%;
		top: 50%;
		transform: translateY(-50%) translateX(-50%);
		height: 1px;
		background-color: #222;
	}
	.container::after {
		top: 50%;
		transform: translateY(-50%);
	}
	.page-ttl_wrap h1 {
		padding: 20px 0 8px 20px;
		font-size: clamp(20px, 8vw, 32px);
	}
	.page-ttl_wrap h1 br,
	.page_description br {
		display: none;
	}
	.page_description {
		position: relative;
		padding: 0px 20px 20px 20px;
	}
	.type_list_wrap .type_box {
		display: flex;
		width: 48%;
	}
	/* single page */
	.animaltype-single .type_list_wrap {
		padding: 0 20px 20px 20px;
	}
	.animaltype-single .page-ttl_wrap::after {
		top: 140px;
		right: 40px;
		z-index: 2;
	}
	.content .content_inner {
		padding: 20px;
	}
	.toc {
		padding: 20px;
	}
}
