@charset "UTF-8";
/* 祭り衣装の着方講座　共通 */
#howto .howto-inner {
	background: url(https://gigaplus.makeshop.jp/yamazaki1963/img/howto/bg_main.jpg) center top repeat-y;
  background-size: contain;
  position: relative;
}
#howto .howto-inner::before,
#howto .howto-inner::after  {
  content: "";
  width: 100%;
  height: 20px;
  background: url(https://gigaplus.makeshop.jp/yamazaki1963/img/howto/bg-line-pc.jpg) center center no-repeat;
  background-size: cover;
  position: absolute;
  left: 0;
}
#howto .howto-inner::before {
  top: 0;
}
#howto .howto-inner::after {
  bottom: 0;
}
#howto .howto-inner p.outline  {
  text-align: center;
} 

#howto .howto-inner .howto-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  padding: 0;
  margin: 0 auto;  
}
#howto .howto-list li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
}
#howto .howto-list li {
  display: flex;
  flex-direction: column;
	align-items: center;
	height: 100%;
}
#howto .howto-list img {
  width: 100%;
	width: 100%;
  aspect-ratio: 350 / 300;
  height: auto;
  object-fit: cover;
}
#howto .howto-list p {
	font-size: 1.4rem;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  margin: 2rem 0;
}
#howto .howto-more {
	color: var(--color-white);
  font-weight: 600;
  letter-spacing: 0.1em;
	display: flex;
	justify-content: center;
  background-color: var(--color-Sub);
	width: 100%;
	max-width: 250px;
	margin-inline: auto;
	border-radius: var(--font-2);
}

#howto .howto-inner p.summary  {
  text-align: center;
} 

@media screen and (max-width: 768px) {
	#howto .howto-inner {
		padding: 7rem 0;
	}		
	#howto .howto-inner {
		width: calc(100vw - var(--font-32));
		padding-inline: calc(var(--font-32)/2);
		margin-inline: auto;
	}	
	#howto .howto-inner p.outline  {
		font-size: 1.4rem;		
		margin-block-end: 3rem;
	} 	
	#howto .howto-inner .howto-list {
		gap: 2rem 1.5rem;
	}
	#howto .howto-list li:last-child:nth-child(odd) {
		width: calc((100% - 1.5rem) /2);
	}	
	#howto .howto-list img {
		border-radius: 1.5rem;
	}
	#howto .howto-list p {
		font-size: 1.3rem;
		line-height: 1.2;
	}	
	#howto .howto-more {
		padding: 1rem;
	}	
	#howto .howto-inner p.summary  {
		font-size: 1.4rem;
		margin-block-start: 3rem;
	} 	
}

@media screen and (min-width: 769px) {
	#howto .howto-inner {
		padding: 8rem 0;
	}	
	#howto .howto-inner > * {
		width: 750px;
		margin-inline: auto;
	}
	#howto .howto-inner p.outline  {
		font-size: 1.6rem;
		margin-block-end: 6rem;
	} 
	#howto .howto-inner .howto-list {
		gap: 6rem 5rem;
	}
	#howto .howto-list li:last-child:nth-child(odd) {	
		width: 350px;
	}	
	#howto .howto-list img {
		border-radius: 2rem;
	}	
	#howto .howto-more {
		padding: 2rem;
	}		
	#howto .howto-inner p.summary  {
		font-size: 1.6rem;
		margin-block-start: 6rem;
	} 	
}


/* 祭り衣装の着方講座　詳細ページ */
#howto .howto-list.flow {
  list-style: none;
  counter-reset: step;
}
#howto .howto-list.flow > li {
	padding-block-start: 4rem;
  position: relative;
  counter-increment: step;
}
#howto .howto-list.flow > li::before {
  content: counter(step);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
	height: auto;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-black);
  border-radius: 50%;
  background: var(--color-white);
  z-index: 1;
}

#howto .howto-list.flow p {
	text-align: left;
  align-items: flex-start;
	line-height: 1.4;
	margin-block-end: 0;
}
#howto .howto-list.flow img {
  width: 100%;
	width: 100%;
  aspect-ratio: 310 / 400;
  height: auto;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
	#howto .howto-list.flow > li::before {
		font-size: 1.6rem;
		width: 3rem;
		top: 0;
	}	
}

@media screen and (min-width: 769px) {
	#howto .howto-list.flow > li::before {
		font-size: 2rem;
		width: 4rem;
		top: -1.6rem;
	}	
	#howto .howto-inner > .flow {
		width: 700px;
	}
	#howto .howto-inner .flow {
		gap: 6rem 8rem;
	}
	#howto .howto-list.flow li:last-child:nth-child(odd) {	
		width: 310px;
	}		
}