/* ==========================================================================
   ＆ABCクリニック 新デザイン
   このファイルは wordpress/build.py が生成します（元：public/static/style.css）。
   既存ページの CSS と干渉しないよう、すべて .ab2-scope の内側だけに効かせています。
   ========================================================================== */

.ab2-scope {
  --bg: #fffaf8;
  --surface: #ffffff;
  --blush: #fdeef2;
  --pink: #ffd5e1; /* ロゴの地色 */
  --rose: #b8375f;
  --rose-soft: #f3a9bf;
  --ink: #2b2024;
  --muted: #6b5d61;
  --line: rgba(43, 32, 36, 0.14);
  --line-light: rgba(255, 255, 255, 0.2);
  --line-green: #06c755;

  --font-jp: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif;
  --font-num: 'Jost', var(--font-jp);
  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;

  --header-h: 64px;
  --radius: 20px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color: var(--ink);
  --ab2-c: var(--ink);
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: normal;
  line-break: strict;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
body.ab2-scope {
  margin: 0;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.ab2-html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body.ab2-menu-open {
  overflow: hidden;
}
/* 旧デザインの固定バー用に空けてあった余白を詰める */
body.ab2-on {
  padding-bottom: 0 !important;
}
.ab2-scope,
.ab2-scope *,
.ab2-scope *::before,
.ab2-scope *::after {
  box-sizing: border-box;
}
.ab2-scope :where(h1, h2, h3, p, dl, dd, ul, ol, figure) {
  margin: 0;
}
.ab2-scope :where(ul, ol) {
  padding: 0;
  list-style: none;
}
/* リンクの色：旧テーマの a:link / a:hover より強く、各部品の指定（--ab2-c）には従う */
.ab2-scope a,
.ab2-scope a:link,
.ab2-scope a:visited,
.ab2-scope a:hover,
.ab2-scope a:active {
  color: var(--ab2-c, inherit);
  text-decoration: none;
}
:where(.ab2-scope) img {
  display: block;
  max-width: 100%;
  height: auto;
}
.ab2-scope :where(button) {
  font: inherit;
  color: inherit;
}
.ab2-scope :where(address) {
  font-style: normal;
}
.ab2-scope :focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.ab2-container {
  width: min(100% - 2 * var(--gutter), 1200px);
  margin-inline: auto;
}
.ab2-num {
  font-family: var(--font-num);
  letter-spacing: 0.02em;
}
.ab2-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.ab2-skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff; --ab2-c: #fff;
  font-size: 14px;
  transform: translateY(-200%);
}
.ab2-skip:focus {
  transform: none;
}
.ab2-icon {
  flex: none;
  width: 1.15em;
  height: 1.15em;
}

/* ---------- Typography ---------- */
.ab2-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--rose); --ab2-c: var(--rose);
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.ab2-eyebrow::before {
  content: '';
  flex: none;
  width: 28px;
  height: 1px;
  background: currentColor;
}
.ab2-h2 {
  font-size: clamp(22px, 17.6px + 1.5vw, 34px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.04em;
  font-feature-settings: 'palt';
}
.ab2-h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.ab2-lead {
  margin-top: 20px;
  color: var(--muted); --ab2-c: var(--muted);
  font-size: 15px;
  line-height: 2;
  word-break: auto-phrase;
}

/* ---------- Buttons ---------- */
.ab2-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.ab2-btns--center {
  justify-content: center;
  margin-top: clamp(32px, 5vw, 48px);
}
.ab2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.ab2-btn .ab2-icon {
  transition: transform 0.3s var(--ease);
}
.ab2-btn:hover .ab2-icon:last-child {
  transform: translateX(4px);
}
.ab2-btn--sm {
  min-height: 44px;
  padding: 6px 20px;
  font-size: 13.5px;
}
.ab2-btn--primary {
  background: var(--ink);
  color: #fff; --ab2-c: #fff;
}
.ab2-btn--primary:hover {
  background: var(--rose);
}
.ab2-btn--ghost {
  border-color: var(--ink);
  background: transparent;
}
.ab2-btn--ghost:hover {
  background: var(--ink);
  color: #fff; --ab2-c: #fff;
}
.ab2-btn--line {
  border-color: var(--line-green);
  background: #fff;
}
.ab2-btn--line .ab2-icon {
  color: var(--line-green); --ab2-c: var(--line-green);
}
.ab2-btn--line:hover {
  background: #eafbf0;
}
.ab2-btn--light {
  background: var(--pink);
  color: var(--ink); --ab2-c: var(--ink);
}
.ab2-btn--light:hover {
  background: #fff;
}
.ab2-btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff; --ab2-c: #fff;
}
.ab2-btn--ghost-light:hover {
  background: #fff;
  color: var(--ink); --ab2-c: var(--ink);
}
@media (max-width: 520px) {
  .ab2-btns .ab2-btn {
    width: 100%;
  }
}

