@charset "UTF-8";
/* CSS Document */

html,
body {
	padding: 0;
	margin: 0;
}
ul,li {
	list-style: none;
	margin: 0;
	padding: 0;
}
img,svg {
	width: 100%;
}

a {
	text-decoration: none;
	font-family: "Cormorant Garamond", serif;
}


#ha {
	position: relative;
	background: #ddd;
	font-family: "Zen Old Mincho", serif;
}
#main_visual {
	position: relative;
	width: 100%;
	background: #333;
	padding: 5% 0;
	margin-bottom: 5%;
}
#main_visual .title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 90%;
}

.slider-wrapper {
  display: flex;
  overflow: hidden;
}
.slider {
  animation: scroll-left 12s infinite linear 0s both;
  display: flex;
}
.slide {
  width: 1000px; 
}
.slide img {
  display: block;
  width: 100%;
}
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@media only screen and (min-width: 769px)  {
	#main_visual {
		padding: 0;
		position: sticky;
		top: 0;
		height: 100vh;
		margin: 0;
		overflow: hidden;
	}
	.slider-wrapper {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		width: 100%;
	}
	.slider {
	  animation: scroll-left 16s infinite linear 0s both;
	}
	.slide {
		
	  width: 100vw; 
	}
	#main_visual .title {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		max-width: 500px;
	}
}


#main_wrap {
	position: sticky;
	width: 98%;
	max-width: 600px;
	margin: 0 auto;
	background: #ddd;
}
@media only screen and (min-width: 769px)  {
	#main_wrap {
		box-sizing: border-box;
		padding: 0 5%;
/*		border-left: 2px solid #FFF;
		border-right: 2px solid #FFF;*/
	}	
}

#main_read {
	position: relative;
	margin: 0 auto;
	padding: 15% 0

}
#main_read .txt {
	text-align: center;
}
#main_read .txt p {
	font-size: 14px;
	font-weight: 500;
	line-height: 2.2;
}
#main_read .copy {
	margin: 15% auto 5%;
	text-align: center;
}
#main_read .copy p {
	font-size: 20px;
	font-weight: 600;
	line-height: 2.2;
	margin: 0 auto;
}
#main_read .copy p:nth-of-type(2) {
	display: inline-block;
	position: relative;
	margin: 0;
	padding: 0 5%;
	font-size: 26px;
}
#main_read .copy p:nth-of-type(2)::before {
	content: "";
	position: absolute;
	bottom:5%;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("../img/line.svg") no-repeat bottom;
	background-size: 100%;
	opacity: 0.8;
	z-index: 0
}
#main_read .copy p span {
	display: block;
	position: relative;
	z-index: 2;
}
.pie-section {
	width: 80%;
  margin: 0px auto;
  padding: 0px 20px;
  text-align: center;
}

.pie-chart {
  aspect-ratio: 1;
  margin: 0px auto;
	border-radius: 1000px;
	overflow: hidden;
	}

.pie-chart svg {
  width: 100%;
  height: 100%;
  transform: rotate(0deg);
}


.pie-labels {
  fill: #ffffff;
  text-anchor: middle;
  font-size: 7px;
  font-weight: bold;
  pointer-events: none;
}

.pie-labels .percent {
  font-size: 10px;
}


.pie-slice {
  fill: none;
  stroke-width: 160;
  stroke-dasharray: 0 100;
  transition: stroke-dasharray 1.4s ease;
}

.pie-chart.is-visible .pie-slice {
  stroke-dasharray: var(--size) calc(100 - var(--size));
}

