@charset "UTF-8";
/* 生成ファイル: src/css/*.css から tools/build.mjs が連結。直接編集しないこと。 */
/* ===== 00-base.css ===== */
@charset "UTF-8";

/* ===== Design tokens (ピラティスLP_v01.pen の variables と一致) ===== */
:root {
  --bg: #ffffff;
  --bg-soft: #fdeff5;
  --bg-cream: #faf7f8;
  --accent: #ec6a9c;
  --accent-dark: #c2306e;
  --accent-soft: #f7b9cf;
  --teal: #22bdb4;
  --teal-soft: #e3f4f0;
  --gold: #d9a441;
  --text-primary: #3b2a30;
  --text-secondary: #6b5a60;
  --line: #f2e3e9;
  --cta: #22bdb4;
  --cta-shadow: #169a93;
  --highlight: #fff08a;
  --font-heading: "Noto Serif JP", serif;
  --font-body: "Noto Sans JP", system-ui, sans-serif;
  --font-en: "Montserrat", system-ui, sans-serif;
  --pc-max: 1440px;
}

/* ===== reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ===== shared layout ===== */
.sec {
  width: 100%;
}

.sec__inner {
  width: 100%;
  margin-inline: auto;
}

@media (min-width: 900px) {
  body {
    font-size: 15px;
  }

  .sec__inner {
    max-width: var(--pc-max);
  }
}

/* 表示側は block を既定にし、各セクションの display 指定（flex/table-row 等）を優先させる。
   非表示側は必ず勝たせる必要があるため !important を使う（.foo.only-sp のような
   2クラス指定に負けて PC/SP 両方が描画されるのを防ぐ）。 */
.only-sp,
.only-pc {
  display: block;
}

@media (max-width: 899px) {
  .only-pc {
    display: none !important;
  }
}