/* ---------- Header ---------- */
.ab2-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(255, 250, 248, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: border-color 0.3s var(--ease);
}
.ab2-site-header.ab2-is-scrolled,
.ab2-menu-open .ab2-site-header {
  border-bottom-color: var(--line);
}
.ab2-site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1440px;
  height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.ab2-site-header__logo {
  display: flex;
  flex: none;
  align-items: center;
  min-height: 44px;
}
.ab2-site-header__logo img {
  width: auto;
  height: 24px;
}
.ab2-gnav {
  display: none;
}
.ab2-site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.ab2-site-header__tel {
  display: none;
  flex-direction: column;
  line-height: 1.25;
  text-align: right;
}
.ab2-site-header__tel .ab2-num {
  font-size: 19px;
  font-weight: 500;
}
.ab2-site-header__tel small {
  color: var(--muted); --ab2-c: var(--muted);
  font-size: 11px;
}
.ab2-site-header__reserve {
  display: none;
  flex: none;
  white-space: nowrap;
}
.ab2-menu-toggle {
  display: grid;
  place-items: center;
  gap: 5px;
  width: 52px;
  height: 48px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.ab2-menu-toggle__bars {
  position: relative;
  display: block;
  width: 26px;
  height: 10px;
}
.ab2-menu-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.ab2-menu-toggle__bars span:first-child {
  top: 0;
}
.ab2-menu-toggle__bars span:last-child {
  top: 8.5px;
}
.ab2-menu-open .ab2-menu-toggle__bars span:first-child {
  top: 4px;
  transform: rotate(24deg);
}
.ab2-menu-open .ab2-menu-toggle__bars span:last-child {
  top: 4px;
  transform: rotate(-24deg);
}
.ab2-menu-toggle__label {
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
}

@media (min-width: 640px) {
  .ab2-site-header__reserve {
    display: inline-flex;
  }
  .ab2-site-header__logo img {
    height: 28px;
  }
}
@media (min-width: 1240px) {
  .ab2-scope {
    --header-h: 76px;
  }
  .ab2-gnav {
    display: block;
    margin-left: auto;
  }
  .ab2-gnav__list {
    display: flex;
    gap: clamp(16px, 1.7vw, 26px);
  }
  .ab2-gnav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding-block: 10px;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
  .ab2-gnav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 1px;
    background: var(--rose);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s var(--ease);
  }
  .ab2-gnav__link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
  .ab2-gnav__link .ab2-icon {
    width: 0.9em;
    height: 0.9em;
    color: var(--muted); --ab2-c: var(--muted);
  }
  .ab2-site-header__actions {
    margin-left: 8px;
  }
  .ab2-menu-toggle {
    display: none;
  }
}
@media (min-width: 1360px) {
  .ab2-site-header__tel {
    display: flex;
  }
}

/* ---------- Mobile menu ---------- */
.ab2-mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 40;
  overflow-y: auto;
  padding: 8px var(--gutter) 40px;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.ab2-menu-open .ab2-mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.ab2-mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.ab2-mobile-menu__link .ab2-icon {
  color: var(--rose); --ab2-c: var(--rose);
}
.ab2-mobile-menu__cta {
  display: grid;
  gap: 12px;
  max-width: 480px;
  margin: 28px auto 0;
}
.ab2-mobile-menu__hours {
  color: var(--muted); --ab2-c: var(--muted);
  font-size: 13px;
  text-align: center;
}
@media (min-width: 1240px) {
  .ab2-mobile-menu {
    display: none;
  }
}

