/* 法泉寺 全ページの見た目（B案 明るい藍・見出しは太い明朝。2026-10-14 住職選択）。clone.css の後に読む。
   ページの中身・順番・リンクは変えない（見た目だけ）。トップだけの並べ方は main:has(> section.strip:first-child > .slides[data-auto]) で限定 */
@font-face { font-family: "Hosenji Mincho"; src: url("/assets/fonts/hosenji-mincho-900-a.woff2?v=20261015") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; unicode-range: U+20, U+28-29, U+3000, U+300C-300F, U+3044, U+304A, U+3054, U+305B, U+3064, U+3066, U+306A-306B, U+306E, U+3089, U+30A2, U+30A4, U+30AA-30AB, U+30AF, U+30B8-30B9, U+30BB, U+30C0, U+30C3, U+30C8, U+30DA, U+30E9, U+30EC, U+30F3, U+30FB-30FC, U+4E0E, U+4E88, U+4E8B, U+4EA4, U+4EBA, U+4ECB, U+4EE3, U+4F0A, U+4F9B, U+5100, U+5149, U+5185, U+523B, U+52E2, U+5370, U+539F, U+5730, U+5834, U+5893, U+5B66, U+5BB6, U+5BC4, U+5BFA, U+5C02, U+5C71, U+5FA1, U+6240, U+6388, U+6728, U+6731, U+6821, U+6848, U+6A39, U+6A5F, U+6A80, U+6C38, U+6CC9, U+6CD5, U+7528, U+77E5, U+7948, U+7977, U+7D04, U+7D39, U+846C, U+884C, U+901A, U+9032, U+9577, U+9593, U+95A2, U+984C, U+9858, U+990A, U+9996, U+FF08-FF09; }
@font-face { font-family: "Hosenji Mincho"; src: url("/assets/fonts/hosenji-mincho-900-b.woff2?v=20261015") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; unicode-range: U+A, U+26, U+2C-39, U+3F-43, U+45-49, U+4B-55, U+57, U+59, U+61-79, U+A0, U+14D, U+2015, U+201C-201D, U+2026, U+2460-2465, U+25B6, U+25BC, U+25C7, U+25CF, U+2605-2606, U+26E9, U+3001-3002, U+3005, U+3008-3009, U+3010-3011, U+301C, U+3042, U+3046, U+3048, U+304B-3053, U+3055-305A, U+305D, U+305F-3061, U+3063, U+3065, U+3067-3069, U+306C, U+306F-3070, U+3072-3073, U+3076, U+3078-3079, U+307E-3082, U+3084, U+3086-3088, U+308A-308C, U+308F, U+3092-3093, U+30A3, U+30A6-30A9, U+30AC-30AE, U+30B0-30B1, U+30B3-30B7, U+30BA, U+30BF, U+30C1, U+30C6-30C7, U+30C9-30CB, U+30CD-30D0, U+30D3, U+30D5-30D7, U+30DB-30E3, U+30E5, U+30E7-30E8, U+30EA-30EB, U+30ED, U+30EF, U+30F6, U+4E00-4E01, U+4E03, U+4E07, U+4E09-4E0B, U+4E0D, U+4E2D, U+4E38-4E39, U+4E3B, U+4E5D, U+4E86, U+4E8C, U+4E94, U+4EA1, U+4ECA, U+4ECF, U+4ED5-4ED6, U+4ED8, U+4EE4-4EE5, U+4EF0, U+4EF6, U+4EFB, U+4F01, U+4F11, U+4F1A, U+4F1D, U+4F4D, U+4F4F, U+4F53, U+4F55, U+4F5C, U+4F7F, U+4FA1, U+4FBF, U+4FDD, U+4FE1, U+4FEE, U+500B, U+5024, U+5065, U+5074, U+5099, U+50AC, U+50CD, U+50CF, U+5143, U+5148, U+5165, U+5168, U+516B, U+516D, U+5171, U+5177-5178, U+5186, U+518D, U+5199, U+51A5, U+51B7, U+51FA, U+5206-5207, U+5217, U+521D, U+5224-5225, U+5229, U+5236, U+5238-523A, U+524D, U+529B, U+52A0, U+52B9, U+52D5, U+52DF, U+52E7, U+5316, U+533A, U+5341, U+5343, U+534D, U+5352, U+5357, U+5384, U+539A, U+53C2, U+53CA, U+53D6-53D7, U+53E4, U+53EF, U+53F2, U+5404, U+5408, U+540C-540D, U+5411, U+5473, U+547D, U+548C, U+54C1, U+54E1, U+5510, U+5546, U+554F, U+5584, U+559C, U+55B6, U+5668, U+56DB, U+56DE, U+56E3, U+56F2, U+571F, U+5728, U+57CB, U+57DF, U+5802, U+5831, U+5854, U+585A, U+5883, U+58F0, U+58F2, U+58FA, U+5909, U+5916, U+591A, U+5927, U+5929-592B, U+5948-5949, U+5951, U+5973, U+5999, U+59CB, U+59FF, U+5A46, U+5A66, U+5B50, U+5B57, U+5B63, U+5B85, U+5B88-5B89, U+5B8C, U+5B97, U+5B9A, U+5B9F, U+5BA2, U+5BA4, U+5BAE, U+5BB9, U+5BC6, U+5BE7, U+5BFE, U+5C06, U+5C0A, U+5C0E-5C0F, U+5C31, U+5C4A-5C4B, U+5C55, U+5CB8, U+5DDD, U+5E02-5E03, U+5E0C, U+5E2B, U+5E2D, U+5E30, U+5E33, U+5E38, U+5E45, U+5E73-5E74, U+5E97, U+5EA6-5EA7, U+5EB7, U+5EDF, U+5EF6, U+5EFA, U+5F0F, U+5F15, U+5F53, U+5F62, U+5F69, U+5F71, U+5F7C, U+5F85, U+5F8B-5F8C, U+5F92, U+5F97, U+5FA9, U+5FB3-5FB4, U+5FC3, U+5FC5, U+5FCC, U+5FD7, U+5FDC, U+5FEB, U+5FF5, U+601D, U+6027, U+60A9, U+60BC, U+60C5, U+610F, U+611B, U+611F, U+6148, U+6162-6163, U+616E, U+6210, U+6212, U+6238, U+624B, U+6253, U+6255, U+627F-6280, U+6291, U+6298, U+629E, U+62C5, U+62DD, U+62EC-62ED, U+62F6, U+6301, U+6307, U+6328, U+6368, U+63A2, U+63A5, U+63D0, U+64AE, U+652F, U+6539, U+6559, U+6570, U+6574, U+6587, U+6599, U+65B0, U+65B9, U+65BD, U+65CF, U+65E5, U+65E8-65E9, U+660E, U+6613, U+6625, U+6642, U+66DC, U+66F4, U+66F8, U+6700, U+6708, U+671B, U+671D, U+671F, U+672A, U+672C-672D, U+6765, U+677E, U+679C, U+6839, U+683C, U+685C, U+6876, U+691C, U+696D, U+697D, U+6982, U+69D8, U+6A21, U+6A2A, U+6A4B, U+6A9C, U+6B63, U+6B69, U+6B74, U+6B7B, U+6B8B, U+6BB5, U+6BBF, U+6BCD-6BCE, U+6BD4, U+6C17, U+6C34, U+6C5F, U+6CA2, U+6CC1, U+6CE2, U+6CE8, U+6D3B, U+6D3E, U+6D41, U+6D5C, U+6D77, U+6DF1, U+6E1B, U+6E7F-6E80, U+6E96, U+6F06, U+6FC0, U+704C, U+706B, U+70B9, U+711A, U+7121, U+7136, U+724C, U+7269, U+7279, U+72AC, U+72B6, U+732B, U+73FE, U+7406, U+74B0, U+751F, U+7531, U+7533, U+7537, U+753B, U+7559, U+75B2, U+75C5, U+75C7, U+75DB, U+7652, U+767A, U+767D, U+7684, U+76AE, U+76C6, U+76EE, U+76F4, U+76F8, U+770C, U+771F-7720, U+773C, U+7740, U+77ED, U+77F3, U+78BA, U+78E8, U+793E, U+795D-795E, U+7965, U+796D, U+798F, U+79C1, U+79CB, U+79E6, U+79FB, U+7A0B, U+7A0E, U+7A2E, U+7A32, U+7A7A, U+7ACB, U+7B2C, U+7B46, U+7B49, U+7B4B, U+7B8B, U+7BA1, U+7BB1, U+7BC0, U+7C21, U+7CBE, U+7CF8, U+7D0D, U+7D19, U+7D22, U+7D30, U+7D3A, U+7D42, U+7D44, U+7D4C, U+7D50, U+7D61, U+7D71, U+7D75-7D76, U+7D99-7D9A, U+7DCF, U+7DD2, U+7DDA, U+7DE8-7DE9, U+7E01, U+7E4D, U+7E55, U+7F6E, U+7F85, U+7F8E, U+7FA9, U+7FD2, U+8003, U+8005, U+8056, U+805A, U+8077, U+8089, U+80A2, U+80A9, U+80B2, U+80FD, U+8133, U+8170, U+81EA, U+8208, U+822C, U+8272, U+82B1, U+8352, U+8377, U+83EF, U+847A, U+8494, U+84EE, U+8535, U+871C, U+8846, U+8853, U+8868, U+88FD, U+8974, U+8981, U+898B, U+898F, U+89AA, U+89B3, U+89E3, U+8A0E, U+8A18, U+8A2A, U+8A2D, U+8A3C, U+8A55, U+8A5E, U+8A63, U+8A71, U+8A73, U+8A8D, U+8A95, U+8AA4, U+8AAC-8AAD, U+8AB0, U+8AB2, U+8ABF, U+8AC7, U+8B1B, U+8B1D, U+8B39, U+8B58, U+8B77, U+8C4A, U+8C61, U+8C6A, U+8CA0, U+8CA9, U+8CAB, U+8CBB, U+8CEA, U+8CFC, U+8D77, U+8DB3, U+8DE1, U+8DEF, U+8EAB, U+8ECA, U+8EFD, U+8FBC, U+8FD4, U+8FFD, U+9001, U+9014, U+9023, U+9031, U+904B, U+904E, U+9053, U+9055, U+9060, U+9069, U+9078, U+907A, U+90E8, U+90F5, U+91CC-91CF, U+91D1, U+925B, U+9580, U+9589, U+958B, U+963F, U+964D, U+9650, U+9662, U+9664, U+9670, U+968E, U+969B, U+96C6, U+96DB, U+96E3, U+96FB, U+970A, U+9759, U+9762, U+97F3, U+9802, U+9805-9806, U+9810, U+9812, U+984D, U+985E, U+98DF, U+98FD, U+9999, U+99D0, U+9A13, U+9AA8, U+9AD8, U+9AED, U+9B3C, U+9ED2, U+9F13, U+9F8D, U+FE0F, U+FF01, U+FF06, U+FF0F-FF16, U+FF18-FF1A, U+FF1F, U+FF21, U+FF26, U+FF31, U+FF5C, U+FF5E, U+FF62, U+FF64-FF65, U+1F33F, U+1F4DC-1F4DE, U+1F536, U+1F56F, U+1F5A5; }
:root { --bg: #ffffff; --surface: #f4f7fa; --ink: #1d2733; --muted: #53606e; --line: #e3e8ee; --link: #2d5174; --accent: #2d5174; --accent-dark: #213d58; --accent2: #d4a43a; --head-font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Yu Gothic", "Meiryo", sans-serif; --body-font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Yu Gothic", "Meiryo", sans-serif; --radius-img: 12px; --radius-btn: 999px; --shadow: 0 6px 20px rgba(29,39,51,.10); --shadow-btn: 0 4px 12px rgba(45,81,116,.25); --hdr-bg: #ffffff; --hdr-shadow: 0 2px 12px rgba(0,0,0,.06); --ftr-bg: #1d2733; --ftr-ink: #e7ecf2; --ftr-link: #f0d48a; }

/* ===== デザインの見本（2026-10-14 非公開）：見た目だけ。ページの中身・順番・リンクは変えない ===== */
body { background: var(--bg); color: var(--ink); font-family: var(--body-font); }
a { color: var(--link); }
h1, h2, h3, h4, h5, h6 { font-family: var(--head-font); color: var(--ink); }
h2.long, h3.long, h4.long, h5.long, h6.long { font-family: var(--body-font); font-weight: 500; color: var(--muted); }
main h1 a, main h2 a, main h3 a, main h4 a { color: inherit; text-decoration: none; }
main .rt h2:not(.long)::after { content: ""; display: block; width: 44px; height: 2px; margin-top: .5em; background: var(--accent2); }
main .rt[style*="center"] h2:not(.long)::after, main .rt h2[style*="center"]:not(.long)::after { margin-left: auto; margin-right: auto; }

/* ヘッダー */
.hdr { background: var(--hdr-bg); border-bottom: 1px solid var(--line); box-shadow: var(--hdr-shadow); }

/* 区切り */
.strip { padding: 24px 0; border-bottom: 1px solid var(--line); }   /* 区切りの間（住職 2026-10-14「3」：34 → 24） */
main img { border-radius: 4px; }
/* 影と丸みは、写真がリンクになっているカードとトップの写真だけ（Wix で背景の飾りだった白い板・和紙の柄の画像に付けると浮いて見える） */
main a.card img, main:has(> section.strip:first-child > .slides[data-auto]) img.wide { border-radius: var(--radius-img); box-shadow: var(--shadow); }

/* ボタン */
.btn, .wbtn { border-radius: var(--radius-btn); background: var(--accent); font-weight: 600; letter-spacing: .08em; box-shadow: var(--shadow-btn); transition: background .15s, transform .15s; }
.btn:hover, .wbtn:not([disabled]):hover { background: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.wlabel { border-color: var(--line); border-radius: var(--radius-btn); }

/* トップの3つ目の区切り（案内の小さなカードとお知らせ）：カードを2列に */
main > section.strip:has(> a.card ~ a.card ~ a.card) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
main > section.strip:has(> a.card ~ a.card ~ a.card) > :not(a.card) { grid-column: 1 / -1; }
main > section.strip:has(> a.card ~ a.card ~ a.card) > a.card img { width: 100%; margin: 7px 0; aspect-ratio: 16 / 9; object-fit: cover; object-position: center top; }
/* Wix のスマホ版では「御朱印詳細」の同じ画像のリンクが2つ、ぴったり同じ位置に重なっていて1つに見えていた（パソコン版は1つだけ。2026-10-14 実測）。
   写しでは2つ並んで見えていたので、2つ目を見た目だけ隠す（ページの中には Wix と同じく2つ残す） */
main a.card[href$="/goshuin-kanagawa"] + a.card[href$="/goshuin-kanagawa"] { display: none; }
/* カード（6枚）を先にまとめて並べ、見出し「お知らせ」とボタンはその後に（見た目の順だけ。ページの中の順は変えない） */
main > section.strip:has(> a.card ~ a.card ~ a.card) > :not(a.card) { order: 1; }

/* 薄緑の和紙柄の画像（Wix では区切りの後ろに敷く背景の飾り。写しでは1枚の画像として出ていた）：住職の希望で見た目だけ隠す（2026-10-14。ページの中には残す） */
main img[src*="723d44_54f64ec784234227bf99b6dbd3d5e61e"],
/* 同じく背景の飾りだった画像（住職の希望 2026-10-14「全部見えないように」）：黄緑の模様に白い円・クリーム色の矢絣・淡い和柄・水色の雪の柄 */
main img[src*="723d44_c48a09e5b17d4c5ba899abc5d4986cfc"], main img[src*="723d44_00834cf9702e4b73bad5f759d61e73e2"], main img[src*="723d44_5ad986ea078543dc928cdde9217f1ec7"],
main img[src*="723d44_fa104ef9d0784ed9836027653a002a7e"], main img[src*="723d44_3a16974fd2fd47c7a1d969805f0c571a"],
/* Wix で中身が入っていなかった空の画像（お知らせのページの白い四角） */
main img[src^="data:image/gif"] { display: none; }

/* Wix の編集中の名残（「編集中」のボタン・位牌墓のページに出ていた和太鼓の住所の文字）：見た目だけ隠す（住職の承認 2026-10-14） */
.wix-leftover { display: none !important; }

/* 文章の中の空の行（Wix で背景の写真の上に文字を置くための行間）：1行は小さなすき間に、続く2行目からは出さない（住職 2026-10-14「2」） */
main .rt p.blank { margin: 0; height: .6em; overflow: hidden; }
main .rt p.blank + p.blank { display: none; }

/* 写経・写仏会の観音様の縦長の写真（Wix では説明文の後ろに敷く背景だった）：住職の希望 2026-10-14「上手く縮めて配置」。
   スマホは高さを縮めて中央、パソコンは写真を左・「写経とは…」の説明文を右に並べる */
main > section.strip:has(> img[src*="rp-kannon"]:first-child) > img[src*="rp-kannon"] { width: auto; max-width: 100%; height: min(62vh, 520px); margin: 8px auto 18px; border-radius: 12px; box-shadow: var(--shadow); }
@media (min-width: 1024px) {
  main > section.strip:has(> img[src*="rp-kannon"]:first-child) { display: grid; grid-template-columns: 260px minmax(0, 1fr); column-gap: 48px; align-items: start; max-width: 960px; margin-left: auto; margin-right: auto; }
  main > section.strip:has(> img[src*="rp-kannon"]:first-child) > img[src*="rp-kannon"] { grid-row: 1 / span 10; width: 260px !important; max-width: none !important; height: auto; margin: 6px 0 0 !important; border-radius: 16px; }
  main > section.strip:has(> img[src*="rp-kannon"]:first-child) > .rt { max-width: none !important; margin: 0 !important; }
}

/* フッター */
footer { background: var(--ftr-bg); color: var(--ftr-ink); }
footer a { color: var(--ftr-link); }

/* ===== パソコン（幅 1024px 以上） ===== */
@media (min-width: 1024px) {
  html { scroll-padding-top: 20px; }
  body { padding-bottom: 0; font-size: 16.5px; }
  main { max-width: 1180px; padding: 0 40px; }

  /* ヘッダー：ロゴを中央、その下に横並びのメニュー（Wix のパソコン版と同じ並び） */
  .hdr { position: relative; display: block; padding: 18px 40px 0; text-align: center; }
  .hdr > a.card { display: inline-flex; }
  .hdr > a.card img { height: 58px; max-height: 58px; }
  .menu-btn { display: none; }
  .menu, .menu[hidden] { display: block; position: static; inset: auto; z-index: auto; overflow: visible; padding: 0; background: transparent; isolation: auto; }
  .menu > img:first-child { display: none; }
  .menu > ul:first-of-type { position: absolute; right: 28px; top: 22px; display: flex; gap: 6px; }
  .menu > ul:first-of-type li { border: 0; }
  .menu > ul:first-of-type a { padding: 6px; }
  .menu > ul:last-of-type { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 12px; border-top: 1px solid var(--line); }
  .menu > ul:last-of-type > li { position: relative; border: 0; }
  .menu > ul:last-of-type > li > p > a, .menu > ul:last-of-type > li > a, .menu > ul:last-of-type > li > .sub-label { padding: 13px 15px; font-size: 14.5px; letter-spacing: .08em; color: var(--ink); white-space: nowrap; }
  .menu > ul:last-of-type > li:hover > p > a, .menu > ul:last-of-type > li:focus-within > p > a { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent2); }
  .menu li.has-sub > p, .menu li.has-sub > a { padding-right: 0; }
  .sub-t { display: none; }
  .menu ul ul, .menu ul ul[hidden] { display: none; position: absolute; left: 0; top: 100%; z-index: 60; min-width: 230px; padding: 6px 0; border: 1px solid var(--line); border-top: 2px solid var(--accent2); background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); text-align: left; }
  .menu li.has-sub:hover > ul, .menu li.has-sub:focus-within > ul { display: block; }
  .menu ul ul li { border: 0; }
  .menu ul ul a { padding: 9px 18px; font-size: 14px; }
  .menu ul ul a:hover { background: var(--bg); color: var(--accent); }
  html.menu-open { overflow: auto; }

  /* 画面の下の連絡の帯（スマホ用）はパソコンでは出さない。電話・メール・住所はフッターにある */
  .qab { display: none; }
  .to-top { bottom: 26px; right: 26px; }

  /* 区切り */
  .strip { padding: 36px 0; }   /* 区切りの間（住職 2026-10-14「3」：56 → 36） */

  /* トップの最初の写真：画面の横いっぱいに広げ、文字を大きく */
  main > section.strip:first-child:has(> .slides[data-auto]) { margin: 0 calc(50% - 50vw); min-height: min(76vh, 680px); padding: 0 calc(50vw - 520px); display: flex; flex-direction: column; justify-content: center; align-items: center; }
  main > section.strip:first-child:has(> .slides[data-auto]) > .rt { padding: 0; max-width: 980px; }
  main > section.strip:first-child:has(> .slides[data-auto]) h1 { font-size: 50px; letter-spacing: .12em; }
  main > section.strip:first-child:has(> .slides[data-auto]) h1 .hero-sub { font-size: 24px; letter-spacing: .14em; margin-bottom: 10px; }
  main > section.strip:first-child:has(> .slides[data-auto]) .rt p { font-size: 18px; line-height: 2; }
  main > section.strip:first-child:has(> .slides[data-auto]) > .rt:nth-of-type(4) { align-self: stretch; }
  main > section.strip:first-child:has(> .slides[data-auto]) > .rt:nth-of-type(4) p { font-size: 13px; }
  main > section.strip:first-child:has(> .slides[data-auto]) > a.btn { width: 300px; min-height: 54px; margin: 22px 8px 0; font-size: 16px; }
  main > section.strip:first-child:has(> .slides[data-auto]) > a.btn + a.btn { margin-left: 8px; }
  main > section.strip:first-child:has(> .slides[data-auto]) { flex-flow: row wrap; align-content: center; }
  main > section.strip:first-child:has(> .slides[data-auto]) > .rt { flex: 0 0 100%; text-align: center; }
  main > section.strip:first-child:has(> .slides[data-auto]) .sl-p, main > section.strip:first-child:has(> .slides[data-auto]) .sl-n { width: 46px; height: 46px; margin-top: -23px; }

  /* トップの案内（写真がリンクになっている区切り）：写真を左、文章を右に（交互に左右を入れ替える） */
  main > section.strip:has(> a.card:first-child + .rt) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 56px; align-items: start; }
  main > section.strip:has(> a.card:first-child + .rt) > * { grid-column: 2; }
  main > section.strip:has(> a.card:first-child + .rt) > :first-child { grid-column: 1; grid-row: 1 / span 30; }
  main > section.strip:has(> a.card:first-child + .rt) > :first-child img { width: 100%; margin: 6px 0 0; }
  main > section.strip:nth-of-type(even):has(> a.card:first-child + .rt) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  main > section.strip:nth-of-type(even):has(> a.card:first-child + .rt) > * { grid-column: 1; }
  main > section.strip:nth-of-type(even):has(> a.card:first-child + .rt) > :first-child { grid-column: 2; }
  main > section.strip:has(> a.card:first-child + .rt) .btn { justify-self: start; min-width: 260px; }

  /* それ以外の区切り：文章は読みやすい幅（約50字）で中央、写真は少し広く */
  main:not(:has(> section.strip:first-child > .slides[data-auto])) > section.strip:not(:has(> a.card:first-child + .rt)):not(:has(> a.card ~ a.card ~ a.card)):not(:first-child:has(> .slides[data-auto])) > * { max-width: 860px; margin-left: auto; margin-right: auto; }
  main:not(:has(> section.strip:first-child > .slides[data-auto])) > section.strip:not(:has(> a.card:first-child + .rt)):not(:has(> a.card ~ a.card ~ a.card)):not(:first-child:has(> .slides[data-auto])) > img.wide { max-width: 1000px; }
  main:not(:has(> section.strip:first-child > .slides[data-auto])) > section.strip:not(:has(> a.card:first-child + .rt)):not(:has(> a.card ~ a.card ~ a.card)):not(:first-child:has(> .slides[data-auto])) > .btn { max-width: 480px; }
  /* 縦書きの文字がある区切り（墓地のページの最初など）：写真と縦書きを横に並べて中央に */
  main:not(:has(> section.strip:first-child > .slides[data-auto])) > section.strip:has(> .rt.vertical) { display: flex; justify-content: center; align-items: center; gap: 56px; }
  main:not(:has(> section.strip:first-child > .slides[data-auto])) > section.strip:has(> .rt.vertical) > img.wide { width: auto; max-width: min(620px, calc(100% - 180px)); min-width: 0; margin: 0; }
  main:not(:has(> section.strip:first-child > .slides[data-auto])) > section.strip:has(> .rt.vertical) > .rt.vertical { margin: 0; font-size: 22px; letter-spacing: .2em; }

  /* 案内の小さなカード：横に並べる */
  main > section.strip:has(> a.card ~ a.card ~ a.card) { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 18px; }
  main > section.strip:has(> a.card ~ a.card ~ a.card) > .btn { justify-self: center; width: min(640px, 100%); }

  /* 埋め込み（暦・地図など） */
  .embed { max-width: 1000px; margin-left: auto; margin-right: auto; }

  /* フッター：3つを横に */
  footer { padding: 44px 40px; }
  footer { display: grid; grid-template-columns: auto 1fr 1fr; gap: 0 48px; align-items: center; max-width: none; }
  footer > * { max-width: none; margin: 0; }
  footer::before, footer::after { content: none; }
}