@media (min-width: 900px) {
  .only-sp {
    display: none !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ===== SectionTitle (component i77eE9) ===== */
.sec-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-inline: 20px;
}

.sec-title__en {
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.sec-title__ja {
  width: 100%;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.sec-title__bar {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
}

@media (min-width: 900px) {
  .sec-title__ja {
    font-size: 28px;
  }
}

/* ===== CTA button (実装指示書①／共通コンポーネント .cta-btn) ===== */
.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
  padding: 16px 32px;
  border-radius: 999px;
  background-image: linear-gradient(
    180deg,
    #4bd7ce 0%,
    #22bdb4 55%,
    #189e96 100%
  );
  box-shadow: 0 2px 0 var(--cta-shadow);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.cta-btn::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -60%;
  width: 40%;
  height: 140%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0.45;
  transform: skewX(-20deg);
  animation: cta-shimmer 2.5s linear infinite;
  pointer-events: none;
}

@keyframes cta-shimmer {
  0% {
    left: -60%;
  }
  48% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}

.cta-btn:active {
  box-shadow: 0 0 0 var(--cta-shadow);
  transform: translateY(3px);
}

.cta-btn--lg {
  padding: 16px 32px;
  font-size: 16px;
}

.cta-btn--md {
  padding: 13px 24px;
  font-size: 14px;
}

.cta-btn--sm {
  padding: 10px 18px;
  font-size: 12px;
}

.cta-btn--block {
  display: flex;
  width: 100%;
}

@media (min-width: 900px) {
  .cta-btn {
    box-shadow: 0 3px 0 var(--cta-shadow);
  }

  .cta-btn:hover {
    box-shadow: 0 5px 0 var(--cta-shadow);
    transform: translateY(-2px);
  }

  .cta-btn:active {
    box-shadow: 0 0 0 var(--cta-shadow);
    transform: translateY(3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cta-btn::after {
    animation: none;
    opacity: 0;
  }
}

/* ===== SP sticky CTA (frame KZfgy) ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 -2px 12px rgba(59, 42, 48, 0.15);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta__text {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 2px;
}

.sticky-cta__lead {
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 700;
}

.sticky-cta__sub {
  color: var(--text-secondary);
  font-size: 9px;
}

.sticky-cta .cta-btn {
  flex-shrink: 0;
  padding: 12px 18px;
  font-size: 13px;
  animation: sticky-pulse 1.6s ease-in-out infinite alternate;
}

@keyframes sticky-pulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta {
    transition: none;
  }

  .sticky-cta .cta-btn {
    animation: none;
  }
}

@media (min-width: 900px) {
  .sticky-cta {
    display: none;
  }
}

/* ===== 10-header.css ===== */
/* Header (PC_Header F3ABkU / SP Header wvD9X) */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
}

.hdr__logo {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 2px;
}

.hdr__logo-main {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}

.hdr__logo-sub {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 9px;
  line-height: normal;
  white-space: nowrap;
}

/* 景表法対応の広告表記。Penでは空きスペースだが、利用者承認のうえヘッダーにも表記を出す。
   CTAとロゴを押し出さないよう、伸縮する余白の中だけで折り返さずに収める。 */
.hdr__ad-disclosure {
  flex: 1 1 0;
  min-width: 0;
  color: #9b8d92;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  white-space: nowrap;
}

.hdr__cta {
  flex-shrink: 0;
  font-size: 13px;
  padding: 10px 22px;
}

.hdr__cta--sp {
  padding: 10px 16px;
  font-size: 12px;
}

@media (min-width: 900px) {
  /* Pen PC_Header F3ABkU: 1440x76 / padding 14px 40px / 下線1px（フレーム内側）。
     高さはPenと同じくロゴ48pxを上下padding14pxで包む自動高にする。
     下線は高さを増やさないようフレーム内側に重ねて引く。 */
  .hdr {
    padding: 14px 40px;
  }

  .hdr::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var(--line);
  }

  .hdr__logo-main {
    color: var(--accent-dark);
    font-size: 22px;
  }

  .hdr__logo-sub {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .hdr__ad-disclosure {
    font-size: 10px;
    text-align: left;
    padding-left: 24px;
  }

  .hdr__cta--sp {
    display: none;
  }

  .hdr__nav {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 28px;
  }

  .hdr__nav-link {
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    line-height: normal;
    white-space: nowrap;
  }
}

/* ===== 15-hero.css ===== */
/* Hero (PC_Hero kBjd6 / SP Hero tofzG) */
.sec--hero {
  background: var(--bg-soft);
}

.hero {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero__image {
  order: 1;
  flex-shrink: 0;
  width: 100%;
  height: 300px;
  /* url() はこの CSS（site/css/style.css）基準で解決されるため ../ が必要 */
  background-image: url("../images/hero.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero__text {
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 24px 20px 20px;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}

.hero__copy {
  width: 100%;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  line-height: 39px;
}

.hero__sub {
  width: 100%;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}

.hero__cta {
  width: 100%;
  max-width: 320px;
}

.hero__cta-icon {
  display: none;
}

.hero__note {
  color: var(--accent-dark);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  line-height: normal;
}

@media (min-width: 900px) {
  .hero {
    flex-direction: row;
    align-items: center;
    gap: 48px;
    padding: 56px 80px;
  }

  .hero__image {
    order: 2;
    width: 560px;
    height: 400px;
    border-radius: 20px;
  }

  .hero__text {
    order: 1;
    flex: 1 1 0;
    align-items: flex-start;
    gap: 20px;
    width: auto;
    padding: 0;
    text-align: left;
  }

  .hero__badge {
    padding: 8px 20px;
    background: var(--bg);
    color: var(--accent-dark);
    font-size: 13px;
    letter-spacing: 1px;
  }

  .hero__copy {
    font-size: 40px;
    line-height: 60px;
  }

  .hero__sub {
    font-size: 15px;
    line-height: 29px;
  }

  .hero__cta {
    width: auto;
    max-width: none;
    gap: 8px;
    padding: 18px 48px;
    font-size: 17px;
  }

  .hero__cta-icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
  }

  .hero__note {
    font-size: 13px;
    font-weight: 700;
  }
}

/* ===== 20-ranking.css ===== */
/* Ranking（SP: Ranking vzFw5 / PC: PC_Ranking o2Mz58） */

.sec--rank {
  background: var(--bg-soft);
}

.rank {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 36px 16px 40px;
}

.rank__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.rank__title {
  gap: 6px;
  padding-inline: 0;
}

.rank .sec-title__en {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 3px;
}

.rank .sec-title__ja {
  font-size: 22px;
  line-height: 31px;
}

.rank__lead {
  width: 100%;
  color: var(--accent-dark);
  font-size: 10.5px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}

/* ---- cards ---- */
.rank__list {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.rank__card {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-height: 400px;
  padding: 14px 7px 12px;
  border-radius: 14px;
  background: var(--bg);
  outline: 1px solid #e9e0e4;
  outline-offset: -0.5px;
}

.rank__card--gold {
  background: #fffdf4;
  outline: 2px solid #e8c35a;
  outline-offset: -1px;
}

.rank__medal-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.rank__medal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 50px;
  height: 50px;
  padding-top: 16px;
  border-radius: 999px;
  background: #aeb6be;
  color: var(--bg);
  /* Pen の Inter 指定は未読み込み（system-ui 描画）になるため、
     PC フレームと同じ欧文フォント（Montserrat）に統一する */
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  line-height: normal;
}

.rank__card--gold .rank__medal {
  background: #d9a62e;
}

.rank__card--bronze .rank__medal {
  background: #c4875c;
}

.rank__ribbon {
  width: 100%;
  padding: 5px 0;
  border-radius: 4px;
  background: var(--accent-dark);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}

.rank__score-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 100%;
}

.rank__score {
  color: var(--accent-dark);
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}

.rank__crit-link {
  color: var(--teal);
  font-family: var(--font-body);
  font-size: 8.5px;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}

.rank__crit-link:hover,
.rank__crit-link:focus-visible {
  text-decoration: underline;
}

.rank__google {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1px 3px;
  width: 100%;
  font-family: var(--font-body);
  line-height: normal;
}

.rank__google-label {
  flex-basis: 100%;
  color: #8a7a80;
  font-size: 8px;
  font-weight: 700;
  text-align: center;
}

.rank__google-rating {
  color: #e6a23c;
  font-size: 10px;
  font-weight: 700;
}

.rank__google-count {
  color: #9a8a90;
  font-size: 8.5px;
  font-weight: 400;
}

.rank__brand {
  width: 100%;
  color: #3a2f33;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}

.rank__spacer {
  flex: 1 1 0;
  width: 1px;
}

.rank__banner {
  display: block;
  width: 100%;
  height: 56px;
  border-radius: 6px;
  background: #f3e2ea;
}

/* ブランドバナー実素材。Penの「バナー画像（差し替え）」枠へ差し込む指示のため、
   枠の寸法・角丸はそのままにし、背景画像だけを差し込む。 */
.rank__banner--dr,
.rank__banner--dee,
.rank__banner--1to1 {
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.rank__banner--dr {
  background-image: url("../images/banner-dr.webp");
}

.rank__banner--dee {
  background-image: url("../images/banner-dee.webp");
}

.rank__banner--1to1 {
  background-image: url("../images/banner-1to1.webp");
}

.rank__price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
}

.rank__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 4px;
  width: 100%;
}

.rank__price-label {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  line-height: normal;
}

.rank__price-row--trial .rank__price-label {
  font-size: 10.5px;
}

.rank__price-amt {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: normal;
}

.rank__price-row--trial .rank__price-amt {
  color: var(--accent-dark);
  font-size: 18px;
}

.rank__price-row--plan .rank__price-amt {
  color: #3a2f33;
  font-size: 13.5px;
}

.rank__price-note {
  flex-basis: 100%;
  color: #938289;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
}

.rank__cta {
  padding: 8px 4px;
  font-size: 10px;
  line-height: normal;
}

@media (min-width: 900px) {
  .rank {
    gap: 28px;
    padding: 72px 20px 80px;
  }

  .rank__head,
  .rank__title {
    gap: 8px;
  }

  .rank .sec-title__en {
    font-size: 13px;
    letter-spacing: 4px;
  }

  .rank .sec-title__ja {
    font-size: 32px;
    line-height: normal;
  }

  .rank__lead {
    font-size: 14px;
  }

  .rank__list {
    max-width: 1000px;
    gap: 24px;
    align-items: flex-start;
  }

  .rank__card {
    gap: 0;
    min-height: 0;
    padding: 0 0 24px;
    border-radius: 16px;
    outline: 1px solid #e8dde3;
    outline-offset: -0.5px;
  }

  .rank__card--gold {
    background: #fffdf2;
    outline: 2px solid #e9b64a;
    outline-offset: -1px;
  }

  .rank__medal-wrap {
    padding: 18px 0 10px;
  }

  .rank__medal {
    justify-content: center;
    width: 60px;
    height: 60px;
    padding-top: 0;
    background: #a3aab6;
    outline: 3px solid #c9ced6;
    outline-offset: -1.5px;
    font-family: var(--font-en);
    font-size: 15px;
    font-style: italic;
  }

  .rank__card--gold .rank__medal {
    background: #e0a33e;
    outline-color: #f2ce8b;
  }

  .rank__card--bronze .rank__medal {
    background: #c08552;
    outline-color: #d9a98b;
  }

  .rank__ribbon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    max-width: 100%;
    height: 30px;
    padding: 0;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 2px;
  }

  .rank__score-row {
    flex-direction: row;
    align-items: flex-end;
    gap: 8px;
    width: auto;
    padding: 12px 0 2px;
  }

  .rank__score {
    font-family: var(--font-en);
    font-size: 26px;
  }

  .rank__crit-link {
    color: var(--accent-dark);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 400;
  }

  .rank__google {
    gap: 0;
    white-space: nowrap;
    font-family: var(--font-body);
  }

  .rank__google-label,
  .rank__google-rating,
  .rank__google-count {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
  }

  .rank__google-label {
    flex-basis: auto;
  }

  .rank__google-label::after {
    content: "\00a0";
  }

  .rank__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 6px 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
  }

  .rank__spacer {
    display: none;
  }

  .rank__banner {
    height: 120px;
    border-radius: 8px;
  }

  .rank__price {
    gap: 6px;
    padding: 14px 0;
  }

  .rank__price-row {
    align-items: flex-end;
    column-gap: 8px;
    width: auto;
    max-width: 100%;
  }

  .rank__price-label,
  .rank__price-row--trial .rank__price-label {
    font-family: var(--font-body);
    font-size: 12px;
  }

  .rank__price-amt {
    font-family: var(--font-body);
  }

  .rank__price-row--trial .rank__price-amt {
    font-size: 24px;
  }

  .rank__price-row--plan .rank__price-amt {
    color: var(--accent-dark);
    font-size: 16px;
  }

  .rank__price-note {
    flex-basis: auto;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 10px;
    text-align: left;
  }

  .rank__cta {
    width: 240px;
    max-width: 100%;
    height: 52px;
    padding: 0;
    font-size: 15px;
  }
}

/* ===== 25-compare.css ===== */
/* ===== 料金・条件の比較表（PC_CompareTable BJio5 / SP_CompareTable E41A2） ===== */
.sec--cmp {
  background: var(--bg);
  padding: 36px 16px 40px;
}

.cmp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cmp__title {
  width: 100%;
  gap: 6px;
  padding-inline: 0;
}

.sec--cmp .sec-title__en {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 3px;
  line-height: normal;
  text-align: left;
}

.sec--cmp .sec-title__ja {
  width: auto;
  font-size: 22px;
  line-height: 31px;
  text-align: center;
  white-space: nowrap;
}

.cmp__sub {
  color: var(--accent-dark);
  font-size: 11.5px;
  font-weight: 700;
  line-height: normal;
  text-align: left;
  white-space: nowrap;
}

/* ----- 表の枠 ----- */
.cmp__scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cmp__table {
  width: 100%;
  min-width: 320px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

/* Pen の Cell は固定高さの flex ボックス。セル自身は余白を持たず、
   境界線 1px 分だけ透明ボーダーで確保して行ピッチを Pen と一致させる。 */
.cmp__table th,
.cmp__table td {
  position: relative;
  padding: 0;
  border-bottom: 1px solid transparent;
  text-align: center;
  vertical-align: middle;
}

/* Pen の DivWrap（左右 8px のインセット）に相当する区切り線 */
.cmp__table th::after,
.cmp__table td::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: -1px;
  left: 8px;
  height: 1px;
  background: var(--line);
}

.cmp__corner::after,
.cmp__label::after {
  background: #e2dcea;
}

.cmp__row--access > *::after {
  content: none;
}

.cmp__row--access > * {
  border-bottom: 0;
}

/* Pen の Cell 本体（固定高さ・中央寄せ・shrink-to-fit の子要素） */
.cmp__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  padding: 4px 3px;
}

