:root {
	--pink_d: #e4007f;
}

/*ファーストビュー*/
#contents {
	background: url(/img/beginner/mirapuri/title_background.jpg)no-repeat;
	margin: 235px auto 0;
	padding-top: 10px;
}
h1 {
	border-bottom: none;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 20px;
}
h1 picture {
	filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.3));
}
h1 + div {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 30px;
}
h1 + div picture {
	transition: transform 0.2s;
	filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.3));
}

h1 + div ul {
	display: flex;
	gap: 20px;
}
h1 + div ul a:hover picture img {
	transform: translateY(2px);
}
h1 + div ul a:hover {
	opacity: 1;
}
h1 + div ul a picture img {
  transition: transform 0.2s;
}
h1 + div ul a:hover picture {
	filter: none;
}


/*スライド*/
.loopslide{
	position: relative;
	display: flex;
	flex-flow: row nowrap;
	width: 1300px;
	overflow: hidden;
	margin-top: 25px;
}
.loopslide ul{
	padding: 0;
	display: flex;
	flex-shrink: 0;
}
.loopslide ul:first-child{
	animation: slide1 60s -30s linear infinite;
}
.loopslide ul:last-child{
	animation: slide2 60s linear infinite;
}
.loopslide ul li{
	display: inline-block;
	list-style: none;
	text-align: center;
}
.loopslide ul li img{
	display: block;
	width: 230px;
}

@keyframes slide1{
	0% {
	transform: translateX(100%);
	}
	to {
	transform: translateX(-100%);
	}
}
@keyframes slide2{
	0% {
	transform: translateX(0);
	}
	to {
	transform: translateX(-200%);
	}
}

/*メインコンテンツ*/
section {
	border: solid 5px var(--pink_d);
	border-radius: 25px;
	padding: 50px;
	margin-top: 80px;
	position: relative;
}
section h2 {
	background-color: var(--white);
	border-bottom: none;
	padding: 0 15px;
	margin: 0;
	position: absolute;
	top: -23px;
	left: 45px;
}
section h2 span {
	font-size: 32px;
	font-weight: bold;
	color: var(--pink_d);
	margin-right: 5px;
}
section div {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
}
section p {
	font-size: 18px;
	width: 680px;
}
#content1 img {
	width: 310px;
	height: 210px;
}
#content2 img {
	width: 360px;
	height: 220px;
}
#content3 img {
	width: 480px;
	height: 340px;
}

/*さらに！*/
#full_print {
	background-color: #fff362;
	margin-top: 150px;
	position: relative;
}
#full_print img:first-child {
	position: absolute;
	top: -70px;
	left: 160px;
}
#full_print div {
	display: grid;
	grid-template-columns: 3fr 1fr;
	grid-template-rows: auto auto;
	row-gap: 20px;
	column-gap: 20px;
	width: 740px;
	margin: 0 auto;
	padding: 20px 0;
}
#full_print div p:first-of-type {
	font-size: 18px;
	font-weight: bold;
	color: var(--brown_d);
	grid-row: 1;
	grid-column: 1;
	align-self: end;
}
#full_print div p:last-of-type {
	grid-row: 2;
	grid-column: 1;
}
#full_print p:first-of-type span:first-of-type {
	font-weight: bold;
	color: var(--white);
	border-radius: 5px;
	background-color: var(--pink_d);
	padding: 10px 15px;
	margin-right: 10px;
}
#full_print p:first-of-type span:last-of-type {
	font-weight: bold;
	color: var(--pink_d);
}
#full_print div a {
  grid-row: 1 / span 2;
  grid-column: 2;
}
#full_print picture img {
	border: solid 5px var(--pink_d);
	border-radius: 50%;
	width: 160px;
	height: 160px;
	display: block;
}

/*製作事例*/
article {
	margin-top: 150px;
}
article h2 {
	color: var(--pink_d);
	text-align: center;
	border-bottom: solid 5px var(--pink_d);
	width: 210px;
	margin: 0 auto 40px;
	padding: 0 0 5px 0;
}
.click {
	font-size: 18px;
	font-weight: bold;
	color: var(--white);
	line-height: 60px;
	text-align: center;
	background-color: var(--pink_d);
	border-radius: 5px;
	display: inline-block;
	width: 330px;
}


