/* =========================================================
   全デザイン共通の土台
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; }
iframe { border: 0; display: block; }
[id] { scroll-margin-top: 24px; }

.s-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.s-skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 16px; background: #fff; color: #000; }
.s-skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--accent, #2271b1); outline-offset: 3px; }

/* 写真：枠いっぱいに表示。無いときは仮の面 */
.s-img { width: 100%; height: 100%; object-fit: cover; }
.s-ph { display: flex; width: 100%; height: 100%; min-height: inherit; align-items: center; justify-content: center; font-size: 11px; letter-spacing: 0.14em; opacity: 0.75; }

/* スマホのメニュー（各デザインで見た目を指定） */
.s-menu-toggle { display: none; }
@media (max-width: 900px) {
	.s-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; color: inherit; }
	.s-header .s-nav { display: none; }
	.s-header.is-open .s-nav { display: flex; }
}

/* 料金表 */
.s-table-wrap { overflow-x: auto; }
.s-price { width: 100%; min-width: 480px; border-collapse: collapse; }
.s-price th, .s-price td { text-align: left; }

/* 店舗情報 */
.s-info { display: grid; grid-template-columns: 6.5em 1fr; gap: 14px 20px; }
.s-info dd { margin: 0; }

/* 下層ページ共通 */
.s-page { max-width: 880px; margin: 0 auto; padding: clamp(56px, 8vw, 112px) 20px clamp(72px, 9vw, 128px); }
.s-page-wide { max-width: 1200px; }
.s-page-head { margin-bottom: 40px; }
.s-news-list { list-style: none; }
.s-news-link { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; padding: 24px 0; text-decoration: none; }
.s-news-thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.s-news-body { display: flex; flex-direction: column; gap: 8px; }
.s-news-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 13px; }
@media (max-width: 600px) { .s-news-link { grid-template-columns: 96px 1fr; gap: 16px; } }
.s-article-image { margin-bottom: 40px; }
.s-content { font-size: 16px; line-height: 2; }
.s-content > * + * { margin-top: 1.4em; }
.s-content img { margin: 0 auto; }
.s-back { margin-top: 56px; }
.s-empty { padding: 32px 0; }
.s-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.s-filter-item { text-decoration: none; }
.s-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px 24px; margin-top: 32px; }
.s-gallery-photo { display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.s-gallery-item figcaption { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.s-gallery-breed { font-size: 13px; opacity: 0.8; }
.s-pagination { margin-top: 48px; }
.s-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.s-pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 12px; text-decoration: none; }
.s-pagination .page-numbers.current { font-weight: 700; }

/* ロゴ画像（店舗情報で設定したとき） */
.s-logo { display: block; width: auto; height: var(--logo-h, 40px); max-width: min(220px, 55vw); object-fit: contain; object-position: left center; }

/* スマホ：フッターのリンクを指で押しやすい高さにする（44px） */
@media (max-width: 768px) {
	.s-footer-nav { row-gap: 0 !important; }
	.s-footer-nav a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
}
.s-nowrap { display: inline-block; }

/* スマホ：料金表は横にスクロールさせず、犬種ごとに縦に並べる（見出しは読み上げ用に残す） */
@media (max-width: 600px) {
	.s-price { min-width: 0; }
	.s-price thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.s-price tbody tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--line, #ddd); }
	.s-price tbody th, .s-price tbody td { display: block; padding: 0 !important; border: 0 !important; }
	.s-price tbody th { margin-bottom: 6px; font-weight: 700; }
	.s-price tbody td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0 !important; }
	.s-price tbody td::before { content: attr(data-label); font-size: 0.85em; }
}

/* =========================================================
   メインメニュー（parts/shared/nav-menu.php）
   PC：各デザインのヘッダーに横並び（リンクはそのまま並ぶよう display: contents）
   スマホ：画面いっぱいに重ねてふわっと表示。色・書体は各デザインの --menu-* で決める
   ========================================================= */
.s-nav-links { display: contents; }
.s-nav-no, .s-nav-extra, .s-nav-deco { display: none; }
/* PCでは英字だけ見せる（日本語は読み上げ用に残す。pop02 は自分で表示） */
.s-nav-jp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:where(.s-header[data-menu="overlay"]) { position: relative; z-index: 60; }

