/* =========================================================
   祐天寺ホンダ 子テーマ 追加スタイル（BE COOL 風リニューアル）
   白地・黒（インク）・レッドのミニマムな配色。
   写真タイル・黒バーのキャプション・黒CTAバーで
   モダンな二輪ショップらしい見た目にする。
   ========================================================= */

:root {
	--yh-ink: var(--wp--preset--color--navy, #141414);
	--yh-red: var(--wp--preset--color--red, #cc1428);
	--yh-line: var(--wp--preset--color--gray, #dddddd);
	--yh-muted: var(--wp--preset--color--muted, #6b6b6b);
	--yh-soft: var(--wp--preset--color--soft-gray, #f4f4f4);
}

/* ---------- ヘッダー ---------- */
.yh-header {
	position: sticky;
	top: 0;
	z-index: 100;
	padding-block: 10px;
	border-bottom: 1px solid var(--yh-line);
}
.yh-header .yh-logo img {
	display: block;
	height: auto;
}
.yh-header-contact {
	gap: 16px;
}
.yh-header-tel {
	margin: 0;
	font-size: 13px;
	color: var(--yh-muted);
}
.yh-header-tel a {
	color: var(--yh-ink);
	font-weight: 700;
	font-size: 1.3em;
	text-decoration: none;
}
.yh-header-cta .wp-block-button__link {
	font-size: 13px;
	padding: 10px 18px;
}

/* ---------- ナビゲーション（ロゴ右に配置） ---------- */
.yh-nav {
	background-color: var(--base, #fff);
}
.yh-nav .wp-block-navigation__container {
	justify-content: flex-end;
	gap: 4px;
}
.yh-nav .wp-block-navigation-item {
	margin: 0;
	border: none;
}
.yh-nav .wp-block-navigation-item__content {
	position: relative;
	display: block;
	padding: 12px 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--yh-ink);
	text-decoration: none;
	transition: color 0.15s ease;
}
.yh-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 6px;
	height: 2px;
	background: var(--yh-red);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.2s ease;
}
.yh-nav .wp-block-navigation-item__content:hover,
.yh-nav .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content {
	color: var(--yh-red);
	background: none;
}
.yh-nav .wp-block-navigation-item__content:hover::after,
.yh-nav .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content::after {
	transform: scaleX(1);
}

/* オーバーレイメニュー（ハンバーガー展開時）：黒地に白文字、連絡先を上部に表示 */
.wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--yh-ink) !important;
	padding: 28px 28px 24px;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: flex-start !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	width: 100%;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	position: relative;
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 14px 8px 14px 26px !important;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-align: left;
	color: #fff;
	background: none;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::before {
	content: "›";
	position: absolute;
	left: 0;
	color: var(--yh-red);
	font-weight: 700;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover {
	color: var(--yh-red);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg {
	fill: #fff;
}

/* オーバーレイ上部：電話・営業時間 */
.yh-nav-contact {
	display: none;
}
.wp-block-navigation__responsive-container.is-menu-open .yh-nav-contact {
	display: block;
	padding-bottom: 18px;
	margin-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.yh-nav-contact__tel {
	margin: 0 0 6px;
}
.yh-nav-contact__tel a {
	color: #fff;
	font-weight: 700;
	font-size: 1.7em;
	text-decoration: none;
	outline: none;
}
.yh-nav-contact__hours {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.75);
}

/* ---------- ヒーロー（トップの写真見出し） ---------- */
.yh-hero {
	position: relative;
	overflow: hidden;
	margin: 0 0 0;
}
.yh-hero__bg {
	margin: 0;
}
.yh-hero__bg img {
	width: 100%;
	height: min(80vh, 700px);
	min-height: 520px;
	object-fit: cover;
	display: block;
}
.yh-hero__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 28px;
	background: linear-gradient(
		100deg,
		rgba(10, 10, 10, 0.72) 0%,
		rgba(10, 10, 10, 0.5) 38%,
		rgba(10, 10, 10, 0.12) 68%,
		rgba(10, 10, 10, 0) 85%
	);
}
.yh-hero__eyebrow {
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.28em;
	margin: 0 0 14px;
	opacity: 0.85;
}
.yh-hero__title {
	color: #fff !important;
	font-size: clamp(2rem, 5.2vw, 4.2rem);
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1.2;
	margin: 0 0 18px;
	max-width: 880px;
}
.yh-hero__break-mobile {
	display: none;
}
.yh-hero__title span {
	color: var(--yh-red);
}
.yh-hero__sub {
	color: #fff;
	font-size: 15px;
	line-height: 1.8;
	margin: 0 0 22px;
	max-width: 560px;
}
.yh-hero__call {
	color: #fff;
	font-size: clamp(1.05rem, 2.2vw, 1.5rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.4;
	margin: 0 0 2px;
}
.yh-hero__tap {
	color: #fff;
	font-size: clamp(1.05rem, 2.2vw, 1.5rem);
	text-wrap: balance;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 6px;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.7);
}
.yh-hero__hours {
	color: #fff;
	font-size: clamp(0.8rem, 1.4vw, 1rem);
	font-weight: 700;
	line-height: 1.5;
	margin: 12px 0 0;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.7);
}
.yh-hero__call {
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.7);
}
.yh-hero .wp-block-buttons {
	gap: 12px;
	margin-top: 0;
}
.yh-hero .wp-block-button__link {
	font-size: clamp(1.5rem, 3.6vw, 2.6rem);
	font-weight: 800;
	letter-spacing: 0.03em;
	line-height: 1.2;
	padding: 0.45em 1.2em;
}
.yh-hero .wp-block-button__link:hover {
	background-color: #a50f20 !important;
	color: #fff !important;
}

/* ---------- ページ見出し（黒タグ・赤の左アクセント） ---------- */
.yh-title {
	display: inline-block;
	margin: 24px 0 20px;
	padding: 14px 28px 14px 22px;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff !important;
	background-color: var(--yh-ink);
	border: none;
	border-left: 6px solid var(--yh-red);
	text-align: left;
}

/* ---------- 本文段落のフォント統一（クラス無し＝素のpをyh-lead相当にする） ---------- */
.wp-block-post-content > p.wp-block-paragraph:not([class*="yh-"]) {
	color: #111111;
	font-size: 18px;
	line-height: 1.8;
}

/* ---------- 手順リスト（サービスページ「故障？と思ったら」等） ---------- */
.yh-steps {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.8;
	color: var(--yh-ink);
}

/* ---------- 見出し・リード文 ---------- */
.yh-h2 {
	position: relative;
	font-size: 22px;
	font-weight: 800;
	color: var(--yh-ink);
	line-height: 1.4;
	margin: 32px 0 18px;
	padding-bottom: 12px;
}
.yh-h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 46px;
	height: 4px;
	background: var(--yh-red);
}
.yh-main .wp-block-heading.yh-h2--center {
	text-align: center;
}
.yh-h2--center::after {
	left: 50%;
	transform: translateX(-50%);
}
.yh-h2--bar {
	color: #fff;
	background-color: var(--yh-ink);
	padding: 8px 16px;
	font-size: 18px;
}
.yh-lead {
	color: #111111;
	font-size: 18px;
	line-height: 1.8;
	margin: 6px 0 14px;
	padding-left: 0;
}
.yh-lead--dark {
	color: var(--yh-ink);
}
.yh-note {
	color: var(--yh-muted);
	font-size: 15px;
}

/* ---------- お知らせ枠 ---------- */
.yh-notice {
	background-color: var(--yh-soft);
	border-left: 4px solid var(--yh-red);
	padding: 12px 16px;
	margin: 20px 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--yh-ink);
}

/* ---------- INFORMATION（トップの最新記事） ---------- */
.yh-info-item {
	padding: 12px 0;
	border-bottom: 1px solid var(--yh-line);
	gap: 12px;
}
.yh-info-item .wp-block-post-title {
	margin: 0;
}
.yh-info-item .wp-block-post-title a {
	color: var(--yh-ink);
	text-decoration: none;
}
.yh-info-item .wp-block-post-date {
	margin: 0;
	white-space: nowrap;
}
.yh-news-query .wp-block-post-template {
	max-height: 320px;
	overflow-y: auto;
	display: block;
	padding: 4px 18px;
	margin: 0;
}
.yh-news-query .yh-info-item {
	padding: 10px 0;
}