.cmp__corner .cmp__box,
.cmp__label .cmp__box {
  padding: 4px 2px;
}

/* 項目名の列（先頭列・横スクロール時は固定） */
.cmp__corner,
.cmp__label {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #f1edf7;
  color: #5f5468;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 14px;
}

.cmp__corner {
  width: 62px;
  z-index: 2;
  border-radius: 8px 8px 0 0;
}

.cmp__row--access .cmp__label {
  border-radius: 0 0 8px 8px;
}

.cmp__label-text {
  order: 1;
  text-align: center;
  white-space: nowrap;
}

.cmp__tag {
  order: 0;
  padding: 1px 6px;
  border-radius: 3px;
  background: var(--gold);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  line-height: normal;
}

.cmp__tag-text,
.cmp__pill-text {
  display: block;
  text-align: left;
  white-space: nowrap;
}

/* ブランド列（2〜4列目）。Pen は outline（レイアウトに影響しない）なので
   疑似要素の枠線で再現し、セルの高さを削らない。 */
.cmp__row > :nth-child(n + 2) {
  background: var(--bg);
}

.cmp__row > :nth-child(n + 2)::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: -1px;
  left: 0;
  border-right: 1px solid #e8dde3;
  border-left: 1px solid #e8dde3;
  pointer-events: none;
}

.cmp__row--head > :nth-child(n + 2)::before {
  border-top: 1px solid #e8dde3;
  border-radius: 8px 8px 0 0;
}

.cmp__row--access > :nth-child(n + 2)::before {
  bottom: 0;
  border-bottom: 1px solid #e8dde3;
  border-radius: 0 0 8px 8px;
}

/* 1位（Dr.ピラティス）列のハイライト */
.cmp__row > :nth-child(2) {
  background: #fffbe8;
}

.cmp__row > :nth-child(2)::before {
  border-right: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}

.cmp__row--head > :nth-child(2)::before {
  border-top: 2px solid var(--accent);
}

.cmp__row--access > :nth-child(2)::before {
  border-bottom: 2px solid var(--accent);
}

/* ----- 見出し行（ブランド） ----- */
.cmp__row--head .cmp__box {
  height: 128px;
}

.cmp__brand .cmp__box {
  padding: 6px 4px;
}

.cmp__pill {
  padding: 2px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: normal;
}

.cmp__pill--1 {
  background: #e0a33e;
}

.cmp__pill--2 {
  background: #a3aab6;
}

.cmp__pill--3 {
  background: #c08552;
}

.cmp__banner {
  display: block;
  width: 100%;
  height: 40px;
  border-radius: 4px;
  background: #f3e2ea;
}

