:root {
	--pink_d: #e4007f;
}

/*ファーストビュー*/
#contents {
	background: url(/img/beginner/mirapuri/title_background-sm.jpg)no-repeat;
	margin: 235px auto 0;
	padding-top: 10px;
}
h1 {
	border-bottom: none;
	margin: 0;
    padding: 0;
}
h1 picture {
	filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.3));
}
h1 picture:first-child img {
	width: 260px;
	position: absolute;
	top: 65px;
	left: 10px;
}
h1 picture:last-child img {
    width: 430px;
    height: auto;
    margin: 0 auto 10px;
}
h1 + div {
	display: flex;
	flex-wrap: wrap;
	justify-content: end;
}
h1 + div picture {
	transition: transform 0.2s;
	filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.3));
}
h1 + div > picture {
	align-self: flex-end;
}

h1 + div > picture > img {
    margin: 10px 10px 10px 0;
    width: 170px;
}
h1 + div ul {
	display: flex;
    justify-content: space-evenly;
	width: 100%;
}
h1 + div ul img {
    width: 140px;
    height: auto;
}

/*スライド*/
.loopslide{
 position: relative;
 display: flex;
 flex-flow: row nowrap;
 width: 460px;
 overflow: hidden;
 margin-top: 30px;
}
.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: 110px;
}

@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 30px;
	margin-top: 80px;
	position: relative;
}
section h2 {
	background-color: var(--white);
	border-bottom: none;
	padding: 0 15px;
	margin: 0;
	position: absolute;
	top: -23px;
	left: 50%;
    transform: translateX(-50%);
    width: max-content;
}
section h2 span {
	font-size: 32px;
	font-weight: bold;
	color: var(--pink_d);
	margin-right: 5px;
}
section p {
    margin-bottom: 30px;
}
section img {
    margin: 0 auto;
}
#content1 img {
	width: 310px;
	height: 210px;
}
#content2 img {
	width: 360px;
	height: 220px;
}
#content3 img {
	width: 380px;
	height: 269px;
}

/*さらに！*/
#full_print {
	background-color: #fff362;
	margin-top: 120px;
	position: relative;
}
#full_print img:first-child {
	position: absolute;
	top: -85px;
	left: -5px;
    width: 100px;
}
#full_print div {
	display: grid;
	grid-template-columns: 3fr 1fr;
	grid-template-rows: auto auto;
	row-gap: 15px;
	column-gap: 15px;
    width: 420px;
	margin: 0 auto;
	padding: 20px 0;
}
#full_print div p:first-of-type {
	font-size: 16px;
	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: 130px;
	height: 130px;
	display: block;
}


/*製作事例*/
article {
	margin-top: 120px;
}
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: 16px;
	font-weight: bold;
	color: var(--white);
	line-height: 50px;
	text-align: center;
	background-color: var(--pink_d);
	border-radius: 5px;
	display: inline-block;
	width: 280px;
}


#sample li {
	display: flex;
	gap: 10px;
}
#sample li:last-child {
    margin: 30px 0;
}
#sample a:has(img) {
	border-radius: 5px;
	box-shadow: 0px 0px 5px rgb(0, 0, 0, 0.2);
	display: block;
	width: 140px;
	height: 140px;
	padding: 15px;
}
#sample a + div {
	display: grid;
	row-gap: 15px;
}
#sample img {
	width: 100%;
	height: 100%;
}
#sample div a{
	font-size: 20px;
	font-weight: bold;
	color: var(--brown_d);
	line-height: 1em;
	border-bottom: solid 4px var(--pink_d);
    padding-bottom: 3px;
	width: 210px;
	position: relative;
}
#sample div a::before {
	content: "";
	position: absolute;
	left: -41px;
	bottom: -15px;
	width: 45px;
	height: 4px;
	background-color: var(--pink_d);
	transform: rotate(-30deg);
}
#sample div a::after {
	content: "";
	position: absolute;
	left: -42px;
	bottom: -29px;
	width: 10px;
	height: 10px;
	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: 20px;
	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: 14px;
	font-weight: bold;
	color: var(--white);
	text-align: center;
	background-color: var(--pink_d);
	width: 60px;
	padding: 10px 0;
	position: absolute;
	left: 10px;
	top: -5px;
}
#sample div div p:first-of-type::after {
	content: '';
	position: absolute;
	left: 0;
	top: 100%;
	height: 0;
	width: 0;
	border-left: 30px solid var(--pink_d);
	border-right: 30px solid var(--pink_d);
	border-bottom: 5px solid transparent;
}
#sample div div p:last-of-type {
    font-size: 15px;
	width: 305px;
	padding: 10px 0 10px 80px
}
#sample .click {
	display: block;
	margin: 0 auto;
}

/*印刷比較表*/
#print_table div {
	display: flex;
    flex-wrap: nowrap;
    overflow-x: hidden;
    overflow-x: auto;
	gap: 15px;
    padding-bottom: 10px;
}
#print_table div > ul {
    flex: 0 0 auto;
}
#print_table li {
	text-align: center;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
}
#print_table li:nth-of-type(1) {
	height: 150px;
}
#print_table li:nth-of-type(1) img {
    width: 200px;
}
#print_table li:nth-of-type(2) {
	height: 55px;
}
#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: 18px;
	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: 14px;
}
#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);
}
/*スクロールバー*/
::-webkit-scrollbar {
	width: 10px;
}
#print_table div::-webkit-scrollbar-track {
	border-radius: 10px;
	background: #ffeef1;
}
#print_table div::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background: var(--pink_d);
}

/*注文*/
#oder {
	border: solid 5px var(--pink_d);
	border-radius: 25px;
	padding: 50px 30px;
	margin-top: 120px;
	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%);
    width: max-content;
}

#oder ul {
	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 li:first-child {
    margin-bottom: 30px;
}

#oder .click {
    width: 100%;
}

#oder ul + p {
	text-align: right;
	margin-right: -10px;
}