.slice1 { stroke: #3979D5; }
.slice2 { stroke: #E8A34B; }
.slice3 { stroke: #63A88A; }
.slice4 { stroke: #A58BC5; }


.color1 { color: #3979D5; }
.color2 { color: #E8A34B; }
.color3 { color: #63A88A; }
.color4 { color: #A58BC5; }

#main_contents {
	position: relative;
	margin: 20% auto 0;
}
#main_contents .section {
	position: relative;
	margin: 10% auto;
}
#main_contents .section:nth-last-of-type(1) {
	margin: 10% auto 0;
	padding-bottom: 15%;
}
.section .head_box {
	position: relative;
	margin: 5% auto 15%;
}
.section .head_box .no {
	width: 80%;
	line-height: 0;
	margin: 0 auto;
}
.section .head_box .name {
	width: 60%;
	line-height: 0;
	margin: 10% auto;
}
.section .head_box .copy p {
	font-size: 20px;
	text-align: center;
}
.section .item_box {
	position: relative;
	padding-bottom: 40px;
}
.section .item_box .img {
	width: 90%;
	margin: 0 auto 5%;
	overflow: hidden;
	border-radius: 20px;
	line-height: 0;
	box-sizing: border-box;
	border: 2px solid #3979D5;
}
.section:nth-of-type(2) .item_box .img {
	border: 2px solid #E8A34B;
}
.section:nth-of-type(3) .item_box .img {
	border: 2px solid #63A88A;
}
.section:nth-of-type(4) .item_box .img {
	border: 2px solid #A58BC5;
}
.section .item_box .txt {
	width: 90%;
	margin: 0 auto;
}
.section .item_box .txt p:nth-of-type(1) {
	display: inline-block;
	position: relative;
	margin: 0;
	font-size: 20px;
	font-family: "Cormorant Garamond", serif;
	font-style: italic;
}
.section .item_box .txt p:nth-of-type(1)::before {
	content: "";
	position: absolute;
	bottom:0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("../img/line.svg") no-repeat bottom;
	background-size: 100%;
	opacity: 0.8;
	z-index: 0
}
.section .other .item_box .txt p:nth-of-type(1) {
	font-style: normal;
	margin-bottom: 5%;
}
.section .other .item_box .txt p:nth-of-type(1)::before {
	display: none;
}
.section .item_box .txt p span {
	display: block;
	position: relative;
	z-index: 2;
}
.section .item_box .check_btn a {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 80px;
	height: 80px;
	background: #3979D5;
	display: block;
	border-radius: 100px;
	color: #FFF;
}
.section:nth-of-type(2) .item_box .check_btn a {
	background: #E8A34B;
}
.section:nth-of-type(3) .item_box .check_btn a {
	background: #63A88A;
}
.section:nth-of-type(4) .item_box .check_btn a {
	background: #A58BC5;
}
.section .item_box .check_btn a span {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	font-size: 14px;
	font-weight: 600;
}
.section .other {
	display: grid;
	grid-template-columns: 1fr 1fr;
	text-align: center;
}
.section .other .item_box .check_btn a {
	position: relative;
	bottom: auto;
	right: auto;
	width: 90%;
	height: auto;
	border-radius: 10px;
	margin: 0 auto;
	padding: 5px 0;
}
.section .other .item_box .check_btn a span {
	display: block;
	position: relative;
	top: auto;
	left: auto;
	transform: translate(0);
	text-align: center;
}
.section .all a {
	position: relative;
	bottom: auto;
	right: auto;
	width: 90%;
	height: auto;
	border-radius: 10px;
	margin: 10% auto 0;
	padding: 10px 0;
	display: block;
	background: #333;
	text-align: center;
	color: #FFF;
}
.speechBubble {
  position: relative;
  display: inline-block;
  margin-top: 20px;
  padding: 24px 16px;
  border: 2px solid #3979D5;
  border-radius: 10px;
  background-color: #ffffff;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #000000;
	box-sizing: border-box;
	width: 100%;
}
.section:nth-of-type(2) .speechBubble {
  border: 2px solid #E8A34B;
}
.section:nth-of-type(3) .speechBubble {
  border: 2px solid #63A88A;
}
.section:nth-of-type(4) .speechBubble {
  border: 2px solid #A58BC5;
}
.speechBubble::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  border-style: solid;
  border-width: 0 10px 20px 10px;
  border-color: transparent transparent #3979D5;
  translate: -50% -100%;
}
.section:nth-of-type(2) .speechBubble::before {
  border-color: transparent transparent #E8A34B;
}
.section:nth-of-type(3) .speechBubble::before {
  border-color: transparent transparent #63A88A;
}
.section:nth-of-type(4) .speechBubble::before {
  border-color: transparent transparent #A58BC5;
}
.speechBubble::after {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  border-style: solid;
  border-width: 0 7.8px 15.5px 7.8px;
  border-color: transparent transparent #ffffff;
  translate: -50% -100%;
}
[data-scroll="anim1"] {
	opacity: 0;
}
[data-scroll="anim1"].is-active {
	animation: fade 1.4s ease 0s forwards;
}
[data-scroll="anim2"] .no,[data-scroll="anim2"] .name,[data-scroll="anim2"] .copy {
	opacity: 0;
	clip-path: inset(0 50% 0 50%);
}
[data-scroll="anim2"].is-active .no,[data-scroll="anim2"].is-active .name,[data-scroll="anim2"].is-active .copy  {
	animation: clip1 1.4s ease 0.2s forwards;
}
@keyframes fade {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
@keyframes clip1 {
	0% {
		opacity: 0;
		clip-path: inset(0 50% 0 50%);
	}
	100% {
		opacity: 1;
		clip-path: inset(0 0 0 0);
	}
}
@keyframes clip2 {
	0% {
		clip-path: inset(0 100% 0 0);
	}
	100% {
		clip-path: inset(0 0 0 0);
	}
}