@media (max-width: 900px) {
	.s-header[data-menu="overlay"] .s-header-inner > :not(.s-nav) { position: relative; z-index: 2; }
	.s-header[data-menu="overlay"].is-open .s-header-inner > :not(.s-nav) { color: var(--menu-fg); }
	.s-header[data-menu="overlay"].is-open .s-logo { background: var(--menu-logo-bg, transparent); border-radius: 999px; padding: 4px 12px; box-sizing: content-box; }
	.s-header[data-menu="overlay"] .s-nav {
		display: flex; position: fixed; inset: 0; z-index: 1; margin: 0; flex-basis: auto;
		flex-direction: column; justify-content: center; align-items: stretch; gap: 36px;
		padding: 104px var(--gutter, 24px) 48px; border: 0; border-radius: 0; overflow-y: auto; overflow-x: hidden;
		color: var(--menu-fg); font-size: 16px; letter-spacing: normal;
		background:
			var(--menu-glow, linear-gradient(transparent, transparent)),
			linear-gradient(160deg, var(--menu-c1), var(--menu-c2)),
			var(--menu-photo, none) center / cover no-repeat,
			var(--menu-c2);
		opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0s linear 0.6s;
	}
	.s-header[data-menu="overlay"].is-open .s-nav { opacity: 1; visibility: visible; transition: opacity 0.6s ease, visibility 0s; }
	.s-header[data-menu="overlay"] .s-nav-links { display: flex; flex-direction: column; }
	.s-header[data-menu="overlay"] .s-nav-links a { display: flex; align-items: baseline; gap: 16px; min-height: 44px; padding: 10px 0; border-bottom: 1px solid var(--menu-line); color: var(--menu-fg); text-decoration: none; }
	.s-header[data-menu="overlay"] .s-nav-no { display: inline; min-width: 2em; font-family: var(--f-label, sans-serif); font-size: 11px; letter-spacing: 0.16em; }
	.s-header[data-menu="overlay"] .s-nav-en { font-family: var(--menu-font); font-style: var(--menu-font-style, normal); font-weight: var(--menu-font-weight, 500); font-size: clamp(32px, 10vw, 44px); line-height: 1.1; letter-spacing: 0.02em; text-transform: none; }
	.s-header[data-menu="overlay"] .s-nav-jp { position: static; width: auto; height: auto; overflow: visible; clip: auto; margin-left: auto; font-size: 12px; letter-spacing: 0.14em; }
	.s-header[data-menu="overlay"] .s-nav-cta { display: none; }
	.s-header[data-menu="overlay"] .s-nav-extra { display: block; }
	.s-nav-extra-label { margin-bottom: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; }
	.s-nav-reserve { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
	.s-nav-pill { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--menu-pill-bg); color: var(--menu-pill-fg); font-size: 14px; font-weight: 700; text-decoration: none; }
	.s-header[data-menu="overlay"] .s-nav-deco { display: block; position: absolute; right: -0.08em; bottom: -0.2em; font-family: var(--menu-font); font-weight: 700; font-size: 34vw; line-height: 1; letter-spacing: -0.02em; color: var(--menu-deco); white-space: nowrap; pointer-events: none; }
	/* 項目は少しずつ遅れて下から現れる */
	.s-header[data-menu="overlay"] .s-nav-links a, .s-header[data-menu="overlay"] .s-nav-extra { opacity: 0; translate: 0 18px; transition: opacity 0.5s ease, translate 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
	.s-header[data-menu="overlay"].is-open .s-nav-links a, .s-header[data-menu="overlay"].is-open .s-nav-extra { opacity: 1; translate: none; transition-delay: calc(0.15s + var(--i, 0) * 0.07s); }
	.s-header[data-menu="overlay"] .s-nav-deco { opacity: 0; translate: 8% 0; transition: opacity 1s ease, translate 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
	.s-header[data-menu="overlay"].is-open .s-nav-deco { opacity: 1; translate: none; transition-delay: 0.2s; }
	html.is-menu-open { overflow: hidden; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
	.s-header[data-menu="overlay"] .s-nav, .s-header[data-menu="overlay"] .s-nav-links a, .s-header[data-menu="overlay"] .s-nav-extra, .s-header[data-menu="overlay"] .s-nav-deco { transition: none !important; translate: none; }
}

/* =========================================================
   スクロールでふわっと表示（assets/js/reveal.js が目印を付けたものだけ）
   シンプルに「少し下から、透明→表示」。各デザインの transform（写真の傾きなど）とぶつからないよう translate で動かす
   ========================================================= */
.is-reveal { opacity: 0; translate: 0 20px; transition: opacity 0.8s ease, translate 0.8s ease; transition-delay: var(--reveal-delay, 0s); }
.is-reveal.is-shown { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) {
	.is-reveal { opacity: 1; translate: none; transition: none; }
}

/* トップのギャラリーのタブ（parts/shared/gallery-tabs.php・assets/js/gallery-tabs.js） */
:where(button.s-filter-item) { appearance: none; margin: 0; font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
[data-breeds][hidden] { display: none !important; }
.is-tab-in { animation: s-tab-in 0.5s ease both; animation-delay: calc((var(--pos, 1) - 1) * 0.08s); }
@keyframes s-tab-in { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: none; } }
.s-gallery-more { margin-top: 32px; }
.s-gallery-tabs { margin-bottom: 28px; }
/* スマホ：犬種が多くても写真が下に押し出されないよう、タブは1行で横にスクロール */
@media (max-width: 600px) {
	.s-gallery-tabs { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--gutter, 20px) * -1); padding: 2px var(--gutter, 20px) 6px 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.s-gallery-tabs::-webkit-scrollbar { display: none; }
	.s-gallery-tabs > * { flex: none; white-space: nowrap; }
}

/* =========================================================
   サロンの紹介（parts/shared/extras.php）・ご来店時のお願い・ビフォーアフター
   形は全デザイン共通。色や書体は各デザインの --x-* で調整する
     --x-card / --x-card-fg   カードの地と文字
     --x-line                 細い線
     --x-muted                小さな文字（カードの上）
     --x-accent               印・価格・チップ
     --x-radius               角丸
     --x-head-font / --x-en-font / --x-head-color / --x-en-color   見出し
   ========================================================= */
.s-x { --x-card: #fff; --x-card-fg: inherit; --x-line: rgba(0, 0, 0, 0.12); --x-muted: #5f5f5f; --x-radius: 8px; }
.s-x-head { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: clamp(28px, 4vw, 48px); text-align: center; font-weight: 400; color: var(--x-head-color, inherit); }
.s-x-en { font-family: var(--x-en-font, inherit); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--x-en-color, var(--x-accent, var(--accent))); }
.s-x-jp { font-family: var(--x-head-font, inherit); font-size: clamp(20px, 2.4vw, 26px); font-weight: var(--x-head-weight, 500); letter-spacing: 0.08em; line-height: 1.5; }
.s-x-card { background: var(--x-card); color: var(--x-card-fg); border-radius: var(--x-radius); }
.s-x-pad { padding: clamp(22px, 3vw, 32px); }
.s-x-title { font-family: var(--x-head-font, inherit); font-size: 17px; font-weight: 600; line-height: 1.6; letter-spacing: 0.04em; }
.s-x-small { font-size: 12px; letter-spacing: 0.1em; color: var(--x-muted); }
.s-x-text { margin-top: 10px; font-size: 14px; line-height: 1.9; }
.s-x-price { margin-top: 6px; font-weight: 700; color: var(--x-accent, var(--accent)); }
.s-x-chip { display: inline-block; margin-top: 8px; padding: 2px 12px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; color: var(--x-accent, var(--accent)); }
.s-x-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.s-x-note { margin-top: 16px; font-size: 13px; color: var(--x-muted); }

/* スタッフ */
.s-x-staff { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; gap: 24px; }
.s-x-staff > li { overflow: hidden; }
.s-x-staff-photo { aspect-ratio: 1; overflow: hidden; }
.s-x-staff-body { padding: 20px 22px 24px; }
/* スタッフが1人のとき：細いカードが1枚だけにならないよう、写真と紹介を横に並べた大きめのカードにする */
.s-x-staff-single { grid-template-columns: minmax(0, 880px); }
.s-x-staff-single > li { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; }
.s-x-staff-single > li:not(:has(.s-x-staff-photo)) { grid-template-columns: minmax(0, 1fr); }
.s-x-staff-single .s-x-staff-photo { align-self: stretch; aspect-ratio: 4 / 5; }
.s-x-staff-single .s-x-staff-photo .s-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.s-x-staff-single .s-x-staff-body { padding: clamp(28px, 4vw, 56px); }
.s-x-staff-single .s-x-title { font-size: clamp(20px, 2vw, 26px); }
.s-x-staff-single .s-x-text { margin-top: 14px; font-size: 14.5px; line-height: 2; }
@media (max-width: 640px) {
	.s-x-staff-single > li { grid-template-columns: minmax(0, 1fr); }
	.s-x-staff-single .s-x-staff-photo { aspect-ratio: 4 / 3; }
	.s-x-staff-single .s-x-staff-body { padding: 22px 22px 26px; }
}

/* 対応できる子（○△×）・衛生と安全 */
.s-x-policy { display: grid; gap: 24px; }
@media (min-width: 900px) { .s-x-policy-2 { grid-template-columns: 1fr 1fr; } }
.s-x-accept { list-style: none; margin-top: 12px; }
.s-x-accept li { display: grid; grid-template-columns: 2em 1fr auto; gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--x-line); }
.s-x-mark { display: inline-flex; align-items: center; justify-content: center; width: 1.8em; height: 1.8em; border-radius: 50%; font-weight: 700; }
.s-x-accept-ok .s-x-mark { background: var(--x-accent, var(--accent)); color: #fff; }
.s-x-accept-ask .s-x-mark { border: 1px solid var(--x-accent, var(--accent)); color: var(--x-accent, var(--accent)); }
.s-x-accept-ng .s-x-mark { background: #e9e9e9; color: #5f5f5f; }
.s-x-accept-text { font-size: 12px; color: var(--x-muted); }
.s-x-checklist { list-style: none; margin-top: 12px; }
.s-x-checklist li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--x-line); font-size: 14px; line-height: 1.8; }
.s-x-checklist li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 14px; height: 7px; border-left: 2px solid var(--x-accent, var(--accent)); border-bottom: 2px solid var(--x-accent, var(--accent)); transform: rotate(-45deg); }