#sample ul {
	display: flex;
	justify-content: space-between;
	margin-bottom: 30px;
}
#sample li {
	display: flex;
	gap: 15px;
}
#sample a:has(img) {
	border-radius: 5px;
	box-shadow: 0px 0px 5px rgb(0, 0, 0, 0.2);
	display: block;
	width: 215px;
	height: 215px;
	padding: 15px;
}
#sample a + div {
	display: grid;
	row-gap: 15px;
}
#sample img {
	width: 100%;
	height: 100%;
}
#sample div a{
	font-size: 25px;
	font-weight: bold;
	color: var(--brown_d);
	line-height: 1em;
	border-bottom: solid 4px var(--pink_d);
	width: 260px;
	position: relative;
}
#sample div a::before {
	content: "";
	position: absolute;
	left: -55px;
	bottom: -19px;
	width: 60px;
	height: 4px;
	background-color: var(--pink_d);
	transform: rotate(-30deg);
}
#sample div a::after {
	content: "";
	position: absolute;
	left: -55px;
	bottom: -36px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: var(--pink_d);;
}
#sample div a + p {
	border-left: solid 10px var(--brown_d);
	padding-left: 10px;
}
#sample div a + p span{
	font-size: 25px;
	font-weight: bold;
	color: var(--pink_d);
	display: block;
}
#sample div div {
	background-color: #ffeef1;
	position: relative;
}
#sample div div p:first-of-type {
	font-size: 20px;
	font-weight: bold;
	color: var(--white);
	text-align: center;
	background-color: var(--pink_d);
	width: 80px;
	padding: 10px 0;
	position: absolute;
	left: 15px;
	top: -5px;
}
#sample div div p:first-of-type::after {
	content: '';
	position: absolute;
	left: 0;
	top: 100%;
	height: 0;
	width: 0;
	border-left: 40px solid var(--pink_d);
	border-right: 40px solid var(--pink_d);
	border-bottom: 10px solid transparent;
}
#sample div div p:last-of-type {
	width: 390px;
	padding: 20px 0 20px 110px
}
#sample .click {
	display: block;
	margin: 0 auto;
}

/*印刷比較表*/
#print_table div {
	display: flex;
	gap: 20px;
}
#print_table ul {
	flex: 2;
}
#print_table ul:first-of-type {
	flex: 1;
}
#print_table li {
	font-size: 18px;
	text-align: center;
	height: 70px;
	display: flex;
	justify-content: center;
	align-items: center;
}
#print_table li:nth-of-type(1) {
	height: 200px;
	margin-bottom: 15px;
}
#print_table li:nth-of-type(2) {
	height: 85px;
}
#print_table li:not(:first-child):nth-child(odd) {
	background-color: var(--gray_l);
}
#print_table li:nth-of-type(even) {
	background-color: #e1e1e1;
}
/*見出し*/
#print_table ul:not(:nth-of-type(1)) li:nth-of-type(2) {
	font-size: 25px;
	font-weight: bold;
	color: var(--white);
	background-color:#b4b4b4;
	border-radius: 10px 10px 0 0;
}

#print_table ul:nth-of-type(1) li{
	font-size: 16px;
}
#print_table ul:nth-of-type(1) li:nth-of-type(2) {
	background-color: transparent;
}
#print_table ul:nth-of-type(1) a {
	color: var(--blue_l);
	text-decoration: underline;
}
/*ミラプリ*/
#print_table ul:nth-of-type(3) li {
	font-weight: bold;
}
#print_table ul:nth-of-type(3) li:not(:first-child):nth-child(odd) {
	background-color: var(--white);
}
#print_table ul:nth-of-type(3) li:nth-of-type(even) {
	background-color: #ffeef1;
}
#print_table ul:nth-of-type(3) li:nth-of-type(2) {
	background-color: var(--pink_d);
}
#print_table ul:nth-of-type(3) li:not(:nth-of-type(1)):not(:nth-of-type(2)) {
	border-left: solid 5px var(--pink_d);
	border-right: solid 5px var(--pink_d);
}
#print_table ul:nth-of-type(3) li:last-child {
	border-bottom: solid 5px var(--pink_d);
}

/*注文*/
#oder {
	border: solid 5px var(--pink_d);
	border-radius: 25px;
	padding: 50px;
	margin-top: 150px;
	position: relative;
}
#oder h2 {
	font-size: 25px;
	font-weight: bold;
	color: var(--pink_d);
	background-color: var(--white);
	border-bottom: none;
	padding: 0 25px;
	position: absolute;
	top: -15px;
	left: 50%;
	transform: translateX(-50%);
}

#oder ul {
	display: flex;
	justify-content: center;
	gap: 100px;
	margin-bottom: 15px;
}
#oder ul p {
	font-weight: bold;
	text-align: center;
	margin-bottom: 5px;
	display: flex;
    justify-content: center;
    align-items: center;
}
#oder ul p::before,
#oder ul p::after {
	content: '';
    width: 2px;
    height: 20px;
    background-color: #333333;
}
#oder ul p::before {
    transform: rotate(-35deg);
    margin-right: 15px;
}
#oder ul p::after {
    transform: rotate(35deg);
    margin-left: 15px;
}

#oder ul + p {
	text-align: right;
	margin-right: 205px;
}