/* ---------- Hero ---------- */
.ab2-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(28px, 4.5vw, 64px) clamp(56px, 7vw, 96px);
}
.ab2-hero__vertical {
  display: none;
}
.ab2-hero__inner {
  display: grid;
  gap: 28px;
}
.ab2-hero__eyebrow {
  margin-bottom: 14px;
  color: var(--rose); --ab2-c: var(--rose);
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.26em;
}
.ab2-hero__title {
  font-size: clamp(22px, 7.4vw, 44px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-feature-settings: 'palt';
}
.ab2-hero__visual {
  position: relative;
  isolation: isolate;
  padding-bottom: 11%;
}
.ab2-hero__amp {
  display: none;
  position: absolute;
  top: -0.3em;
  right: -0.08em;
  z-index: -1;
  color: var(--pink); --ab2-c: var(--pink);
  font-family: var(--font-serif);
  font-size: clamp(190px, 26vw, 380px);
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.ab2-hero__photo {
  width: 100%;
  aspect-ratio: 5 / 4;
  border-radius: 28px;
  object-fit: cover;
  object-position: 38% 50%;
}
.ab2-hero__photo-sub {
  position: absolute;
  left: -6px;
  bottom: 0;
  width: 46%;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--bg);
  border-radius: 18px;
  object-fit: cover;
  object-position: 62% 50%;
}
.ab2-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ab2-hero__tags li {
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  line-height: 1.6;
}
.ab2-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.ab2-hero__stats > div + div {
  padding-left: clamp(12px, 2.4vw, 28px);
  border-left: 1px solid var(--line);
}
.ab2-hero__stats dt {
  color: var(--muted); --ab2-c: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  white-space: nowrap;
}
.ab2-hero__stats dd {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.ab2-hero__stats dd .ab2-num {
  margin-right: 2px;
  font-size: 30px;
  font-weight: 500;
}
.ab2-hero__stats > div:first-child dd {
  font-size: 22px;
  line-height: 1.9;
}

@media (min-width: 600px) and (max-width: 959px) {
  .ab2-hero__visual {
    padding-bottom: 7%;
  }
  .ab2-hero__photo {
    aspect-ratio: 16 / 10;
  }
  .ab2-hero__photo-sub {
    width: 34%;
  }
}
@media (min-width: 960px) {
  .ab2-hero__amp {
    display: block;
  }
  .ab2-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: 'head visual' 'body visual';
    column-gap: clamp(40px, 5vw, 72px);
    row-gap: 32px;
    align-items: center;
  }
  .ab2-hero__head {
    grid-area: head;
    align-self: end;
  }
  .ab2-hero__body {
    grid-area: body;
    align-self: start;
  }
  .ab2-hero__visual {
    grid-area: visual;
    padding-bottom: 9%;
  }
  .ab2-hero__title {
    font-size: clamp(30px, 3.4vw, 46px);
  }
  .ab2-hero__eyebrow {
    margin-bottom: 20px;
    font-size: 13px;
  }
  .ab2-hero__photo {
    aspect-ratio: 5 / 6;
    border-radius: 300px 300px 24px 24px;
  }
  .ab2-hero__photo-sub {
    left: -9%;
    width: 48%;
    border-width: 8px;
  }
  .ab2-hero__stats dt {
    font-size: 12px;
  }
  .ab2-hero__stats dd {
    font-size: 15px;
  }
  .ab2-hero__stats dd .ab2-num {
    font-size: 36px;
  }
  .ab2-hero__stats > div:first-child dd {
    font-size: 26px;
  }
}
@media (min-width: 1320px) {
  .ab2-hero__vertical {
    position: absolute;
    top: 50%;
    right: 22px;
    display: block;
    color: var(--muted); --ab2-c: var(--muted);
    font-family: var(--font-num);
    font-size: 11px;
    letter-spacing: 0.32em;
    line-height: 1;
    white-space: nowrap;
    writing-mode: vertical-rl;
    transform: translateY(-50%);
  }
}

/* ---------- Pillars（5つのサービス入口） ---------- */
.ab2-pillars__list {
  display: grid;
  gap: 1px;
  border-block: 1px solid var(--line);
  background: var(--line);
}
.ab2-pillars__list li {
  background: var(--bg);
}
.ab2-pillar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: 'no name arrow' 'no note arrow';
  align-items: center;
  column-gap: 18px;
  height: 100%;
  padding: 16px 6px;
  transition: background-color 0.35s var(--ease);
}
.ab2-pillar:hover {
  background: var(--pink);
}
.ab2-pillar__no {
  grid-area: no;
  color: var(--rose); --ab2-c: var(--rose);
  font-size: 13px;
  font-weight: 500;
}
.ab2-pillar__name {
  grid-area: name;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.ab2-pillar__note {
  grid-area: note;
  color: var(--muted); --ab2-c: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.ab2-pillar__arrow {
  grid-area: arrow;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.ab2-pillar:hover .ab2-pillar__arrow {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff; --ab2-c: #fff;
}
@media (min-width: 640px) {
  .ab2-pillars__list {
    grid-template-columns: repeat(6, 1fr);
  }
  .ab2-pillars__list li {
    grid-column: span 3;
  }
  .ab2-pillars__list li:nth-child(-n + 3) {
    grid-column: span 2;
  }
  .ab2-pillar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-height: 176px;
    padding: 22px 20px 20px;
  }
  .ab2-pillar__no {
    margin-bottom: 10px;
  }
  .ab2-pillar__arrow {
    margin-top: auto;
    align-self: flex-end;
  }
}
@media (min-width: 1024px) {
  .ab2-pillars__list {
    grid-template-columns: repeat(5, 1fr);
  }
  .ab2-pillars__list li,
  .ab2-pillars__list li:nth-child(-n + 3) {
    grid-column: auto;
  }
}

/* ---------- Sections ---------- */
.ab2-section {
  padding-block: var(--section);
}
.ab2-section--blush {
  background: var(--blush);
}
.ab2-section--ink {
  background: var(--ink);
  color: #fff; --ab2-c: #fff;
}
.ab2-section--ink .ab2-eyebrow {
  color: var(--rose-soft); --ab2-c: var(--rose-soft);
}
.ab2-section--ink .ab2-lead {
  color: rgba(255, 255, 255, 0.78); --ab2-c: rgba(255, 255, 255, 0.78);
}
.ab2-section-head {
  margin-bottom: clamp(28px, 4.5vw, 52px);
}

.ab2-split {
  display: grid;
  gap: clamp(28px, 6vw, 48px);
  align-items: center;
}
.ab2-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--pink);
}
.ab2-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ab2-media--tall img {
  object-position: 68% 50%;
}
.ab2-media--portrait {
  aspect-ratio: 4 / 5;
}
.ab2-media--portrait img {
  object-position: 50% 6%;
}
@media (min-width: 768px) {
  .ab2-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(48px, 6.5vw, 104px);
  }
  .ab2-split--rev .ab2-split__media {
    order: 2;
  }
  .ab2-split--portrait {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  }
  .ab2-media--tall {
    aspect-ratio: 1 / 1;
  }
}
/* タブレット幅：写真を少し細くして本文側の幅を確保する */
@media (min-width: 768px) and (max-width: 959px) {
  .ab2-split,
  .ab2-split--portrait {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
    gap: 36px;
  }
  .ab2-split--rev {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  }
  .ab2-split .ab2-h2 {
    font-size: 24px;
  }
  .ab2-split .ab2-btns .ab2-btn {
    padding-inline: 22px;
  }
}

