﻿.maindesign *,
.maindesign *::before,
.maindesign *::after {
	box-sizing: border-box;
	min-height: 0%;
}
.maindesign img {
	display: block;
	width: 100%;
	height: auto;
}
.maindesign,
footer {
	font-family: 'Zen Maru Gothic', serif !important;
}

.maindesign main {
	margin-block-end: 100px;
}
@media screen and (max-width: 767px) {
	.maindesign main {
		margin-block-end: 50px;
	}
}
.maindesign .u-mt-far {
	margin-block-start: 100px;
}
.maindesign .u-mt-leave {
	margin-block-start: 60px;
}
.maindesign .u-mt-moderate {
	margin-block-start: 30px;
}
.maindesign .u-mt-close {
	margin-block-start: 15px;
}
.maindesign .u-mt-thin {
	margin-block-start: 10px;
}
@media screen and (max-width: 767px) {
	.maindesign .u-mt-far {
		margin-block-start: 70px;
	}
	.maindesign .u-mt-leave {
		margin-block-start: 45px;
	}
	.maindesign .u-mt-moderate {
		margin-block-start: 20px;
	}
	.maindesign .u-mt-close {
		margin-block-start: 10px;
	}
	.maindesign .u-mt-thin {
		margin-block-start: 10px;
	}
}

.maindesign .u-pc-only {
	display: block;
}
.maindesign .u-sp-only {
	display: none;
}
@media screen and (max-width: 767px) {
	.maindesign .u-pc-only {
		display: none;
	}
	.maindesign .u-sp-only {
		display: block;
	}
}

.maindesign .l-content-inner {
	width: 1000px;
	margin-inline: auto;
}
@media screen and (max-width: 767px) {
	.maindesign .l-content-inner {
		width: 100%;
		padding-inline: 15px;
	}
	.maindesign .l-content-inner--large {
		padding-inline: 20px !important;
	}
	.maindesign .l-content-inner--narrow {
		padding-inline: 5px !important;
	}
}

.maindesign .p-mv img,
.maindesign .p-mv-bg img {
	height: 100% !important;
	width: auto !important;
}
@media screen and (max-width: 767px) {
	.maindesign .l-header {
		height: auto;
	}
	.maindesign .p-mv {
		width: 100%;
	}
	.maindesign .p-mv img {
		width: 100% !important;
		height: auto !important;
	}
	.maindesign .p-mv-bg {
		display: none;
	}
}

.maindesign .p-announce-container {
	margin-block-start: 60px;
}
.maindesign .p-announce-inner {
	width: 850px;
	margin-inline: auto;
}
@media screen and (max-width: 767px) {
	.maindesign .p-announce-container {
		margin-block-start: 30px;
	}
	.maindesign .p-announce-inner {
		width: 100%;
		padding-inline: 30px;
	}
}

.maindesign .p-theme-container {
	position: relative;
	padding-block-end: 30px;
	margin-block-start: 100px;
}
@media screen and (max-width: 767px) {
	.maindesign .p-theme-container {
		padding-block-end: 20px;
		overflow: hidden;
		margin-block-start: 50px;
	}
}
.maindesign .p-theme-container::before {
	content: '';
	position: absolute;
	background-image: url('/contents/contest/petami_photo_2026/images/251225/left_footprints.png');
	width: 150px;
	height: 200px;
	top: 50%;
	left: 7%;
	transform: translateY(-50%);
	z-index: -10;
	background-size: contain;
	background-repeat: no-repeat;
}
.maindesign .p-theme-container::after {
	content: '';
	position: absolute;
	background-image: url('/contents/contest/petami_photo_2026/images/251225/right_footprints.png');
	width: 150px;
	height: 300px;
	top: 55%;
	right: 0;
	transform: translateY(-50%);
	z-index: -10;
	background-size: contain;
	background-repeat: no-repeat;
}
@media screen and (max-width: 767px) {
	.maindesign .p-theme-container::before {
		content: none;
	}
	.maindesign .p-theme-container::after {
		content: none;
	}
}
.maindesign .p-theme-photo {
	background: #666;
	border: solid #fff;
	border-width: 4px 4px 4px 4px;
	box-shadow: 1px 1px 7px #a9a9a9;
}
.maindesign .p-theme-photo-01 {
	position: absolute;
	top: 15%;
	left: 0;
	width: 155px;
	z-index: -1;
	transform: rotate(-21deg);
	transform-origin: top left;
}
.maindesign .p-theme-photo-02 {
	position: absolute;
	top: 60%;
	right: 0;
	width: 155px;
	z-index: -1;
	transform: translateY(-50%) rotate(21deg);
	transform-origin: top right;
}
.maindesign .p-theme-photo-03 {
	position: absolute;
	bottom: 0;
	left: 5%;
	transform: rotate(15deg);
	width: 155px;
	z-index: -1;
	transform-origin: bottom right;
}