/* ===== トップだけ：写真で始まる区切り（img.wide）も左右交互に、アクセスは地図を右に ===== */
@media (min-width: 1024px) {
  main:has(> section.strip:first-child > .slides[data-auto]) > section.strip:has(> img.wide:first-child + .rt) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 56px; align-items: start; }
  main:has(> section.strip:first-child > .slides[data-auto]) > section.strip:has(> img.wide:first-child + .rt) > * { grid-column: 2; }
  main:has(> section.strip:first-child > .slides[data-auto]) > section.strip:has(> img.wide:first-child + .rt) > img.wide:first-child { grid-column: 1; grid-row: 1 / span 30; width: 100%; margin: 6px 0 0; border-radius: 16px; }
  main:has(> section.strip:first-child > .slides[data-auto]) > section.strip:nth-of-type(even):has(> img.wide:first-child + .rt) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: var(--surface); box-shadow: 0 0 0 100vmax var(--surface); clip-path: inset(0 -100vmax); border-bottom-color: transparent; }
  main:has(> section.strip:first-child > .slides[data-auto]) > section.strip:nth-of-type(even):has(> img.wide:first-child + .rt) > * { grid-column: 1; }
  main:has(> section.strip:first-child > .slides[data-auto]) > section.strip:nth-of-type(even):has(> img.wide:first-child + .rt) > img.wide:first-child { grid-column: 2; }
}

