@charset "UTF-8";
/*
 * 思い出エピソード募集キャンペーン「my road」特設ページ
 */

:where(.p-my-road-main) :where(*, *::after, *::before) {
	line-height: 1.7;
	color: #009123;
	overflow-wrap: anywhere;
	word-break: normal;
	line-break: strict;
	min-inline-size: 0;
}

.p-my-road-main {
	background: #fff;
	font-feature-settings: "palt";
}

.p-my-road-main + .c-footer {
	margin-top: -80px;
}

@media screen and (max-width: 767px) {
	main .u-pc {
		display: none !important;
	}
}
@media screen and (min-width: 768px) {
	main .u-sp {
		display: none !important;
	}
}

/* 波の区切り（背景色Aの下端に、背景色Bの山を重ねて境界を作る） */
.p-my-road-photos,
.p-my-road-example {
	position: relative;
}

.p-my-road-example::before {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 60px;
	background-repeat: repeat-x;
	background-size: 300px 60px;
	pointer-events: none;
}

.p-my-road-photos {
	padding: 60px 0;
	background-image: url("../img/my-road/photo-wave.png");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: bottom -90px center;
}

@media screen and (max-width: 767px) {
	.p-my-road-photos {
		padding: 30px 24px;
		background-size: cover;
		background-position: bottom -160px center;
	}
}

.p-my-road-photos__heading {
	margin: 90px auto 60px;
	width: 40%;
	max-width: 540px;
}

@media screen and (max-width: 767px) {
	.p-my-road-photos__heading {
		width: 70%;
		min-width: 300px;
		margin: 30px auto;
	}
}


.p-my-road-photos__heading-img {
	width: 100%;
	height: auto;
}

/* エピソード例: 緑背景の上端に緑の山を重ねて写真セクションとの継ぎ目をなじませる */
.p-my-road-example {
	background: #009123;
}
.p-my-road-example::before {
	top: -1px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C 75 0 150 60 225 30 C 262.5 15 281.25 22.5 300 30 L300 60 L0 60 Z' fill='%23009123'/%3E%3C/svg%3E");
	opacity: 0;
}

/* エピソード例の吹き出し下の車アイコン（icon-car.svgをマスクとして色を緑に） */
.p-my-road-example__car {
	position: absolute;
	bottom: -26px;
	width: 32px;
	height: 16px;
	background-color: #009123;
	-webkit-mask-image: url("../img/my-road/icon-car.svg");
	mask-image: url("../img/my-road/icon-car.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-position: center;
	mask-position: center;
}
.p-my-road-example__item--left .p-my-road-example__car {
	left: 76px;
}
.p-my-road-example__item--right .p-my-road-example__car {
	right: 76px;
}

/* FV
--------------------------------------------- */
.p-my-road-fv {
	position: relative;
	height: 660px;
	background-image: url("../img/my-road/hero-bg.png");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top center;
	text-align: center;
	margin-top: -120px;
}

@media screen and (min-width: 1919px) {
	.p-my-road-fv {
		min-height: 700px;
	}
}

@media screen and (max-width: 767px) {
	.p-my-road-fv {
		aspect-ratio: auto;
		height: 540px;
		padding-block: 64px;
	}
}
.p-my-road-fv__inner {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 1000px;
	margin-inline: auto;
	padding-inline: 24px;
	margin-top: 80px;
}
@media screen and (max-width: 767px) {
	.p-my-road-fv__inner {
		padding-bottom: 0;
		top: 120px;
	}
}
.p-my-road-fv__logo {
	display: inline-block;
	width: clamp(20rem, 15.752rem + 18.12vw, 37.5rem);
	height: auto;
	margin-top: 160px;
}
@media screen and (max-width: 767px) {
	.p-my-road-fv__logo {
		width: 300px;
		margin-top: 60px;
	}
}
.p-my-road-fv__copy {
	margin-top: clamp(20px, 1.67vw, 32px);
	font-size: clamp(1.125rem, 0.913rem + 0.91vw, 2rem);
	font-weight: 700;
	color: #fff;
	letter-spacing: 0.1em;
}

/* リード文
--------------------------------------------- */
.p-my-road-lead {
	padding: 20px 0 40px;
	background: #fff;
	text-align: center;
}
.p-my-road-lead__text {
	margin-inline: auto;
	padding-inline: 24px;
	font-size: clamp(1.4rem, 1.8vw, 1.6rem);
	font-weight: 700;
	line-height: 2;
	letter-spacing: 0.1em;
}
@media screen and (max-width: 767px) {
	.p-my-road-lead__text {
		text-align: left;
		max-width: none;
		font-size: 1rem;
	}
}

/* 注意書き
--------------------------------------------- */
.p-my-road-notice {
	width: clamp(42.5rem, 19.643rem + 47.62vw, 62.5rem);
	margin: 0 auto clamp(1.875rem, 1.607rem + 1.14vw, 3.75rem);
	padding: 10px;
	border-radius: 50px;
	background: #009123;
	aspect-ratio: 976 / 174;
}

@media screen and (max-width: 767px) {
	.p-my-road-notice {
		max-width: none;
		margin: 0 24px 45px;
		aspect-ratio: 642 / 240;
		width: auto;
	}
}

@media screen and (max-width: 500px) {
	.p-my-road-notice {
		aspect-ratio: 321 / 215;
		border-radius: 32px;
		margin-bottom: 32px;
	}
}


.p-my-road-notice__text {
	display: flex;
	justify-content: center;
	align-items: center;
	background-image: url("../img/my-road/dashed-square.png");
	background-size: 100% 100%;
	background-position: top center;
	background-repeat: no-repeat;
	font-size: clamp(1.125rem, 1.034rem + 0.39vw, 1.5rem);
	font-weight: 700;
	color: #fff;
	line-height: 1.75;
	letter-spacing: 0.1em;
	text-align: center;
	border-radius: 24px;
	padding: 6px 0;
	aspect-ratio: 976 / 174;
}

@media screen and (max-width: 767px) {
	.p-my-road-notice__text {
		text-align: left;
		background-image: url("../img/my-road/dashed-square-tab.png");
		aspect-ratio: 642 / 240;
		padding: 12px 24px;
	}
}

@media screen and (max-width: 500px) {
	.p-my-road-notice__text {
		background-image: url("../img/my-road/dashed-square-sp.png");
		aspect-ratio: 321 / 215;
	}
}


/* CTA
--------------------------------------------- */
.p-my-road-cta {
	margin-bottom: clamp(32px, 2.92vw, 56px);
	text-align: center;
	margin: 0 auto;
}
.p-my-road-cta__btn {
	position: relative;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 40%;
	max-width: 640px;
	transition: opacity 0.2s;
}

@media screen and (max-width: 767px) {
	.p-my-road-cta__btn {
        width: 80%;
        min-width: 300px;
		margin: 0 auto;
		padding: 0 24px;
	}
}

/* 写真
--------------------------------------------- */
.p-my-road-photos__sp-image {
	display: block;
	width: 100%;
	height: auto;
}
.p-my-road-photos__list {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 24px;
	max-width: 1100px;
	margin-inline: auto;
	padding-inline: 24px;
}
@media screen and (max-width: 767px) {
	.p-my-road-photos__list {
		flex-wrap: wrap;
		gap: 16px;
	}
}
.p-my-road-photos__item {
	overflow: hidden;
	box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.3);
}