.maindesign .p-thema-heading {
	display: flex;
	justify-content: center;
}
.maindesign .p-thema-heading__inner {
	position: relative;
	display: inline-block;
	margin-bottom: 15px;
	padding: 10px 35px;
	border: 3px solid #7aa820;
	border-radius: 10px;
	background-color: #ffffff;
	text-align: center;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.15em;
	color: #7aa820;
}
@media screen and (max-width: 767px) {
	.maindesign .p-thema-heading__inner {
		font-size: 4.5vw;
	}
}
.maindesign .p-thema-heading__inner::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	border-style: solid;
	border-width: 15px 10px 0 10px;
	border-color: #7aa820 transparent transparent;
	translate: -50% 100%;
}

.maindesign .p-thema-heading__inner::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	border-style: solid;
	border-width: 11.4px 7.6px 0 7.6px;
	border-color: #ffffff transparent transparent;
	translate: -50% 100%;
}

.maindesign .p-thema-main {
	font-size: 2rem;
	text-align: center;
	color: #7aa820;
	font-weight: 800;
	letter-spacing: 0.15em;
	margin-block-start: 15px;
}
@media screen and (max-width: 767px) {
	.maindesign .p-thema-main {
		line-height: 1.35;
		font-size: 6.5vw;
		margin-block-start: 5px;
	}
}
.maindesign .p-thema-sub {
	font-size: 1.25rem;
	text-align: center;
	line-height: 1.6;
	font-weight: 800;
	color: #9e6d42;
	letter-spacing: 0.25em;
	margin-block-start: 30px;
}
@media screen and (max-width: 767px) {
	.maindesign .p-thema-sub {
		font-size: 4vw;
		text-align: justify;
		margin-block-start: 15px;
	}
}
.maindesign .p-petami {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-block-start: 60px;
}
@media screen and (max-width: 767px) {
	.maindesign .p-petami {
		margin-block-start: 30px;
	}
}
.maindesign .p-petami-logo {
	width: 250px;
}
@media screen and (max-width: 767px) {
	.maindesign .p-petami-logo {
		width: 40%;
	}
}
.maindesign .p-petami-btn {
	width: 250px;
	margin-left: 10px;
}
@media screen and (max-width: 767px) {
	.maindesign .p-petami-btn {
		width: 50%;
		margin-left: 5px;
	}
}
.maindesign .p-petami-btn:hover {
	opacity: 0.75;
	transition: 0.6s;
}
.maindesign .p-petami-btn__link {
	text-decoration: none;
}
.maindesign .p-petami-btn__inner {
	position: relative;
	background-color: #7aa820;
	padding: 0.5rem 1.75rem 0.5rem 1.5rem;
	color: #fff;
	line-height: 1.3;
	font-weight: 700;
	border-radius: 9999px;
	text-align: center;
}
.maindesign .p-petami-btn__inner::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 18px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	width: 8px;
	height: 8px;
	transform: translateY(-50%) rotate(45deg);
}
@media screen and (max-width: 767px) {
	.maindesign .p-petami-btn__inner {
		font-size: 3.5vw;
	}
}

