.home .p-news-ticker,
.home .p-cb--banner,
.p-archive03-item-category,
.single-product .p-entry-product-header-category,
.single-product .p-entry-product-tags {
	display: none !important;
}

/* ブランドページは旧サイトのストーリー構成をRIKYU上で再現する。 */
.page-id-46 .p-single__header {
	display: none;
}

.page-id-46 .p-single__content {
	margin-top: 0;
}

.page-id-46 .p-single__content > .p-body {
	overflow: visible;
}

.page-id-46 .p-single__content > .p-body > :not(.alignfull) {
	box-sizing: border-box;
	width: 100%;
	max-width: 840px;
	margin-right: auto;
	margin-left: auto;
}

.page-id-46 .p-single__content > .p-body > p {
	margin-bottom: 42px;
	font-size: 16px;
	line-height: 2.1;
}

.page-id-46 .p-single__content > .p-body > p:first-child {
	margin-top: 40px;
}

.page-id-46 .p-single__content > .p-body > .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin: 0 0 64px calc(50% - 50vw);
}

.page-id-46 .p-single__content > .p-body > .aligncenter {
	margin-top: 36px;
	margin-bottom: 42px;
}

.page-id-46 .p-single__content .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

.page-id-46 .p-single__content .wp-block-separator {
	margin-top: 72px;
	margin-bottom: 72px;
}

.page-id-46 .p-single__content .wp-block-heading {
	margin-top: 58px;
	margin-bottom: 34px;
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 500;
	line-height: 1.55;
}

.page-id-46 .p-single__content .wp-block-buttons {
	justify-content: center;
	margin-top: 52px;
}

.page-id-46 .p-single__content .wp-block-button__link {
	min-width: 220px;
	padding: 16px 30px;
	border: 1px solid #111;
	border-radius: 0;
	background: #111;
	color: #fff;
	font-size: 14px;
	letter-spacing: .08em;
}

.page-id-46 .p-single__content .wp-block-button__link:hover {
	background: #fff;
	color: #111;
}

@media (max-width: 760px) {
	.page-id-46 .p-single__content > .p-body > p {
		margin-bottom: 30px;
		font-size: 14px;
		line-height: 2;
	}

	.page-id-46 .p-single__content > .p-body > .alignfull {
		margin-bottom: 42px;
	}

	.page-id-46 .p-single__content .wp-block-heading {
		margin-top: 46px;
		margin-bottom: 26px;
		font-size: 21px;
	}
}

.pb-purchase-info {
	margin: 24px 0 14px;
	padding: 18px 20px;
	border: 1px solid #d9d9d9;
	background: #fafafa;
}

.pb-purchase-info p {
	margin: 0;
}

.pb-purchase-info__shipping span {
	font-size: 13px;
	line-height: 1.8;
}

.pb-purchase-info__estimate {
	margin-top: 12px !important;
	padding-top: 12px;
	border-top: 1px solid #d9d9d9;
}

.pb-purchase-notes {
	margin-top: 72px;
	padding-top: 48px;
	border-top: 1px solid #d9d9d9;
}

.pb-purchase-notes h2 {
	margin: 0 0 30px;
	font-size: 24px;
	font-weight: 500;
}

.pb-purchase-notes .p-body {
	max-width: 900px;
}

.pb-rikyu-messages {
	--pb-ink: #111;
	--pb-muted: #777;
	--pb-line: #d9d9d9;
	--pb-soft: #f6f6f6;
	color: var(--pb-ink);
}

.pb-rikyu-messages__header {
	margin: 0 0 48px;
	padding: 0 0 30px;
	border-bottom: 1px solid var(--pb-ink);
}

.pb-rikyu-messages__eyebrow,
.pb-rikyu-message-form__heading > p {
	margin: 0 0 12px;
	color: var(--pb-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .2em;
}

.pb-rikyu-messages__header h2,
.pb-rikyu-message-form__heading h3 {
	margin: 0;
	font-weight: 500;
	letter-spacing: .02em;
}

.pb-rikyu-messages__header h2 {
	font-size: clamp(28px, 4vw, 40px);
}

.pb-rikyu-messages__header > p:last-child {
	margin: 18px 0 0;
	color: var(--pb-muted);
	font-size: 14px;
	line-height: 1.9;
}

.pb-rikyu-messages__empty {
	margin: 0 0 48px;
	padding: 30px;
	background: var(--pb-soft);
	text-align: center;
}

.pb-rikyu-messages__empty p {
	margin: 0;
}

.pb-rikyu-messages__empty p + p {
	margin-top: 7px;
	color: var(--pb-muted);
	font-size: 13px;
}

.pb-rikyu-thread {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0 0 54px;
}

.pb-rikyu-message {
	box-sizing: border-box;
	width: min(78%, 680px);
	padding: 20px 22px;
	border: 1px solid var(--pb-line);
	background: #fff;
}

.pb-rikyu-message.is-shop {
	align-self: flex-start;
}

.pb-rikyu-message.is-customer {
	align-self: flex-end;
	border-color: #bbb;
	background: var(--pb-soft);
}

.pb-rikyu-message__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	align-items: baseline;
	margin-bottom: 12px;
	color: var(--pb-muted);
	font-size: 11px;
	letter-spacing: .04em;
}

.pb-rikyu-message__meta strong {
	color: var(--pb-ink);
	font-size: 13px;
	font-weight: 600;
}

.pb-rikyu-message__body {
	font-size: 14px;
	line-height: 1.9;
	word-break: break-word;
}

.pb-rikyu-message__body p {
	margin: 0;
}

.pb-rikyu-message__body p + p {
	margin-top: 1em;
}

.pb-rikyu-message-form {
	padding-top: 38px;
	border-top: 1px solid var(--pb-ink);
}

