

#firststep{
	max-width: 980px;
	margin: 0 auto 3em;
}






#firststep h2{
    text-align: center;
    letter-spacing: .2em;
    margin-bottom: 1em
}

#firststep h2 span{
	display: block;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 1em;
	font-size: 1.6rem
}


#firststep h2 span::before,
#firststep h2 span::after {
	display: block;
    width: 2px;
    height: 40px;
    content: '';
    background: var(--color-txt);
}

#firststep h2 span::before {
    transform: rotate(-35deg);
    margin-right: 30px;
}

#firststep h2 span::after {
    transform: rotate(35deg);
    margin-left: 30px;
}

ul.firststep_link{
	display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5em;
  margin: 2em 0 0;
}

ul.firststep_link li h3{
	text-align: center;
	font-size: 1.1rem;
	font-weight: 400
}

ul.firststep_link li h3::before{
	font-family: icomoon;
	content: "\e977";
	padding: 0 .5em 0 0
}


ul.firststep_link li figure{
	width: 100%;
	margin-bottom: 1em;
	cursor: pointer;
  transition: all 0.2s ease; /* 全ての変化を0.2秒で滑らかに */
  
  /* 浮かんでいる状態の影 */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
}





ul.firststep_link li figure img{
	width: 100%;
	height: auto;
	aspect-ratio: 5 / 3;
	object-fit: cover;
	border-radius: 5px;
	position: relative;
	display: block;
}

/* ホバーした時の動き */
ul.firststep_link li figure:hover {
  transform: translateY(4px); /* 下に4px移動 */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 影を小さくして接地感を出す */
}




/* ------------------------------
 #flowchart
------------------------------ */

#flowchart{
	max-width: 1000px;
	margin: 0 auto;
	position: relative;
}



.free{
	display: flex;
	margin-bottom: 1.5em;
}
.free::before{
	display: block;
	width: 30px;
	content: "無　料";
	background-size: auto auto;
	background-color: rgba(255, 216, 216, 1);
	background-image: repeating-linear-gradient(135deg, transparent, transparent 5px, rgba(251, 204, 204, 1) 5px, rgba(251, 204, 204, 1) 10px );
	-webkit-writing-mode: vertical-rl;
	writing-mode: vertical-rl;
	margin: 0 10px 0 0;
	display: flex;
	align-items: center;
	justify-content: center; 
}

.paid{
	margin: 0 0 0 40px
}

@media screen and (max-width: 767px) {}	

@media print, screen and (min-width: 768px) {
	#firststep{
		padding: 3em
	}
	.free::before{width: 50px;}
	.paid{margin: 0 0 0 60px}
}	

@media print, screen and (min-width: 1024px) {}	



.step{
	border: solid 2px #c9dced;
	position: relative;
	border-radius: 10px;
	padding: 1.5em;
}

.step:not(:last-child){
	margin: 0 0 1.5em 0;
}


.step_num_wrap{
	background: var(--color-main-brite);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}




.step_num_wrap span{
	font-weight: bold;
	font-size: 1.3em
}



.step_guide h3{
	font-size: 1.2rem;
	margin-bottom: .5em
}

.step_guide a.more{
	margin: 1em 0 0;
}

@media screen and (max-width: 667px) {
	.step_num_wrap{
		padding: .8em;
		margin-bottom: 1em
	}
	.step_num_wrap span{padding: 0 0 0 .5em}
	.step_guide h3{text-align: center}
	.step_guide p br{
		display: none
	}
}	

@media print, screen and (min-width: 668px) {
	.step{display: flex;}
	.step_num{flex: 1;}
	.step_guide{flex: 6;}
	.step_num_wrap{
		width: 80px;
		height: 80px;
		flex-direction: column;
	}
	.step_num_wrap::after {
	  content: "";
	  position: absolute;
	  top: 0;
	  right: -40px;
	  border-left: 20px solid var(--color-main-brite);
	  border-top: 40px solid transparent;
	  border-right: 20px solid transparent;
	  border-bottom: 40px solid transparent;
	}
	
	.step_num_wrap span{
	display: block;
	}
	
}	

@media print, screen and (min-width: 1024px) {}	