@charset "UTF-8";
/**
 * CH-676 選んだデザイン（functions/selected-designs.php が見本帳の形のときだけ読み込む）
 */

/* ---------- 「☆ 選ぶ」のボタン ---------- */
.p-nedeco-pick {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid #f39800;
	border-radius: 999px;
	background: #fff;
	color: #333;
	font-size: 13px;
	font-weight: bold;
	line-height: 1.4;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.p-nedeco-pick:hover,
.p-nedeco-pick:focus-visible {
	background: #fff4e5;
}
.p-nedeco-pick.is-selected {
	background: #f39800;
	color: #fff;
}
.p-nedeco-pick.is-selected:hover,
.p-nedeco-pick.is-selected:focus-visible {
	background: #e08600;
}

/* カード：右上に丸い札・選んだら枠もオレンジ */
.p-nedeco-card {
	position: relative;
	outline: 2px solid transparent;
	outline-offset: 2px;
	transition: outline-color 0.2s ease;
}
.p-nedeco-card.is-nedeco-selected {
	outline-color: #f39800;
}
.p-nedeco-pick--card {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* 商品のページ */
.p-nedeco-catalog__pick {
	margin: 0 0 12px;
}
.p-nedeco-pick--single {
	padding: 10px 24px;
	font-size: 15px;
}
.p-nedeco-catalog__guide {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.7;
	color: #555;
}

/* ---------- ヘッダー ---------- */
.p-header__welcart-nav__nedeco a {
	background: #f39800;
	color: #fff !important;
	margin-bottom: -1px;
	padding: 0 20px;
}
.p-header__welcart-nav__nedeco a:hover {
	opacity: 0.85;
}
.p-header__welcart-nav__nedeco .p-header__welcart-nav__badge:empty {
	display: none;
}

/* スマホ：カートのボタンの場所に ☆ と数 */
.p-nedeco-selected-button {
	display: none;
}
@media only screen and (max-width: 991px) {
	.p-nedeco-selected-button {
		display: block;
		position: absolute;
		top: 0;
		right: 70px;
		width: 69px;
		height: 59px;
		border-left: 1px solid #ddd;
		color: #f39800 !important;
		line-height: 59px;
		text-align: center;
		text-decoration: none;
	}
	.p-nedeco-selected-button__star {
		font-size: 20px;
	}
	.p-nedeco-selected-button .p-header__welcart-nav__badge {
		background: #f39800;
		color: #fff !important;
		font-size: 10px;
		margin-left: 2px;
		min-width: 18px;
		line-height: 18px;
		padding: 0 4px;
		position: relative;
		bottom: 2px;
	}
}

/* ---------- 一覧の下の帯 ---------- */
.p-nedeco-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 998;
	background: #222;
	color: #fff;
	box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
}
.p-nedeco-bar[hidden] {
	display: none;
}
.p-nedeco-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 12px;
	padding-bottom: 12px;
}
.p-nedeco-bar__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
}
.p-nedeco-bar__link {
	flex-shrink: 0;
	padding: 8px 18px;
	border-radius: 4px;
	background: #f39800;
	color: #fff !important;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	white-space: nowrap;
}
.p-nedeco-bar__link:hover {
	opacity: 0.85;
}
body.has-nedeco-bar {
	padding-bottom: 64px;
}
@media only screen and (max-width: 600px) {
	.p-nedeco-bar__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.p-nedeco-bar__text {
		font-size: 13px;
	}
	.p-nedeco-bar__link {
		text-align: center;
	}
	body.has-nedeco-bar {
		padding-bottom: 110px;
	}
}