/* エピソード例
--------------------------------------------- */
.p-my-road-example {
	padding-block: clamp(32px, 2.92vw, 56px) clamp(40px, 3.75vw, 72px);
}
.p-my-road-example__heading-wrap {
	position: relative;
	z-index: 1;
	max-width: 900px;
	margin-inline: auto;
	padding-inline: 24px;
}
.p-my-road-example__label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	color: #fff;
}
.p-my-road-example__label-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
}
.p-my-road-example__heading {
	margin-top: 8px;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 700;
	color: #fff;
	line-height: 1;
}
.p-my-road-example__list {
	position: relative;
	z-index: 1;
	max-width: 900px;
	margin: 40px auto 0;
	padding-inline: 24px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.p-my-road-example__item {
	display: flex;
}
.p-my-road-example__item--left {
	justify-content: flex-start;
}
.p-my-road-example__item--right {
	justify-content: flex-end;
}
.p-my-road-example__balloon {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(520px, 90vw);
	padding: 20px 13px 32px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	font-size: clamp(1rem, 0.956rem + 0.19vw, 1.25rem);
	font-weight: 700;
	text-align: center;
	letter-spacing: 0.1em;
}

@media screen and (max-width: 767px) {
	.p-my-road-example__balloon {
		padding: 20px 32px;
		text-align: left;
		font-size: clamp(0.813rem, 0.693rem + 0.51vw, 0.938rem);
	}
}

@media screen and (max-width: 500px) {
	.p-my-road-example__balloon {
		padding: 20px;
	}
}


.p-my-road-example__item:nth-child(1) .p-my-road-example__balloon {
	aspect-ratio: 1245 / 425;
	width: min(443px, 90vw);
}
.p-my-road-example__item:nth-child(2) .p-my-road-example__balloon {
	aspect-ratio: 1503 / 426;
	width: min(535px, 90vw);
}
.p-my-road-example__item:nth-child(3) .p-my-road-example__balloon {
	aspect-ratio: 1630 / 426;
	width: min(580px, 90vw);
}
.p-my-road-example__item:nth-child(4) .p-my-road-example__balloon {
	aspect-ratio: 1385 / 425;
	width: min(493px, 90vw);
}

/* 写真展
--------------------------------------------- */
.p-my-road-exhibit {
	padding: 32px 24px 160px;
	background: #009123;
}
.p-my-road-exhibit__card {
	overflow: hidden;
	max-width: 700px;
	margin-inline: auto;
	border-radius: 32px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	border: 3px solid #fff;
}
.p-my-road-exhibit__heading {
	padding: 32px 32px 24px;
	background: #fff;
	text-align: center;
}
.p-my-road-exhibit__heading img {
	display: inline-block;
	width: min(420px, 100%);
	height: auto;
}
.p-my-road-exhibit__body {
	padding: 40px 32px;
	background: #bed27d;
	text-align: center;
}

@media screen and (max-width: 767px) {
	.p-my-road-exhibit__body {
		padding: 32px 24px;
	}
}


.p-my-road-exhibit__text {
	font-size: 1.4rem;
	font-weight: 700;
	color: #146a36;
}

.p-my-road-exhibit__text {
	font-size: 1.4rem;
	font-weight: 700;
	color: #146a36;
}

@media screen and (max-width: 767px) {
	.p-my-road-exhibit__text {
		font-size: clamp(0.875rem, 0.517rem + 1.53vw, 1.25rem);
	}
}

.p-my-road-exhibit__text-line {
	display: inline-block;
	padding-bottom: 6px;
	background-image: url("../img/my-road/dashed-line.svg");
	background-repeat: repeat-x;
	background-position: bottom;
	background-size: auto 6px;
}
.p-my-road-exhibit__schedule {
	margin-top: 32px;
}
.p-my-road-exhibit__schedule img {
	display: inline-block;
	width: min(480px, 100%);
	height: auto;
}