/*
 * WordPress のブロックレイアウトクラスは wp-container-番号 から
 * is-layout-* に変わった。追加CSSが古い番号を指したままなので、
 * 同じ見た目をクラス内容で指定し直す。
 */

/* カリモク60 リボン。基準だったカラムの position が外れると画面左上に飛ぶ */
.wp-block-column:has(> .yws_ribbon) {
	position: relative;
}

/* Items のカバー文字。旧 .wp-container-10 */
.home .post-content > .wp-block-columns.yws_full:not(.yws_top_bottom) .wp-block-cover__inner-container p:first-child a,
.page-id-13506 .post-content > .wp-block-columns.yws_full:not(.yws_top_bottom) .wp-block-cover__inner-container p:first-child a,
.page-id-13528 .post-content > .wp-block-columns.yws_full:not(.yws_top_bottom) .wp-block-cover__inner-container p:first-child a {
	line-height: 1.5;
	letter-spacing: 4px;
	font-size: 16px;
	display: block;
	padding-top: 3em;
}

.home .post-content > .wp-block-columns.yws_full:not(.yws_top_bottom) .wp-block-cover__inner-container p:nth-child(2) a,
.page-id-13506 .post-content > .wp-block-columns.yws_full:not(.yws_top_bottom) .wp-block-cover__inner-container p:nth-child(2) a,
.page-id-13528 .post-content > .wp-block-columns.yws_full:not(.yws_top_bottom) .wp-block-cover__inner-container p:nth-child(2) a {
	font-size: 28px;
	letter-spacing: .2rem;
	line-height: 35px;
	text-transform: uppercase;
	margin: -15px 0 0 !important;
	display: block;
	font-family: Roboto, Arial, Helvetica, sans-serif;
}

.home .post-content > .wp-block-columns.yws_full:not(.yws_top_bottom) .wp-block-cover__inner-container p:nth-child(3) a,
.page-id-13506 .post-content > .wp-block-columns.yws_full:not(.yws_top_bottom) .wp-block-cover__inner-container p:nth-child(3) a,
.page-id-13528 .post-content > .wp-block-columns.yws_full:not(.yws_top_bottom) .wp-block-cover__inner-container p:nth-child(3) a {
	font-size: 12px;
	line-height: 1.6;
}

.home .post-content > .wp-block-columns.yws_full:not(.yws_top_bottom),
.home .post-content > .wp-block-columns.yws_full:not(.yws_top_bottom) div,
.page-id-13506 .post-content > .wp-block-columns.yws_full:not(.yws_top_bottom),
.page-id-13506 .post-content > .wp-block-columns.yws_full:not(.yws_top_bottom) div,
.page-id-13528 .post-content > .wp-block-columns.yws_full:not(.yws_top_bottom),
.page-id-13528 .post-content > .wp-block-columns.yws_full:not(.yws_top_bottom) div {
	gap: 0;
}

/* 店舗カード。旧 .wp-container-29 */
.post-content > .wp-block-columns:has(.yws_ribbon) > .wp-block-column {
	background: #f8f8f8;
}

.post-content > .wp-block-columns:has(.yws_ribbon) > .wp-block-column > .wp-block-columns {
	gap: 0;
}

.post-content > .wp-block-columns:has(.yws_ribbon) > .wp-block-column > .wp-block-columns > .wp-block-column:nth-child(2) {
	padding: 0 15px;
}

.post-content > .wp-block-columns:has(.yws_ribbon) .wp-block-column p:nth-child(2) {
	letter-spacing: 2px;
	line-height: 1.2;
	font-weight: bold;
	color: #464646;
}

.post-content > .wp-block-columns:has(.yws_ribbon) .wp-block-column p:nth-child(2) strong {
	font-size: 24px;
}

.post-content > .wp-block-columns:has(.yws_ribbon) .wp-block-column p:nth-child(6) {
	font-size: 11px !important;
	font-weight: bold;
	color: hsla(160, 89%, 12%, 0.9);
}

.post-content > .wp-block-columns:has(.yws_ribbon) figure.wp-block-image {
	height: 0;
	padding-bottom: 100%;
	position: relative;
}

.post-content > .wp-block-columns:has(.yws_ribbon) figure.wp-block-image img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 法人向け。旧 .wp-container-34 */
.yws_top_bottom h3 {
	letter-spacing: .1em;
	font-family: Roboto, Arial, Helvetica, sans-serif;
	font-style: normal;
	border-bottom: 1px solid #e0dede;
}

.yws_top_bottom .wp-block-button__link {
	padding: 16px 23px !important;
	line-height: 18px;
	font-size: 13px;
	border: 1px solid #fff !important;
	letter-spacing: 2px;
	width: 160px;
	box-sizing: border-box;
}

.yws_top_bottom img {
	max-width: 100% !important;
}

/* iPhone Safari: 日付入力のはみ出し・見た目の統一 */
input[type="date"] {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 2.6em;
	margin: 0;
	padding: .5em .8em;
	background: #fff;
	border: 1px solid #000;
	border-radius: 3px;
	text-align: left;
	font-size: 16px; /* iOSの自動ズーム防止 */
}
input[type="date"]::-webkit-date-and-time-value {
	text-align: left;
	min-width: 0;
}