/* About */
.ab2-facts {
  display: grid;
  margin-top: 32px;
  border-bottom: 1px solid var(--line);
}
.ab2-facts li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--muted); --ab2-c: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.ab2-facts b {
  display: block;
  color: var(--ink); --ab2-c: var(--ink);
  font-size: 18px;
  font-weight: 700;
}
.ab2-facts .ab2-num {
  margin-right: 2px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
}
@media (min-width: 520px) {
  .ab2-facts {
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
  }
  .ab2-facts li {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px 0;
  }
}

/* Treatment */
.ab2-menu-list {
  margin-top: 32px;
  border-top: 1px solid var(--ink);
}
.ab2-menu-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-areas: 'en price arrow' 'name price arrow';
  align-items: center;
  column-gap: 12px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s var(--ease), padding 0.35s var(--ease);
}
.ab2-menu-row:hover {
  background: rgba(255, 255, 255, 0.7);
}
.ab2-menu-row__en {
  grid-area: en;
  color: var(--rose); --ab2-c: var(--rose);
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.ab2-menu-row__name {
  grid-area: name;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}
.ab2-menu-row__price {
  grid-area: price;
  text-align: right;
  line-height: 1.4;
}
.ab2-menu-row__menu {
  display: block;
  color: var(--muted); --ab2-c: var(--muted);
  font-size: 12px;
}
.ab2-menu-row__yen {
  font-size: 13px;
  white-space: nowrap;
}
.ab2-menu-row__yen .ab2-num {
  margin-right: 2px;
  font-size: 22px;
  font-weight: 500;
}
.ab2-menu-row__arrow {
  grid-area: arrow;
  display: grid;
  color: var(--rose); --ab2-c: var(--rose);
  transition: transform 0.35s var(--ease);
}
.ab2-menu-row:hover .ab2-menu-row__arrow {
  transform: translateX(4px);
}
@media (min-width: 520px) {
  .ab2-menu-row {
    column-gap: 20px;
    padding: 18px 8px;
  }
  .ab2-menu-row__name {
    font-size: 16.5px;
  }
  .ab2-menu-row__yen .ab2-num {
    font-size: 26px;
  }
}
.ab2-points {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 22px;
}
.ab2-points li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
}
.ab2-points li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--rose);
  transform: rotate(45deg);
}