/* ---------- 小さな知らせ ---------- */
.p-nedeco-toast {
	position: fixed;
	left: 50%;
	bottom: 90px;
	z-index: 1000;
	max-width: calc(100% - 32px);
	padding: 10px 18px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.85);
	color: #fff;
	font-size: 14px;
	line-height: 1.6;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 10px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.p-nedeco-toast.is-active {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* ---------- 「選んだデザイン」のページ ---------- */
.p-nedeco-selected {
	padding-top: 40px;
	padding-bottom: 60px;
}
.p-nedeco-selected__title {
	margin: 0 0 12px;
	font-size: 26px;
	line-height: 1.5;
}
.p-nedeco-selected__desc {
	margin: 0 0 24px;
	font-size: 14px;
	line-height: 1.8;
	color: #555;
}

/* パッケージの枠 */
.p-nedeco-packages {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}
.p-nedeco-package {
	padding: 14px 16px;
	border: 2px solid #ddd;
	border-radius: 6px;
	background: #fff;
}
.p-nedeco-package p {
	margin: 0;
	line-height: 1.6;
}
.p-nedeco-package__name {
	font-size: 15px;
	font-weight: bold;
}
.p-nedeco-package__count {
	font-size: 20px;
	font-weight: bold;
}
.p-nedeco-package__rest {
	font-size: 13px;
	color: #666;
}
.p-nedeco-package.is-target {
	border-color: #f39800;
	background: #fff8ee;
}
.p-nedeco-package.is-target .p-nedeco-package__rest {
	color: #c87800;
	font-weight: bold;
}
.p-nedeco-package.is-done {
	border-color: #2e9d4f;
	background: #f0faf3;
}
.p-nedeco-package.is-done .p-nedeco-package__rest {
	color: #2e9d4f;
	font-weight: bold;
}

/* 進み具合の棒 */
.p-nedeco-progress {
	margin-bottom: 30px;
}
.p-nedeco-progress__bar {
	display: block;
	width: 100%;
	height: 12px;
	border: 0;
	border-radius: 6px;
	background: #eee;
	-webkit-appearance: none;
	appearance: none;
	overflow: hidden;
}
.p-nedeco-progress__bar::-webkit-progress-bar {
	background: #eee;
	border-radius: 6px;
}
.p-nedeco-progress__bar::-webkit-progress-value {
	background: #f39800;
	border-radius: 6px;
}
.p-nedeco-progress__bar::-moz-progress-bar {
	background: #f39800;
	border-radius: 6px;
}
.p-nedeco-progress.is-done .p-nedeco-progress__bar::-webkit-progress-value {
	background: #2e9d4f;
}
.p-nedeco-progress.is-done .p-nedeco-progress__bar::-moz-progress-bar {
	background: #2e9d4f;
}
.p-nedeco-progress__label {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: #555;
}
.p-nedeco-progress.is-done .p-nedeco-progress__label {
	color: #2e9d4f;
	font-weight: bold;
}

/* 格子と送る枠 */
.p-nedeco-selected__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 30px;
	align-items: start;
}
.p-nedeco-selected__empty {
	margin: 0 0 20px;
	padding: 30px 16px;
	border: 1px dashed #ccc;
	border-radius: 6px;
	color: #666;
	font-size: 14px;
	text-align: center;
}
.p-nedeco-selected__empty[hidden] {
	display: none;
}
.p-nedeco-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}
.p-nedeco-grid__item {
	position: relative;
	margin: 0;
}
.p-nedeco-grid__link {
	display: block;
	color: #333;
	text-decoration: none;
}
.p-nedeco-grid__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	border-radius: 4px;
	background: #f4f4f4;
	overflow: hidden;
}
.p-nedeco-grid__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.p-nedeco-grid__placeholder {
	font-size: 12px;
	color: #999;
}
.p-nedeco-grid__number {
	margin: 4px 0 0;
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
	letter-spacing: 0.05em;
}
.p-nedeco-grid__remove {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	font-size: 16px;
	line-height: 28px;
	text-align: center;
	cursor: pointer;
}
.p-nedeco-grid__remove:hover,
.p-nedeco-grid__remove:focus-visible {
	background: #000;
}
.p-nedeco-selected__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}
.p-nedeco-selected__back {
	color: #333;
	text-decoration: underline;
}
.p-nedeco-selected__sep {
	color: #ccc;
}
.p-nedeco-selected__clear {
	padding: 0;
	border: 0;
	background: none;
	color: #d0021b;
	font-size: 14px;
	text-decoration: underline;
	cursor: pointer;
}
.p-nedeco-selected__clear:disabled {
	color: #bbb;
	cursor: default;
}

.p-nedeco-send {
	border: 1px solid #ddd;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}
.p-nedeco-send__title {
	margin: 0;
	padding: 10px 16px;
	background: #f39800;
	color: #fff;
	font-size: 16px;
	line-height: 1.5;
}
.p-nedeco-send__inner {
	padding: 16px;
}
.p-nedeco-send__label {
	display: block;
	margin-bottom: 4px;
	font-size: 12px;
	color: #777;
}
.p-nedeco-send__text {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 160px;
	margin: 0 0 12px;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fafafa;
	font-family: inherit;
	font-size: 13px;
	line-height: 1.6;
	resize: vertical;
	overflow-y: auto;
}
.p-nedeco-send__copy,
.p-nedeco-send__order {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 12px 16px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}
.p-nedeco-send__copy {
	border: 0;
	background: #222;
	color: #fff;
}
.p-nedeco-send__copy:hover {
	background: #000;
}
.p-nedeco-send__copy:disabled {
	background: #aaa;
	cursor: default;
}
.p-nedeco-send__copied {
	margin: 8px 0 0;
	color: #2e9d4f;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
}
.p-nedeco-send__copied[hidden] {
	display: none;
}
.p-nedeco-send__order {
	margin-top: 12px;
	border: 1px solid #333;
	background: #fff;
	color: #333 !important;
}
.p-nedeco-send__order:hover {
	background: #f4f4f4;
}
.p-nedeco-send__steps {
	margin: 16px 0 12px;
	padding-left: 1.5em;
	font-size: 13px;
	line-height: 1.7;
	list-style: decimal;
}
.p-nedeco-send__note {
	margin: 0 0 4px;
	font-size: 12px;
	line-height: 1.6;
	color: #777;
}

@media only screen and (max-width: 991px) {
	.p-nedeco-selected__body {
		grid-template-columns: minmax(0, 1fr);
	}
	.p-nedeco-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media only screen and (max-width: 600px) {
	.p-nedeco-selected {
		padding-top: 24px;
	}
	.p-nedeco-selected__title {
		font-size: 21px;
	}
	.p-nedeco-packages {
		grid-template-columns: minmax(0, 1fr);
	}
	.p-nedeco-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