/* お得なプラン・お客様の声 */
.s-x-plan { border-top: 3px solid var(--x-accent, var(--accent)); }
.s-x-quote { margin: 0; }
.s-x-quote p { position: relative; padding-top: 18px; font-size: 14px; line-height: 1.95; }
.s-x-quote p::before { content: "“"; position: absolute; top: -14px; left: -4px; font-family: Georgia, serif; font-size: 48px; line-height: 1; color: var(--x-accent, var(--accent)); opacity: 0.5; }
.s-x-voices .s-x-small { margin-top: 12px; }
.s-x-voices > li { overflow: hidden; }
.s-x-voice-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.s-x-voice-photo .s-img { width: 100%; height: 100%; object-fit: cover; }
.s-x-voice-body { padding: 20px clamp(22px, 3vw, 28px) 26px; }
.s-x-more { margin-top: 32px; text-align: center; }
.s-x-more a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 32px; border: 1px solid var(--x-accent, var(--accent)); border-radius: var(--x-btn-radius, 999px); color: var(--x-accent, var(--accent)); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-decoration: none; transition: background 0.2s, color 0.2s; }
.s-x-more a:hover, .s-x-more a:focus-visible { background: var(--x-accent, var(--accent)); color: #fff; }
.s-x-voices-page { padding-top: clamp(56px, 8vw, 112px); }

/* よくある質問（開閉） */
.s-x-faq { display: flex; flex-direction: column; gap: 12px; max-width: 880px; margin: 0 auto; }
.s-x-faq summary { display: flex; gap: 14px; align-items: flex-start; min-height: 44px; padding: 18px 48px 18px 20px; position: relative; cursor: pointer; list-style: none; font-weight: 600; line-height: 1.7; }
.s-x-faq summary::-webkit-details-marker { display: none; }
.s-x-faq summary::after { content: ""; position: absolute; right: 22px; top: 26px; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.25s; }
.s-x-faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.s-x-q { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--x-accent, var(--accent)); color: #fff; font-size: 13px; font-weight: 700; }
.s-x-a { display: flex; gap: 14px; padding: 0 20px 20px; font-size: 14px; line-height: 1.95; }
.s-x-a .s-x-q { background: transparent; border: 1px solid var(--x-accent, var(--accent)); color: var(--x-accent, var(--accent)); }

/* ご来店時のお願い（各デザインの注意書きの枠の中に入る） */
.s-rules-title { font-weight: 700; margin-bottom: 6px; }
.s-rules-list { list-style: none; text-align: left; }
.s-rules-list li { position: relative; padding-left: 1.2em; line-height: 1.9; }
.s-rules-list li::before { content: "・"; position: absolute; left: 0; }
.s-rules-more { margin-top: 8px; text-align: left; }
.s-info-small { font-size: 0.85em; }

/* ビフォー・アフター（ギャラリー詳細） */
.s-before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 40px; }
.s-before-after figure { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; }
.s-before-after img { width: 100%; height: 100%; object-fit: cover; }
.s-before-after figcaption { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; padding: 6px 12px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 12px; line-height: 1.3; letter-spacing: 0.1em; }
.s-before-after figcaption span { font-size: 11px; }
@media (max-width: 480px) { .s-before-after { gap: 6px; } }