/* SUBCLi */
.ab2-subcli__features {
  display: grid;
  margin-top: 28px;
  border-top: 1px solid var(--line-light);
}
.ab2-subcli__features li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
}
.ab2-subcli__feature-label {
  color: rgba(255, 255, 255, 0.72); --ab2-c: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}
.ab2-subcli__feature-value {
  color: var(--pink); --ab2-c: var(--pink);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.ab2-subcli__feature-value .ab2-num {
  margin-right: 2px;
  font-size: 22px;
  font-weight: 500;
}
.ab2-plans {
  display: grid;
  gap: 14px;
  margin-top: clamp(40px, 6vw, 72px);
}
.ab2-plan {
  min-width: 0;
  padding: 24px 24px 22px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}
.ab2-plan__name {
  color: var(--pink); --ab2-c: var(--pink);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.04em;
}
.ab2-plan__freq {
  color: rgba(255, 255, 255, 0.72); --ab2-c: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}
.ab2-plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 14px;
  line-height: 1.2;
}
.ab2-plan__price .ab2-num {
  font-size: clamp(40px, 4.4vw, 52px);
  font-weight: 500;
}
.ab2-plan__price small {
  font-size: 14px;
  white-space: nowrap;
}
.ab2-plan__note {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line-light);
  font-size: 13.5px;
}
@media (min-width: 760px) {
  .ab2-plans {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .ab2-plan {
    padding: 30px 30px 26px;
  }
}
/* タブレット幅：3列のまま収まるよう余白と金額の大きさを詰める */
@media (min-width: 760px) and (max-width: 959px) {
  .ab2-plan {
    padding: 22px 18px 20px;
  }
  .ab2-plan__price {
    gap: 4px;
  }
  .ab2-plan__price .ab2-num {
    font-size: 32px;
  }
}

/* Artmake */
.ab2-artmake__media {
  position: relative;
}
.ab2-seal {
  position: absolute;
  right: 10px;
  bottom: -26px;
  display: grid;
  place-content: center;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--ink); --ab2-c: var(--ink);
  line-height: 1.25;
  text-align: center;
  transform: rotate(-8deg);
}
.ab2-seal__main {
  font-size: 12px;
  font-weight: 700;
}
.ab2-seal__num {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 600;
}
.ab2-seal__num .ab2-num {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
}
.ab2-seal__sub {
  margin-top: 3px;
  font-size: 9.5px;
  font-weight: 700;
}
@media (min-width: 960px) {
  .ab2-seal {
    right: -22px;
    bottom: -34px;
    width: 140px;
    height: 140px;
  }
  .ab2-seal__main {
    font-size: 13.5px;
  }
  .ab2-seal__num {
    font-size: 17px;
  }
  .ab2-seal__num .ab2-num {
    font-size: 36px;
  }
  .ab2-seal__sub {
    font-size: 10.5px;
  }
}
.ab2-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.ab2-chips li {
  padding: 5px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13.5px;
  line-height: 1.6;
}
.ab2-price-box {
  margin-top: 26px;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--blush);
}
.ab2-price-box__label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}
.ab2-price-box__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  line-height: 1.35;
}
.ab2-price-box__price .ab2-num {
  font-size: clamp(26px, 7.5vw, 38px);
  font-weight: 500;
}
.ab2-price-box__price small {
  font-size: 14px;
}
.ab2-price-box__group {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}
.ab2-price-box__note {
  margin-top: 4px;
  color: var(--muted); --ab2-c: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

/* Cosme */
.ab2-cosme {
  padding-bottom: clamp(40px, 5vw, 64px);
}
.ab2-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}
.ab2-stats li {
  padding: 14px 18px 12px;
  border-radius: 14px;
  background: var(--surface);
}
.ab2-stats__value {
  display: block;
  color: var(--rose); --ab2-c: var(--rose);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
}
.ab2-stats__label {
  display: block;
  color: var(--muted); --ab2-c: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}