/* ブランドバナー実素材。ランキングと同じ方針で枠寸法は変えず背景画像だけ差し込む。 */
.cmp__brand[data-brand] .cmp__banner {
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.cmp__brand[data-brand="dr-pilates"] .cmp__banner {
  background-image: url("../images/banner-dr.webp");
}

.cmp__brand[data-brand="dee"] .cmp__banner {
  background-image: url("../images/banner-dee.webp");
}

.cmp__brand[data-brand="1to1"] .cmp__banner {
  background-image: url("../images/banner-1to1.webp");
}

.cmp__brandname {
  color: var(--accent-dark);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
  white-space: nowrap;
}

.cmp__cta {
  padding: 6px 2px;
  font-size: 9.5px;
  line-height: normal;
}

.cmp__cta > span {
  text-align: left;
}

/* ----- 各行の値 ----- */
/* SP は icon / 値 / 注記を縦に並べるため wrapper を解消する */
.cmp__vrow {
  display: contents;
}

.cmp__icon {
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  text-align: left;
}

.cmp__icon--best {
  color: #e85298;
}

.cmp__icon--good {
  color: #5b9bd5;
}

.cmp__val {
  color: var(--text-primary);
  font-weight: 700;
  text-align: center;
}

.cmp__meta {
  color: var(--text-secondary);
  font-size: 8px;
  font-weight: 400;
  line-height: 12px;
  text-align: center;
}

.cmp__row--feat .cmp__box {
  height: 64px;
}

.cmp__feat {
  width: 100%;
  color: var(--text-primary);
  font-size: 9px;
  font-weight: 700;
  line-height: 13px;
  text-align: center;
}

.cmp__row--score .cmp__box {
  height: 44px;
}

.cmp__score {
  color: var(--accent-dark);
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  line-height: normal;
  text-align: left;
}

.cmp__row--google .cmp__box {
  height: 48px;
}

.cmp__row--google .cmp__val {
  color: var(--gold);
  font-size: 11.5px;
  line-height: 17px;
}

.cmp__row--trial .cmp__box {
  height: 56px;
}

.cmp__row--trial .cmp__val {
  font-size: 13px;
  line-height: 19px;
}

.cmp__row--trial .cmp__meta {
  font-size: 7.5px;
  line-height: 11px;
}

.cmp__row--month .cmp__box {
  height: 60px;
}

.cmp__row--month .cmp__val {
  font-size: 11.5px;
  line-height: 17px;
}

/* SP は体験レッスン（1・2位）と月4回の料金（1位）をアクセント色で強調 */
.cmp__row--trial > :nth-child(2) .cmp__val,
.cmp__row--trial > :nth-child(3) .cmp__val,
.cmp__row--month > :nth-child(2) .cmp__val {
  color: var(--accent-dark);
}

.cmp__row--per .cmp__box {
  height: 40px;
}

.cmp__per {
  color: var(--text-primary);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}

.cmp__row--style .cmp__box {
  height: 48px;
}

.cmp__style {
  color: var(--text-primary);
  font-size: 8.5px;
  font-weight: 700;
  line-height: 12px;
  text-align: center;
}

.cmp__row--access .cmp__box {
  height: 56px;
}

.cmp__access {
  color: var(--text-primary);
  font-size: 9px;
  font-weight: 700;
  line-height: 13px;
  text-align: center;
}

.cmp__storelink {
  color: var(--teal);
  font-size: 8.5px;
  font-weight: 700;
  line-height: normal;
  text-align: left;
  cursor: pointer;
}

.cmp__storelink:hover,
.cmp__storelink:focus-visible {
  text-decoration: underline;
}

.cmp__note {
  width: 100%;
  color: var(--text-secondary);
  font-size: 8.5px;
  font-weight: 400;
  line-height: 14px;
  text-align: left;
}

/* ===== PC-1440 ===== */
@media (min-width: 900px) {
  .sec--cmp {
    padding: 72px 0 80px;
  }

  .cmp {
    gap: 28px;
  }

  .cmp__title {
    gap: 8px;
  }

  .sec--cmp .sec-title__en {
    font-size: 13px;
    letter-spacing: 4px;
  }

  .sec--cmp .sec-title__ja {
    width: 100%;
    font-size: 32px;
    line-height: normal;
    white-space: normal;
  }

  .cmp__sub {
    width: 100%;
    font-size: 14px;
    text-align: center;
    white-space: normal;
  }

  .cmp__table {
    max-width: 1000px;
    min-width: 0;
    margin-inline: auto;
  }

  /* Pen の DivWrap は PC では左右 10px のインセット */
  .cmp__table th::after,
  .cmp__table td::after {
    right: 10px;
    left: 10px;
  }

  .cmp__box {
    gap: 0;
    padding: 0;
  }

  .cmp__corner .cmp__box,
  .cmp__label .cmp__box {
    gap: 4px;
    padding: 0;
  }

  .cmp__corner,
  .cmp__label {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: normal;
  }

  .cmp__corner {
    width: 140px;
  }

  .cmp__label-text {
    order: 0;
    text-align: left;
  }

  .cmp__tag {
    order: 1;
    height: 20px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
  }

  .cmp__row--head .cmp__box {
    height: 172px;
  }

  .cmp__brand .cmp__box {
    gap: 6px;
    padding: 10px 12px;
  }

  .cmp__pill {
    height: 22px;
    padding: 2px 14px;
    font-size: 12px;
  }

  .cmp__banner {
    height: 52px;
    border-radius: 6px;
  }

  .cmp__brandname {
    font-size: 14px;
    line-height: normal;
    text-align: left;
  }

  .cmp__cta {
    height: 40px;
    padding: 0;
    font-size: 13px;
  }

  /* PC は icon と値を横 1 行（gap 4px・fit-content）で中央に置く */
  .cmp__vrow {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    width: fit-content;
  }

  .cmp__icon {
    font-size: 20px;
  }

  .cmp__brsp {
    display: none;
  }

  .cmp__row--feat .cmp__box {
    height: 72px;
  }

  .cmp__feat {
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
  }

  .cmp__row--score .cmp__box {
    height: 52px;
  }

  /* Pen の Score セル（値側）だけは横並び・下端揃え・上下パディングあり */
  .cmp__row--score .cmp__cell .cmp__box {
    flex-direction: row;
    align-items: flex-end;
    gap: 4px;
    padding: 14px 0 12px;
  }

  .cmp__score {
    font-size: 22px;
  }

  .cmp__row--google .cmp__box {
    height: 52px;
  }

  .cmp__google {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    line-height: normal;
    text-align: left;
  }

  .cmp__row--trial .cmp__box {
    height: 64px;
  }

  .cmp__row--trial .cmp__val {
    font-size: 17px;
    line-height: normal;
    text-align: left;
  }

  .cmp__row--month .cmp__box {
    height: 68px;
  }

  .cmp__row--month .cmp__val {
    font-size: 15px;
    line-height: normal;
    text-align: left;
  }

  .cmp__row--trial > :nth-child(2) .cmp__val,
  .cmp__row--trial > :nth-child(3) .cmp__val,
  .cmp__row--month > :nth-child(2) .cmp__val {
    color: var(--text-primary);
  }

  .cmp__row--per .cmp__box {
    height: 48px;
  }

  .cmp__per {
    font-size: 13px;
    line-height: normal;
    text-align: left;
  }

  .cmp__row--style .cmp__box {
    height: 56px;
  }

  .cmp__style {
    font-size: 12px;
    line-height: normal;
    text-align: left;
  }

  .cmp__row--access .cmp__box {
    height: 64px;
  }

  .cmp__access {
    font-size: 12px;
    line-height: normal;
    text-align: left;
  }

  .cmp__note {
    max-width: 1000px;
    font-size: 11px;
    line-height: 19px;
    text-align: center;
  }
}

/* ===== 30-map.css ===== */
/* 地図から探す（エリア検索） PC:fDw9o / SP:jJQJp
   Pen 書き出しの実測値（PC 1440 / SP 390）に合わせている。
   Pen は line-height: normal なので、body の 1.6 をセクション内で打ち消す。 */

.sec--map {
  background: var(--bg-soft);
}

.sec__inner.map {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 20px;
  line-height: normal;
  text-align: left;
}

/* SectionTitle の節内上書き（Pen: SP 22px / PC 28px・En letter-spacing 3px・幅は内容幅） */
.map .sec-title {
  width: 100%;
  padding-inline: 0;
}

.map .sec-title__ja {
  font-size: 22px;
}

.map__count {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.map__row {
  display: contents;
}

.map__mapcard {
  width: 100%;
  max-width: 350px;
}

.map__kanto {
  position: relative;
  width: 100%;
  aspect-ratio: 455 / 390;
  border-radius: 16px;
  outline: 1px solid var(--line);
  outline-offset: -1px;
  background: var(--bg);
  overflow: hidden;
}

.map__kanto-label {
  position: absolute;
  top: 4.6154%;
  left: 5.0549%;
  color: #d9a0ac;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
}

/* ===== 都道府県タイル ===== */
.map__pref {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0;
  border-radius: 14px;
  background: #f8d7de;
  /* Pen は text-align: left（中央寄せは flex 側で行う）。button の UA 既定 center を打ち消す */
  text-align: left;
  transition: background-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.map__pref-name {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.map__pref-count {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
}

.map__pref:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
}

.map__pref:not(:disabled):hover,
.map__pref:not(:disabled):active {
  background: #f2a1bd;
}

.map__pref[aria-pressed="true"] {
  background: var(--accent);
}

.map__pref[aria-pressed="true"] .map__pref-name,
.map__pref[aria-pressed="true"] .map__pref-count {
  color: #fff;
}

.map__pref[aria-pressed="true"]:hover,
.map__pref[aria-pressed="true"]:active {
  background: var(--accent-dark);
}

.map__pref:disabled {
  cursor: default;
}

/* タイル配置（PC書き出し 455x390 を % 換算。SP 350x300 でも同値で一致を実測済み） */
.map__pref[data-pref="gunma"] {
  z-index: 1;
  top: 12.5641%;
  left: 5.7143%;
  width: 26.3736%;
  height: 19.2308%;
}

.map__pref[data-pref="tochigi"] {
  z-index: 2;
  top: 10%;
  left: 33.6264%;
  width: 26.3736%;
  height: 22.0513%;
}

.map__pref[data-pref="ibaraki"] {
  z-index: 3;
  top: 12.5641%;
  left: 61.7582%;
  width: 27.4725%;
  height: 24.6154%;
}

.map__pref[data-pref="saitama"] {
  z-index: 4;
  top: 35.8974%;
  left: 18.2418%;
  width: 42.8571%;
  height: 17.4359%;
}

.map__pref[data-pref="chiba"] {
  z-index: 5;
  top: 40%;
  left: 63.5165%;
  width: 26.3736%;
  height: 33.3333%;
}

.map__pref[data-pref="tokyo"] {
  z-index: 6;
  top: 57.4359%;
  left: 21.7582%;
  width: 35.3846%;
  height: 20%;
}

.map__pref[data-pref="kanagawa"] {
  z-index: 7;
  top: 80%;
  left: 11.4286%;
  width: 41.7582%;
  height: 16.6667%;
}

/* ===== 右（SPでは下）の説明＋一覧 ===== */
.map__side {
  display: contents;
}

.map__hint--sp {
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 400;
}

.map__hint--pc {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
}

.map__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 18px 16px;
  border-radius: 16px;
  outline: 1px solid var(--line);
  outline-offset: -1px;
  background: var(--bg);
}

.map__list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.map__list-title {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
}

.map__list-total {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.map__group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.map__group-head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.map__group-bar {
  flex-shrink: 0;
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--accent);
}

.map__group-name {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
}

.map__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.map__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 999px;
  outline: 1.5px solid #f3c2cf;
  outline-offset: -0.75px;
  background: var(--bg);
  transition: background-color 0.2s ease, outline-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.map__chip-name {
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
}

.map__chip-count {
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
}

.map__chip:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
}

a.map__chip:hover,
a.map__chip:active {
  outline-color: var(--accent);
  background: var(--bg-soft);
}

.map__chip--disabled {
  outline-color: var(--line);
  background: var(--bg-cream);
  pointer-events: none;
}

.map__chip--disabled .map__chip-name,
.map__chip--disabled .map__chip-count {
  color: #b9a7ad;
}

.map__note {
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 400;
}

/* 都道府県を選ぶと「表示例です」の注記は不要になる */
.map__note.is-hidden {
  display: none !important;
}

/* ===== SP-390 ===== */
/* Pen の SP では一覧内のグループ順が PC と異なる（中央線・城東エリアが2番目）。
   .map__row / .map__side を display: contents で畳んだうえで、
   JS が書き込む --ord-sp（PCは未使用）で並び替える。 */
@media (max-width: 899px) {
  .map__list > * {
    order: var(--ord-sp, 50);
  }

  .map__note {
    --ord-sp: 90;
  }
}

/* ===== PC-1440 ===== */
@media (min-width: 900px) {
  .sec__inner.map {
    gap: 28px;
    padding: 64px 180px;
  }

  .map .sec-title {
    width: auto;
  }

  .map .sec-title__en {
    letter-spacing: 3px;
  }

  .map .sec-title__ja {
    width: auto;
    font-size: 28px;
    text-align: left;
  }

  .map__count {
    font-size: 14px;
  }

  .map__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    width: 100%;
  }

  .map__mapcard {
    display: flex;
    flex: 0 0 560px;
    align-items: center;
    justify-content: center;
    height: 420px;
    max-width: none;
    border-radius: 16px;
    background: var(--bg);
  }

  .map__kanto {
    width: 455px;
    height: 390px;
    aspect-ratio: auto;
  }

  .map__kanto-label {
    font-size: 13px;
  }

  .map__pref-name {
    font-size: 15px;
  }

  .map__pref-count {
    font-size: 11px;
  }

  .map__side {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
  }

  .map__list {
    padding: 24px;
  }

  .map__list-title {
    font-size: 18px;
  }

  .map__chip-name {
    font-size: 13px;
  }

  .map__chip-count {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .map__pref,
  .map__chip {
    transition: none;
  }
}

/* ===== 35-studios.css ===== */
/* ===== エリア別スタジオ一覧（SP: EbisuList Qj4O1 / PC: PC_EbisuList hbUJL） ===== */
.sec--studio {
  background: var(--bg-soft);
}

.studio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 20px 40px;
}