/* ---------- お知らせのブログカード ---------- */
.yh-blog-query .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: start;
}
.yh-blog-query--4col .wp-block-post-template {
	grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
	.yh-blog-query--4col .wp-block-post-template {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 600px) {
	.yh-blog-query--4col .wp-block-post-template {
		grid-template-columns: 1fr;
	}
}
.yh-blog-query .wp-block-post-template > * {
	margin: 0 !important;
}
.yh-blog-card {
	border: 1px solid var(--yh-line);
	background: #fff;
	overflow: hidden;
}
.yh-blog-card__img {
	margin: 0;
}
.yh-blog-card__img img {
	width: 100%;
	height: 120px;
	object-fit: contain;
	background: var(--yh-soft);
	display: block;
}
.yh-blog-card__body {
	padding: 14px 16px 16px;
}
.yh-blog-card__date {
	display: block;
	margin: 0 0 6px;
	font-size: 12px;
	color: var(--yh-muted);
}
.yh-blog-card__title {
	margin: 0;
	font-size: 17px;
	font-weight: bold;
	line-height: 1.5;
}
.yh-blog-card__title a {
	color: var(--yh-ink);
	text-decoration: none;
}
.yh-blog-card__title a:hover {
	color: var(--yh-red);
}

/* ---------- アーカイブ（投稿日ごとのリンク） ---------- */
.yh-archive-box {
	border: 1px solid var(--yh-line);
}
.yh-archive-list {
	margin: 0;
	padding: 14px 18px;
	list-style: none;
	font-size: 17px;
	line-height: 1.8;
}
.yh-archive-list li {
	padding: 6px 0;
	border-bottom: 1px dotted var(--yh-line);
}
.yh-archive-list a {
	color: var(--yh-ink);
	font-weight: 700;
	text-decoration: none;
}
.yh-archive-list a:hover {
	color: var(--yh-red);
}
.wp-block-query-pagination {
	margin-top: 20px;
	font-size: 14px;
}
.wp-block-query-pagination a {
	color: var(--yh-ink);
	text-decoration: none;
}
.wp-block-query-pagination a:hover {
	color: var(--yh-red);
}

/* ---------- News & Topics ボックス ---------- */
.yh-news {
	border: 1px solid var(--yh-line);
	margin-bottom: 16px;
}
.yh-store-photo img,
.yh-address-plate img {
	margin: 12px 0 0;
}
.yh-news__head {
	margin: 0;
	padding: 10px 18px;
	color: #fff !important;
	background-color: var(--yh-ink);
	font-size: 20px;
	font-weight: 700;
}
.yh-news__list {
	max-height: 320px;
	overflow-y: auto;
	margin: 0;
	padding: 10px 16px;
	list-style: none;
	font-size: 12px;
	line-height: 1.6;
}
.yh-news__list li {
	padding: 4px 0 4px 14px;
	border-bottom: 1px dotted var(--yh-line);
	position: relative;
}
.yh-news__list li::before {
	content: "▸";
	position: absolute;
	left: 0;
	color: var(--yh-red);
}

/* ---------- 特長：写真タイル（BE COOL 風） ---------- */
.yh-tile-grid {
	margin: 8px 0 4px;
}
.yh-tile {
	display: flex;
	flex-direction: column;
}
.yh-tile__photo {
	position: relative;
	overflow: hidden;
}
.yh-tile__photo img {
	margin: 0;
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}
.yh-tile__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0 !important;
	background: rgba(20, 20, 20, 0.82);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	padding: 10px 14px;
}
.yh-tile__caption span {
	display: inline-block;
	margin-left: 6px;
	font-size: 0.75em;
	font-weight: 400;
	color: #ddd;
}
.yh-tile__desc {
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.7;
	color: var(--yh-muted);
}

/* ---------- 特長：画像＋テキストの横並び行（ABOUT US） ---------- */
.yh-feature-row {
	align-items: center;
	gap: 32px;
	margin: 32px 0;
}
.yh-feature-row__img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.yh-feature-row__caption {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 700;
	color: var(--yh-ink);
}
.yh-feature-row__caption span {
	margin-left: 8px;
	font-size: 0.6em;
	font-weight: 400;
	color: var(--yh-muted);
}
.yh-feature-row__body .yh-lead {
	margin: 0;
}

/* ---------- 黒 CTA バー ---------- */
.yh-cta-bar {
	background-color: var(--yh-ink);
	padding: 20px 24px;
	margin: 40px 0;
}
.yh-cta-bar__inner {
	gap: 16px;
}
.yh-cta-bar__phone {
	margin: 0;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
}
.yh-cta-bar__phone a {
	color: #fff;
	text-decoration: none;
	font-size: 1.3em;
	margin-right: 10px;
}

/* ---------- 商品カードの動画サムネイル（再生ボタン＋モーダル） ---------- */
.yh-card__video {
	position: relative;
	cursor: pointer;
}
.yh-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(20, 20, 20, 0.75);
	transition: background-color 0.15s ease, transform 0.15s ease;
}
.yh-play-btn::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 8px 0 8px 13px;
	border-color: transparent transparent transparent #fff;
}
.yh-card__video:hover .yh-play-btn {
	background: var(--yh-red);
	transform: translate(-50%, -50%) scale(1.08);
}

.yh-video-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
}
.yh-video-modal[hidden] {
	display: none;
}
.yh-video-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 10, 0.88);
}
.yh-video-modal__body {
	position: relative;
	width: min(90vw, 900px);
	z-index: 1;
}
.yh-video-modal__frame {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}
.yh-video-modal__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.yh-video-modal__close {
	position: absolute;
	top: -40px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 8px;
}

/* ---------- 新車モデル一覧：4列固定 ---------- */
.yh-model-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
@media (max-width: 1000px) {
	.yh-model-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 782px) {
	.yh-model-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* ---------- 商品カード（新車・中古車） ---------- */
.yh-model-section {
	background-color: var(--yh-ink);
	padding: 32px 24px 12px;
	margin-top: 20px;
}
.yh-model-section .yh-model-grid {
	max-width: 1600px;
	margin-inline: auto;
}
.yh-model-section .yh-model-note {
	color: #fff;
	font-size: 14px;
	line-height: 1.6;
	text-align: center;
	margin: 20px auto 0;
	max-width: 1600px;
}
.yh-blog-query--4col.alignfull {
	max-width: 1600px;
	margin-inline: auto;
}
.yh-card {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--yh-line);
	border-top: 3px solid var(--yh-ink);
	padding: 14px;
	background: #fff;
}
.yh-model-grid .yh-card {
	border-top-color: #fff;
}
.yh-model-grid .yh-card::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 14px 14px;
	border-color: transparent transparent var(--yh-red) transparent;
}
.yh-card__img {
	margin: 0 0 10px;
}
.yh-card__img img {
	width: 100%;
	height: 90px;
	object-fit: contain;
	background: var(--yh-soft);
	display: block;
}
.yh-card h3,
.yh-card .yh-card__name {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--yh-ink);
	text-align: center;
}
.yh-card .yh-price {
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--yh-red);
	text-align: right;
}