.ab2-marquee {
  overflow: hidden;
  margin-top: clamp(48px, 7vw, 88px);
  padding-block: 18px;
  border-block: 1px solid var(--line);
}
.ab2-marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.ab2-marquee:hover .ab2-marquee__track {
  animation-play-state: paused;
}
.ab2-marquee__group {
  display: flex;
  flex: none;
}
.ab2-marquee__group li {
  padding-inline: clamp(18px, 3vw, 40px);
  color: rgba(43, 32, 36, 0.62); --ab2-c: rgba(43, 32, 36, 0.62);
  font-family: var(--font-num);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.4;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Insurance */
.ab2-checks {
  display: grid;
  gap: 8px 24px;
  margin-top: 26px;
}
.ab2-checks li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.8;
}
.ab2-checks li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 11px;
  height: 6px;
  border-left: 1.5px solid var(--rose);
  border-bottom: 1.5px solid var(--rose);
  transform: rotate(-45deg);
}
@media (min-width: 480px) {
  .ab2-checks {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- News ---------- */
.ab2-news {
  padding-block: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line);
}
.ab2-news__inner {
  display: grid;
  gap: 20px;
}
.ab2-news .ab2-eyebrow {
  margin-bottom: 4px;
}
.ab2-news__title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.ab2-news__list {
  border-top: 1px solid var(--line);
}
.ab2-news__item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: 'date arrow' 'text arrow';
  align-items: center;
  column-gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}
.ab2-news__item time {
  grid-area: date;
  color: var(--muted); --ab2-c: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.ab2-news__text {
  grid-area: text;
  font-size: 15px;
  line-height: 1.7;
}
.ab2-news__arrow {
  grid-area: arrow;
  display: grid;
  color: var(--rose); --ab2-c: var(--rose);
  transition: transform 0.35s var(--ease);
}
.ab2-news__item:hover .ab2-news__arrow {
  transform: translateX(4px);
}
@media (min-width: 860px) {
  .ab2-news__inner {
    grid-template-columns: 240px 1fr;
    align-items: center;
  }
  .ab2-news__item {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: 'date text arrow';
    column-gap: 28px;
    padding: 20px 8px;
  }
}

/* ---------- Access ---------- */
.ab2-access {
  display: grid;
  gap: 32px;
}
.ab2-info > div {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.ab2-info > div:first-child {
  border-top: 1px solid var(--line);
}
.ab2-info dt {
  color: var(--muted); --ab2-c: var(--muted);
  font-size: 13px;
  line-height: 2.1;
}
.ab2-info dd {
  font-size: 15px;
  line-height: 1.8;
}
.ab2-info dd a {
  display: inline-block;
  padding-block: 4px;
  border-bottom: 1px solid var(--line);
}
.ab2-info__tel {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
}
.ab2-access__floor {
  margin-top: 20px;
  color: var(--muted); --ab2-c: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.ab2-access__map iframe {
  display: block;
  width: 100%;
  height: auto;
  min-height: 300px;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
}
@media (min-width: 600px) and (max-width: 959px) {
  .ab2-access__map iframe {
    aspect-ratio: 16 / 10;
  }
}
.ab2-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-block: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}
.ab2-text-link:hover {
  color: var(--rose); --ab2-c: var(--rose);
}
.ab2-routes {
  display: grid;
  gap: 28px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: clamp(32px, 5vw, 48px);
  border-top: 1px solid var(--line);
}
.ab2-routes__list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.ab2-routes__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.8;
}
.ab2-routes__list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.75em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rose);
}
.ab2-routes__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-self: start;
}
.ab2-routes__photos img {
  width: 100%;
  border-radius: 12px;
}
@media (min-width: 960px) {
  .ab2-access {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(40px, 5vw, 72px);
    align-items: start;
  }
  .ab2-routes {
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    gap: clamp(40px, 5vw, 72px);
  }
}

/* ---------- CTA ---------- */
.ab2-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.ab2-cta__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.ab2-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 250, 248, 0.88);
}
.ab2-cta__inner {
  padding-block: clamp(64px, 9vw, 120px);
}
.ab2-cta .ab2-lead {
  max-width: 34em;
  color: var(--ink); --ab2-c: var(--ink);
}
.ab2-cta__hours {
  margin-top: 16px;
  color: var(--muted); --ab2-c: var(--muted);
  font-size: 13px;
}
@media (min-width: 960px) {
  .ab2-cta::before {
    background: linear-gradient(90deg, var(--bg) 0%, rgba(255, 250, 248, 0.94) 46%, rgba(255, 250, 248, 0.1) 100%);
  }
}