.pb-rikyu-message-form__heading {
	margin-bottom: 30px;
}

.pb-rikyu-message-form__heading h3 {
	font-size: 24px;
}

.pb-rikyu-message-form .form-row {
	margin-bottom: 24px;
}

.pb-rikyu-message-form label {
	display: block;
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 600;
}

.pb-rikyu-message-form select,
.pb-rikyu-message-form textarea {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	padding: 13px 14px;
	border: 1px solid #aaa;
	border-radius: 0;
	background: #fff;
	color: var(--pb-ink);
	font: inherit;
	font-size: 16px;
}

.pb-rikyu-message-form select:focus,
.pb-rikyu-message-form textarea:focus {
	border-color: var(--pb-ink);
	outline: 1px solid var(--pb-ink);
	outline-offset: 2px;
}

.pb-rikyu-message-form textarea {
	min-height: 170px;
	resize: vertical;
}

.pb-rikyu-message-form__submit {
	margin-bottom: 0;
	text-align: right;
}

.pb-rikyu-message-form button.button {
	min-width: 180px;
	min-height: 50px;
	padding: 13px 24px;
	border: 1px solid var(--pb-ink);
	border-radius: 0;
	background: var(--pb-ink);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .08em;
}

.pb-rikyu-message-form button.button:hover {
	background: #fff;
	color: var(--pb-ink);
}

.pb-product-options {
	margin: 28px 0;
	padding: 24px;
	border: 1px solid #d9d9d9;
	background: #fafafa;
}

.pb-product-options__intro {
	margin: 0 0 22px;
	font-size: 13px;
}

.pb-product-option {
	display: block !important;
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100%;
	margin: 0 0 18px;
}

.pb-product-option label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 600;
}

.pb-product-options .pb-product-option.p-entry-product-cart-select-wrapper select {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 48px;
	padding: 10px 38px 10px 12px;
	border: 1px solid #aaa;
	border-radius: 0;
	background-color: #fff;
	font-size: 16px;
}

.pb-product-options__total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 18px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #bbb;
}

.pb-product-options__total span {
	font-size: 13px;
}

.pb-product-options__total strong {
	font-size: 22px;
	font-weight: 600;
}

.pb-product-thumbnails {
	display: none;
}

@media (min-width: 761px) {
	.p-entry-product-images[data-image-type="type2"] {
		display: grid;
		grid-template-rows: auto auto;
		gap: 20px;
		align-content: start;
		min-width: 0;
	}

	.p-entry-product-images[data-image-type="type2"] .p-entry-product-images--main {
		position: relative !important;
		top: auto !important;
		isolation: isolate;
		overflow: hidden;
	}

	.p-entry-product-images[data-image-type="type2"] .splide__pagination {
		display: none;
	}

	.pb-product-thumbnails {
		display: flex;
		gap: 10px;
		margin-top: 0;
		padding: 0 0 8px;
		overflow-x: auto;
		overflow-y: hidden;
		scrollbar-width: thin;
	}

	.pb-product-thumbnail {
		flex: 0 0 76px;
		width: 76px;
		height: 76px;
		padding: 0;
		border: 1px solid transparent;
		background: #f2f2f2;
		cursor: pointer;
		opacity: .64;
		transition: border-color .2s ease, opacity .2s ease;
	}

	.pb-product-thumbnail:hover,
	.pb-product-thumbnail:focus-visible,
	.pb-product-thumbnail.is-active {
		border-color: #111;
		opacity: 1;
	}

	.pb-product-thumbnail img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

@media (min-width: 1025px) {
	.p-entry-product-header:has(.p-entry-product-images[data-image-type="type2"]) {
		display: grid;
		grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr);
		gap: 40px;
		align-items: start;
	}

	.p-entry-product-images[data-image-type="type2"],
	.p-entry-product-images[data-image-type="type2"] .p-entry-product-images--main,
	.p-entry-product-images[data-image-type="type2"] .p-entry-product-images--main-track,
	.p-entry-product-images[data-image-type="type2"] .p-entry-product-images--main-list {
		width: 100% !important;
		max-width: 100%;
		min-width: 0;
	}

	.p-entry-product-images[data-image-type="type2"] .p-entry-product-images--main {
		height: auto !important;
		aspect-ratio: 1 / 1;
	}

	.p-entry-product-images[data-image-type="type2"] .p-entry-product-images--main-track,
	.p-entry-product-images[data-image-type="type2"] .p-entry-product-images--main-list,
	.p-entry-product-images[data-image-type="type2"] .p-entry-product-images--main-item,
	.p-entry-product-images[data-image-type="type2"] .p-entry-product-images--main-image {
		height: 100% !important;
	}

	.p-entry-product-header:has(.p-entry-product-images[data-image-type="type2"]) > .summary {
		width: 100% !important;
		height: auto !important;
	}
}

@media (max-width: 760px) {
	.pb-rikyu-messages__header {
		margin-bottom: 36px;
		padding-bottom: 24px;
	}

	.pb-rikyu-messages__header h2 {
		font-size: 28px;
	}

	.pb-rikyu-messages__empty {
		margin-bottom: 38px;
		padding: 25px 18px;
	}

	.pb-rikyu-thread {
		gap: 14px;
		margin-bottom: 42px;
	}

	.pb-rikyu-message {
		width: 92%;
		padding: 16px;
	}

	.pb-rikyu-message__meta {
		margin-bottom: 9px;
	}

	.pb-rikyu-message-form {
		padding-top: 30px;
	}

	.pb-rikyu-message-form__heading {
		margin-bottom: 24px;
	}

	.pb-rikyu-message-form button.button {
		width: 100%;
	}

	.pb-product-options {
		margin: 22px 0;
		padding: 18px 16px;
	}
}
