/* 枠付きリンクの矢印を、文字の行数によらず上下中央に配置。 */
.button::after{top:50%;right:15px;bottom:auto;transform:translateY(-50%);line-height:1;margin:0;pointer-events:none}
/* よく変更する基本設定。13pt = 約17.33px（13pxではありません）。 */
:root{
  --font-body:'Noto Sans JP','Noto Sans','Yu Gothic',sans-serif;
  --font-en:'Jost','Noto Sans JP',sans-serif;
  --base-font-size:13pt;
  --page-color:#ffffff;
  --accent:#759b90;
  --ink:#48544f;
  --background:#edf0ec;
  --content-width:500px;
}
body{font-family:var(--font-body);font-size:var(--base-font-size);line-height:1.8}
body .main{font-size:var(--base-font-size);letter-spacing:.03em;line-height:1.8}
body .main p,body .main .button,body .main .feature-copy p,body .main .trial-copy p,body .main .brand-card p,body .main .plan-description,body .main .news-list a,body .main .interview-card p{font-family:var(--font-body);font-size:var(--base-font-size);line-height:1.8;letter-spacing:.03em;white-space:normal;word-break:normal;overflow-wrap:break-word}
body .main .section-title p{font-size:var(--base-font-size);line-height:1.65}
.hero-copy h1{white-space:normal}
body .main .price-note,body .main .voice-note,body .main .voice-source{font-size:10pt;line-height:1.7}
.plan{height:auto;min-height:280px}
.plan h3{overflow-wrap:break-word}
.recommend-card{height:190px}
body .main .recommend-card p{font-size:11pt;line-height:1.7;padding:8px;text-wrap:balance}
.studio-visual p{padding:20px;text-align:center;text-wrap:balance}
.hero-copy{padding:30px 25px}
/* 画面内に入ったとき、左・右・下から一度だけ表示。HTMLのdata-revealで方向を選択。 */
[data-reveal]{transition:opacity .85s ease,transform .85s cubic-bezier(.2,.65,.3,1)}
.reveal-wait{opacity:0;transform:translateY(32px)}
[data-reveal=left].reveal-wait{transform:translateX(-32px)}
[data-reveal=right].reveal-wait{transform:translateX(32px)}
.revealed{opacity:1;transform:none}
/* Interview：次のカードが少し見える横スライド。JS無効時も手動スクロールできます。 */
.main .interview{padding:60px 0}
.interview-slider{position:relative;min-width:0}
.interview-track{position:relative;display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:25px;padding:8px 25px 20px;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#afc8be transparent}
.interview-track .interview-card{flex:0 0 88%;min-width:0;margin:0;border:1px solid var(--accent);border-radius:18px;background:#fff;padding:24px;scroll-snap-align:start;box-shadow:0 5px 18px #425e4710}
.interview-track .interview-card:last-child{margin-right:12%}
.interview-card h3{font-size:15pt;line-height:1.6;color:var(--accent);margin:12px 0}
.voice-tag{display:inline-block;background:var(--accent);color:white;font-size:10pt;padding:2px 10px}
.voice-source{display:block;margin-top:18px;text-decoration:underline;text-underline-offset:3px;color:#576b61}
.interview-controls{display:flex;align-items:center;justify-content:center;gap:14px;padding:10px 20px;flex-wrap:wrap}
.interview-controls button{border:1px solid #c0cdc5;background:white;border-radius:50%;width:36px;height:36px;padding:0}
.voice-dots{display:flex;gap:12px;align-items:center}
.voice-dots button.dot{width:9px;height:9px;background:#d4dfd8;border:0}
.voice-dots button[aria-current=true]{background:var(--accent)}
.interview-controls .voice-pause{width:auto;height:auto;padding:5px 12px;border-radius:20px;font-size:10pt}
body .main .voice-note{padding:0 25px;margin-top:12px}
@media(max-width:380px){.interview-track .interview-card{flex-basis:94%;padding:20px}.interview-card h3{font-size:14pt}.recommend-grid{gap:5px}body .main .recommend-card p{font-size:10pt}}
@media(prefers-reduced-motion:reduce){[data-reveal],.reveal-wait,[data-reveal=left].reveal-wait,[data-reveal=right].reveal-wait{opacity:1;transform:none;transition:none}.interview-track{scroll-behavior:auto}}

/* 体験予約ボタンの色 */
.button.button-fill {
  background: #77b59f;   /* 背景色 */
  color: #ffffff;        /* 文字・矢印の色 */
  border-color: #80b5a5; /* 枠線の色 */
  box-shadow:3px 3px 6px rgba(0,0,0,0.3);
}

/* マウスを乗せたとき */
.button.button-fill:hover {
  background: #478b73;
  color: #ffffff;
  border-color: #659887;
}
.main .font-mincho {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
}
h3.translation{
font-weight:400;
}
.translation-sub{
font-size:17px !important;
}
p.kaiin{
font-size:22px !important;
}
p.kaiin .g{
color:#77B59F;
}
p.goteiji{
font-size:12px !important;
}

/* 01・02・03：レギュラー */
body .main .feature-number {
  font-weight: 400;
  color:#5A7E76;
}

/* 料金プランの説明：レギュラー */
body .main .plans .plan-description {
  font-weight: 400;
}

/* （1日2回まで）：ライト */
body .main .plans .plan-description .plan-note {
  font-weight: 300;
}

/* 4マス共通：会員名をレギュラーにし、金額との間隔を縮める */
body .main .plans .plan h3 {
  font-weight: 400;
  line-height: 1.4;
  padding-bottom: 4px;
}

/* 4マス共通：金額の太さ・行間 */
body .main .plans .plan-price {
  font-weight: 400;
  line-height: 1.4;
  margin-top: 0;
}

body .main .plans .plan-price small {
  font-weight: 400;
}

/* 全ページ共通：画面下に追従する体験予約ボタン */
body .pn-floating-trial {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 25;

  display: block;
  box-sizing: border-box;
  width: min(400px, 90vw);
  padding: 10px 16px;

  background: #7bb4a4;
  color: #fff;
  border: 0;
  border-radius: 32px;
  box-shadow: 0 3px 5px #0002;

  font-family: var(--font-body, "Noto Sans JP", sans-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;

  transition: background-color .2s ease;
}

body .pn-floating-trial:hover {
  background: #659b8c;
  color: #fff;
}

body .pn-floating-trial:focus-visible {
  outline: 2px solid #355e52;
  outline-offset: 4px;
}

/* メニュー表示中は追従ボタンを隠す */
body:has(#menu-dialog[open]) .pn-floating-trial {
  visibility: hidden;
}

/* 最下部の文字がボタンに隠れないようにする */
body .main .footer {
  padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
}

/* ページ内の体験予約ボタンを細くする */
body .main .button.about-reserve {
  box-sizing: border-box;
  min-height: 0;
  height: auto;
  padding: 10px 16px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}

/* 最初は非表示 */
body .pn-floating-trial {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity .4s ease,
    transform .4s ease,
    visibility .4s ease;
}

/* スクロール後に表示 */
body .pn-floating-trial.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

/* メニュー表示中は非表示 */
body:has(#menu-dialog[open]) .pn-floating-trial {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 動きを減らす設定に対応 */
@media (prefers-reduced-motion: reduce) {
  body .pn-floating-trial {
    transition: none;
  }
}

/* スタジオ名（FCパートナースタジオも含む） */
body.studios-page .main .store-card > h3,
body.studios-page .main .partner-item h3 {
  font-size: 16px;
  color: #5A7E76;
}

/* 電話番号 */
body.studios-page .main .store-phone,
body.studios-page .main .store-phone a {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}
/* 平日・土日の開始位置を揃える */
body.studios-page .main .store-hours {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 0;
}
/* NAG YOGA：タイトル・店名 */
body.studios-page .main .yoga-group .store-group-title h2,
body.studios-page .main .yoga-group .store-card > h3 {
  color: #C95F26;
}

/* NAG YOGA：タイトル上の罫線 */
body.studios-page .main .yoga-group .store-group-title::before {
  background: #C95F26;
}

/* 「NAG YOGA GROUPのパートナースタジオも〜」を太字に */
body.studios-page .main .partner-studios > h2 + p {
  font-weight: 700;
}

/* パートナースタジオ3店舗の下罫線を削除 */
body.studios-page .main .partner-item {
  border-bottom: none;
}
/* パートナースタジオの案内・料金を太字に */
body.studios-page .main .partner-studios > p {
  font-weight: 700;
}

/* 写真のスライド表示 */
.studio-gallery .gallery-viewport {
  overflow: hidden;
}

.studio-gallery .gallery-track {
  display: flex;
  transition: transform .6s ease;
}

.studio-gallery .gallery-track > img {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1.9;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .studio-gallery .gallery-track {
    transition: none;
  }
}
/* パートナー3店舗：店名 */
body.studios-page .main .partner-item h3,
body.studios-page .main .partner-item h3 a {
  font-size: 18px;
  line-height: 1.6;
}

/* パートナー3店舗：住所 */
body.studios-page .main .partner-item p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  margin-top: 6px;
}

/* ミネラルウォーターの背景色 */
body .main .studio-pill {
  background: #7FCFC0;
}

/* 「税込 1,100円」の文字色 */
body .main .studio-trial-price span,
body .main .studio-trial-price strong {
  color: #7FCFC0;
}

/* 注意書き・キャンセル本文：共通のサイズと通常色 */
body .main .studio-notes,
body .main .studio-notes p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--ink, #48544f);
}

/* キャンセル案内の見出しだけ色を変更 */
body .main .studio-notes .studio-cancel-title {
  color: #7FCFC0;
  margin-top: 16px;
  margin-bottom: 4px;
}

/* スケジュールのタブ */
.pn-schedule-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 60px;
}

.pn-schedule-tabs button {
  appearance: none;
  padding: 18px 35px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: var(--ink, #48544f);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .05);
  transition: transform .3s ease;
}

.pn-schedule-tabs button.is-active {
  background: linear-gradient(135deg, #c8a876, #dfcda6);
  color: #fff;
}

@media (hover: hover) {
  .pn-schedule-tabs button:hover {
    transform: translateY(-5px);
  }
}

.pn-schedule-tabs button:focus-visible {
  outline: 2px solid #5A7E76;
  outline-offset: 4px;
}

/* スケジュール画像 */
.pn-schedule-panel[hidden] {
  display: none !important;
}

.pn-schedule-panel > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}
/* アクセス欄：左右の余白を増やす */
body .main .studio-access {
  margin-inline: 40px;
  text-align: left;
}

/* 店名・各項目の左端を揃える */
body .main .studio-access > h3 {
  margin-inline: 0;
  text-align: left;
}

body .main .studio-access dl {
  margin: 0 0 45px;
}

body .main .studio-access dd {
  margin-left: 0;
}

/* スタジオ一覧と同じタグ */
body .main .studio-access .studio-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 4px;
  margin: 12px 0 35px;
}

body .main .studio-access .studio-tags span {
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.8;
  color: #fff;
}

body .main .studio-access .tag-yoga {
  background: #dea378;
}

body .main .studio-access .tag-pilates {
  background: #82bdad;
}

body .main .studio-access .tag-shared {
  background: #939a95;
}

/* 住所・営業時間などの見出し */
body .main .studio-access dt {
  margin-top: 24px;
  font-weight: 700;
}

/* 見出し下に半分の長さの罫線 */
body .main .studio-access dt::after {
  content: "";
  display: block;
  width: 50%;
  height: 1px;
  margin: 0px 0 10px;
  background: #c2d6ce;
}

/* NORITAKEなど、店舗名の英字見出し */
body .main .studio-title > p {
  font-family: "Jost", sans-serif;
  font-size: 22px;
  font-weight: 300;
  color: #5A7E76;
}

/* 体験ページ：持ち物の画像を小さくする */
body.trial-page .main .trial-preparation .packing-row img,
body.trial-page .main .trial-preparation .packing-items img {
  display: block;
  width: 80px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  margin-inline: auto;
}
/* 当日レッスンに必要なもの：文字色を統一 */
body.trial-page .main .trial-preparation,
body.trial-page .main .trial-preparation h2,
body.trial-page .main .trial-preparation p {
  color: #5A7E76;
}
/* 体験ページ：04〜06の画像を小さくする */
body.trial-page .main .trial-benefit > span {
  display: block;
  flex: 0 0 80px;
  width: 80px;
}

body.trial-page .main .trial-benefit > span img {
  display: block;
  width: 80px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* フッター全体 */
body .main .footer.pn-footer {
  box-sizing: border-box;
  padding: 28px 24px
    calc(90px + env(safe-area-inset-bottom, 0px));
  background: #424544;
  color: #fff;
  text-align: center;
}

body .main .pn-footer a {
  color: inherit;
  text-decoration: none;
}

body .main .pn-footer a:hover {
  opacity: .75;
}

/* メインロゴ */
body .main .pn-footer-logo {
  display: block;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

body .main .pn-footer-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

/* SNS */
body .main .pn-footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin: 26px 0 22px;
}

body .main .pn-footer-social > * {
  display: block;
  width: 46px;
  height: 46px;
}

body .main .pn-footer-social svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body .main .pn-footer-social .pn-social-dot {
  fill: currentColor;
  stroke: none;
}

/* 関連ブランド */
body .main .pn-footer-brands {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  max-width: 290px;
  margin: 0 auto;
}

body .main .pn-footer-brands a {
  flex: 1;
  min-width: 0;
}

body .main .pn-footer-brands img {
  display: block;
  width: 100%;
  height: 70px;
  object-fit: contain;
}

/* メインメニュー */
body .main .pn-footer-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 48px 0 0;
}

body .main .pn-footer-menu a {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

/* 補助リンク：PDFと同じ2列配置 */
body .main .pn-footer-submenu {
  display: grid;
  grid-template-columns: max-content max-content;
  justify-content: center;
  gap: 8px 26px;
  margin: 78px 0 0;
}

body .main .pn-footer-submenu a {
  color: #ccc;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}

body .main .pn-footer-submenu a:nth-child(odd) {
  text-align: right;
}

body .main .pn-footer-submenu a:nth-child(even) {
  text-align: left;
}

/* コピーライト */
body .main .pn-footer-copyright {
  display: block;
  margin-top: 100px;
  color: #ccc;
  font-size: 11px;
  font-weight: 400;
}
/* 最上部のロゴ */
body .main .pn-footer-logo {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

body .main .pn-footer-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: none;
}

/* YouTube・Instagram：画像で表示 */
body .main .pn-footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin: 28px 0;
}

body .main .pn-footer-social > * {
  display: block;
  width: 48px;
  height: 48px;
}

body .main .pn-footer-social img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* NAG・ヨガのロゴを大きめに配置 */
body .main .pn-footer-brands {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

body .main .pn-footer-brands a {
  display: block;
  min-width: 0;
}

body .main .pn-footer-brands img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  filter: none;
}
/* YouTube・Instagramのロゴを大きく */
body .main .pn-footer-social > * {
  width: 60px;
  height: 60px;
}
/* PC左側の「N」を非表示 */
body .rail-left .rail-mark {
  display: none;
}

/* PC左側のロゴ */
body .rail-left .brand img {
  display: block;
  width: 100%;
  max-width: 230px;
  height: auto;
  max-height: none;
  margin: 0 auto;
  filter: brightness(0);
  opacity: .72;
}

/* スマホ・メニュー内のロゴ */
body .mobile-header .brand,
body .dialog-header .brand {
  flex: 0 1 240px;
  min-width: 0;
  max-width: calc(100% - 65px);
}

body .mobile-header .brand img,
body .dialog-header .brand img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  max-height: none;
  margin: 0;
  filter: none;
}

/* メニューボタンの幅を確保 */
body .mobile-header .menu-toggle,
body .dialog-header .dialog-close {
  flex-shrink: 0;
}
/* お悩みのイラスト3点を拡大 */
body .main .concern-grid > div {
  min-width: 0;
}

body .main .concern-grid > div > span {
  width: 100%;
  max-width: 100px;
  height: auto;
  aspect-ratio: 1;
}

body .main .concern-grid > div > span img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* お客様の声：写真を円形にトリミング */
body .main .about-voices .voice-circle {
  display: block;
  overflow: hidden;
  border-radius: 50%;
}

body .main .about-voices .voice-circle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}
/* 左に写真と年代、右に見出しと本文 */
body .main .interview-track .interview-card {
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 18px;
  row-gap: 10px;
  align-items: start;
}

/* 写真・年代 */
body .main .interview-person {
  grid-column: 1;
  grid-row: 1 / 3;
  text-align: center;
}

body .main .interview-person img {
  display: block;
  width: 85px;
  height: 85px;
  max-width: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

body .main .interview-person .voice-tag {
  display: block;
  position: static;
  margin: 8px 0 0;
  padding: 0;
  background: none;
  color: var(--ink, #48544f);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

/* 右側の文章 */
body .main .interview-card > h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}

body .main .interview-card > p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
}

/* スマホ：aboutページと同じ写真サイズ */
@media (max-width: 420px) {
  body .main .interview-track .interview-card {
    grid-template-columns: 65px minmax(0, 1fr);
    column-gap: 12px;
  }

  body .main .interview-person img {
    width: 65px;
    height: 65px;
  }
}
/* トップのお客様の声：枠線 */
body .main .interview-track .interview-card {
  border-color: #77B59F;
}

/* 見出し */
body .main .interview-card > h3 {
  color: #77B59F;
}

/* 本文を少し小さく */
body .main .interview-card > p {
  font-size: 15px;
  line-height: 1.8;
}

/* 「オトクなプラン」の見出し背景 */
body .main .plans .plan.featured .plan-tag {
  background: #77B59F;
}

/* その下の料金エリアの背景 */
body .main .plans .plan.featured {
  background: #D0E8E3;
}

/* ヒーロー内：既存の横幅を維持して画像を表示 */
body .main .hero-campaign .campaign-card {
  padding: 0;
  border: 0;
  background: transparent;
}

body .main .hero-campaign .campaign-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* 下段のキャンペーンカルーセル */
.pn-campaign-carousel {
  padding: 35px 0 15px;
}

.pn-campaign-window {
  overflow: hidden;
}

.pn-campaign-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  transition: transform .65s ease;
}

.pn-campaign-item {
  display: flex;
  flex: 0 0 82%;
  min-width: 0;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #e7eeea;
  color: var(--ink, #48544f);
  text-decoration: none;
}

.pn-campaign-item img {
  display: block;
  width: 100%;
  height: auto;
}

.pn-campaign-text {
  flex-direction: column;
  gap: 8px;
  padding: 20px 14px;
  text-align: center;
}

.pn-campaign-text small {
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: .12em;
}

.pn-campaign-text strong {
  font-size: 18px;
  font-weight: 400;
}

.pn-campaign-text span {
  font-size: 13px;
}

.pn-campaign-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.pn-campaign-controls button {
  padding: 5px 12px;
  border: 1px solid #b4d1c5;
  border-radius: 20px;
  background: #fff;
  color: #5A7E76;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .pn-campaign-track {
    transition: none;
  }
}

/* ロゴ付きボタン */
body .main .other .button.partner-logo-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 20px 38px 20px 18px;
  text-align: left;
}

/* ロゴ：縦横比を保ってボタン内に収める */
body .main .partner-logo-button .partner-button-logo {
  display: block;
  flex: 0 0 60px;
  width: 60px;
  height: 40px;
  object-fit: contain;
}

/* 文字は左揃え */
body .main .partner-logo-button .partner-button-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

body .main .partner-logo-button strong,
body .main .partner-logo-button small {
  text-align: left;
}

/* ロゴ＋文字全体を中央に配置 */
body .main .other .button.partner-logo-button {
  justify-content: center;
  padding-inline: 38px;
}

/* 文字エリアが横いっぱいに広がるのを解除 */
body .main .partner-logo-button .partner-button-text {
  flex: 0 1 auto;
  text-align: left;
}
body .main .partner-logo-button .partner-button-logo {
  flex: 0 0 90px;
  width: 90px;
  height: 60px;
  object-fit: contain;
}

/* メイン動画：再生・停止ボタンを非表示 */
.main .video-toggle {
  display: none !important;
}

/* こんな方におすすめ：画像を正方形に */
.main .recommend-grid .recommend-card .media {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
}

.main .recommend-grid .recommend-card .media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

/* Interview：矢印・一時停止を隠し、既存のドットを残す */
.main .interview-controls .voice-prev,
.main .interview-controls .voice-next,
.main .interview-controls .voice-pause {
  display: none !important;
}

.main .interview-controls {
  justify-content: center;
}

/* NAG BRAND：写真の縦横比を保って全体を表示 */
.main .brands .brand-card .media {
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  padding: 0;
}

.main .brands .brand-card .media img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}

/* バナーカルーセル：ドット */
.main .pn-campaign-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.main .pn-campaign-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.main .pn-campaign-dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.main .pn-campaign-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d2dcd8;
}