/* 見出し（題名・各区切りの見出し）を太い明朝に（2026-10-14 住職の希望：クラウドファンディングのバナーの「3度に及ぶ崖崩れ」のような字）。
   書体は寺の置き場から読む（トップの見出しに使う字だけの小さなファイル）。読めない時は端末の明朝 → ゴシック */
main h1, main h2:not(.long), main h3:not(.long) { font-family: "Hosenji Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif; font-weight: 900; letter-spacing: .08em; }
main > section.strip:first-child:has(> .slides[data-auto]) h1 .hero-sub { font-weight: 900; }

/* ===== B案の仕上げ（トップだけ） ===== */
h1, h2, h3 { font-weight: 700; letter-spacing: .04em; }
main .rt h2:not(.long) { font-size: 24px; }
main .rt h2:not(.long)::after { width: 40px; height: 3px; border-radius: 2px; }
/* 最初の写真の文字を読みやすく（上から下へ少し濃くなる影） */
main > section.strip:first-child:has(> .slides[data-auto]) > .slides::after { background: linear-gradient(180deg, rgba(16, 24, 34, .38), rgba(16, 24, 34, .55)); }
main > section.strip:first-child:has(> .slides[data-auto]) > a.btn { background: #fff; color: var(--accent); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
main > section.strip:first-child:has(> .slides[data-auto]) > a.btn:hover { background: #f4f7fa; }
/* 案内の区切りの項目（・で始まる行）を少し詰めて読みやすく */
main > section.strip:has(> a.card:first-child + .rt) .rt p { margin-bottom: .15em; }
/* お知らせのボタン */
main > section.strip:has(> a.card ~ a.card ~ a.card) > .btn { background: #fff; color: var(--accent); border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(29, 39, 51, .06); justify-content: flex-start; padding-left: 22px; }
main > section.strip:has(> a.card ~ a.card ~ a.card) > .btn::before { content: ""; flex: 0 0 8px; height: 8px; margin-right: 12px; border-radius: 50%; background: var(--accent2); }
main > section.strip:has(> a.card ~ a.card ~ a.card) > .btn:hover { background: var(--surface); }
main > section.strip:has(> a.card ~ a.card ~ a.card) > .btn { text-align: left; font-size: 15px; line-height: 1.55; letter-spacing: .03em; padding-top: 12px; padding-bottom: 12px; padding-right: 18px; border-radius: 14px; }
/* フッター（スマホ） */
footer { padding-bottom: 80px; }
footer img { filter: brightness(0) invert(1); opacity: .92; }

@media (min-width: 1024px) {
  /* 案内の区切りを1つおきに薄い色の帯に（横いっぱい） */
  main > section.strip:nth-of-type(even):has(> a.card:first-child + .rt) { background: var(--surface); box-shadow: 0 0 0 100vmax var(--surface); clip-path: inset(0 -100vmax); border-bottom-color: transparent; }
  main > section.strip:has(> a.card:first-child + .rt) > :first-child img { border-radius: 16px; }
  main .rt h2:not(.long) { font-size: 28px; }
  /* お知らせ：カードの下に、見出しとボタンを左右に */
  main > section.strip:has(> a.card ~ a.card ~ a.card) > .btn { justify-self: center; width: 100%; max-width: 760px; margin-left: auto; margin-right: auto; }
  /* 予約の暦などの説明（・の行）を読みやすい幅に */
  main:has(> section.strip:first-child > .slides[data-auto]) > section.strip:has(> .embed):not(:last-child) > .rt { max-width: 1000px; margin-left: auto; margin-right: auto; }
  /* 法泉寺紹介：文章を読みやすい幅に */
  main:has(> section.strip:first-child > .slides[data-auto]) > section.strip:has(> .rt h2) > .rt:has(> p) { max-width: 1000px; }
  /* アクセス（最後の区切り）：文字を左、地図を右に */
  main:has(> section.strip:first-child > .slides[data-auto]) > section.strip:last-child:has(> .embed:last-child) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: 56px; align-content: start; }
  main:has(> section.strip:first-child > .slides[data-auto]) > section.strip:last-child:has(> .embed:last-child) > * { grid-column: 1; }
  main:has(> section.strip:first-child > .slides[data-auto]) > section.strip:last-child:has(> .embed:last-child) > .embed { grid-column: 2; grid-row: 1 / span 30; align-self: stretch; margin: 6px 0 0; max-width: none; }
  main:has(> section.strip:first-child > .slides[data-auto]) > section.strip:last-child:has(> .embed:last-child) > .embed { display: flex; flex-direction: column; }
  main:has(> section.strip:first-child > .slides[data-auto]) > section.strip:last-child:has(> .embed:last-child) > .embed iframe { flex: 1 1 auto; height: auto; min-height: 520px; border-radius: 16px; }
  /* フッター */
  footer { padding: 48px max(40px, calc((100% - 1100px) / 2)); }
  footer img { max-height: 56px; }
}

/* パソコンでも幅が狭め（1024〜1279px）の時：メニューが1行に収まるよう少し詰める */
@media (min-width: 1024px) and (max-width: 1279px) {
  .menu > ul:last-of-type > li > p > a, .menu > ul:last-of-type > li > a, .menu > ul:last-of-type > li > .sub-label { padding: 12px 8px; font-size: 13.5px; letter-spacing: .03em; }
}

/* ボタンの中に文字の札（.wlabel）が入っている所（404 のページの「トップページに戻る」）：札の飾りを消して1つのボタンに見せる（2026-10-15） */
.btn .wlabel { margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; }

/* 墓地のページの「位牌墓スタートキャンペーン」の上の淡い市松と花の柄の画像（Wix で区切りの後ろに敷く背景の飾りだった）：住職の希望で見た目だけ隠す（2026-10-15。ページの中には残す） */
main img[src*="723d44_4e63e634693243559f1859528bd91976"] { display: none; }

/* 見出しの全角空白の並び（Wix のスマホで改行・右寄せの署名の代わりだった。build.py の tidy_headings が目印を付ける）：
   改行として見せ、末尾の寺名は小さな署名として右に（住職 2026-10-15「レイアウトが雑」。文字は変えない） */
main :is(h1, h2, h3, h4, h5, h6) .wsp { display: block; height: 0; overflow: hidden; }
main :is(h1, h2, h3, h4, h5, h6) .wsp-x { display: none; }
main h1:has(> .sig) { width: fit-content; max-width: 100%; }
main h1 .sig { display: block; margin-top: .6em; font-size: .58em; letter-spacing: .24em; color: var(--muted); text-align: right; }
/* ふりがな（住職 2026-10-15「あくまでもふりがななので、見出しの上か右にカッコ」→「上にふりがな」「6か所すべて」）：
   見出しから離れて置かれていた読み仮名（.yomi-src）はページの中に残して見せず、見出しの字（.furi）の上に data-yomi の読みを出す */
main .yomi-src { display: none; }
main .furi { position: relative; display: inline-block; padding-top: .55em; line-height: 1.15; text-indent: 0; }
main .furi::before { content: attr(data-yomi); position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-family: var(--body-font); font-size: max(.4em, 10px); font-weight: 500; line-height: 1; letter-spacing: .06em; white-space: nowrap; color: inherit; }

/* ===== A＋：全体の見た目（2026-10-15 住職「お願いします」で本番。見本で確かめた design/layer_mock.css と同じ）：9月の見本（mock/pro）の見た目を、今のページの中身のまま当てる。色は B案のまま =====
   ・本文：BIZ UDP ゴシック（端末に入っていれば）・行間 2・字間 .04em
   ・見出し：左に小さな四角い「印」。下線は付けない
   ・区切り：線ではなく、白と薄い面を交互に（横いっぱい）
   ・ボタン：角の小さな四角・細い矢印
   ・写真：角の丸み・影を控えめに（見本は平らな作り）
   ・パソコン（1280px 以上）：上の帯を「左にロゴ・右にメニュー」の1列に */
:root { --seal: var(--accent); --flat: 3px; }
body { font-family: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif; line-height: 2; letter-spacing: .04em; }

/* 見出し：印を左に */
main .rt h2:not(.long)::after { content: none; }
main .rt h2:not(.long) { position: relative; padding-left: 24px; letter-spacing: .12em; }
main .rt h2:not(.long)::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; background: var(--seal); }
/* 印は区切りに一つ（見本の決まり）：区切りの中で2つ目以降の見出しには付けない */
main > section.strip > .rt:has(h2:not(.long)) ~ .rt h2:not(.long)::before { display: none; }
main > section.strip > .rt:has(h2:not(.long)) ~ .rt h2:not(.long) { padding-left: 0; }

main > section.strip:first-child:has(> .slides[data-auto]) h1 { letter-spacing: .14em; }

/* 区切り：線をやめ、1つおきに薄い面（横いっぱい） */
main > .strip { border-bottom: 0; }
main > section.strip:nth-of-type(even):not(:first-child) { background: var(--surface); box-shadow: 0 0 0 100vmax var(--surface); clip-path: inset(0 -100vmax); }

/* ボタン：角の小さな四角・矢印 */
.btn, .wbtn { border-radius: var(--flat); background: var(--ink); box-shadow: none; letter-spacing: .14em; gap: 14px; }
.btn:hover, .wbtn:not([disabled]):hover { background: var(--accent); }
.btn::after, .wbtn:not([disabled])::after {
  content: ""; flex: none; width: 26px; height: 10px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M0 5h24M19.5.8 24 5l-4.5 4.2' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M0 5h24M19.5.8 24 5l-4.5 4.2' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s; }
.btn:hover::after { transform: translateX(5px); }
main > section.strip:first-child:has(> .slides[data-auto]) > a.btn { border-radius: var(--flat); background: #fff; color: var(--ink); }
main > section.strip:first-child:has(> .slides[data-auto]) > a.btn:hover { background: var(--accent); color: #fff; }
/* お知らせのボタン（トップ）：線の四角 */
main > section.strip:has(> a.card ~ a.card ~ a.card) > .btn { border-radius: var(--flat); background: #fff; color: var(--ink); border: 1px solid var(--line); }
main > section.strip:has(> a.card ~ a.card ~ a.card) > .btn::after { display: none; }

/* 写真：平らに */
main a.card img, main img.wide, main > section.strip img { box-shadow: none !important; border-radius: var(--flat) !important; }

/* パソコン（1280px 以上）：上の帯を1列に（左にロゴ・右にメニュー） */
@media (min-width: 1280px) {
  .hdr { display: flex; align-items: center; gap: 28px; padding: 10px max(32px, calc((100% - 1240px) / 2)); text-align: left; position: sticky; top: 0; }
  .hdr > a.card img { height: 50px; max-height: 50px; }
  .menu, .menu[hidden] { margin-left: auto; }
  .menu > ul:first-of-type { position: static; order: 2; margin-left: 8px; }
  .menu { display: flex !important; align-items: center; }
  .menu > ul:last-of-type { margin-top: 0; border-top: 0; flex-wrap: nowrap; }
  .menu > ul:last-of-type > li > p > a, .menu > ul:last-of-type > li > a, .menu > ul:last-of-type > li > .sub-label { padding: 12px 9px; font-size: 13.5px; letter-spacing: .06em; }
  html { scroll-padding-top: 90px; }
}

/* ===== A＋：並べ方（2026-10-15 住職「お願いします」で本番。見本で確かめた design/layer_aplus.css と同じ）：パソコン（1024px 以上）だけ、並べ方を変える。文章・リンク・順番は変えない =====
   1) 写真＋説明（＋ボタン）の組が3つ以上同じ形で続く区切り（印は build.py の aplus_marks が付ける）：横に並べる。御朱印は説明を写真の上、永代供養は写真の下に（住職 10/15）
   2) 写真1枚＋文章（＋ボタン）だけの区切り（印 data-mt）：写真と文章を左右に並べ、1つおきに左右を入れ替える
   スマホ（1023px 以下）は今のまま */
@media (min-width: 1024px) {
  /* 1) 組を横に並べる（列の数 data-cols・どの列 data-c・どの行 data-r は build.py の aplus_marks が決める。組が4つなら2列、8つなら4列、他は3列） */
  main section.strip[data-cols]:not(#_) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 36px; row-gap: 0; align-items: start; max-width: 1100px; margin-left: auto; margin-right: auto; }
  main section.strip[data-cols="2"]:not(#_) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
  main section.strip[data-cols="4"]:not(#_) { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px; }
  /* 組でない物（区切りの見出し・前後の文章や写真）：列をまたいで中央に、読みやすい幅（860px まで）で。見えない飾りの画像は隠したまま（display は触らない） */
  main section.strip[data-cols]:not(#_) > * { grid-column: 1 / -1; order: 0; max-width: 860px; margin-left: auto; margin-right: auto; }
  main section.strip[data-cols]:not(#_) > [data-g] { max-width: none; margin-left: 0; margin-right: 0; }
  main section.strip[data-cols]:not(#_) > [data-c="1"] { grid-column: 1; }
  main section.strip[data-cols]:not(#_) > [data-c="2"] { grid-column: 2; }
  main section.strip[data-cols]:not(#_) > [data-c="3"] { grid-column: 3; }
  main section.strip[data-cols]:not(#_) > [data-c="4"] { grid-column: 4; }
  main section.strip[data-cols]:not(#_) > [data-r="1"] { grid-row: 1; }
  main section.strip[data-cols]:not(#_) > [data-r="2"] { grid-row: 2; }
  main section.strip[data-cols]:not(#_) > [data-r="3"] { grid-row: 3; }
  main section.strip[data-cols]:not(#_) > [data-r="4"] { grid-row: 4; }
  main section.strip[data-cols]:not(#_) > [data-r="5"] { grid-row: 5; }
  main section.strip[data-cols]:not(#_) > [data-r="6"] { grid-row: 6; }
  main section.strip[data-cols]:not(#_) > [data-r="7"] { grid-row: 7; }
  main section.strip[data-cols]:not(#_) > [data-r="8"] { grid-row: 8; }
  main section.strip[data-cols]:not(#_) > [data-r="9"] { grid-row: 9; }
  main section.strip[data-cols]:not(#_) > [data-r="10"] { grid-row: 10; }
  main section.strip[data-cols]:not(#_) > [data-r="11"] { grid-row: 11; }
  main section.strip[data-cols]:not(#_) > [data-r="12"] { grid-row: 12; }
  main section.strip[data-cols]:not(#_) > [data-r="13"] { grid-row: 13; }
  main section.strip[data-cols]:not(#_) > [data-r="14"] { grid-row: 14; }
  main section.strip[data-cols]:not(#_) > [data-r="15"] { grid-row: 15; }
  main section.strip[data-cols]:not(#_) > [data-r="16"] { grid-row: 16; }
  main section.strip[data-cols]:not(#_) > [data-r="17"] { grid-row: 17; }
  main section.strip[data-cols]:not(#_) > [data-r="18"] { grid-row: 18; }
  main section.strip[data-cols]:not(#_) > [data-r="19"] { grid-row: 19; }
  main section.strip[data-cols]:not(#_) > [data-r="20"] { grid-row: 20; }
  main section.strip[data-cols]:not(#_) > [data-r="21"] { grid-row: 21; }
  main section.strip[data-cols]:not(#_) > [data-r="22"] { grid-row: 22; }
  main section.strip[data-cols]:not(#_) > [data-r="23"] { grid-row: 23; }
  main section.strip[data-cols]:not(#_) > [data-r="24"] { grid-row: 24; }
  main section.strip[data-cols]:not(#_) > [data-r="25"] { grid-row: 25; }
  main section.strip[data-cols]:not(#_) > [data-r="26"] { grid-row: 26; }
  main section.strip[data-cols]:not(#_) > [data-r="27"] { grid-row: 27; }
  main section.strip[data-cols]:not(#_) > [data-r="28"] { grid-row: 28; }
  main section.strip[data-cols]:not(#_) > [data-r="29"] { grid-row: 29; }
  main section.strip[data-cols]:not(#_) > [data-r="30"] { grid-row: 30; }
  main section.strip[data-cols]:not(#_) > [data-r="31"] { grid-row: 31; }
  main section.strip[data-cols]:not(#_) > [data-r="32"] { grid-row: 32; }
  main section.strip[data-cols]:not(#_) > [data-r="33"] { grid-row: 33; }
  main section.strip[data-cols]:not(#_) > [data-r="34"] { grid-row: 34; }
  main section.strip[data-cols]:not(#_) > [data-r="35"] { grid-row: 35; }
  main section.strip[data-cols]:not(#_) > [data-r="36"] { grid-row: 36; }
  main section.strip[data-cols]:not(#_) > [data-r="37"] { grid-row: 37; }
  main section.strip[data-cols]:not(#_) > [data-r="38"] { grid-row: 38; }
  main section.strip[data-cols]:not(#_) > [data-r="39"] { grid-row: 39; }
  main section.strip[data-cols]:not(#_) > [data-r="40"] { grid-row: 40; }
  main section.strip[data-cols]:not(#_) > [data-r="41"] { grid-row: 41; }
  main section.strip[data-cols]:not(#_) > [data-r="42"] { grid-row: 42; }
  main section.strip[data-cols]:not(#_) > [data-r="43"] { grid-row: 43; }
  main section.strip[data-cols]:not(#_) > [data-r="44"] { grid-row: 44; }
  main section.strip[data-cols]:not(#_) > [data-r="45"] { grid-row: 45; }
  main section.strip[data-cols]:not(#_) > [data-r="46"] { grid-row: 46; }
  main section.strip[data-cols]:not(#_) > [data-r="47"] { grid-row: 47; }
  main section.strip[data-cols]:not(#_) > [data-r="48"] { grid-row: 48; }
  main section.strip[data-cols]:not(#_) > [data-r="49"] { grid-row: 49; }
  main section.strip[data-cols]:not(#_) > [data-r="50"] { grid-row: 50; }
  main section.strip[data-cols]:not(#_) > [data-r="51"] { grid-row: 51; }
  main section.strip[data-cols]:not(#_) > [data-r="52"] { grid-row: 52; }
  main section.strip[data-cols]:not(#_) > [data-r="53"] { grid-row: 53; }
  main section.strip[data-cols]:not(#_) > [data-r="54"] { grid-row: 54; }
  main section.strip[data-cols]:not(#_) > [data-r="55"] { grid-row: 55; }
  main section.strip[data-cols]:not(#_) > [data-r="56"] { grid-row: 56; }
  main section.strip[data-cols]:not(#_) > [data-r="57"] { grid-row: 57; }
  main section.strip[data-cols]:not(#_) > [data-r="58"] { grid-row: 58; }
  main section.strip[data-cols]:not(#_) > [data-r="59"] { grid-row: 59; }
  main section.strip[data-cols]:not(#_) > [data-r="60"] { grid-row: 60; }
  /* 組の中：写真は列の幅いっぱいで、高さをそろえる（写真は 4:3 に切りそろえ、絵や図（png）は切らずに収める） */
  main section.strip[data-cols]:not(#_) > [data-g]:is(img, a.card) { width: 100%; margin: 14px 0 12px; }
  main section.strip[data-cols]:not(#_) > a.card[data-g] img, main section.strip[data-cols]:not(#_) > img[data-g] { width: 100%; height: auto; margin: 0; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%;   /* 縦長の写真は上寄りを残す（位牌の頭が切れないように） */ border-radius: var(--flat); }
  main section.strip[data-cols]:not(#_) > a.card[data-g] img[src*=".png"], main section.strip[data-cols]:not(#_) > img[data-g][src*=".png"] { object-fit: contain; box-shadow: none !important; }
  main section.strip[data-cols]:not(#_) > .rt[data-g] { margin: 0 0 4px; padding: 0; }
  main section.strip[data-cols]:not(#_) > .rt[data-g] p { margin-left: 0; margin-right: 0; }
  main section.strip[data-cols]:not(#_) > .rt[data-lb="a"] { margin: 22px 0 8px; }
  main section.strip[data-cols]:not(#_) > .rt[data-lb="b"] { margin: 0 0 6px; }
  main section.strip[data-cols]:not(#_) > .btn[data-g] { width: 100%; max-width: none; min-width: 0; margin: 12px 0 22px; justify-self: stretch; }

  /* 2) 写真1枚＋文章だけの区切り：左右に並べる（写真は文章を読む間、画面に残る） */
  main section.strip[data-mt]:not(#_) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 56px; align-items: start; max-width: 1100px; margin-left: auto; margin-right: auto; }
  main section.strip[data-mt]:not(#_) > * { grid-column: 2; max-width: none; margin-left: 0; margin-right: 0; }
  main section.strip[data-mt]:not(#_) > img:first-child { grid-column: 1; grid-row: 1 / span 30; width: 100%; max-width: none; height: auto; margin: 6px 0 0; position: sticky; top: 96px; }
  main section.strip[data-mt]:nth-of-type(even):not(#_) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  main section.strip[data-mt]:nth-of-type(even):not(#_) > * { grid-column: 1; }
  main section.strip[data-mt]:nth-of-type(even):not(#_) > img:first-child { grid-column: 2; }
  main section.strip[data-mt]:not(#_) > img:first-child:is([src*=".png"], [data-dummy]), main section.strip[data-mt="s"]:not(#_) > img:first-child { max-width: 320px; justify-self: center; }
  main section.strip[data-mt]:not(#_) > img:first-child[src*=".png"] { box-shadow: none !important; }
  main section.strip[data-mt]:not(#_) > .btn { justify-self: start; width: auto; min-width: 280px; }
}