/* --- エリア見出しバー --- */
.studio__header {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
}

.studio__pin {
  flex-shrink: 0;
  /* Pen: SP は 16px の 📍 グリフで占有幅 20px（見出し開始 x=64）、PC は 20px の location_on */
  width: 20px;
  height: 20px;
}

.studio__title {
  flex: 1 1 auto;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: normal;
}

.studio__count {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
}

/* --- カード --- */
.studio__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.studio__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: 0 2px 12px rgba(226, 87, 142, 0.13);
}

.studio__head {
  order: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 16px 10px;
}

.studio__badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
}

.studio__badge.only-sp {
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio__name {
  flex: 1 1 0;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}

.studio__img {
  order: 2;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.studio__tags {
  order: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  padding: 12px 16px 0;
}

/* .only-pc / .only-sp の display:block を flex 要素で上書きし直す */
.studio__tags.only-pc {
  display: none;
}

/* Pen のタグ文字（SP ifnpa / PC x1ieH ほか）は fontSize 10 / 実寸 h=14 で、
   親 chip は上下 padding 4px ぶんの h=22。line-height:normal は Noto Sans JP で
   15px になり chip が 23px に膨らむため、PC/SP とも Pen の行高を明示値で固定する */
.studio__tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
}

.studio__catch {
  order: 4;
  width: 100%;
  padding: 0 16px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 20px;
}

.studio__statswrap {
  order: 5;
  width: 100%;
  padding: 12px 16px 0;
}

/* Pen の StStats（SP B5HdHs ほか）は alignItems / height の宣言がなく、3つの枠は
   各自の内容で hug する（SP実寸 アクセス57 / 体験60 / 料金60・1to1恵比寿のみ58）。
   flex 既定の stretch では最も高い枠に揃ってしまうため start にする */
.studio__stats {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.studio__stat {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 10px 4px;
  border-radius: 10px;
  background: var(--bg-cream);
}

.studio__stat:nth-child(2) {
  background: var(--bg-soft);
}

/* Pen の Statラベル（PC U5Vq1 ほか / SP 同等）は fontSize 10 / 実寸 h=14。
   line-height:normal は Noto Sans JP で 15px になり、値の上辺が Pen より 1px 下がる */
.studio__stat-label {
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 400;
  line-height: 14px;
  text-align: center;
}

/* Pen の Stat値（PC O0nZR ほか / SP 体験・料金）は fontSize 15 / 実寸 h=22 */
.studio__stat-value {
  width: 100%;
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

/* Pen SP のアクセス値は fontSize 13 / 実寸 h=19（枠高 10+14+4+19+10 = 57） */
.studio__stat:first-child .studio__stat-value {
  color: var(--text-primary);
  font-size: 13px;
  line-height: 19px;
}

/* Pen SP の 1to1恵比寿の料金値(NIBOi)だけ fontSize 14 / 実寸 h=20（枠高 58）。
   270個の Stat値のうちこの1件のみの例外で、PC 側(z6dM1 の料金値)は 15/22 のまま */
.studio__stat-value--sp14 {
  font-size: 14px;
  line-height: 20px;
}

/* Pen の注記（SP emeOs / PC toK5H）は fontSize 10 / 1行 h=14、2行（SP dCUoS / PC o7kBOf）h=28。
   line-height:normal では 15px/行になり、カード高が Pen から 1px/行ずれる */
.studio__note {
  order: 6;
  width: 100%;
  padding: 0 16px;
  color: var(--text-secondary);
  font-size: 10px;
  line-height: 14px;
}

.studio__foot {
  order: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 12px 16px 18px;
}

.studio__micro {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}

/* Pen SP(CTA fIwmP): 実寸 h=50、中のテキスト(BzoE6)は fontSize 14 / h=20、上下 padding 15px。
   cta-btn--md の既定は行高1.4（19.6px）＋上下padding13pxで45.594pxになるため、
   Pen の行高と余白を明示する。.studio__cta は cta-btn--md と同じ要素に付くので
   ヒーロー・ランキング・クロージングのCTAには影響しない。左右24pxは既定のまま維持する */
.studio__cta {
  padding-top: 15px;
  padding-bottom: 15px;
  font-size: 14px;
  line-height: 20px;
}

.studio__cta-ic {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.studio__disclaimer {
  width: 100%;
  color: var(--text-secondary);
  font-size: 10px;
  line-height: 16px;
}

@media (min-width: 900px) {
  .studio {
    gap: 20px;
    /* Pen PC-1440 の左右180pxを維持しつつ900px幅でも崩れないようにする */
    padding: 0 clamp(20px, 12.5%, 180px) 64px;
  }

  .studio__header {
    padding: 14px 24px;
    border-radius: 12px 12px 0 0;
  }

  .studio__pin {
    width: 20px;
    height: 20px;
  }

  .studio__title {
    flex: 0 1 auto;
    font-family: var(--font-body);
    font-size: 16px;
  }

  /* Pen PC(ListTitle riqGD): 件数と注記まで含めて 1 要素・nowrap */
  .studio__title.only-pc {
    white-space: nowrap;
  }

  .studio__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    /* Pen PC(StoreCards w8xTDA): layout/alignItems/height の宣言なし。
       カード3枚は y=0 で高さ hug（474/474/488）、容器高488は最も高いカードの結果。
       つまり承認Penは行内の高さ揃えを宣言していないため grid 既定の stretch を外す。 */
    align-items: start;
    gap: 20px;
  }

  .studio__card {
    /* Pen のカードは height 指定なし＝内容で hug。height:100% は付けない */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  .studio__head {
    order: 2;
    gap: 0;
    padding: 18px 18px 0;
  }

  .studio__badge.only-sp {
    display: none;
  }

  /* Pen PC(StName mAfHg): fontSize 16 / 実寸 h=23。line-height:normal はフォント依存で
     Noto Sans JP だと 24px になるため、Pen の実寸を明示値で固定する */
  .studio__name {
    font-family: var(--font-body);
    line-height: 23px;
  }

  .studio__img {
    order: 1;
    height: 160px;
  }

  .studio__tags {
    padding: 10px 18px 0;
  }

  .studio__tags.only-sp {
    display: none;
  }

  .studio__tags.only-pc {
    display: flex;
  }

  .studio__catch {
    padding: 10px 18px 0;
  }

  .studio__statswrap {
    padding: 10px 18px 0;
  }

  .studio__stats {
    gap: 0;
    padding: 10px 0;
    border-radius: 10px;
    background: var(--bg-cream);
  }

  .studio__stat,
  .studio__stat:nth-child(2) {
    gap: 2px;
    padding: 0 6px;
    border-radius: 0;
    background: none;
  }

  .studio__stat + .studio__stat {
    border-left: 1px solid var(--line);
  }

  /* Pen PC の3列はいずれも fontSize 15 / 実寸 h=22。PC は枠の padding が 0 6px なので
     Stat 枠は 14+2+22 = 38（外側 StStats の padding 10+10 を足して 58）。
     SP 専用の 13/19 と 1to1恵比寿の 14/20 をここで PC の 15/22 に戻す */
  .studio__stat:first-child .studio__stat-value,
  .studio__stat-value--sp14 {
    font-size: 15px;
    line-height: 22px;
  }

  .studio__stat:first-child .studio__stat-value {
    color: var(--accent-dark);
  }

  .studio__note {
    padding: 10px 18px 0;
  }

  .studio__foot {
    /* Pen はカードを hug させるため余った高さがない。margin-top:auto は付けない
       （付けると注記とCTAの間に Pen にない余白が入る） */
    gap: 10px;
    padding: 10px 18px 18px;
  }

  /* Pen PC(StCTA IOL2i): 実寸 h=45、中のテキスト(F0htAQ)は fontSize 13 / h=19、
     上下 padding 13px。SP の 15/20/15 をここで PC の 13/19/13 に戻す */
  .studio__cta {
    padding-top: 13px;
    padding-bottom: 13px;
    font-size: 13px;
    line-height: 19px;
  }

  /* Pen PC(StMicro B4VVl4): width 指定なし＝文字幅で hug、親 StBody(o3TqL) も
     alignItems 指定なし＝子は左端から並ぶ。よってカード左端+18px が開始位置。
     SP の foot 相当フレーム(V3Iyl)は alignItems:center を明示しているため
     ベースの中央配置は維持し、左寄せは PC のみに適用する。 */
  .studio__micro {
    align-self: flex-start;
    color: var(--accent-dark);
    text-align: left;
  }

  .studio__disclaimer {
    font-size: 11px;
    line-height: normal;
  }
}

/* ===== 40-worries.css ===== */
/* ===== Worries（こんなお悩み、ありませんか？） ===== */

.sec--worry {
  background: var(--bg);
}

.worry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 20px;
}

/* --- SP: 1行1悩みのリスト --- */
.worry__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.worry__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-soft);
}

.worry__check {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.worry__row-txt {
  flex: 1 1 0;
  margin: 0;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
}

/* --- SP: 回答 --- */
.worry__answer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding-top: 8px;
}

.worry__answer-lead {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
}

.worry__answer-pill {
  margin: 0;
  padding: 4px 10px;
  background: var(--highlight);
  color: var(--accent-dark);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
}

@media (min-width: 900px) {
  .worry {
    gap: 28px;
    padding: 64px 180px;
  }

  /* --- PC: 2×2 の Q&A カード --- */
  .worry__grid.only-pc {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    width: 100%;
  }

  .worry__card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
    border-radius: 14px;
    background: var(--bg-cream);
  }

  .worry__chk {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--accent);
  }

  .worry__chk svg {
    width: 14px;
    height: 14px;
  }

  .worry__body {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 6px;
  }

  .worry__q {
    margin: 0;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
  }

  .worry__a {
    margin: 0;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
  }

  /* --- PC: 回答 --- */
  .worry__answer-pc {
    width: fit-content;
    margin: 0;
    padding: 10px 28px;
    border-radius: 8px;
    background: var(--highlight);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
  }
}