/* ---------- TOPページ：新車モデル一覧カードは名前左・価格右を同じ行に ---------- */
.yh-model-grid .yh-card__link {
	display: block;
	padding: 0;
	border: none;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.15s ease;
}
.yh-model-grid .yh-card__link:hover {
	background: none;
	opacity: 0.65;
}
.yh-model-grid .yh-card__link:hover .yh-card__name,
.yh-model-grid .yh-card__link:hover .yh-price {
	color: var(--yh-red);
}
.yh-model-grid .yh-card__name {
	text-align: left;
	font-size: 18px;
	margin: 0;
}
.yh-model-grid .yh-card__footer .yh-price {
	margin: 0;
	font-size: 19px;
	text-align: right;
}
.yh-price__label {
	font-size: 11px;
	font-weight: 400;
	color: var(--yh-muted);
}
.yh-card p {
	margin: 0;
	font-size: 12px;
	line-height: 1.6;
}
.yh-card__footer {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 10px;
}
.yh-card a {
	display: inline-block;
	padding: 5px 14px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--yh-ink);
	border: 1px solid var(--yh-ink);
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.yh-card a:hover {
	background-color: var(--yh-ink);
	color: #fff;
}

/* ---------- 箇条書き注記枠 ---------- */
.yh-pricenote {
	border: 1px solid var(--yh-line);
	border-left: 4px solid var(--yh-ink);
	background: #fff;
	padding: 10px 16px;
	font-size: 14px;
}

/* ---------- フッター（黒地） ---------- */
.yh-footer {
	margin-top: 48px;
	padding: 48px 24px 24px;
	background-color: var(--yh-ink) !important;
}
.yh-footer .wp-block-separator {
	border-color: rgba(255, 255, 255, 0.2);
	margin-top: 32px;
}
.yh-footer .yh-copyright {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.7);
}
.yh-footer .yh-ispro {
	margin: 4px 0 0;
	color: rgba(255, 255, 255, 0.45);
	font-family: Arial, sans-serif;
}

/* フッター上段：店舗情報 + リンク */
.yh-footer-top {
	gap: 32px;
	align-items: flex-start;
}
.yh-footer-logo {
	margin: 0 0 16px;
}
.yh-footer-shopname,
.yh-footer-address,
.yh-footer-hours {
	margin: 0 0 8px;
	font-size: 13px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.85);
}
.yh-footer-tel {
	margin: 0 0 8px;
}
.yh-footer-tel a {
	color: #fff;
	font-weight: 700;
	font-size: 1.6em;
	text-decoration: none;
}
.yh-footer-mapbtn {
	margin-top: 14px;
}
.yh-footer-mapbtn .wp-block-button__link {
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.6);
	font-size: 12px;
	padding: 10px 22px;
	letter-spacing: 0.06em;
}
.yh-footer-mapbtn .wp-block-button__link:hover {
	background-color: #fff !important;
	color: var(--yh-ink) !important;
	border-color: #fff;
}

/* フッターのナビリンク */
.yh-footer-nav .wp-block-columns {
	gap: 16px;
}
.yh-footer-links {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	line-height: 2.6;
}
.yh-footer-links li {
	border: none;
}
.yh-footer-links a {
	position: relative;
	padding-left: 16px;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-weight: 700;
}
.yh-footer-links a::before {
	content: "›";
	position: absolute;
	left: 0;
	color: var(--yh-red);
	font-weight: 700;
}
.yh-footer-links a:hover {
	color: var(--yh-red);
}

@media (max-width: 782px) {
	.yh-footer-top .wp-block-column {
		flex-basis: 100% !important;
	}
	.yh-footer-nav {
		margin-top: 8px;
	}
	/* フッター内のリンク2列はモバイルでも横並びのまま維持する */
	.yh-footer-nav .wp-block-columns {
		flex-wrap: nowrap !important;
	}
	.yh-footer-nav .wp-block-columns > .wp-block-column {
		flex-basis: calc(50% - 8px) !important;
	}
}

/* ---------- サービスのタグ ---------- */
.yh-svc-tags {
	gap: 10px;
	margin: 16px 0;
}
.yh-svc-tag {
	margin: 0;
	padding: 9px 16px;
	font-size: 15px;
	font-weight: 700;
	color: var(--yh-ink);
	background-color: #fff;
	border: 1px solid var(--yh-ink);
}

/* ---------- 本文エリア ---------- */
.yh-main {
	text-align: left;
}
.yh-main .wp-block-heading {
	text-align: left;
}

/* ---------- 投稿詳細下の「More posts」日付 ---------- */
main.wp-block-group > .wp-block-group.alignwide .wp-block-post-date {
	font-size: 16px;
}

/* ---------- MTC ロゴ ---------- */
.yh-mtc-logo img {
	margin: 12px 0;
}

/* ---------- ギャラリー ---------- */
.yh-gallery img {
	border: 1px solid var(--yh-line);
	border-radius: 0;
}

/* =========================================================
   モバイル対応
   ========================================================= */

/* 画像・埋め込みははみ出させない */
.yh-main img,
.yh-main figure,
.yh-main iframe,
.yh-header img {
	max-width: 100%;
	height: auto;
}
/* 横スクロールが出る要素は内側でスクロール */
.yh-main .wp-block-table {
	overflow-x: auto;
	display: block;
}

/* --- タブレット以下（〜900px） --- */
@media (max-width: 900px) {
	.yh-main {
		padding-left: 16px;
		padding-right: 16px;
	}
	.yh-main > .alignfull {
		margin-left: -16px !important;
		margin-right: -16px !important;
	}
	.yh-news__list {
		max-height: 260px;
	}
	.yh-hero__bg img {
		height: min(70vh, 520px);
		min-height: 420px;
	}
}

/* --- スマホ（〜782px：カラムが縦積みになる境界） --- */
@media (max-width: 782px) {
	.yh-title {
		font-size: 18px;
		padding: 8px 16px 8px 14px;
	}
	.yh-h2 {
		font-size: 19px;
	}
	/* トップの左右カラムを縦積みに（右カラムの News/写真を下へ） */
	.yh-main .wp-block-column {
		flex-basis: 100% !important;
	}
	.yh-news {
		margin-top: 24px;
	}
	.yh-cta-bar__inner {
		justify-content: center !important;
		text-align: center;
	}
}

/* --- 小さめスマホ（〜600px） --- */
@media (max-width: 600px) {
	.yh-hero__break-mobile {
		display: block;
	}
	.yh-hero__tap {
		text-align: center;
	}
	.yh-header .yh-logo img {
		width: 120px !important;
	}
	/* ハンバーガーメニューを中央に */
	.yh-nav .wp-block-navigation__responsive-container-open {
		margin: 4px auto 0;
	}
	.yh-title {
		font-size: 17px;
		padding: 7px 14px 7px 12px;
	}
	.yh-lead,
	.yh-tile__desc {
		font-size: 13px;
	}
	.yh-hero__bg img {
		height: min(64vh, 460px);
		min-height: 380px;
	}
	/* 新車・中古車カードは1列に */
	.yh-model-grid,
	.yh-used-grid {
		grid-template-columns: 1fr !important;
	}
	.yh-svc-tag {
		font-size: 14px;
		padding: 6px 10px;
	}
	/* MTC の見出し＋本文カラムも縦積み */
	.yh-mtc-row .wp-block-column {
		flex-basis: 100% !important;
	}
}