.maindesign .p-follow-icon {
	width: 350px;
	margin-inline: auto;
}
@media screen and (max-width: 767px) {
	.maindesign .p-follow-icon {
		width: 75%;
	}
}

.maindesign .p-sp-photo {
	display: none;
}
@media screen and (max-width: 767px) {
	.maindesign .p-sp-photo {
		margin-block-start: 30px;
		display: block;
	}
}
.maindesign .gaiyo-btn {
	display: flex;
	justify-content: center;
	margin-block-start: 60px;
}
@media screen and (max-width: 767px) {
	.maindesign .gaiyo-btn {
		margin-block-start: 30px;
	}
}

.maindesign .gaiyo-btn__box {
	border: 2px solid #ccc;
	text-align: center;
	color: #333;
	font-weight: 700;
	padding: 16px 0;
	width: 250px;
	font-size: 1.25rem;
	border-radius: 5px;
	letter-spacing: 0.05em;
	font-family: 'Zen Maru Gothic', serif !important;
	background-color: #fff;
	text-decoration: none;
}
.maindesign .gaiyo-btn__box:hover {
	border-color: #e5002d;
	transition: 0.6s;
	cursor: pointer;
}
.maindesign .gaiyo-btn__box::after {
	content: '';
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-left: 5px;
	background-image: url(data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23999999%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M18%2014v5a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2V8c0-1.1.9-2%202-2h5M15%203h6v6M10%2014L20.2%203.8%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

@media screen and (max-width: 767px) {
	.maindesign .gaiyo-btn__box {
		width: 220px;
		font-size: 1.15rem;
	}
}

.custom-shape-divider-top-1764570761 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	overflow: hidden;
	line-height: 0;
	transform: rotate(180deg);
}

.custom-shape-divider-top-1764570761 svg {
	position: relative;
	display: block;
	width: calc(225% + 1.3px);
	height: 120px;
}
.custom-shape-divider-top-1764570761 .shape-fill {
	fill: #ffffff;
}
@media screen and (max-width: 767px) {
	.custom-shape-divider-top-1764570761 {
		position: absolute;
		top: -1px;
		left: 0;
		width: 100%;
		overflow: hidden;
		line-height: 0;
		transform: rotate(180deg);
	}

	.custom-shape-divider-top-1764570761 svg {
		position: relative;
		display: block;
		width: calc(299% + 1.3px);
		height: 25px;
		transform: rotateY(180deg);
	}

	.custom-shape-divider-top-1764570761 .shape-fill {
		fill: #ffffff;
	}
}
.custom-shape-divider-bottom-1764570843 {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	overflow: hidden;
	line-height: 0;
}

.custom-shape-divider-bottom-1764570843 svg {
	position: relative;
	display: block;
	width: calc(225% + 1.3px);
	height: 120px;
}

.custom-shape-divider-bottom-1764570843 .shape-fill {
	fill: #ffffff;
}
@media screen and (max-width: 767px) {
	.custom-shape-divider-bottom-1764570843 {
		position: absolute;
		bottom: -1px;
		left: 0;
		width: 100%;
		overflow: hidden;
		line-height: 0;
	}

	.custom-shape-divider-bottom-1764570843 svg {
		position: relative;
		display: block;
		width: calc(299% + 1.3px);
		height: 25px;
		transform: rotateY(180deg);
	}

	.custom-shape-divider-bottom-1764570843 .shape-fill {
		fill: #ffffff;
	}
}

.maindesign .p-apply-bg {
	position: relative;
	background-image: url('/contents/contest/petami_photo_2026/images/251225/apply-bg.png');
}
@media screen and (max-width: 767px) {
	.maindesign .p-apply-bg {
		margin-block-start: 50px;
		margin-block-end: 50px;
	}
}

.maindesign .p-apply-content {
	padding-block: 150px;
}
@media screen and (max-width: 767px) {
	.maindesign .p-apply-content {
		padding-block: 50px;
		position: relative;
	}
	.maindesign .p-apply-content::before {
		content: '';
		position: absolute;
		width: 70px;
		height: 70px;
		top: 50px;
		left: 0;
		background-image: url('/contents/contest/petami_photo_2026/images/251225/left-confetti.png');
		background-size: contain;
		background-repeat: no-repeat;
	}
	.maindesign .p-apply-content::after {
		content: '';
		position: absolute;
		width: 70px;
		height: 70px;
		top: 50px;
		right: 0;
		background-image: url('/contents/contest/petami_photo_2026/images/251225/right-confetti.png');
		background-size: contain;
		background-repeat: no-repeat;
	}
}
.maindesign .p-apply_flow {
	position: relative;
}
.maindesign .p-apply_flow__link-apple {
	position: absolute;
	display: block;
	top: 32.4%;
	left: 8.1%;
	width: 15.5%;
	height: 6.1%;
	border-radius: 8px;
}
@media screen and (max-width: 767px) {
	.maindesign .p-apply_flow__link-apple {
		top: 16.6%;
		left: 13.3%;
		width: 31.1%;
		height: 3.4%;
		border-radius: 6px;
	}
}
.maindesign .p-apply_flow__link-google {
	position: absolute;
	display: block;
	top: 32.4%;
	left: 25.2%;
	width: 18.9%;
	height: 6.1%;
	border-radius: 8px;
}
@media screen and (max-width: 767px) {
	.maindesign .p-apply_flow__link-google {
		top: 16.6%;
		left: 47.5%;
		width: 38.2%;
		height: 3.4%;
		border-radius: 6px;
	}
}

.maindesign .p-apply_flow img {
	width: 100% !important;
	height: 100% !important;
}

.maindesign .p-contest-heading {
	width: 300px;
	text-align: center;
	border-radius: 10px;
	padding: 12px 0;
	font-size: 2.25rem;
	letter-spacing: 0.2em;
	color: #fff;
	font-weight: 700;
	background-color: #9e6d42;
	margin-inline: auto;
}
.maindesign .p-contest-heading__narrow {
	letter-spacing: 0.1em !important;
}
@media screen and (max-width: 767px) {
	.maindesign .p-contest-heading {
		width: 200px;
		font-size: 1.25rem;
	}
}

.maindesign .p-contest-sub-heading {
	text-align: center;
	font-weight: 700;
	font-size: 1.85rem;
	padding-block-end: 12px;
	position: relative;
	width: fit-content;
	margin-inline: auto;
	letter-spacing: 0.05em;
	color: #9e6d42;
}
@media screen and (max-width: 767px) {
	.maindesign .p-contest-sub-heading {
		font-size: 5.2vw;
	}
}
.maindesign .p-contest-sub-heading::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	height: 4px;
	width: 60px;
	background-color: #db6095;
	color: #9e6d42;
}