/* ===== 45-about.css ===== */
/* ===== About（マシンピラティスとは？） ===== */

.sec--about {
  background: var(--bg-cream);
}

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 20px;
}

.about__top {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.about__image {
  width: 100%;
  height: 180px;
  border-radius: 16px;
  /* url() はこの CSS（site/css/style.css）基準で解決されるため ../ が必要 */
  background-image: url("../images/about.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.about__intro {
  width: 100%;
  margin: 0;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 400;
  line-height: 25px;
}

/* --- 比較表 --- */
.about__table-wrap {
  width: 100%;
  overflow-x: auto;
}

/* 80-page.css の .about__table（下層ページの dl 用／display:flex）に
   後述順で負けないよう、LP の比較表は 2 クラス指定で表レイアウトを固定する。 */
.about__table-wrap .about__table {
  display: table;
  width: 100%;
  /* Pen は outline（レイアウト幅を食わない 1px 枠）なので列幅を 100% のまま保つ */
  outline: 1px solid var(--line);
  outline-offset: -1px;
  border-radius: 16px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.06);
  table-layout: fixed;
}

.about__th-blank {
  width: 88px;
  background: var(--bg);
  border-top-left-radius: 16px;
}

.about__th {
  height: 52px;
  padding: 6px;
  vertical-align: middle;
  text-align: center;
}

.about__th--machine {
  background: var(--accent-dark);
}

.about__th--machine .about__rec-pill {
  display: inline-block;
  margin-bottom: 3px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.4;
}

.about__th-name {
  display: block;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 17px;
  white-space: nowrap;
}

.about__th--mat {
  background: #f3f0f2;
  border-top-right-radius: 16px;
}

.about__mat-name {
  display: inline-block;
  color: #8a7a80;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 16px;
  white-space: nowrap;
}

.about__row-label {
  width: 88px;
  height: 63px;
  background: var(--bg-cream);
  border-top: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.about__label-txt {
  display: inline-block;
  color: var(--text-primary);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 16px;
  white-space: nowrap;
}

.about__cell {
  height: 63px;
  padding: 6px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
  text-align: center;
}

.about__cell--good {
  background: var(--bg-soft);
}

.about__cell--bad {
  background: var(--bg);
}

/* Pen の VCell は flex（SP: 縦並び gap 3px） */
.about__cell-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.about__cell-ic {
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.about__cell-ic--bad {
  width: 16px;
  height: 16px;
}

.about__cell-txt {
  display: block;
  white-space: nowrap;
}

.about__cell--good .about__cell-txt {
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
}

.about__cell--bad .about__cell-txt {
  color: var(--text-secondary);
  font-size: 9.5px;
  font-weight: 400;
  line-height: 14px;
}

.about__foot {
  padding: 12px;
  border-top: 1px solid var(--line);
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 16px;
  text-align: center;
}

.about__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid #c9eae6;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: 0 2px 8px var(--cta-shadow);
}

.about__badge-ic {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--teal);
}

.about__badge-ic svg {
  width: 12px;
  height: 12px;
}

.about__badge-txt {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  text-align: left;
}

.about__badge-txt-lead,
.about__badge-txt-strong {
  font-family: var(--font-body);
  font-size: 11px;
  line-height: normal;
  white-space: nowrap;
}

.about__badge-txt-lead {
  color: #4a8f8a;
  font-weight: 500;
}

.about__badge-txt-strong {
  color: #157a74;
  font-weight: 700;
}

/* --- 効果カード --- */
.about__effects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}