/* ---------- TOP ヒーロー（画像イメージ準拠） ---------- */
.yh-hero2 {
	--u: min(1vw, 16px);
	--navy: #1d2744;
	--amber: #e08400;
	position: relative;
	overflow: hidden;
	background: #fff;
	color: var(--navy);
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
.yh-hero2 em {
	font-style: normal;
}
.yh-hero2__photo {
	position: absolute;
	inset: 0;
	margin: 0;
}
.yh-hero2__photo picture {
	display: block;
	width: 100%;
	height: 100%;
}
.yh-hero2__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: right bottom;
	background: #fff;
}
.yh-hero2__photo::after,
.yh-hero2__photo::before {
	content: "";
	position: absolute;
	inset: 0;
}
.yh-hero2__photo::after {
	background: linear-gradient(90deg, #fff 0%, #fff 26%, rgba(255, 255, 255, 0.72) 34%, rgba(255, 255, 255, 0.3) 43%, rgba(255, 255, 255, 0) 51%);
}
.yh-hero2__photo::before {
	z-index: 1;
	background: linear-gradient(90deg, #fff 0%, #fff 44%, rgba(255, 255, 255, 0.88) 50%, rgba(255, 255, 255, 0) 58%);
	-webkit-mask-image: linear-gradient(180deg, transparent 26%, #000 50%);
	mask-image: linear-gradient(180deg, transparent 26%, #000 50%);
}
.yh-hero2__inner {
	position: relative;
	z-index: 1;
	width: calc(var(--u) * 58);
	margin-left: max(calc(var(--u) * 2.8), calc((100vw - 1600px) / 2 + 45px));
	padding: calc(var(--u) * 1.1) 0 calc(var(--u) * 2.2);
}
.yh-hero2__brand {
	display: flex;
	align-items: center;
	gap: calc(var(--u) * 1.4);
	margin-bottom: calc(var(--u) * 4.6);
}
.yh-hero2__logo img {
	display: block;
	width: calc(var(--u) * 13.6);
	height: auto;
}
.yh-hero2__since {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding-left: calc(var(--u) * 1.4);
	border-left: 2px solid #4a5068;
	line-height: 1.3;
}
.yh-hero2__since-main {
	font-size: calc(var(--u) * 1.75);
	font-weight: 900;
}
.yh-hero2__since-main em {
	color: var(--amber);
	font-size: 1.3em;
}
.yh-hero2__since-sub {
	font-size: calc(var(--u) * 1.22);
	font-weight: 700;
}
.yh-hero2__br {
	display: none;
}
.yh-hero2__br2 {
	display: none;
}
.yh-hero2__title {
	margin: 0;
	font-size: inherit;
	font-weight: 900;
	line-height: 1.42;
	color: var(--navy);
}
.yh-hero2__title > span {
	display: block;
}
.yh-hero2__line1 {
	display: block !important;
	position: relative;
}
.yh-hero2__area {
	font-size: calc(var(--u) * 3.05);
	white-space: nowrap;
}
.yh-hero2__near {
	font-size: 0.6em;
	margin-left: 0.3em;
}
.yh-hero2__bubble {
	position: absolute;
	left: calc(var(--u) * 1);
	bottom: calc(100% + var(--u) * 0.45);
	padding: 0.45em 0.95em 0.5em;
	border-radius: 1.2em;
	background: #ffc31a;
	font-size: calc(var(--u) * 1.22);
	line-height: 1.2;
	white-space: nowrap;
}
.yh-hero2__bubble b {
	font-size: 1.25em;
	font-weight: 900;
}
.yh-hero2__bubble::before {
	content: "";
	position: absolute;
	left: calc(var(--u) * 21.5);
	bottom: calc(var(--u) * -1.15);
	width: calc(var(--u) * 1.6);
	height: calc(var(--u) * 1.3);
	background: #ffc31a;
	clip-path: polygon(0 0, 100% 0, 25% 100%);
}
.yh-hero2__line2 {
	font-size: calc(var(--u) * 4.1);
	white-space: nowrap;
	letter-spacing: -0.01em;
}
.yh-hero2__line2 em {
	color: var(--amber);
}
.yh-hero2__line3 {
	position: relative;
	display: inline-block !important;
	white-space: nowrap;
	font-size: calc(var(--u) * 4.1);
}
.yh-hero2__line3::after {
	content: "";
	position: absolute;
	left: 0;
	right: -1%;
	bottom: -0.14em;
	height: 0.1em;
	border-radius: 50%;
	background: #f2a900;
	transform: rotate(-0.7deg);
}
.yh-hero2__lead {
	margin: calc(var(--u) * 1.9) 0 calc(var(--u) * 2.6);
	font-size: calc(var(--u) * 2.36);
	font-weight: 900;
	line-height: 1.3;
}
.yh-hero2__lead em {
	color: var(--amber);
}
.yh-hero2__points {
	display: flex;
	margin: calc(var(--u) * 2.6) 0 calc(var(--u) * 1);
	padding: 0;
	list-style: none;
	width: calc(var(--u) * 52);
}
.yh-hero2__points li {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0 calc(var(--u) * 1);
	border-left: 1px solid #b9bcc8;
}
.yh-hero2__points li:first-child {
	border-left: 0;
}
.yh-hero2__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(var(--u) * 5.3);
	height: calc(var(--u) * 5.3);
	margin-bottom: calc(var(--u) * 0.7);
	border: 2px solid #e4e5ec;
	border-radius: 50%;
	background: #fff;
	color: var(--navy);
	box-shadow: 0 2px 6px rgba(29, 39, 68, 0.12);
}
.yh-hero2__icon svg {
	width: 62%;
	height: 62%;
}
.yh-hero2__ptext {
	font-size: calc(var(--u) * 1.35);
	font-weight: 700;
	line-height: 1.4;
}
.yh-hero2__ptext em {
	color: var(--amber);
	font-weight: 900;
}
.yh-hero2__cta-lead {
	margin: 0 0 calc(var(--u) * 0.6);
	width: calc(var(--u) * 48.5);
	font-size: calc(var(--u) * 1.35);
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}
.yh-hero2__tel {
	display: flex;
	align-items: center;
	gap: calc(var(--u) * 1.9);
	box-sizing: border-box;
	width: calc(var(--u) * 48.5);
	padding: calc(var(--u) * 0.85) calc(var(--u) * 2.8) calc(var(--u) * 0.55) calc(var(--u) * 4.2);
	border-radius: calc(var(--u) * 0.9);
	background: linear-gradient(180deg, #e8404b 0%, #c8101f 100%);
	box-shadow: 0 calc(var(--u) * 0.4) calc(var(--u) * 1.1) rgba(200, 16, 31, 0.35);
	color: #fff;
	text-decoration: none;
	transition: filter 0.15s ease;
}
.yh-hero2__tel:hover {
	filter: brightness(0.93);
	color: #fff;
}
.yh-hero2__tel-icon svg {
	display: block;
	width: calc(var(--u) * 3.8);
	height: calc(var(--u) * 3.8);
}
.yh-hero2__tel-body {
	flex: 1;
	text-align: center;
	padding-left: calc(var(--u) * 2.3);
	border-left: 1px solid rgba(255, 255, 255, 0.55);
}
.yh-hero2__tel-note {
	display: block;
	font-size: calc(var(--u) * 1.48);
	line-height: 1.3;
	font-weight: 700;
}
.yh-hero2__tel-num {
	display: block;
	font-size: calc(var(--u) * 3.75);
	font-weight: 900;
	letter-spacing: 0.02em;
	line-height: 1.1;
}
.yh-hero2__tel-chev svg {
	display: block;
	width: calc(var(--u) * 1.7);
	height: calc(var(--u) * 1.7);
}
.yh-hero2__hours {
	margin: calc(var(--u) * 1.2) 0 0 calc(var(--u) * 4.2);
	font-size: calc(var(--u) * 1.15);
	font-weight: 700;
	letter-spacing: 0.02em;
}

/* --- ヒーロー：タブレット・スマホ（〜900px）縦積み --- */
@media (max-width: 900px) {
	.yh-hero2 {
		display: flex;
		flex-direction: column;
		padding: 8px 0 20px;
	}
	.yh-hero2__inner {
		display: contents;
	}
	.yh-hero2__brand,
	.yh-hero2__title,
	.yh-hero2__lead,
	.yh-hero2__points,
	.yh-hero2__tel,
	.yh-hero2__hours {
		margin-left: 16px;
		margin-right: 16px;
		width: auto;
	}
	.yh-hero2__brand {
		order: 1;
		display: grid;
		grid-template-columns: 1fr 1fr;
		align-items: center;
		gap: 0;
		width: calc(100% - 32px);
		max-width: 560px;
		margin: 0 auto 14px;
	}
	.yh-hero2__title {
		order: 2;
		text-align: center;
		margin-bottom: 24px;
	}
	.yh-hero2__lead {
		order: 3;
		margin-top: 10px;
		margin-bottom: 14px;
		text-align: center;
	}
	.yh-hero2__photo {
		order: 4;
		position: relative;
		inset: auto;
		height: min(56vw, 380px);
		margin: 0 0 16px;
	}
	.yh-hero2__photo::before {
		display: none;
	}
	.yh-hero2__photo::after {
		background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 7%, rgba(255, 255, 255, 0) 84%, #fff 100%);
	}
	.yh-hero2__points {
		order: 5;
		margin-bottom: 16px;
	}
	.yh-hero2__cta-lead {
		order: 6;
		width: auto;
		margin: 0 16px 6px;
		font-size: clamp(11px, 3vw, 16px);
	}
	.yh-hero2__tel {
		order: 6;
	}
	.yh-hero2__hours {
		order: 7;
		margin-top: 10px;
		text-align: center;
	}
	.yh-hero2__logo {
		display: block;
	}
	.yh-hero2__logo img {
		width: calc(100% - 12px);
	}
	.yh-hero2__since {
		padding-left: 12px;
	}
	.yh-hero2__since-main {
		font-size: clamp(15px, 5.3vw, 28px);
		white-space: nowrap;
	}
	.yh-hero2__since-sub {
		font-size: clamp(9.5px, 3.3vw, 16px);
		white-space: nowrap;
	}
	.yh-hero2__br {
		display: block;
	}
	.yh-hero2__br2 {
		display: block;
	}
	.yh-hero2__comma {
		display: none;
	}
	.yh-hero2__line1 {
		display: flex !important;
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}
	.yh-hero2__area {
		font-size: clamp(18px, 5.6vw, 42px);
	}
	.yh-hero2__bubble {
		position: relative;
		left: auto;
		bottom: auto;
		text-align: center;
		font-size: clamp(9.5px, 3.3vw, 16px);
		margin-bottom: 4px;
	}
	.yh-hero2__photo {
		height: min(56vw, 400px);
	}
	.yh-hero2__bubble::before {
		left: calc(50% + clamp(18px, 5.6vw, 42px) * 0.48 - 0.48em);
		top: -0.7em;
		bottom: auto;
		width: 0.95em;
		height: 0.75em;
		clip-path: polygon(50% 0, 0 100%, 100% 100%);
	}
	.yh-hero2__line2 {
		font-size: clamp(15px, 6.8vw, 56px);
	}
	.yh-hero2__line3 {
		font-size: clamp(15px, 6.8vw, 56px);
	}
	.yh-hero2__line3::after {
		height: 0.2em;
		bottom: -0.3em;
		background: #e08400;
	}
	.yh-hero2__lead {
		font-size: clamp(13px, 4.2vw, 30px);
	}
	.yh-hero2__icon {
		width: clamp(44px, 12vw, 70px);
		height: clamp(44px, 12vw, 70px);
	}
	.yh-hero2__ptext {
		font-size: clamp(11px, 3vw, 16px);
	}
	.yh-hero2__points li {
		padding: 0 6px;
	}
	.yh-hero2__tel {
		gap: 10px;
		padding: 10px 14px;
		border-radius: 10px;
	}
	.yh-hero2__tel-icon svg {
		width: clamp(26px, 7vw, 40px);
		height: clamp(26px, 7vw, 40px);
	}
	.yh-hero2__tel-body {
		padding-left: 15px;
	}
	.yh-hero2__tel-note {
		font-size: clamp(10.5px, 2.9vw, 15px);
	}
	.yh-hero2__tel-num {
		font-size: clamp(25px, 8.2vw, 48px);
	}
	.yh-hero2__tel-chev svg {
		width: clamp(16px, 4.4vw, 24px);
		height: clamp(16px, 4.4vw, 24px);
	}
	.yh-hero2__hours {
		font-size: clamp(11px, 3vw, 15px);
	}
}

/* --- ヒーロー：スマホ（〜600px）は正方形に近い写真（看板とバイクを大きく） --- */
@media (max-width: 600px) {
	.yh-hero2__photo {
		height: auto;
		aspect-ratio: 4 / 3;
	}
	.yh-hero2__photo::after {
		display: none;
	}
}

/* --- ヒーロー：スマホ（〜600px）3つの特長を写真の下側に重ねる --- */
@media (max-width: 600px) {
	.yh-hero2__photo {
		margin-bottom: 0;
	}
	.yh-hero2__points {
		position: relative;
		z-index: 2;
		margin-top: -58px;
		margin-bottom: 14px;
		padding: 10px 2px;
		background: rgba(255, 255, 255, 0.95);
		border-radius: 12px;
		box-shadow: 0 6px 18px rgba(29, 39, 68, 0.18);
	}
	.yh-hero2__icon {
		width: clamp(38px, 10.5vw, 60px);
		height: clamp(38px, 10.5vw, 60px);
		margin-bottom: 4px;
	}
}

/* --- 新車一覧の注記：スマホ（〜782px）は「です。」の後で2行 --- */
.yh-note__br {
	display: none;
}
@media (max-width: 782px) {
	.yh-note__br {
		display: block;
	}
	.yh-model-section .yh-model-note {
		font-size: clamp(11px, 3.3vw, 14px);
	}
}

/* おすすめの新車：見出しの文字サイズをヒーローの「目黒・渋谷・港区」に合わせる */
.yh-main .yh-h2.yh-h2--hero,
.yh-footer .yh-h2.yh-h2--hero {
	font-size: calc(min(1vw, 16px) * 3.05);
}
@media (max-width: 900px) {
	.yh-main .yh-h2.yh-h2--hero,
	.yh-footer .yh-h2.yh-h2--hero {
		font-size: clamp(18px, 5.6vw, 42px);
	}
}

/* おすすめの新車：商品名の文字サイズをヒーローの「祐天寺駅東口から徒歩1分」に合わせる */
.yh-model-section .yh-model-grid .yh-card__name {
	font-size: calc(min(1vw, 16px) * 1.55);
	font-weight: 800;
}
@media (max-width: 900px) {
	.yh-model-section .yh-model-grid .yh-card__name {
		font-size: clamp(15px, 4.6vw, 22px);
	}
}

/* 1つ目のポイントの補足行（渋谷駅～祐天寺駅は約6分）：ワンサイズ小さく */
.yh-hero2__psub {
	display: inline-block;
	white-space: nowrap;
	font-size: 0.85em;
	font-weight: 500;
	font-feature-settings: "palt";
}

/* 見出し（おすすめの新車・INFORMATION 等）の書体をファーストビューと同じ Noto Sans JP に */
.yh-h2 {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
@media (max-width: 900px) {
	/* スマホ：列幅いっぱいに1行で収まるサイズ */
	.yh-hero2__points li:first-child {
		padding: 0 3px;
	}
	.yh-hero2__psub {
		font-size: min(0.85em, 2.3vw);
	}
}

/* ---------- 所在地ブロック（TOP） ---------- */
.yh-access {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	max-width: 1100px;
	margin: 0 auto;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	color: var(--yh-ink);
}
.yh-access__info {
	background: var(--yh-soft);
	padding: 24px 28px;
}
.yh-access__name {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 900;
}
.yh-access__list {
	margin: 0;
}
.yh-access__list > div {
	display: flex;
	gap: 16px;
	padding: 10px 0;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.yh-access__list dt {
	flex: 0 0 5.5em;
	margin: 0;
	font-size: 15px;
	font-weight: 700;
}
.yh-access__list dd {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
}
.yh-access__list a {
	color: var(--yh-red);
	font-weight: 700;
	text-decoration: none;
}
.yh-access__sub {
	font-size: 14px;
}
.yh-access__more {
	display: inline-block;
	margin-top: 12px;
	color: var(--yh-ink);
	font-size: 15px;
	font-weight: 700;
}
.yh-access__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	border: 0;
}
@media (max-width: 782px) {
	.yh-access {
		grid-template-columns: 1fr;
	}
	.yh-access__info {
		padding: 20px 16px;
	}
	.yh-access__list > div {
		gap: 12px;
	}
	.yh-access__map iframe {
		height: 280px;
		min-height: 0;
	}
}

/* フッター内の所在地 */
.yh-footer .yh-h2.yh-h2--hero {
	text-align: center;
	margin-top: 8px;
	color: #fff;
}
.yh-access__logo {
	display: block;
	margin-bottom: 12px;
}
.yh-access__logo img {
	display: block;
	width: 140px;
	height: auto;
}

/* 祐天寺ホンダの場所（地図画像） */
.yh-main .yh-mapimg {
	max-width: 860px;
	margin: 0 auto;
}
.yh-mapimg svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}
/* アクセス方法：地図と同じ灰色の帯を画面いっぱいに */
.yh-access-band {
	background-color: #f1f3f8;
	margin-top: 32px;
	margin-bottom: -48px !important;
	padding: 24px 0 0;
	overflow: hidden;
}
/* トップはアクセス方法の帯がフッターに接する */
.home .yh-footer,
.home .wp-site-blocks > footer {
	margin-top: 0 !important;
}
.yh-access-band .yh-h2 {
	margin-top: 0;
}

/* ---------- 記事ページ：2列構成（左：記事／右：検索＋新着記事） ---------- */
.yh-single-band {
	background-color: #eef1f6;
	padding: 32px 24px 56px;
}
.yh-single-cols {
	gap: 32px;
	align-items: flex-start;
}
.yh-single-article {
	background: #fff;
	border-radius: 20px;
	padding: 36px 40px 40px;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	color: var(--yh-ink);
}
.yh-single-article .yh-single-title {
	font-size: 28px;
	font-weight: 900;
	line-height: 1.55;
	margin: 0 0 16px;
	color: var(--yh-ink);
}
.yh-single-article .yh-single-date {
	font-size: 14px;
	color: #8b93a5;
	margin: 0 0 24px;
}
.yh-single-article .yh-single-eyecatch {
	margin: 0 0 28px;
}
.yh-single-article .yh-single-eyecatch img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	display: block;
}
.yh-single-article .wp-block-post-content {
	font-size: 17px;
	line-height: 2;
}
.yh-single-article .wp-block-post-content > * + * {
	margin-top: 1.4em;
}
.yh-single-nav {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	font-size: 14px;
	gap: 16px;
}
.yh-single-nav a {
	color: var(--yh-ink);
	text-decoration: none;
	font-weight: 700;
}
.yh-single-nav a:hover {
	color: var(--yh-red);
}
/* 右カラム */
.yh-side-search {
	margin-bottom: 28px;
}
.yh-side-search .wp-block-search__inside-wrapper {
	background: #fff;
	border: none;
	border-radius: 10px;
	overflow: hidden;
	padding: 0;
	gap: 0;
}
.yh-side-search input[type="search"] {
	border: none;
	padding: 14px 16px;
	font-size: 15px;
	background: #fff;
	min-width: 0;
}
.yh-side-search .wp-block-search__button {
	background: var(--yh-ink);
	color: #fff;
	border: none;
	border-radius: 0;
	margin: 0;
	padding: 0 18px;
}
.yh-side-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
.yh-side-card .yh-side-card__title {
	background: #d9e6f7;
	color: var(--yh-ink);
	font-size: 18px;
	font-weight: 900;
	margin: 0;
	padding: 18px 20px;
}
.yh-side-list .wp-block-post-template {
	list-style: none;
	margin: 0;
	padding: 8px 16px 12px;
}
.yh-side-list .wp-block-post-template > li {
	position: relative;
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.yh-side-list .wp-block-post-template > li:last-child {
	border-bottom: none;
}
.yh-side-item {
	gap: 14px;
}
.yh-side-item .yh-side-thumb {
	flex: 0 0 120px;
	width: 120px;
	height: 90px;
	margin: 0;
	border-radius: 6px;
	background: #eef1f6 url("img/bike-placeholder.svg") center / 56% no-repeat;
	overflow: hidden;
}
.yh-side-item .yh-side-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.yh-side-item .yh-side-item__title,
.yh-side-item .yh-side-item__title a {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--yh-ink);
	text-decoration: none;
	margin: 0;
}
.yh-side-item .yh-side-item__title a:hover {
	color: var(--yh-red);
}
.yh-side-item .yh-side-item__date {
	font-size: 12px;
	color: #8b93a5;
	margin: 4px 0 0;
}
@media (max-width: 782px) {
	.yh-single-band {
		padding: 16px 12px 40px;
	}
	.yh-single-article {
		padding: 24px 18px 28px;
		border-radius: 16px;
	}
	.yh-single-article .yh-single-title {
		font-size: 22px;
	}
	.yh-single-article .wp-block-post-content {
		font-size: 16px;
	}
	.yh-single-cols {
		gap: 24px;
	}
}
/* 画像のない記事は仮のサムネイルを出す（アイキャッチがあればそちらを使う） */
.yh-side-item::before {
	content: "";
	flex: 0 0 120px;
	width: 120px;
	height: 90px;
	border-radius: 6px;
	background: #eef1f6 url("img/bike-placeholder.svg") center / 56% no-repeat;
}
.yh-side-item:has(.yh-side-thumb)::before {
	display: none;
}
/* 記事ページは帯がフッターに接する */
.single .yh-footer,
.single .wp-site-blocks > footer {
	margin-top: 0 !important;
}

/* ---------- 検索結果ページ ---------- */
.single .yh-footer,
.search .yh-footer,
.search .wp-site-blocks > footer {
	margin-top: 0 !important;
}
.yh-search-band {
	padding-top: 36px;
}
/* 上段：左＝見出し、右＝検索ボックス（高さをそろえる） */
.yh-sr-top {
	min-height: 76px;
	display: flex;
	align-items: center;
	margin-bottom: 36px;
}
.yh-sr-top .yh-side-search {
	width: 100%;
	margin: 0;
}
.yh-sr-title {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	font-size: 34px;
	font-weight: 900;
	line-height: 1.3;
	color: var(--yh-ink);
}
.yh-sr-title::before {
	content: "";
	flex: 0 0 76px;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: var(--amber, #e08400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21'/%3E%3C/svg%3E") center / 52% no-repeat;
}
/* 結果：白い角丸カードを2列 */
.yh-search-results .yh-blog-query .wp-block-post-template {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 24px;
	align-items: stretch;
}
.yh-search-results .yh-blog-card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 12px;
	border: none;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(29, 39, 68, 0.1);
	height: 100%;
}
.yh-search-results .yh-blog-card__img {
	flex: 0 0 150px;
	width: 150px;
	margin: 0;
}
.yh-search-results .yh-blog-card__img img {
	width: 150px;
	height: 150px;
	border-radius: 6px;
	object-fit: contain;
}
.yh-search-results .yh-blog-card__body {
	flex: 1 1 auto;
	min-width: 0;
	padding: 4px 0 0;
}
.yh-search-results .yh-blog-card__date {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 6px;
	font-size: 15px;
	color: #9aa3b5;
}
.yh-search-results .yh-blog-card__date::before {
	content: "";
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #c9cfdc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.yh-search-results .yh-blog-card__title,
.yh-search-results .yh-blog-card__title a {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--yh-ink);
	text-decoration: none;
	margin: 0;
}
.yh-search-results .yh-blog-card__title a:hover {
	color: var(--yh-red);
}
.yh-search-pagination {
	margin-top: 32px;
	gap: 14px;
	font-size: 15px;
}
.yh-search-pagination a {
	color: var(--yh-ink);
	text-decoration: none;
	font-weight: 700;
}
.yh-search-pagination .page-numbers.current {
	font-weight: 900;
	color: var(--yh-red);
}
@media (max-width: 900px) {
	.yh-search-results .yh-blog-query .wp-block-post-template {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 782px) {
	.yh-sr-title {
		font-size: 22px;
		gap: 12px;
	}
	.yh-sr-title::before {
		flex-basis: 48px;
		width: 48px;
		height: 48px;
	}
	.yh-sr-top {
		min-height: 48px;
		margin-bottom: 20px;
	}
	.yh-search-results .yh-blog-card__img,
	.yh-search-results .yh-blog-card__img img {
		flex-basis: 96px;
		width: 96px;
		height: 96px;
	}
	.yh-search-results .yh-blog-card__title,
	.yh-search-results .yh-blog-card__title a {
		font-size: 15px;
	}
}

/* ---------- TOPのお知らせカード：大きな淡い青の画像エリア＋太字タイトル＋灰色の日付 ---------- */
.yh-blog-query--4col .wp-block-post-template {
	gap: 24px;
}
.yh-blog-query--4col .yh-blog-card {
	border: 1px solid #e3e7ef;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 3px 10px rgba(29, 39, 68, 0.08);
	overflow: hidden;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
.yh-blog-query--4col .yh-blog-card__img img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: contain;
	padding: 14px 24%;
	background: #d3e4fb;
}
.yh-blog-query--4col .yh-blog-card__body {
	padding: 18px 20px 20px;
	display: flex;
	flex-direction: column-reverse;
}
.yh-blog-query--4col .yh-blog-card__title,
.yh-blog-query--4col .yh-blog-card__title a {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.55;
	color: #3f4656;
	text-decoration: none;
}
.yh-blog-query--4col .yh-blog-card__title {
	margin: 0 0 8px;
}
.yh-blog-query--4col .yh-blog-card__title a:hover {
	color: var(--yh-red);
}
.yh-blog-query--4col .yh-blog-card__date {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: #b3b9c6;
}
.yh-blog-query--4col .yh-blog-card__date::before {
	content: "";
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #c9cfdc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E") center / 80% no-repeat;
}

/* フッターのコピーライト行も他の文字と同じ書体に */
.yh-footer .yh-copyright,
.yh-footer .yh-ispro {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

/* カード全体をクリックで記事へ（サムネイルも押せる）：タイトルのリンクをカード全面に広げる */
.yh-blog-card,
.yh-side-item {
	position: relative;
}
.yh-blog-card .yh-blog-card__title a::after,
.yh-side-item .yh-side-item__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
}
.yh-blog-card:hover,
.yh-side-item:hover {
	cursor: pointer;
}
.yh-blog-query--4col .yh-blog-card:hover,
.yh-search-results .yh-blog-card:hover {
	box-shadow: 0 6px 16px rgba(29, 39, 68, 0.16);
}
/* 仮のバイク絵の背景を淡い青になじませる */
.yh-blog-query--4col .yh-blog-card__img img {
	mix-blend-mode: multiply;
}

/* ---------- 記事本文の見出し（h2・h3・h4） ---------- */
.yh-single-article .wp-block-post-content h2:not([class*="yh-"]),
.yh-single-article .wp-block-post-content h3:not([class*="yh-"]),
.yh-single-article .wp-block-post-content h4:not([class*="yh-"]) {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	color: var(--yh-ink);
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: 0.02em;
}
/* h2：大きな太字（上を広くあけて章の区切りにする） */
.yh-single-article .wp-block-post-content h2:not([class*="yh-"]) {
	font-size: 30px;
	margin: 2.4em 0 0.9em;
	padding: 0 0 0.35em;
	border-bottom: 3px solid #e3e7ef;
	position: relative;
}
.yh-single-article .wp-block-post-content h2:not([class*="yh-"])::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -3px;
	width: 72px;
	height: 3px;
	background: var(--amber, #e08400);
}
/* h3：左に太い縦線 */
.yh-single-article .wp-block-post-content h3:not([class*="yh-"]) {
	font-size: 24px;
	margin: 2em 0 0.8em;
	padding: 0.2em 0 0.2em 0.7em;
	border-left: 6px solid var(--amber, #e08400);
}
/* h4：やや小さい太字 */
.yh-single-article .wp-block-post-content h4:not([class*="yh-"]) {
	font-size: 20px;
	margin: 1.7em 0 0.6em;
}
.yh-single-article .wp-block-post-content > h2:first-child,
.yh-single-article .wp-block-post-content > h3:first-child,
.yh-single-article .wp-block-post-content > h4:first-child {
	margin-top: 0;
}
@media (max-width: 782px) {
	.yh-single-article .wp-block-post-content h2:not([class*="yh-"]) {
		font-size: 24px;
	}
	.yh-single-article .wp-block-post-content h3:not([class*="yh-"]) {
		font-size: 20px;
		border-left-width: 5px;
	}
	.yh-single-article .wp-block-post-content h4:not([class*="yh-"]) {
		font-size: 17px;
	}
}

/* ---------- 前の記事／次の記事：ラベルとタイトルを分ける ---------- */
.yh-single-nav.wp-block-group {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 44px;
	padding-top: 0;
	border-top: none;
}
.yh-single-nav .wp-block-post-navigation-link {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 16px 18px;
	border: 1px solid #e3e7ef;
	border-radius: 12px;
	background: #f7f9fc;
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.yh-single-nav .wp-block-post-navigation-link:hover {
	background: #fff;
	box-shadow: 0 4px 12px rgba(29, 39, 68, 0.12);
}
.yh-single-nav .post-navigation-link-next {
	grid-column: 2;
	text-align: right;
}
.yh-single-nav .post-navigation-link__label {
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--amber, #e08400);
}
.yh-single-nav .post-navigation-link-previous .post-navigation-link__label::before {
	content: "← ";
}
.yh-single-nav .post-navigation-link-next .post-navigation-link__label::after {
	content: " →";
}
.yh-single-nav .wp-block-post-navigation-link a {
	color: var(--yh-ink);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.6;
	text-decoration: none;
}
.yh-single-nav .wp-block-post-navigation-link a::after {
	content: "";
	position: absolute;
	inset: 0;
}
@media (max-width: 600px) {
	.yh-single-nav.wp-block-group {
		grid-template-columns: 1fr;
	}
	.yh-single-nav .post-navigation-link-next {
		grid-column: 1;
	}
}

/* ---------- お知らせ一覧（/blog/）：検索結果と同じテイスト ---------- */
.yh-sr-title--list::before {
	background: var(--amber, #e08400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M8 7h12M8 12h12M8 17h12'/%3E%3Ccircle cx='4' cy='7' r='1' fill='%23fff'/%3E%3Ccircle cx='4' cy='12' r='1' fill='%23fff'/%3E%3Ccircle cx='4' cy='17' r='1' fill='%23fff'/%3E%3C/svg%3E") center / 52% no-repeat;
}
.yh-side-card .wp-block-archives {
	list-style: none;
	margin: 0;
	padding: 8px 20px 14px;
	font-size: 15px;
	line-height: 1.8;
}
.yh-side-card .wp-block-archives li {
	padding: 8px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.yh-side-card .wp-block-archives li:last-child {
	border-bottom: none;
}
.yh-side-card .wp-block-archives a {
	color: var(--yh-ink);
	font-weight: 700;
	text-decoration: none;
}
.yh-side-card .wp-block-archives a:hover {
	color: var(--yh-red);
}
.blog .yh-footer,
.blog .wp-site-blocks > footer {
	margin-top: 0 !important;
}
.yh-side-card .wp-block-archives {
	max-height: 440px;
	overflow-y: auto;
}

/* ---------- ページ送り：白い丸のボタン／現在ページは塗りつぶし／前後は矢印 ---------- */
.yh-search-pagination.wp-block-query-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-top: 40px;
}
.yh-search-pagination .wp-block-query-pagination-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px;
}
.yh-search-pagination .page-numbers,
.yh-search-pagination .wp-block-query-pagination-previous,
.yh-search-pagination .wp-block-query-pagination-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--yh-ink);
	font-size: 17px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 1px 4px rgba(29, 39, 68, 0.1);
	transition: background-color 0.15s ease, color 0.15s ease;
}
.yh-search-pagination a.page-numbers:hover,
.yh-search-pagination .wp-block-query-pagination-previous:hover,
.yh-search-pagination .wp-block-query-pagination-next:hover {
	background: #fdf1de;
	color: var(--yh-ink);
}
.yh-search-pagination .page-numbers.current {
	background: var(--yh-ink);
	color: #fff;
	box-shadow: none;
}
.yh-search-pagination .page-numbers.dots {
	width: auto;
	background: none;
	box-shadow: none;
	color: var(--amber, #e08400);
}
/* 前へ／次へ：文字は隠して矢印（＞）だけを表示 */
.yh-search-pagination .wp-block-query-pagination-previous,
.yh-search-pagination .wp-block-query-pagination-next {
	font-size: 0;
}
.yh-search-pagination .wp-block-query-pagination-previous::before,
.yh-search-pagination .wp-block-query-pagination-next::before {
	content: "";
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d2744' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4.5 16.5 12 9 19.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.yh-search-pagination .wp-block-query-pagination-previous::before {
	transform: scaleX(-1);
}
@media (max-width: 600px) {
	.yh-search-pagination .page-numbers,
	.yh-search-pagination .wp-block-query-pagination-previous,
	.yh-search-pagination .wp-block-query-pagination-next {
		width: 40px;
		height: 40px;
		font-size: 15px;
	}
	.yh-search-pagination .wp-block-query-pagination-previous,
	.yh-search-pagination .wp-block-query-pagination-next {
		font-size: 0;
	}
}

/* フッターの地図：店舗情報の枠（空白に見えることがある）を出さず、中央に自前のピンを重ねる */
.yh-access__map {
	position: relative;
}
.yh-access__map::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 38px;
	height: 38px;
	margin: -38px 0 0 -19px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5a7.5 7.5 0 0 0-7.5 7.5c0 5.6 7.5 13.5 7.5 13.5s7.5-7.9 7.5-13.5A7.5 7.5 0 0 0 12 1.5z' fill='%23d6202a' stroke='%23fff' stroke-width='1.4'/%3E%3Ccircle cx='12' cy='9' r='3' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
	pointer-events: none;
}

/* 前後の記事がないとき（最新・最古の記事）の空のボックスは出さない */
.yh-single-nav .wp-block-post-navigation-link:empty {
	display: none;
}

/* TOPのお知らせカード：スマホ・タブレットでは画面の端にくっつかないよう左右に余白 */
@media (max-width: 1200px) {
	.yh-blog-query--4col.alignfull {
		box-sizing: border-box;
		padding-inline: 24px;
	}
}
@media (max-width: 600px) {
	.yh-blog-query--4col.alignfull {
		padding-inline: 20px;
	}
}

/* ---------- 「もっと見る」ボタン ---------- */
.yh-more-btn {
	margin-top: 36px;
	margin-bottom: 8px;
}
.yh-more-btn .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 16px 44px 16px 48px;
	border: none;
	border-radius: 999px;
	background: var(--yh-ink);
	color: #fff;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 6px 16px rgba(29, 39, 68, 0.25);
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.yh-more-btn .wp-block-button__link::after {
	content: "";
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--amber, #e08400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / 62% no-repeat;
	transition: transform 0.2s ease;
}
.yh-more-btn .wp-block-button__link:hover {
	background: var(--amber, #e08400);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(224, 132, 0, 0.35);
}
.yh-more-btn .wp-block-button__link:hover::after {
	transform: translateX(4px);
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08400' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
}

/* ---------- お知らせカード：記事のサムネイル（アイキャッチ）を表示。無い記事は仮の絵 ---------- */
.yh-blog-card__thumb {
	margin: 0;
	position: relative;
}
.yh-blog-card__thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.yh-blog-card:has(.yh-blog-card__thumb) > .yh-blog-card__img {
	display: none;
}
.yh-search-results .yh-blog-card__thumb {
	flex: 0 0 150px;
	width: 150px;
}
.yh-search-results .yh-blog-card__thumb img {
	width: 150px;
	height: 150px;
	aspect-ratio: 1 / 1;
	border-radius: 6px;
}
@media (max-width: 782px) {
	.yh-search-results .yh-blog-card__thumb {
		flex-basis: 96px;
		width: 96px;
	}
	.yh-search-results .yh-blog-card__thumb img {
		width: 96px;
		height: 96px;
	}
}

/* フッターのプライバシーポリシーへのリンク */
.yh-footer .yh-footer-privacy {
	margin: 8px 0 0;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	font-size: 13px;
}
.yh-footer .yh-footer-privacy a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: underline;
}
.yh-footer .yh-footer-privacy a:hover {
	color: var(--amber, #e08400);
}

/* ---------- プライバシーポリシー（固定ページ） ---------- */
.yh-policy {
	max-width: 880px;
	margin-inline: auto !important;
}
.yh-policy .wp-block-post-content ul {
	margin: 0.6em 0 0;
	padding-left: 1.4em;
}
.yh-policy .wp-block-post-content li {
	margin: 0.25em 0;
}
.yh-policy .wp-block-post-content h2:not([class*="yh-"]) {
	font-size: 22px;
	margin-top: 2em;
}
.page-template-page-privacy-policy .yh-footer,
.page-privacy-policy .yh-footer,
.page-privacy-policy .wp-site-blocks > footer {
	margin-top: 0 !important;
}

/* ヒーローの写真：タブレット・スマホ（縦並び）では、枠いっぱいに写真を敷く */
@media (max-width: 900px) {
	.yh-hero2__photo img {
		object-fit: cover;
		object-position: center bottom;
	}
}

/* ---------- ヒーローの背景：空色のグラデーション＋うすい雲（写真は実物のまま） ---------- */
.yh-hero2 {
	background:
		radial-gradient(ellipse 14% 7% at 9% 12%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 72%),
		radial-gradient(ellipse 12% 6% at 25% 21%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 72%),
		radial-gradient(ellipse 16% 7% at 41% 8%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 72%),
		radial-gradient(ellipse 11% 5% at 5% 47%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 72%),
		radial-gradient(ellipse 13% 5% at 33% 62%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 72%),
		linear-gradient(180deg, #bfe0ff 0%, #d9ecff 30%, #eef7ff 62%, #fff 100%);
}
@media (min-width: 901px) {
	/* 写真の左側を、白ではなく、背景の空色になじませる（写真そのものを透明にぼかす） */
	/* 写真を右下に、枠の高さいっぱいで置き、写真の左端そのものを透明にぼかす（画面幅が変わっても同じ見え方） */
	.yh-hero2__photo img {
		position: absolute;
		right: calc(var(--u) * -14);
		top: -2%;
		bottom: auto;
		width: auto;
		height: 114%;
		max-width: none;
		aspect-ratio: 4 / 3;
		object-fit: cover;
		object-position: center;
		background: transparent;
		-webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.28) 13%, rgba(0, 0, 0, 0.7) 25%, #000 35%);
		mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.28) 13%, rgba(0, 0, 0, 0.7) 25%, #000 35%);
	}
	.yh-hero2__photo::after {
		display: none;
	}
	/* 左の文字のまわりの背景は、空色をうすくして白に近づける */
	.yh-hero2 {
		background:
			radial-gradient(ellipse 14% 7% at 9% 12%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 72%),
			radial-gradient(ellipse 16% 7% at 41% 8%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 72%),
			linear-gradient(180deg, #f1f8ff 0%, #f8fcff 24%, #fdfeff 52%, #fff 100%);
	}
	.yh-hero2__photo::before {
		background: linear-gradient(90deg, #fdfeff 0%, #fdfeff 44%, rgba(253, 254, 255, 0.88) 50%, rgba(253, 254, 255, 0) 58%);
		-webkit-mask-image: linear-gradient(180deg, transparent 26%, #000 50%, #000 95%, transparent 100%);
		mask-image: linear-gradient(180deg, transparent 26%, #000 50%, #000 95%, transparent 100%);
	}
}
@media (min-width: 601px) and (max-width: 900px) {
	/* タブレット：写真の上下の端を、背景になじませる */
	.yh-hero2__photo::after {
		display: none;
	}
	.yh-hero2__photo img {
		-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 84%, transparent 100%);
		mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 84%, transparent 100%);
	}
}

/* スマホ・タブレット：ヒーローの背景は白（空色のグラデーションは使わない） */
@media (max-width: 900px) {
	.yh-hero2 {
		background: #fff;
	}
}