.maindesign .p-howto {
	margin-inline: auto;
	width: 450px;
}
.maindesign .p-howto__btn {
	background-color: #7aa820;
	border-radius: 9999px;
}
.maindesign .p-howto__btn:hover {
	transition: 0.6s;
	opacity: 0.9;
}
.maindesign .p-howto__link {
	text-decoration: none;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
}
.maindesign .p-howto__inner {
	display: inline-block;
	text-align: center;
	font-weight: 600;
	line-height: 1.3;
	padding: 10px 0;
	font-size: 1.1rem;
	letter-spacing: 0.03em;
}
.maindesign .p-howto__txt {
	text-align: center;
	font-size: 0.95rem;
	color: #7aa820;
	font-weight: 500;
	margin-block-start: 5px;
}
@media screen and (max-width: 767px) {
	.maindesign .p-howto {
		width: 80%;
	}
	.maindesign .p-howto__inner {
		font-size: 1rem;
		padding: 8px 0;
	}
	.maindesign .p-howto__txt {
		font-size: 0.9rem;
	}
}

.maindesign .p-copyTxt {
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
}
.p-copyTxt input {
	width: 600px;
	padding: 15px 10px;
	box-sizing: border-box;
	font-size: 1.5rem;
	margin-inline: auto;
	border: 2px solid #9e6d42;
	color: #9e6d42;
	border-radius: 5px;
}
.p-copyTxt button {
	width: fit-content;
	appearance: none;
	border: 0;
	border-radius: 8px;
	font-weight: bold;
	width: auto;
	height: 100%;
	margin: 0;
	color: #fff;
	display: flex;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: #9e6d42;
	font-size: 1.2rem;
	padding: 0.8em 3.5em;
	box-sizing: border-box;
	margin-top: 15px;
}

