/* ===== わんわんライフ 共通スタイル（プロトタイプ） =====
   色・角丸などはここの変数を変えると全ページに反映されます */
@font-face { font-family: "Zen Maru Gothic"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/ZenMaruGothic-Medium.woff2") format("woff2"); }
@font-face { font-family: "Zen Maru Gothic"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/ZenMaruGothic-Bold.woff2") format("woff2"); }
@font-face { font-family: "Zen Maru Gothic"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/ZenMaruGothic-Black.woff2") format("woff2"); }

:root {
  --c-bg: #fffdf7;
  --c-cream: #fdf4e0;
  --c-cream-2: #fbeccb;
  --c-green: #7fb36b;
  --c-green-d: #4f8a3f;
  --c-green-l: #e8f3df;
  --c-orange: #f26a21;
  --c-orange-d: #d4520f;
  --c-brown: #5a3a22;
  --c-text: #3f2d20;
  --c-muted: #7a6656;
  --c-border: #eadcc0;
  --radius: 18px;
  --radius-s: 10px;
  --shadow: 0 6px 18px rgba(120, 80, 30, .12);
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
  --w: 1100px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--c-text); background: var(--c-bg);
  font-size: 16px; line-height: 1.8; -webkit-text-size-adjust: 100%;
}
img, svg { max-width: 100%; }
a { color: var(--c-green-d); }
h1, h2, h3, h4 { line-height: 1.4; color: var(--c-brown); margin: 0 0 .6em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid #2b7cd3; outline-offset: 2px; }

/* ---- 写真プレースホルダー（実写真に差し替え時は <img> に置換） ---- */
.ph {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-s);
  background: linear-gradient(135deg, #f7e3bd, #e9d2a4 55%, #cfe3bd);
  overflow: hidden;
}
.ph::before { content: "🐾"; position: absolute; top: 8px; left: 10px; font-size: 22px; opacity: .55; }
.ph::after {
  content: attr(data-label); position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 10px;
  font-size: 12px; color: #fff; background: rgba(90, 58, 34, .55); text-align: center;
}
.ph.wide { aspect-ratio: 16 / 9; }
.ph.sq { aspect-ratio: 1 / 1; }
.ph.tall { aspect-ratio: 3 / 4; }
.ph.person { background: linear-gradient(135deg, #fbe7c6, #f3cf9b 60%, #b9d8a4); }

/* ---- ボタン ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px;
  padding: .7em 1.6em; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1rem;
  border: 2px solid transparent; transition: transform .15s, box-shadow .15s; cursor: pointer; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-cta {
  color: #fff; background: linear-gradient(180deg, #ff8238, var(--c-orange) 60%, var(--c-orange-d));
  box-shadow: 0 6px 14px rgba(242, 106, 33, .45);
}
.btn-cta.lg { font-size: 1.35rem; padding: .9em 2.4em; min-height: 64px; }
.btn-green { color: #2f5a24; background: #cfe8c0; }
.btn-outline { color: var(--c-brown); background: #fff; border-color: var(--c-brown); }
.btn-brown { color: #fff; background: #8a5a36; }
.btn-block { display: flex; width: 100%; }

/* ---- ヘッダー ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 247, .96); box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--c-brown); font-weight: 900; font-size: 1.4rem; line-height: 1.1; }
.logo small { display: block; font-size: .6rem; font-weight: 500; letter-spacing: .08em; color: var(--c-muted); }
.logo-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--c-cream-2); display: grid; place-items: center; font-size: 24px; flex: none; }
.gnav ul { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.gnav a { text-decoration: none; color: var(--c-text); font-weight: 700; font-size: .92rem; padding: 6px 0; border-bottom: 3px solid transparent; }
.gnav a[aria-current="page"], .gnav a:hover { border-bottom-color: var(--c-green); }
.gnav .btn { font-size: .92rem; padding: .55em 1.2em; min-height: 42px; border-bottom: 2px solid transparent; }
.menu-toggle { display: none; background: none; border: 0; font: inherit; color: var(--c-brown); cursor: pointer; padding: 6px; text-align: center; }
.menu-toggle span { display: block; width: 28px; height: 3px; background: var(--c-brown); margin: 5px auto; border-radius: 2px; }
.menu-toggle small { display: block; font-size: .6rem; }
.header-cta-sp { display: none; }

/* ---- セクション共通 ---- */
.sec { padding: 56px 0; }
.sec-cream { background: var(--c-cream); }
.sec-green { background: var(--c-green-l); }
.sec-title { font-size: 1.7rem; display: flex; align-items: center; gap: .4em; margin-bottom: .4em; }
.sec-title::before { content: "🐾"; font-size: .8em; color: var(--c-orange); }
.sec-lead { color: var(--c-muted); margin-bottom: 1.6em; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card h3 { font-size: 1.1rem; }
.card p { font-size: .92rem; color: var(--c-muted); margin: 0; }
.card .ph { margin-bottom: 12px; }
.icon-circle { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--c-green-l); font-size: 28px; margin-bottom: 8px; }
.num-badge { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c-orange); color: #fff; font-weight: 900; margin-right: 6px; }

/* ---- ページヒーロー ---- */
.page-hero { background: linear-gradient(120deg, #fff6d9, #fdf0cc 55%, #e6f1d6); padding: 40px 0 36px; position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.page-hero h1 { font-size: 2.4rem; }
.page-hero .lead { font-size: 1.1rem; font-weight: 700; }
.breadcrumb { font-size: .8rem; color: var(--c-muted); margin-bottom: 8px; }
.breadcrumb a { color: var(--c-muted); }
.hand-note { display: inline-block; transform: rotate(-4deg); border: 2px dashed var(--c-green); border-radius: 18px; padding: 6px 16px; background: #fff; font-weight: 700; color: var(--c-green-d); }

/* ---- トップ：ファーストビュー ---- */
.fv { background: linear-gradient(135deg, #eaf5dc, #fdf4e0 60%, #dff0cb); padding: 36px 0 28px; }
.fv .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: center; }
.fv .area { color: var(--c-orange-d); font-weight: 900; }
.fv h1 { font-size: 2.6rem; line-height: 1.35; margin-bottom: .4em; }
.fv .sub { font-weight: 700; margin-bottom: 1.2em; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge { background: #fff; border: 2px solid var(--c-border); border-radius: 999px; padding: 6px 18px; text-align: center; font-weight: 900; font-size: .85rem; line-height: 1.3; }
.badge b { display: block; font-size: 1.25rem; color: var(--c-brown); }
.fv-main-photo { margin-bottom: 14px; }
.video-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.video-card .yt { font-weight: 900; color: #222; margin-bottom: 6px; }
.video-card .yt span { color: #fff; background: var(--c-orange); border-radius: 6px; padding: 0 6px; font-size: .8rem; margin-right: 6px; }
.video-card video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-s); display: block; }
.video-card iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-s); }
.video-card h3 { font-size: 1rem; margin: 10px 0 2px; }
.video-card p { font-size: .8rem; color: var(--c-muted); margin-bottom: 8px; }

/* ---- トップ：メイン導線 ---- */
.main-links .card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.main-links .card .ph { border-radius: 0; margin: 0; aspect-ratio: 16 / 8; }
.main-links .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.main-links h3 { font-size: 1.5rem; margin: 0; }
.mini-icons { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 8px; }
.mini-icons div { background: var(--c-cream); border: 1px solid var(--c-border); border-radius: 12px; text-align: center; font-size: .75rem; font-weight: 700; padding: 8px 4px; line-height: 1.3; }
.mini-icons div i { display: block; font-style: normal; font-size: 22px; }

/* ---- 案内バナー（はじめての方・施設） ---- */
.guide-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; background: var(--c-cream); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px; }
.guide-band h2 { font-size: 1.8rem; }
.photo-mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.photo-mosaic .ph { aspect-ratio: 4 / 3; }

/* ---- 保育園の日常の風景 ---- */
.daily-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

/* ---- 体験の流れ ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px 16px; text-align: center; box-shadow: var(--shadow); }
.steps li:not(:last-child)::after { content: "›"; position: absolute; right: -20px; top: 40%; color: var(--c-orange); font-size: 2rem; font-weight: 900; line-height: 1; }
.steps .step-no { display: inline-block; background: var(--c-orange); color: #fff; border-radius: 6px; padding: 0 12px; font-size: .75rem; font-weight: 900; margin-bottom: 6px; }
.steps .ico { font-size: 34px; display: block; }
.steps h3 { font-size: 1.1rem; margin: 4px 0; }
.steps p { font-size: .85rem; color: var(--c-muted); margin: 0; }
.price-strip { margin-top: 20px; text-align: center; font-weight: 700; color: var(--c-brown); }

/* ---- 料金帯 ---- */
.price-band { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; background: #fff; border: 2px solid var(--c-border); border-radius: var(--radius); padding: 20px 28px; box-shadow: var(--shadow); }
.price-band .tag { background: var(--c-orange); color: #fff; font-weight: 900; border-radius: 999px; padding: 4px 16px; }
.price-band .yen { font-size: 2.6rem; font-weight: 900; color: #e0301e; line-height: 1; }
.price-band .yen small { font-size: 1rem; }
.price-band .item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; }
.price-band .item i { font-style: normal; font-size: 30px; }

/* ---- FAQ ---- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--c-border); border-radius: 14px; padding: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 14px 48px 14px 52px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 14px; top: 12px; width: 28px; height: 28px; border-radius: 8px; background: var(--c-orange); color: #fff; display: grid; place-items: center; font-weight: 900; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 1.5rem; color: var(--c-orange); }
.faq details[open] summary::after { content: "−"; }
.faq .ans { padding: 0 20px 16px 52px; font-size: .95rem; color: var(--c-muted); }
.faq .ans::before { content: "A. "; font-weight: 900; color: var(--c-green-d); }
.faq-more { text-align: center; margin-top: 16px; }

/* ---- 最後のCTA ---- */
.cta-final { background: linear-gradient(135deg, #fff1cf, #e6f1d6); padding: 52px 0; text-align: center; }
.cta-final h2 { font-size: 1.7rem; }
.cta-final .sub { margin-top: 14px; }

/* ---- 1日の流れ・タイムライン ---- */
.flow-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.flow-6 li { background: #fff; border: 1px solid var(--c-border); border-radius: 14px; padding: 12px; font-size: .85rem; }
.flow-6 b { display: block; margin-bottom: 6px; color: var(--c-brown); }
.flow-6 .ph { margin-bottom: 8px; aspect-ratio: 1 / 1; }
.feature-card .ph { aspect-ratio: 4 / 3; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.chip { background: #fff; border: 1px solid var(--c-border); border-radius: 14px; padding: 14px; display: flex; align-items: center; gap: 12px; font-weight: 700; line-height: 1.4; }
.chip i { font-style: normal; font-size: 30px; }

/* ---- テーブル ---- */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-s); overflow: hidden; }
.info-table th, .info-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.info-table th { width: 28%; background: var(--c-cream); color: var(--c-brown); }
.map-ph { aspect-ratio: 16 / 9; border-radius: var(--radius-s); background: repeating-linear-gradient(45deg, #e9efe0, #e9efe0 12px, #f2f6ea 12px, #f2f6ea 24px); display: grid; place-items: center; color: var(--c-muted); font-weight: 700; text-align: center; padding: 10px; }

/* ---- フォーム ---- */
.form-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; }
.req, .opt { font-size: .7rem; color: #fff; border-radius: 4px; padding: 1px 8px; margin-left: 8px; }
.req { background: #e0301e; }
.opt { background: #aaa; }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border: 1.5px solid #d9c9a8; border-radius: 10px; background: #fffef9; width: 100%; min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field .err { color: #d02a18; font-size: .82rem; min-height: 1.2em; }
.field input.invalid, .field select.invalid { border-color: #d02a18; background: #fff3f1; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; color: var(--c-muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.consent input { width: 22px; height: 22px; margin-top: 4px; }
.form-submit { text-align: center; margin-top: 20px; }
.form-submit .btn { width: min(100%, 460px); }

/* ---- ブログ ---- */
.post-list { display: grid; gap: 18px; }
.post-item { display: grid; grid-template-columns: 220px 1fr; gap: 20px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 14px; text-decoration: none; color: inherit; box-shadow: var(--shadow); }
.post-item h3 { font-size: 1.15rem; margin-bottom: 4px; }
.post-meta { font-size: .8rem; color: var(--c-muted); display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.cat { background: var(--c-green-l); color: var(--c-green-d); border-radius: 999px; padding: 0 12px; font-weight: 700; }
.cat.news { background: #ffe9d6; color: var(--c-orange-d); }
.blog-layout { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: start; }
.side-box { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; }
.side-box h3 { font-size: 1rem; }
.side-box ul { list-style: none; padding: 0; margin: 0 0 12px; font-size: .9rem; }
.side-box li { padding: 6px 0; border-bottom: 1px dashed var(--c-border); }
.article { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 32px; }
.article h1 { font-size: 1.8rem; }
.article h2 { font-size: 1.35rem; border-left: 6px solid var(--c-green); padding-left: 12px; margin-top: 1.8em; }
.pager { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--c-border); text-decoration: none; font-weight: 700; }
.pagination .cur { background: var(--c-green); color: #fff; border-color: var(--c-green); }

/* ---- 完了ページ ---- */
.thanks { text-align: center; max-width: 720px; margin: 0 auto; }
.thanks .check { width: 90px; height: 90px; border-radius: 50%; background: var(--c-green); color: #fff; font-size: 48px; display: grid; place-items: center; margin: 0 auto 18px; }

/* ---- 共通ミニ帯・フッター ---- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li::before { content: "✔ "; color: var(--c-green-d); font-weight: 900; }
.site-footer { background: #5a3a22; color: #f6ead6; padding: 40px 0 90px; margin-top: 0; }
.site-footer a { color: #f6ead6; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.footer-grid h4 { color: #fff; font-size: .95rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.footer-grid li { padding: 3px 0; }
.copy { text-align: center; font-size: .75rem; margin-top: 28px; opacity: .8; }
.footer-logo { color: #fff; }
.proto-note { background: #333; color: #fff; font-size: .75rem; text-align: center; padding: 4px 10px; }

/* ===== スマホ ===== */
@media (max-width: 860px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .sec { padding: 40px 0; }
  .sec-title { font-size: 1.4rem; }
  .menu-toggle { display: block; }
  .header-cta-sp { display: inline-flex; margin-left: auto; font-size: .8rem; padding: .5em 1em; min-height: 44px; }
  .site-header .wrap { min-height: 60px; gap: 8px; }
  .logo { font-size: 1.15rem; }
  .logo-mark { width: 36px; height: 36px; font-size: 20px; }
  .gnav { position: fixed; top: 60px; left: 0; right: 0; background: #fffdf7; box-shadow: 0 10px 20px rgba(0,0,0,.15); max-height: calc(100vh - 60px); overflow: auto; display: none; }
  .gnav.open { display: block; }
  .gnav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; }
  .gnav li { border-bottom: 1px solid var(--c-border); }
  .gnav a { display: block; padding: 14px 4px; font-size: 1rem; border-bottom: 0; }
  .gnav li:last-child { border: 0; padding-top: 14px; }
  .gnav .btn { display: flex; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .g5 { grid-template-columns: repeat(2, 1fr); }
  .fv .wrap, .page-hero .wrap, .guide-band, .blog-layout { grid-template-columns: 1fr; }
  .fv h1 { font-size: 1.95rem; }
  .fv .btn-cta { width: 100%; }
  .page-hero h1 { font-size: 1.9rem; }
  .page-hero .ph { order: -1; aspect-ratio: 16 / 9; }
  .daily-row { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps li:not(:last-child)::after { content: "▼"; right: 0; left: 0; top: auto; bottom: -22px; font-size: 1rem; }
  .flow-6 { grid-template-columns: repeat(2, 1fr); }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 20px 16px; }
  .post-item { grid-template-columns: 1fr; }
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: 0; padding-bottom: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-band { padding: 16px; gap: 14px; }
  .price-band .yen { font-size: 2.2rem; }
  .article { padding: 20px 16px; }
  .btn-cta.lg { font-size: 1.15rem; width: 100%; padding: .8em 1em; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ===== WordPress 用の追加スタイル ===== */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ph.has-img::before, .ph.has-img::after { display: none; }
.ph.has-img { background: none; }
.ph.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-img { flex: none; object-fit: cover; }
.pagination .page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--c-border); text-decoration: none; font-weight: 700; }
.pagination .page-numbers.current { background: var(--c-green); color: #fff; border-color: var(--c-green); }
.gnav .menu-item a { text-decoration: none; }
.entry-content img { max-width: 100%; height: auto; border-radius: var(--radius-s); }
.entry-content .alignleft { float: left; margin: 0 1em 1em 0; }
.entry-content .alignright { float: right; margin: 0 0 1em 1em; }
.entry-content .aligncenter { display: block; margin: 0 auto 1em; }
.entry-content h2 { font-size: 1.35rem; border-left: 6px solid var(--c-green); padding-left: 12px; margin-top: 1.8em; }
.article .entry-content h2 { margin-top: 1.8em; }
.pager a { text-decoration: none; }

/* トップの案内カードが1枚のとき：写真を左、本文を右に並べる */
.main-links:not(.g2) .card { flex-direction: row; }
.main-links:not(.g2) .card .ph { width: 45%; aspect-ratio: auto; min-height: 280px; flex: none; }
.main-links:not(.g2) .card .body { justify-content: center; }
@media (max-width: 860px) {
  .main-links:not(.g2) .card { flex-direction: column; }
  .main-links:not(.g2) .card .ph { width: 100%; aspect-ratio: 16 / 8; min-height: 0; }
}