.about__effect {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.about__effect-no {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.about__effect-rule {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--gold);
}

.about__effect-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1.5px solid var(--accent-soft);
  border-radius: 999px;
  background: var(--bg-soft);
}

.about__effect-icon svg {
  width: 26px;
  height: 26px;
}

.about__effect-title {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  text-align: center;
}

.about__effect-bar {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-soft);
}

.about__effect-txt {
  width: 100%;
  margin: 0;
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 400;
  line-height: 17px;
  text-align: center;
}

@media (min-width: 900px) {
  .about {
    gap: 32px;
    padding: 64px 180px;
  }

  .about__top {
    flex-direction: row;
    align-items: center;
    gap: 36px;
  }

  .about__image {
    flex-shrink: 0;
    width: 420px;
    height: 280px;
  }

  .about__intro.only-pc {
    flex: 1 1 0;
    font-size: 14px;
    line-height: 28px;
  }

  /* --- PC 比較表（Pen: PC_VsTable sDi8E 幅760px） --- */
  .about__table-wrap.only-pc {
    display: block;
    width: 100%;
    max-width: 760px;
  }

  /* 基底側が 2 クラス指定になったので PC 上書きも同じ強さにする */
  .about__table-wrap .about__table--pc {
    box-shadow: none;
  }

  .about__table--pc .about__th-blank {
    width: 140px;
  }

  .about__table--pc .about__th {
    height: 64px;
    padding: 0;
  }

  /* Pen: VCell は縦並び gap 4px。インライン行ボックスの影響を受けないよう
     RecPill をブロック化して中央寄せする */
  .about__table--pc .about__th--machine .about__rec-pill {
    display: block;
    width: fit-content;
    margin: 0 auto 4px;
    padding: 2px 10px;
    font-size: 10px;
    line-height: normal;
  }

  .about__table--pc .about__th-name {
    font-size: 15px;
    line-height: normal;
  }

  .about__table--pc .about__mat-name {
    font-size: 13.5px;
    line-height: normal;
  }

  .about__table--pc .about__row-label {
    width: 140px;
    /* Pen: VCell 60px + 区切り線 1px */
    height: 61px;
  }

  .about__table--pc .about__label-txt {
    font-size: 13px;
    line-height: normal;
  }

  .about__table--pc .about__cell {
    height: 61px;
    padding: 0;
  }

  /* Pen: VCell は横並び gap 6px・中央寄せ（padding なし） */
  .about__table--pc .about__cell-inner {
    display: inline-flex;
    flex-direction: row;
    gap: 6px;
    vertical-align: middle;
  }

  .about__table--pc .about__cell-ic {
    width: 20px;
    height: 20px;
  }

  .about__table--pc .about__cell-ic--bad {
    width: 16px;
    height: 16px;
  }

  .about__table--pc .about__cell--good .about__cell-txt {
    font-size: 12.5px;
    line-height: normal;
  }

  .about__table--pc .about__cell--bad .about__cell-txt {
    font-size: 11.5px;
    line-height: normal;
  }

  .about__table--pc .about__foot {
    padding: 14px;
  }

  .about__table--pc .about__badge-ic {
    width: 24px;
    height: 24px;
  }

  .about__table--pc .about__badge-ic svg {
    width: 14px;
    height: 14px;
  }

  .about__table--pc .about__badge-txt-lead,
  .about__table--pc .about__badge-txt-strong {
    font-size: 13.5px;
  }

  /* --- PC 効果カード --- */
  .about__effects {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1080px;
  }

  .about__effect {
    gap: 10px;
    padding: 24px 16px;
    box-shadow: none;
  }

  .about__effect-no {
    gap: 8px;
    font-size: 12px;
  }

  .about__effect-rule {
    width: 18px;
  }

  .about__effect-icon {
    width: 60px;
    height: 60px;
  }

  .about__effect-icon svg {
    width: 28px;
    height: 28px;
  }

  .about__effect-title {
    font-size: 16.5px;
  }

  .about__effect-bar {
    width: 28px;
  }

  .about__effect-txt {
    font-size: 11.5px;
    line-height: 20px;
  }
}

/* ===== 50-howtochoose.css ===== */
/* ===== HowToChoose（失敗しないスタジオの選び方） ===== */

.sec--choose {
  background: var(--bg);
}

.choose {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 20px;
}

.choose__list {
  width: 100%;
}

/* --- SP: 縦積みカード --- */
.choose__list.only-sp {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.choose__list.only-sp .choose__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 18px 16px;
  border-radius: 14px;
  background: var(--bg-soft);
}

.choose__head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.choose__list.only-sp .choose__no {
  flex-shrink: 0;
  color: var(--accent-soft);
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.choose__list.only-sp .choose__title {
  flex: 1 1 0;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 21px;
}

.choose__list.only-sp .choose__desc {
  width: 100%;
  margin: 0;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 400;
  line-height: 22px;
}

@media (min-width: 900px) {
  .choose {
    gap: 28px;
    padding: 64px 180px;
  }

  /* --- PC: 横4列カード --- */
  .choose__list.only-pc {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
  }

  .choose__list.only-pc .choose__card {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-radius: 14px;
    background: var(--bg-cream);
  }

  .choose__list.only-pc .choose__no {
    color: var(--accent-soft);
    font-family: var(--font-en);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
  }

  .choose__list.only-pc .choose__title {
    margin: 0;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    line-height: 23px;
  }

  .choose__list.only-pc .choose__desc {
    width: 100%;
    margin: 0;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 400;
    line-height: 22px;
  }
}

/* ===== 55-faq.css ===== */
/* ============================================
   FAQ（よくある質問 / Q&A）
   SP: Pen SP-390 FAQ(SGOoK) / PC: Pen PC_FAQ(ukR5r)
   ============================================ */

.sec--faq {
  background: var(--bg-cream);
}

.faq {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 40px 20px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-inline: auto;
}

/* Pen SP Faq: 白カード＋内側 1px ライン（outline-offset -0.5px）、角丸 12px */
.faq__item {
  width: 100%;
  background: var(--bg);
  border-radius: 12px;
  outline: 1px solid var(--line);
  outline-offset: -0.5px;
  overflow: hidden;
}

.faq__q-text {
  width: 100%;
  font-size: inherit;
  font-weight: inherit;
}

.faq__q {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
}

.faq__q:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: -2px;
}

.faq__q-mark {
  flex-shrink: 0;
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
}

.faq__q-label {
  flex: 1 1 0;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
}

/* ＋／− アイコン。開いている間は Pen と同じ「−」1本、閉じると「＋」になるよう
   縦棒だけを回転させる。ボックス寸法は Pen の QIc に合わせる
   （SP: 16px/700 の「−」= 9×24px、PC: 18×18px の remove アイコン） */
.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 9px;
  height: 24px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 2px;
  border-radius: 1px;
  background: var(--accent-soft);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(-90deg);
}

.faq__q[aria-expanded="true"] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* 回答パネル（grid-template-rows 0fr → 1fr で開閉） */
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.25s ease,
    opacity 0.25s ease;
}

.faq__a.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq__a-inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 0;
  overflow: hidden;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  transition:
    margin 0.25s ease,
    padding 0.25s ease,
    border-width 0.25s ease;
}

/* 0fr のトラックは中身の min-content（padding・border・margin を含む）を下限に
   するため、閉じている間はそれらも 0 にしないと余白が残る */
.faq__a:not(.is-open) .faq__a-inner {
  margin-top: 0;
  padding-block: 0;
  border-top-width: 0;
}

.faq__a-mark {
  flex-shrink: 0;
  color: var(--teal);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
}

.faq__a-text {
  flex: 1 1 0;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 400;
  line-height: 22px;
}

@media (prefers-reduced-motion: reduce) {
  .faq__a,
  .faq__a-inner,
  .faq__icon::before,
  .faq__icon::after {
    transition: none;
  }
}