@media screen and (max-width: 767px) {
	.p-copyTxt input {
		padding: 15px 10px;
		font-size: 3.5vw;
		width: 100%;
		font-weight: 600;
	}
	.p-copyTxt button {
		font-size: 0.85rem;
		padding: 0.8em 2.75em;
	}
}

.maindesign .p-history-col {
	width: 750px;
	margin-inline: auto;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
}
@media screen and (max-width: 767px) {
	.maindesign .p-history-col {
		max-width: 280px;
		width: 100%;
		grid-template-columns: repeat(1, 1fr);
	}
}

.maindesign .p-prize-bg {
	position: relative;
	background-image: url('/contents/contest/petami_photo_2026/images/251225/prize-bg.png');
}
@media screen and (max-width: 767px) {
	.maindesign .p-prize-bg {
		margin-block-start: 50px;
		margin-block-end: 50px;
	}
}
.maindesign .p-prize-content {
	padding-block: 150px;
}
@media screen and (max-width: 767px) {
	.maindesign .p-prize-content {
		padding-block: 50px;
	}
}

.maindesign .p-prize-heading {
	position: relative;
}
.maindesign .p-prize-heading__star {
	position: absolute;
	top: 50%;
	right: -100px;
	transform: translate(50%, -50%);
	width: 80px;
}
@media screen and (max-width: 767px) {
	.maindesign .p-prize-heading__star {
		right: -40px;
		width: 50px;
	}
}
.maindesign .p-prize-bubble {
	margin-block-start: 60px;
}
@media screen and (max-width: 767px) {
	.maindesign .p-prize-bubble {
		margin-block-start: 30px;
		padding-inline: 15px;
	}
}

.maindesign .p-relation-heading {
	display: flex !important;
	justify-content: center !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.maindesign .p-relation-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-block-start: 60px;
}
.maindesign .p-relation-list--item {
	width: 48%;
}
.maindesign .p-relation-list .p-relation-list--item:nth-child(n + 3) {
	margin-top: 20px;
}

@media screen and (max-width: 767px) {
	.maindesign .p-relation {
		margin-left: 10px;
		margin-right: 10px;
	}
	.maindesign .p-relation-list {
		margin-block-start: 30px;
	}
	.maindesign .p-relation-list--item {
		width: 100%;
	}
	.maindesign .p-relation-list .p-relation-list--item:nth-child(n + 2) {
		margin-top: 15px;
	}
}

.maindesign .p-back-btn {
	text-align: center;
	box-shadow: 0px 8px 16px -2px rgba(10, 10, 10, 0.1), 0px 0px 0px 1px rgba(10, 10, 10, 0.02);
}
.maindesign .p-back-btn > a {
	text-decoration: none;
	display: block;
}
.maindesign .p-back-btn--inner {
	font-weight: 700;
	font-size: 1.8rem;
	padding: 0.5em;
	color: #fff;
	border: 2px solid #fff;
	border-radius: 4px;
	background-color: #7aa820;
	transition: 0.6s;
}

@media screen and (max-width: 767px) {
	.maindesign .p-back-btn--inner {
		font-size: 6vw;
	}
}