/* ---------------------------------------------------------
   トップの写真のスライド（salon_hero_media()・assets/js/hero-slider.js）
   写真の枠いっぱいに重ねて、ふわっと切り替える。ボタンは写真の下の中央
   --------------------------------------------------------- */
:where(:has(> .s-slider)) { position: relative; } /* 枠の指定より弱くする（各デザインが absolute にしている枠はそのまま） */
.s-slider { position: absolute; inset: 0; overflow: hidden; }
.s-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.s-slide.is-current { opacity: 1; }
.s-slide .s-img { position: absolute; inset: 0; }
.s-slide.is-current .s-img { animation: s-slide-zoom 7s ease-out both; }
@keyframes s-slide-zoom { from { scale: 1.06; } to { scale: 1; } }
.s-slider-ui { position: absolute; left: 50%; bottom: var(--slider-bottom, 14px); z-index: 3; display: flex; align-items: center; gap: 2px; padding: 2px 6px; border-radius: 999px; background: rgba(0, 0, 0, 0.38); transform: translateX(-50%); }
.s-slider-ui[hidden] { display: none; }
.s-slider-ui button { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.s-slider-ui button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
/* 何枚目か：小さな丸。表示中は横長 */
.s-slider-dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); transition: width 0.3s, background 0.3s; }
.s-slider-dot[aria-current="true"]::before { width: 18px; background: #fff; }
/* 止める（二本線）／再生する（三角） */
.s-slider-toggle::before, .s-slider-toggle::after { content: ""; width: 3px; height: 11px; margin: 0 1.5px; border-radius: 1px; background: #fff; }
.is-paused .s-slider-toggle::before { width: 0; height: 0; margin: 0 0 0 3px; border-radius: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; background: none; }
.is-paused .s-slider-toggle::after { display: none; }
@media (prefers-reduced-motion: reduce) {
	.s-slide { transition: none; }
	.s-slide.is-current .s-img { animation: none; }
}

/* ---------------------------------------------------------
   採用情報（トップの「スタッフ募集」と /recruit/ ページ）
   --------------------------------------------------------- */
.s-x-recruit { max-width: 880px; margin: 0 auto; text-align: center; }
.s-x-recruit .s-x-text { margin-top: 0; }
.s-x-recruit-jobs { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 18px; }
.s-x-recruit-jobs li { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; }
.s-x-recruit .s-x-chip, .s-x-job-title .s-x-chip { white-space: nowrap; }
.s-x-recruit-jobs .s-x-chip { margin-top: 0; }
.s-x-recruit-title { font-family: var(--x-head-font, inherit); font-size: 18px; font-weight: 600; }
.s-x-recruit .s-x-more { margin-top: 24px; }
.s-x-recruit-intro { max-width: 720px; margin: 0 auto 36px; line-height: 2; text-align: center; }
.s-x-jobs { display: grid; gap: 24px; max-width: 880px; margin: 0 auto; }
.s-x-job-title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-family: var(--x-head-font, inherit); font-size: clamp(19px, 2vw, 22px); font-weight: var(--x-head-weight, 600); line-height: 1.5; }
.s-x-job-title .s-x-chip { margin-top: 0; }
.s-x-job-list { margin: 18px 0 0; }
.s-x-job-list > div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--x-line); }
.s-x-job-list dt { font-weight: 700; font-size: 14px; }
.s-x-job-list dd { margin: 0; font-size: 15px; line-height: 1.9; }
.s-x-apply { max-width: 880px; margin: 24px auto 0; }
.s-x-apply .s-x-text { margin-top: 12px; }
.s-x-apply-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 600px) { .s-x-job-list > div { grid-template-columns: 1fr; gap: 4px; } }