.main .pn-campaign-dot[aria-current="true"]::before {
  background: #77B59F;
}

.main .pn-campaign-dot:focus-visible {
  outline: 2px solid #5A7E76;
  outline-offset: 1px;
}
/* おすすめ：外枠も画像に合わせて正方形に */
.main .recommend-grid .recommend-card {
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

/* おすすめ：文字を中央に配置 */
.main .recommend-card {
  display: grid;
  place-items: center;
}

.main .recommend-card > .media,
.main .recommend-card > b,
.main .recommend-card > p {
  grid-area: 1 / 1;
}

.main .recommend-card > .media {
  align-self: stretch;
}

/* 見出し */
.main .recommend-card > b {
  position: relative;
  z-index: 1;
  align-self: center;
  margin: 0 0 34px;
  padding-bottom: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.main .recommend-card > b::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100px;
  height: 1px;
  background: #fff;
  transform: translateX(-50%);
}

/* 説明文 */
body .main .recommend-card > p {
  position: relative;
  inset: auto;
  z-index: 1;
  display: block;
  align-self: center;
  margin: 40px 0 0;
  padding: 0 6px;
  color: #fff;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  white-space: normal;
}
/* お悩み：真ん中の画像の丸い背景を削除 */
body .main .concern-grid > div:nth-child(2) > span {
  background: transparent;
}
/* お客様の声：写真の下に年代を表示 */
body .main .about-voices .voice-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

body .main .about-voices .voice-circle img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}