/* ---- PC ---- */
@media (min-width: 900px) {
  .sec--faq {
    background: var(--bg-soft);
  }

  /* Pen PC_FAQ: padding 64px 320px（= 1440 幅で内容 800px）、gap 28px */
  .faq {
    gap: 28px;
    padding: 64px 20px;
  }

  .faq__list {
    gap: 12px;
    max-width: 800px;
  }

  /* Pen PC Faq: カード自身が padding 16px 20px、Q と A の間は gap 12px。
     枠線なし（SP の outline は出さない） */
  .faq__item {
    outline: none;
    padding: 16px 20px;
  }

  .faq__q {
    padding: 0;
  }

  .faq__q-label {
    font-size: 14px;
    line-height: 21px;
  }

  .faq__icon {
    width: 18px;
    height: 18px;
  }

  .faq__icon::before,
  .faq__icon::after {
    width: 8.25px;
    height: 0.75px;
    border-radius: 0.5px;
    background: var(--accent);
  }

  /* margin-top が Pen の gap 12px。閉じている間は行の高さが 0 になるため余白は出ない */
  .faq__a-inner {
    margin-top: 12px;
    padding: 12px 0 0;
    background: transparent;
  }

  .faq__a-text {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 23px;
  }
}

/* ===== 60-closing.css ===== */
/* ============================================
   クロージングCTA
   ============================================ */

.sec--closing {
  background: var(--accent);
}

.closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 44px 20px;
  text-align: center;
}

.closing__eyebrow {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.closing__title {
  width: 100%;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.62;
}

.closing__desc {
  width: 100%;
  color: #fff5f8;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.83;
}

.closing__cta {
  width: 100%;
  max-width: 420px;
  /* Pen: SP 15px（WjlRr）/ PC 17px（ClCTATxt） */
  font-size: 15px;
}

.closing__cta-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* ---- PC ---- */
@media (min-width: 900px) {
  .closing {
    gap: 20px;
    padding: 72px 20px;
  }

  .closing__title {
    font-size: 32px;
    line-height: 1.4;
  }

  .closing__desc {
    color: #ffe3ef;
    font-size: 15px;
    line-height: 1.93;
  }

  .closing__cta {
    width: auto;
    max-width: none;
    font-size: 17px;
  }
}

/* ===== 65-rank-criteria.css ===== */
/* RankCriteria（SP: RankCriteriaSection LV4hs / PC: PC_RankCriteriaSection vkN3w） */

.sec--crit {
  background: var(--bg);
}

.crit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 16px 32px;
}

.crit__box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: var(--bg-soft);
}

.crit__title,
.crit__subtitle {
  width: 100%;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: normal;
  text-align: left;
}

.crit__lead,
.crit__items,
.crit__notes {
  width: 100%;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  line-height: normal;
  text-align: left;
}

@media (min-width: 900px) {
  .crit {
    padding: 56px min(180px, 12.5%) 64px;
  }

  .crit__box {
    padding: 18px;
  }

  .crit__title,
  .crit__subtitle {
    font-size: 14px;
  }

  .crit__lead,
  .crit__items,
  .crit__notes {
    font-size: 12px;
  }
}

/* ===== 70-footer.css ===== */
/* ============================================
   フッター
   ============================================ */

.ftr {
  width: 100%;
  background: #4a3a40;
}

.ftr__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  /* 下余白はスティッキーCTAぶんの逃げ（Pen SP: padding-bottom 110px） */
  padding: 32px 20px 110px;
  text-align: center;
}

.ftr__logo {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
}

.ftr__tagline {
  color: #c9bdc2;
  font-size: 10px;
  font-weight: 400;
}

.ftr__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.ftr__link {
  color: #c9bdc2;
  font-size: 10px;
  font-weight: 400;
}

.ftr__link:hover,
.ftr__link:focus-visible {
  color: #ffffff;
}

.ftr__note {
  width: 100%;
  color: #a8989e;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.55;
}

.ftr__copyright {
  color: #a8989e;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 400;
}

/* ---- PC ---- */
@media (min-width: 900px) {
  .ftr__inner {
    gap: 20px;
    padding: 48px 20px;
  }

  .ftr__logo {
    font-size: 20px;
  }

  .ftr__links {
    gap: 28px;
  }

  .ftr__link {
    color: #d8cdd1;
    font-size: 12px;
  }

  .ftr__note {
    color: #b9aab0;
    font-size: 11px;
    line-height: 1.6;
  }

  .ftr__copyright {
    color: #b9aab0;
    font-family: var(--font-body);
    font-size: 11px;
  }
}

/* ===== 80-page.css ===== */
/* 下層ページ共通スタイル */

/* ===== Page Layout ===== */
.page {
  width: 100%;
}

.page__inner {
  width: 100%;
  margin-inline: auto;
  padding-inline: 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 900px) {
  .page__inner {
    padding-inline: 340px;
    gap: 24px;
  }
}

/* ===== Page Title ===== */
.page__title {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin: 0;
}

@media (min-width: 900px) {
  .page__title {
    font-size: 26px;
  }
}

/* ===== About Us Page ===== */
.about__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 900px) {
  .about__content {
    gap: 18px;
  }
}

.about__box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

@media (min-width: 900px) {
  .about__box {
    padding: 24px;
  }
}

.about__table {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.about__row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .about__row {
    gap: 24px;
    padding: 14px 0;
  }
}

.about__row--last {
  border-bottom: none;
}

.about__label {
  flex-shrink: 0;
  width: 92px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}

@media (min-width: 900px) {
  .about__label {
    width: 160px;
    font-size: 13px;
  }
}

.about__value {
  flex: 1;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 900px) {
  .about__value {
    font-size: 13px;
  }
}

.about__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px 0;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
}

@media (min-width: 900px) {
  .about__heading {
    gap: 10px;
    margin-bottom: 10px;
    font-size: 15px;
  }
}

.about__heading::before {
  content: "";
  flex-shrink: 0;
  width: 3px;
  height: 14px;
  background: var(--accent);
  border-radius: 2px;
}

@media (min-width: 900px) {
  .about__heading::before {
    width: 4px;
    height: 16px;
  }
}

.about__text {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  margin: 0;
}

@media (min-width: 900px) {
  .about__text {
    font-size: 13px;
  }
}

/* ===== Ad Policy Page ===== */
.adpolicy__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 900px) {
  .adpolicy__content {
    gap: 18px;
  }
}

.adpolicy__box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

@media (min-width: 900px) {
  .adpolicy__box {
    padding: 24px;
  }
}

.adpolicy__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px 0;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
}

@media (min-width: 900px) {
  .adpolicy__heading {
    gap: 10px;
    margin-bottom: 10px;
    font-size: 15px;
  }
}

.adpolicy__heading::before {
  content: "";
  flex-shrink: 0;
  width: 3px;
  height: 14px;
  background: var(--accent);
  border-radius: 2px;
}

@media (min-width: 900px) {
  .adpolicy__heading::before {
    width: 4px;
    height: 16px;
  }
}

.adpolicy__text {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  margin: 0;
}

@media (min-width: 900px) {
  .adpolicy__text {
    font-size: 13px;
  }
}

/* ===== Privacy Policy Page ===== */
.privacy__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 900px) {
  .privacy__content {
    gap: 18px;
  }
}

.privacy__box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

@media (min-width: 900px) {
  .privacy__box {
    padding: 24px;
  }
}

.privacy__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px 0;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
}

@media (min-width: 900px) {
  .privacy__heading {
    gap: 10px;
    margin-bottom: 10px;
    font-size: 15px;
  }
}

.privacy__heading::before {
  content: "";
  flex-shrink: 0;
  width: 3px;
  height: 14px;
  background: var(--accent);
  border-radius: 2px;
}

@media (min-width: 900px) {
  .privacy__heading::before {
    width: 4px;
    height: 16px;
  }
}

.privacy__text {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  margin: 0;
}

@media (min-width: 900px) {
  .privacy__text {
    font-size: 13px;
  }
}