/* ---------- Group ---------- */
.ab2-group {
  padding-block: clamp(56px, 7vw, 88px);
}
.ab2-group .ab2-section-head {
  margin-bottom: 24px;
}
.ab2-group__list {
  display: grid;
  gap: 12px;
}
.ab2-group__item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: 'name arrow' 'note arrow';
  align-content: center;
  align-items: center;
  gap: 0 12px;
  height: 100%;
  min-height: 80px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.ab2-group__item:hover {
  border-color: var(--ink);
  background: var(--blush);
}
.ab2-group__name {
  grid-area: name;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.6;
}
.ab2-group__note {
  grid-area: note;
  color: var(--muted); --ab2-c: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.ab2-group__arrow {
  grid-area: arrow;
  display: grid;
  color: var(--rose); --ab2-c: var(--rose);
}
@media (min-width: 600px) {
  .ab2-group__list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1040px) {
  .ab2-group__list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Footer ---------- */
.ab2-site-footer {
  padding-top: clamp(48px, 7vw, 80px);
  background: var(--pink);
}
.ab2-site-footer__inner {
  display: grid;
  gap: 40px;
}
.ab2-site-footer__logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.ab2-site-footer__logo img {
  width: auto;
  height: 30px;
}
.ab2-site-footer__name {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
}
.ab2-site-footer address {
  font-size: 13px;
  line-height: 1.8;
}
.ab2-site-footer__tel {
  display: inline-block;
  margin-top: 8px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
}
.ab2-site-footer__sns {
  margin-top: 10px;
}
.ab2-site-footer__sns a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 6px;
  font-family: var(--font-num);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.ab2-site-footer__sns .ab2-icon {
  width: 20px;
  height: 20px;
}
.ab2-site-footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}
.ab2-site-footer__heading {
  margin-bottom: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(43, 32, 36, 0.2);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.ab2-site-footer__nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-block: 6px;
  font-size: 13.5px;
  line-height: 1.6;
}
.ab2-site-footer__nav a .ab2-icon {
  width: 0.9em;
  height: 0.9em;
}
.ab2-site-footer__nav a:hover,
.ab2-site-footer__sns a:hover,
.ab2-site-footer__top:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ab2-site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-block: 18px calc(18px + 64px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(43, 32, 36, 0.2);
  font-size: 12px;
}
.ab2-site-footer__bottom small {
  font-size: 12px;
}
.ab2-site-footer__top {
  padding-block: 6px;
}
@media (min-width: 600px) {
  .ab2-site-footer__nav {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 960px) {
  .ab2-site-footer__inner {
    grid-template-columns: 300px 1fr;
    gap: 64px;
  }
  .ab2-site-footer__bottom {
    padding-bottom: 18px;
  }
}
@media (min-width: 1160px) {
  .ab2-site-footer__nav {
    grid-template-columns: repeat(5, auto);
    justify-content: space-between;
  }
}

/* ---------- Mobile fixed bar ---------- */
.ab2-mobile-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-top: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.3s var(--ease);
}
.ab2-menu-open .ab2-mobile-bar {
  transform: translateY(100%);
}
.ab2-mobile-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 60px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
.ab2-mobile-bar__item + .ab2-mobile-bar__item {
  border-left: 1px solid var(--line);
}
.ab2-mobile-bar__item .ab2-icon {
  width: 21px;
  height: 21px;
}
.ab2-mobile-bar__item--line .ab2-icon {
  color: var(--line-green); --ab2-c: var(--line-green);
}
.ab2-mobile-bar__item--primary {
  background: var(--ink);
  color: #fff; --ab2-c: #fff;
}
@media (min-width: 960px) {
  .ab2-mobile-bar {
    display: none;
  }
}

/* ---------- Scroll reveal（JSが有効なときだけ） ---------- */
.ab2-reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease) var(--d, 0ms), transform 0.9s var(--ease) var(--d, 0ms);
}
.ab2-reveal-on [data-reveal].ab2-is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ab2-scope *,
  .ab2-scope *::before,
  .ab2-scope *::after {
    transition-duration: 0.01ms !important;
  }
  .ab2-marquee__track {
    flex-wrap: wrap;
    width: auto;
    animation: none;
  }
  .ab2-marquee__group {
    flex-wrap: wrap;
    justify-content: center;
  }
  .ab2-marquee__group[aria-hidden='true'] {
    display: none;
  }
}