body .main .about-voices .voice-age {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

/* 店舗詳細：先頭の写真カルーセル */
.main .studio-detail-gallery {
  width: 100%;
  margin: 0;
}

.main .studio-detail-gallery .gallery-main {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.9;
  object-fit: cover;
}

.main .studio-detail-gallery .gallery-controls:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding-inline: 10px;
}

.main .studio-detail-gallery .gallery-controls > button {
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e5eae7;
  color: #48544f;
  font: 24px/1 var(--font-en, sans-serif);
  cursor: pointer;
}

.main .studio-detail-gallery .gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.main .studio-detail-gallery .gallery-thumbs button {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
  opacity: .65;
  cursor: pointer;
}

.main .studio-detail-gallery .gallery-thumbs button[aria-pressed="true"] {
  border-color: #83ae9e;
  opacity: 1;
}

.main .studio-detail-gallery .gallery-thumbs img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.2;
  object-fit: cover;
}
/* 店舗詳細：サムネイルを小さく横一列に */
.main .studio-detail-gallery .gallery-thumbs {
  display: flex;
  gap: 5px;
}

.main .studio-detail-gallery .gallery-thumbs button {
  flex: 1 1 0;
  min-width: 0;
}
/* おすすめ：スマホ幅に合わせて文字と白線を調整 */
.main .recommend-grid {
  container-type: inline-size;
}

.main .recommend-grid .recommend-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 6px;
  gap: 6px;
  overflow: hidden;
}

/* 背景写真 */
.main .recommend-grid .recommend-card > .media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

/* 見出しと白線 */
.main .recommend-grid .recommend-card > b {
  position: relative;
  z-index: 1;
  align-self: stretch;
  margin: 0;
  padding: 0 0 6px;
  color: #fff;
  font-size: 12px;
  font-size: clamp(9px, 3.5cqi, 12px);
  line-height: 1.3;
  letter-spacing: 0;
  text-align: center;
  overflow-wrap: anywhere;
}

.main .recommend-grid .recommend-card > b::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 85%;
  height: 1px;
  background: #fff;
  transform: translateX(-50%);
}

/* 説明文 */
body .main .recommend-grid .recommend-card > p {
  position: relative;
  inset: auto;
  z-index: 1;
  display: block;
  align-self: stretch;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 11px;
  font-size: clamp(9px, 3.2cqi, 11px);
  line-height: 1.35;
  letter-spacing: 0;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
/* ハンバーガーメニュー内：ロゴのフォーカス枠を非表示 */
#menu-dialog .dialog-header .brand:focus,
#menu-dialog .dialog-header .brand:focus-visible {
  outline: none;
  box-shadow: none;
}
/* 「こんな方におすすめ」の画像の半透明を解除 */
.main .recommend .recommend-card::after {
  content: none;
}