/* ---------- 固定ヘッダー（下スクロールで隠れ、上スクロールで出る） ---------- */
.ab2-site-header {
  position: fixed;
  top: var(--wp-admin--admin-bar--height, 0px);
  right: 0;
  left: 0;
  transition: border-color 0.3s var(--ease), transform 0.35s var(--ease);
}
.ab2-site-header.ab2-is-hidden {
  transform: translateY(-110%);
}
.ab2-header-spacer {
  height: var(--header-h);
}
.ab2-mobile-menu {
  top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px));
}
@media (max-width: 959px) {
  .ab2-on .grecaptcha-badge {
    bottom: 76px !important;
  }
}

/* ---------- News：投稿が無いとき ---------- */
.ab2-news__empty {
  padding: 16px 4px;
  border-block: 1px solid var(--line);
  color: var(--muted); --ab2-c: var(--muted);
  font-size: 14px;
}

.ab2-news__body {
  min-width: 0;
}
.ab2-news__more {
  margin-top: 8px;
  text-align: right;
}

/* ---------- お知らせ（一覧・詳細） ---------- */
.ab2-page {
  padding-block: clamp(40px, 6vw, 80px) var(--section);
}
.ab2-page__inner {
  width: min(100% - 2 * var(--gutter), 820px);
}
.ab2-page__head {
  margin-bottom: clamp(28px, 4vw, 44px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.ab2-page__date,
.ab2-page__sub {
  display: block;
  margin-top: 12px;
  color: var(--muted); --ab2-c: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.ab2-entry {
  font-size: 16px;
  line-height: 2;
  overflow-wrap: anywhere;
}
.ab2-entry > * + * {
  margin-top: 1.4em;
}
.ab2-entry :where(h2) {
  margin-top: 2.2em;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
}
.ab2-entry :where(h3) {
  margin-top: 2em;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}
.ab2-entry :where(ul) {
  padding-left: 1.4em;
  list-style: disc;
}
.ab2-entry :where(ol) {
  padding-left: 1.6em;
  list-style: decimal;
}
.ab2-entry img {
  border-radius: 12px;
}
.ab2-scope .ab2-entry a,
.ab2-scope .ab2-entry a:link,
.ab2-scope .ab2-entry a:visited {
  --ab2-c: var(--rose);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ab2-page__back {
  margin-top: clamp(40px, 6vw, 64px);
}
.ab2-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.ab2-pager .page-numbers {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding-inline: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-num);
  font-size: 15px;
}
.ab2-pager .page-numbers.current {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff; --ab2-c: #fff;
}

/* ---------- キャンペーンバナー ---------- */
.ab2-banners {
  padding-bottom: clamp(40px, 6vw, 72px);
}
.ab2-banners__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.ab2-banners__head .ab2-eyebrow {
  margin-bottom: 0;
}
.ab2-banners__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
}
.ab2-banners__list {
  display: grid;
  grid-auto-columns: min(86%, 380px);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.ab2-banners__list li {
  scroll-snap-align: start;
}
.ab2-banner {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: var(--pink);
}
.ab2-banner img {
  width: 100%;
  aspect-ratio: 9 / 5;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}
a.ab2-banner:hover img {
  transform: scale(1.03);
}
@media (min-width: 960px) {
  .ab2-banners__list {
    grid-auto-columns: calc((100% - 28px) / 3);
  }
  .ab2-banners--n2 .ab2-banners__list {
    grid-auto-columns: calc((100% - 14px) / 2);
  }
  .ab2-banners--n1 .ab2-banners__list {
    grid-auto-columns: min(100%, 600px);
  }
}

/* ---------- 取り扱いブランド（メディカルコスメのページ） ---------- */
.ab2-brands {
  padding-block: clamp(56px, 8vw, 96px);
  background: #fff;
  scroll-margin-top: 96px;
}
.ab2-brands__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.ab2-brands__list li {
  border-bottom: 1px solid var(--line);
}
.ab2-brand {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'name arrow' 'kana arrow';
  align-content: center;
  align-items: center;
  column-gap: 8px;
  height: 100%;
  min-height: 68px;
  padding: 10px 4px;
  transition: background-color 0.3s var(--ease);
}
a.ab2-brand:hover {
  background: var(--blush);
}
.ab2-brand__name {
  grid-area: name;
  font-family: var(--font-num);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}
.ab2-brand__kana {
  grid-area: kana;
  color: var(--muted); --ab2-c: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}
.ab2-brand__arrow {
  grid-area: arrow;
  display: grid;
  color: var(--rose); --ab2-c: var(--rose);
}
@media (min-width: 640px) {
  .ab2-brands__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
  }
}
@media (min-width: 1000px) {
  .ab2-brands__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 32px;
  }
  .ab2-brand__name {
    font-size: 16px;
  }
}