/* スケジュールの月切り替え */
.main .studio-schedule.schedule .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.main .studio-schedule.schedule .tab-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.main .studio-schedule.schedule .tab {
  min-width: 0;
  margin: 0;
  padding: 14px 8px;
  border: 0;
  border-radius: 999px;
  background: #edf3f0;
  color: #5A7E76;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.main .studio-schedule.schedule .tab.active {
  background: linear-gradient(135deg, #c8a876, #dfcda6);
  color: #fff;
}

.main .studio-schedule.schedule .tab-content {
  display: none;
}

.main .studio-schedule.schedule .tab-content.active {
  display: block;
}

.main .studio-schedule.schedule .card,
.main .studio-schedule.schedule .image {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.main .studio-schedule.schedule .image > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 20px;
  object-fit: contain;
}

/* OTHER：法人契約・FC加盟を横並びに */
body .main .other .other-business-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 15px;
}

body .main .other .other-business-links > .button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 92px;
  margin: 0;
  padding: 16px 27px 16px 8px;
  text-align: center;
}

body .main .other .other-business-links strong {
  font-size: clamp(12px, 3.2vw, 16px);
  line-height: 1.5;
  white-space: nowrap;
}

body .main .other .other-business-links small {
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.5;
}

body .main .other .other-business-links > .button::after {
  right: 10px;
}