/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/*
 * トップページ(`/`, app/views/home/index.html.haml)専用のスタイル。
 * 他画面は無装飾方針のため、影響範囲を `.top-page` 配下に限定している。
 */
.top-page {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Segoe UI", sans-serif;
  color: #1f2937;
  line-height: 1.7;
}

.top-page a {
  color: inherit;
  text-decoration: none;
}

.top-page__icon {
  width: 1.5rem;
  height: 1.5rem;
}

.top-page__icon--inline {
  width: 1.1rem;
  height: 1.1rem;
  vertical-align: -0.2em;
  margin-right: 0.25rem;
}

.top-page__header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffffee;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e5e7eb;
}

.top-page__header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-page__logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
}

.top-page__logo-link {
  display: block;
  line-height: 0;
  flex-shrink: 0;
}

.top-page__logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.top-page__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}

.top-page__nav-placeholder {
  color: #9ca3af;
  cursor: default;
}

.top-page__header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-page__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.top-page__btn--ghost {
  border: 1px solid #d1d5db;
  color: #374151;
}

.top-page .top-page__btn--primary {
  background: #f97316;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.top-page .top-page__btn--primary:hover {
  background: #ea580c;
}

.top-page__btn--large {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
}

.top-page__hero {
  background: linear-gradient(135deg, #eff6ff 0%, #fdf2f8 100%);
  padding: 4rem 1.5rem;
}

.top-page__hero-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  align-items: center;
}

.top-page__hero-copy,
.top-page__hero-illustration {
  min-width: 0;
}

.top-page__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 1.25rem;
}

.top-page__title-accent {
  color: #2563eb;
}

.top-page__lead {
  font-size: 1.05rem;
  color: #4b5563;
  margin: 0 0 2rem;
}

.top-page__note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #6b7280;
  display: flex;
  align-items: center;
}

.top-page__hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-page__hero-img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 520px;
}

.top-page__section-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 2.5rem;
}

.top-page__steps,
.top-page__features,
.top-page__personas {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.top-page__steps-grid {
  display: grid;
  gap: 2rem;
  text-align: center;
}

.top-page__step-img {
  height: 140px;
  width: auto;
  display: block;
  margin: 0 auto 1rem;
  object-fit: contain;
}

.top-page__step p {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.top-page__features {
  background: #f9fafb;
  max-width: none;
  border-radius: 1.5rem;
}

.top-page__features > * {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

.top-page__features-grid {
  display: grid;
  gap: 2rem;
  text-align: center;
}

.top-page__feature-img {
  height: 90px;
  width: auto;
  display: block;
  margin: 0 auto 0.75rem;
  object-fit: contain;
}

.top-page__feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.top-page__feature p {
  margin: 0;
  color: #6b7280;
  font-size: 0.85rem;
}

.top-page__personas-grid {
  display: grid;
  gap: 1.5rem;
}

.top-page__persona {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem 0.75rem 1.25rem;
  text-align: center;
}

.top-page__persona-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

.top-page__persona p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  line-height: 1.5;
}

.top-page__cta {
  background: linear-gradient(135deg, #fff7ed 0%, #fdf2f8 100%);
  padding: 4rem 1.5rem;
}

.top-page__cta-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2rem;
}

.top-page__cta-content {
  flex: 1;
  max-width: 36rem;
  text-align: center;
}

.top-page__cta-plane {
  height: 130px;
  width: auto;
  flex-shrink: 0;
  mix-blend-mode: multiply;
  display: none;
}

.top-page__cta-octpath {
  height: 170px;
  width: auto;
  flex-shrink: 0;
  mix-blend-mode: multiply;
  display: none;
}

.top-page__cta-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 1.5rem;
}

.top-page__cta-content .top-page__note {
  justify-content: center;
}

.top-page__footer {
  background: #111827;
  color: #d1d5db;
  padding: 3rem 1.5rem;
}

.top-page__footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.top-page__footer .top-page__logo {
  color: #ffffff;
}

.top-page__footer-brand p {
  margin: 0.25rem 0;
  font-size: 0.85rem;
  color: #9ca3af;
}

.top-page__footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.85rem;
}

.top-page__footer-links .top-page__nav-placeholder {
  color: #6b7280;
}

.top-page__footer-links a:hover {
  text-decoration: underline;
}

.top-page__footer-copyright {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
}

@media (min-width: 768px) {
  .top-page__hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .top-page__title {
    font-size: 2.5rem;
  }

  .top-page__steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .top-page__features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .top-page__personas-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .top-page__cta-plane,
  .top-page__cta-octpath {
    display: block;
  }

  .top-page__footer-inner {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

/* ========================================
   認証ページ（ログイン・新規登録）
   ======================================== */

.auth-layout {
  display: flex;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Segoe UI", sans-serif;
  color: #1f2937;
  line-height: 1.7;
}

/* 左パネル（ブランディング） */
.auth-layout__left {
  display: none;
  width: 55%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #eff6ff 0%, #fdf2f8 100%);
  padding: 2.5rem;
}

.auth-layout__left-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 1.5rem;
}

.auth-layout__logo-link {
  display: block;
  line-height: 0;
  flex-shrink: 0;
}

.auth-layout__logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.auth-layout__copy {
  flex-shrink: 0;
}

.auth-layout__title {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.auth-layout__title-accent {
  color: #2563eb;
}

.auth-layout__lead {
  font-size: 0.95rem;
  color: #4b5563;
  margin: 0;
}

.auth-layout__illustration {
  display: flex;
  justify-content: center;
}

.auth-layout__hero-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
}

.auth-layout__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  flex-shrink: 0;
}

.auth-layout__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 0.875rem 0.5rem;
  text-align: center;
}

.auth-layout__feature-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.25rem;
}

.auth-layout__feature-name {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #111827;
}

.auth-layout__feature-desc {
  margin: 0;
  font-size: 0.7rem;
  color: #6b7280;
  line-height: 1.4;
}

/* 右パネル（フォーム） */
.auth-layout__right {
  flex: 1;
  background: #ffffff;
  display: flex;
}

.auth-layout__right-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.auth-layout__right-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-shrink: 0;
}

/* モバイルでは左パネルが非表示になるため、右パネルのナビ行にロゴを表示する */
.auth-layout__logo-link--mobile {
  margin-right: auto;
}

.auth-layout__right-nav-text {
  /* モバイルではロゴとボタンだけで幅いっぱいになるため補助テキストは隠す */
  display: none;
  font-size: 0.85rem;
  color: #6b7280;
}

.auth-layout__notice {
  background: #d1fae5;
  color: #065f46;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* フォーム上部のエラーボックス。全認証画面で共通の体裁。 */
.auth-form__error {
  background: #fee2e2;
  color: #991b1b;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.auth-form__error-line {
  margin: 0;
}

.auth-form__error-line + .auth-form__error-line {
  margin-top: 0.35rem;
}

/* フォーム共通 */
.auth-form__nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  border: 1.5px solid #2563eb;
  border-radius: 9999px;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
}

.auth-form__nav-btn:hover {
  background: #eff6ff;
}

.auth-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 1rem;
}

@media (min-width: 768px) {
  .auth-form {
    justify-content: center;
    padding-top: 0;
  }
}

.auth-form__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 0.4rem;
}

.auth-form__subtitle {
  font-size: 0.95rem;
  color: #6b7280;
  margin: 0 0 2rem;
}

.auth-form__field {
  margin-bottom: 1.25rem;
}

.auth-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.4rem;
}

.auth-form__input-wrapper {
  position: relative;
}

.auth-form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  color: #111827;
  background: #ffffff;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}

.auth-form__input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.auth-form__input::placeholder {
  color: #9ca3af;
}

.auth-form__hint {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0 0 0.4rem;
}

.auth-form__links-row {
  display: flex;
  justify-content: flex-end;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

.auth-form__text-link {
  font-size: 0.875rem;
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.auth-form__text-link:hover {
  text-decoration: underline;
}

/* button_to は <button> を生成するため、ブラウザ標準のボタン装飾をリセットして
   テキストリンク(<a>)と同じ見た目に揃える。 */
.auth-form__text-link--button {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* button_to のフォームを文中(「…場合は 再送」)にインライン配置する。 */
.auth-form__inline-form {
  display: inline;
}

.auth-form__actions {
  margin-bottom: 1.5rem;
}

.auth-form__submit-btn {
  display: block;
  width: 100%;
  padding: 0.875rem;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s;
  font-family: inherit;
}

.auth-form__submit-btn:hover {
  background: #1d4ed8;
}

.auth-form__footer {
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
}

.auth-form__footer p {
  margin: 0.5rem 0;
}

#error_explanation {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

#error_explanation h2 {
  margin: 0 0 0.4rem;
  font-size: 0.875rem;
  color: #991b1b;
  font-weight: 600;
}

#error_explanation ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.8rem;
  color: #991b1b;
}

@media (min-width: 768px) {
  .auth-layout__left {
    display: flex;
  }

  .auth-layout__right-inner {
    padding: 3rem 2.5rem;
  }

  .auth-layout__logo-link--mobile {
    display: none;
  }

  .auth-layout__right-nav-text {
    display: inline;
  }
}

/* ========================================
   ログイン後の管理画面(ダッシュボード・アカウント設定・
   サイト作成/詳細/アップロード)共通シェル
   ======================================== */

:root {
  --shell-primary: #2563eb;
  --shell-primary-dark: #1d4ed8;
  --shell-bg: #f8fafc;
  --shell-surface: #ffffff;
  --shell-border: #e5e7eb;
  --shell-text: #1f2937;
  --shell-text-muted: #6b7280;
  --shell-radius: 12px;
  --shell-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
}

.app-shell {
  min-height: 100vh;
  background: var(--shell-bg);
  color: var(--shell-text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Segoe UI", sans-serif;
  line-height: 1.6;
}

.app-shell a {
  color: inherit;
  text-decoration: none;
}

.app-shell__icon,
.app-shell__nav-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.app-shell__icon-inline {
  width: 1rem;
  height: 1rem;
  vertical-align: -0.15em;
  margin-right: 0.3rem;
}

/* ヘッダー */

.app-shell__header {
  background: var(--shell-surface);
  border-bottom: 1px solid var(--shell-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.app-shell__header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 1.5rem;
}

.app-shell__logo-link {
  display: block;
  line-height: 0;
}

.app-shell__logo-img {
  height: 32px;
  width: auto;
}

.app-shell__header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.app-shell__placeholder-link {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--shell-text-muted);
  cursor: default;
  white-space: nowrap;
}

.app-shell__notification {
  display: flex;
  color: var(--shell-text-muted);
}

.app-shell__user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-shell__avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--shell-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.app-shell__user-email {
  font-size: 0.875rem;
  font-weight: 600;
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-shell__menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0.25rem;
  color: var(--shell-text);
  cursor: pointer;
}

.app-shell__backdrop {
  display: none;
}

/* スマートフォン幅ではヘッダーが折り返し不可のまま幅を超えて横スクロールが
   発生するため、プレースホルダーリンクを隠し、メールアドレスが縮んで
   省略(...)されるようmin-width: 0の連鎖を通す。 */
@media (max-width: 767px) {
  .app-shell__header-inner {
    gap: 0.75rem;
    padding: 0.75rem 1rem;
  }

  .app-shell__placeholder-link {
    display: none;
  }

  .app-shell__header-actions {
    gap: 0.75rem;
    min-width: 0;
  }

  .app-shell__user {
    min-width: 0;
  }

  .app-shell__user-email {
    min-width: 0;
  }
}

/* 本体(サイドバー + コンテンツ) */

.app-shell__body {
  display: flex;
  align-items: flex-start;
}

.app-shell__sidebar {
  width: 240px;
  flex-shrink: 0;
  padding: 1.5rem 1rem;
  display: none;
}

.app-shell__nav {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.app-shell__nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--shell-text-muted);
}

.app-shell__nav-link--active {
  background: #eff6ff;
  color: var(--shell-primary);
}

.app-shell__nav-link--placeholder {
  color: #cbd5e1;
  cursor: default;
}

.app-shell__promo {
  background: linear-gradient(135deg, #ede9fe, #dbeafe);
  border-radius: var(--shell-radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

.app-shell__promo-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--shell-primary);
}

.app-shell__promo-title {
  font-weight: 700;
  font-size: 0.875rem;
  margin: 0.5rem 0 0.25rem;
}

.app-shell__promo-desc {
  font-size: 0.75rem;
  color: var(--shell-text-muted);
  margin: 0 0 0.75rem;
}

.app-shell__plan-card {
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: var(--shell-radius);
  padding: 1rem;
}

.app-shell__plan-card-label {
  font-size: 0.75rem;
  color: var(--shell-text-muted);
  margin: 0 0 0.35rem;
}

.app-shell__plan-card-row {
  font-size: 0.8rem;
  color: var(--shell-text-muted);
  margin: 0.75rem 0 0.35rem;
  display: flex;
  justify-content: space-between;
}

.app-shell__plan-card-usage {
  font-size: 0.7rem;
  color: var(--shell-text-muted);
  margin: 0.25rem 0 0;
}

.app-shell__plan-card-upgrade {
  display: block;
  width: 100%;
  margin-top: 1rem;
  text-align: center;
}

.app-shell__content {
  flex: 1;
  min-width: 0;
  padding: 1.5rem;
}

.app-shell__notice,
.app-shell__alert {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.app-shell__notice {
  background: #dcfce7;
  color: #15803d;
}

.app-shell__alert {
  background: #fee2e2;
  color: #991b1b;
}

/* サイドバー下部のログアウト(PC・スマホ共通) */

.app-shell__sidebar-logout-form {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--shell-border);
}

.app-shell__sidebar-logout {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--shell-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.app-shell__sidebar-logout:hover {
  background: var(--shell-bg);
  color: var(--shell-text);
}

@media (min-width: 1024px) {
  .app-shell__sidebar {
    display: block;
  }
}

/* スマートフォン幅ではサイドバーをハンバーガーメニューからの
   ドロワー(左からのオーバーレイ)として開閉する。 */
@media (max-width: 1023px) {
  .app-shell__menu-toggle {
    display: inline-flex;
  }

  .app-shell__sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    width: 260px;
    background: var(--shell-surface);
    border-right: 1px solid var(--shell-border);
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
  }

  .app-shell--nav-open .app-shell__sidebar {
    display: flex;
    flex-direction: column;
  }

  .app-shell--nav-open .app-shell__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 20;
    background: rgba(15, 23, 42, 0.4);
  }

  /* ドロワー表示時はログアウトを最下部に張り付ける */
  .app-shell__sidebar-logout-form {
    margin-top: auto;
  }
}

/* 共通コンポーネント: ボタン・バッジ・プログレスバー */

.app-shell__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
  white-space: nowrap;
}

/* ボタンの文字色は`.app-shell a { color: inherit }`(0-1-1)より詳細度を
   上げないとリンクボタンで負けるため、`.app-shell`を前置する。 */

.app-shell .app-shell__btn--primary {
  background: var(--shell-primary);
  color: #fff;
}

.app-shell .app-shell__btn--primary:hover {
  background: var(--shell-primary-dark);
}

.app-shell .app-shell__btn--secondary {
  background: #eff6ff;
  color: var(--shell-primary);
}

.app-shell .app-shell__btn--ghost {
  background: var(--shell-surface);
  color: var(--shell-text);
  border-color: var(--shell-border);
}

.app-shell .app-shell__btn--ghost:hover {
  background: var(--shell-bg);
}

.app-shell .app-shell__btn--danger {
  background: #dc2626;
  color: #fff;
}

.app-shell .app-shell__btn--danger:hover {
  background: #b91c1c;
}

.app-shell__btn--disabled,
.app-shell__btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.badge--active {
  background: #dcfce7;
  color: #15803d;
}

.badge--pending {
  background: #fef9c3;
  color: #a16207;
}

.badge--suspended {
  background: #f3f4f6;
  color: var(--shell-text-muted);
}

.progress {
  background: #e5e7eb;
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}

.progress--compact {
  height: 4px;
}

.progress__bar {
  height: 100%;
  background: var(--shell-primary);
  border-radius: inherit;
}

/* フォーム(アカウント設定・サイト作成・お問い合わせ等で共通) */

.field {
  margin-bottom: 1rem;
}

.field__label,
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--shell-text-muted);
  margin-bottom: 0.35rem;
}

.field__input,
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field textarea {
  width: 100%;
  max-width: 28rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--shell-border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  box-sizing: border-box;
}

.field__hint {
  font-size: 0.75rem;
  color: var(--shell-text-muted);
  margin-top: 0.35rem;
}

.slug-suffix {
  font-size: 0.85rem;
  color: var(--shell-text-muted);
  margin-left: 0.5rem;
}

/* 画面共通: カード付きページ */

.app-shell__content h1 {
  font-size: 1.5rem;
  margin: 0 0 1.25rem;
}

.app-shell__card {
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: var(--shell-radius);
  box-shadow: var(--shell-shadow);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.app-shell__card h2 {
  font-size: 1.05rem;
  margin: 0 0 1rem;
}

.app-shell__back-link {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--shell-text-muted);
  margin-bottom: 1rem;
}

/* ダッシュボード(/dashboard) */

.dashboard-page__hero {
  background: linear-gradient(135deg, #eef2ff, #e0f2fe);
  border-radius: var(--shell-radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.dashboard-page__hero-text {
  min-width: 0;
}

.dashboard-page__hero-title {
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
  overflow-wrap: anywhere;
}

.dashboard-page__hero-lead {
  color: var(--shell-text-muted);
  margin: 0 0 1.25rem;
}

.dashboard-page__hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.dashboard-page__hero-placeholder-link {
  font-size: 0.875rem;
  color: var(--shell-text-muted);
  cursor: default;
  white-space: nowrap;
}

.dashboard-page__hero-icon {
  width: 4rem;
  height: 4rem;
  color: var(--shell-primary);
  flex-shrink: 0;
}

.dashboard-page__notice {
  background: #fef9c3;
  color: #a16207;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.dashboard-page__section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.dashboard-page__section-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.dashboard-page__placeholder-link {
  font-size: 0.875rem;
  color: var(--shell-text-muted);
  cursor: default;
}

.dashboard-page__empty {
  color: var(--shell-text-muted);
  background: var(--shell-surface);
  border: 1px dashed var(--shell-border);
  border-radius: var(--shell-radius);
  padding: 1.5rem;
  text-align: center;
}

.dashboard-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.site-card {
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: var(--shell-radius);
  box-shadow: var(--shell-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.site-card__thumbnail {
  position: relative;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0e7ff, #dbeafe);
}

.site-card__thumbnail--suspended,
.site-card__thumbnail--deleted {
  background: #f3f4f6;
}

.site-card__thumbnail-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--shell-primary);
}

.site-card__thumbnail .badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
}

.site-card__body {
  padding: 1rem;
  flex: 1;
}

.site-card__name {
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.site-card__url {
  font-size: 0.8rem;
  color: var(--shell-primary);
  word-break: break-all;
}

.site-card__usage {
  margin-top: 0.75rem;
}

.site-card__usage-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--shell-text-muted);
  margin-bottom: 0.25rem;
}

.site-card__usage .progress {
  margin-bottom: 0.6rem;
}

.site-card__meta {
  font-size: 0.75rem;
  color: var(--shell-text-muted);
  margin: 0.75rem 0 0;
}

.site-card__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem 1rem;
}

.site-card__actions .app-shell__btn {
  flex: 1;
  padding-left: 0.6rem;
  padding-right: 0.6rem;
  font-size: 0.8rem;
  white-space: nowrap;
}

.site-card__menu {
  position: relative;
  flex: 0 0 auto;
}

.site-card__menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--shell-border);
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
  color: var(--shell-text-muted);
}

.site-card__menu-toggle::-webkit-details-marker {
  display: none;
}

.site-card__menu-list {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.35rem);
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: 8px;
  box-shadow: var(--shell-shadow);
  min-width: 8rem;
  z-index: 5;
}

.site-card__menu-item {
  display: block;
  width: 100%;
  padding: 0.6rem 0.9rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.8rem;
  color: #dc2626;
  cursor: pointer;
  font-family: inherit;
}

.site-card__menu-item:hover {
  background: #fef2f2;
}

.site-card--add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px dashed var(--shell-border);
  color: var(--shell-text-muted);
  min-height: 200px;
}

.site-card__add-svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--shell-primary);
}

.dashboard-page__panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.dashboard-page__panel {
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: var(--shell-radius);
  padding: 1.5rem;
}

.dashboard-page__panel h2 {
  font-size: 1rem;
  margin: 0 0 1rem;
}

.dashboard-page__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.dashboard-page__panel-header h2 {
  margin: 0;
}

.dashboard-page__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.dashboard-page__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--shell-text-muted);
}

.dashboard-page__step-img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.dashboard-page__step p {
  margin: 0;
}

@media (min-width: 1024px) {
  .dashboard-page__panels {
    grid-template-columns: 2fr 1fr;
  }
}

/* 詳細画面共通の属性テーブル(サイト詳細・アカウント設定・管理画面の各詳細)。
   プログレスバー等を行に添える場合は__blockで行+バーをまとめて罫線区切りにする。 */

.detail-attrs__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--shell-border);
  font-size: 0.9rem;
}

.detail-attrs__row:last-child {
  border-bottom: none;
}

.detail-attrs__label {
  color: var(--shell-text-muted);
  flex-shrink: 0;
}

.detail-attrs__block {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--shell-border);
}

.detail-attrs__block:last-child {
  border-bottom: none;
}

.detail-attrs__block .detail-attrs__row {
  padding: 0 0 0.4rem;
  border-bottom: none;
}

/* 詳細画面共通のタイトル+操作ボタン行 */

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.page-header h1 {
  margin: 0;
}

.page-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.app-shell__card--danger {
  border-color: #fecaca;
}

.app-shell__card--danger h2 {
  color: #b91c1c;
}

.app-shell__card--danger p {
  color: var(--shell-text-muted);
  font-size: 0.875rem;
}

/* サイト作成・詳細・アップロード */

.upload-page__dropzone {
  border: 2px dashed var(--shell-border);
  border-radius: var(--shell-radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--shell-text-muted);
  margin-bottom: 1rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.upload-page__dropzone--active {
  border-color: var(--shell-primary);
  background: var(--shell-bg);
  color: var(--shell-primary);
}

.site-detail-page__error {
  color: #b91c1c;
  font-size: 0.85rem;
}

/* ========================================
   管理画面(/admin)
   ユーザー画面と同じ.app-shell系トークン・クラスを
   ベースに、管理画面固有の統計カード・一覧テーブル・
   属性テーブルだけを追加する。
   ======================================== */

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.admin-stat {
  margin-bottom: 0;
}

.admin-stat__label {
  font-size: 0.8rem;
  color: var(--shell-text-muted);
  margin: 0 0 0.5rem;
}

.admin-stat__value {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
}

.admin-table-card {
  padding: 0;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.admin-table thead th {
  text-align: left;
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  color: var(--shell-text-muted);
  border-bottom: 1px solid var(--shell-border);
  white-space: nowrap;
}

.admin-table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--shell-border);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table tbody tr:hover {
  background: var(--shell-bg);
}

.admin-table__link {
  color: var(--shell-primary);
  font-weight: 600;
}

.admin-empty {
  color: var(--shell-text-muted);
  background: var(--shell-surface);
  border: 1px dashed var(--shell-border);
  border-radius: var(--shell-radius);
  padding: 1.5rem;
  text-align: center;
}

/* 管理画面: 一覧の検索フォーム */

.admin-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
}

.admin-filter__field .field__input {
  max-width: 16rem;
}

.admin-filter__actions {
  display: flex;
  gap: 0.5rem;
}

.badge--danger {
  background: #fee2e2;
  color: #991b1b;
}

/* ========================================
   法的ページ(利用規約・プライバシーポリシー・特定商取引法に基づく表記)
   トップページと同じヘッダー・フッターを使うため .top-page と併用する。
   ======================================== */

.legal-page__main {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  font-size: 0.95rem;
}

.legal-page__title {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: #111827;
}

.legal-page__date {
  color: #6b7280;
  font-size: 0.85rem;
  margin: 0 0 2rem;
}

.legal-page__main h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
}

.legal-page__main p {
  margin: 0.75rem 0;
}

.legal-page__main ol,
.legal-page__main ul {
  margin: 0.75rem 0;
  padding-left: 1.75rem;
}

.legal-page__main li {
  margin: 0.4rem 0;
}

.legal-page__main a {
  color: #ea580c;
  text-decoration: underline;
}

.legal-page__closing {
  text-align: right;
  margin-top: 2.5rem;
}

.legal-page__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.legal-page__table th,
.legal-page__table td {
  border: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
}

.legal-page__table th {
  background: #f9fafb;
  font-weight: 700;
  width: 30%;
}

/* ========================================
   料金ページ(/pricing)
   トップページと同じヘッダー・フッターを使うため .top-page と併用する。
   ======================================== */

.pricing-page__main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.pricing-page__hero {
  text-align: center;
  padding: 4rem 0 2rem;
}

.pricing-page__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 1rem;
}

.pricing-page__lead {
  font-size: 1.1rem;
  color: #4b5563;
  margin: 0;
}

.pricing-page__section {
  padding: 3rem 0 0;
}

.pricing-page__section-lead {
  text-align: center;
  color: #6b7280;
  font-size: 0.95rem;
  margin: -1.5rem 0 2rem;
}

.pricing-page__subheading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin: 2.5rem 0 1rem;
}

.pricing-page__note {
  color: #6b7280;
  font-size: 0.85rem;
  margin: 1rem 0 0;
}

.pricing-page__notes {
  color: #6b7280;
  font-size: 0.85rem;
  margin: 1rem 0 0;
  padding-left: 1.5rem;
}

.pricing-page__notes li {
  margin: 0.4rem 0;
}

/* 基本プランカード */

.pricing-plan-card {
  max-width: 32rem;
  margin: 0 auto;
  background: #ffffff;
  border: 2px solid #2563eb;
  border-radius: 1.25rem;
  padding: 2rem 2rem 2.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

.pricing-plan-card__name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #2563eb;
  margin: 0 0 0.5rem;
}

.pricing-plan-card__price {
  margin: 0 0 0.5rem;
  color: #111827;
}

.pricing-plan-card__price-number {
  font-size: 3rem;
  font-weight: 800;
}

.pricing-plan-card__price-unit {
  font-size: 1.1rem;
  font-weight: 700;
  margin-left: 0.25rem;
}

.pricing-plan-card__catch {
  font-weight: 700;
  color: #374151;
  margin: 0 0 1.5rem;
}

.pricing-plan-card__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
  margin-bottom: 1.75rem;
}

.pricing-plan-card__table th,
.pricing-plan-card__table td {
  border-bottom: 1px solid #f3f4f6;
  padding: 0.5rem 0.25rem;
}

.pricing-plan-card__table th {
  font-weight: 600;
  color: #6b7280;
  width: 55%;
}

.pricing-plan-card__table td {
  color: #111827;
  font-weight: 600;
}

/* アドオン一覧+シミュレーター */

.pricing-addons {
  max-width: 44rem;
  margin: 0 auto;
}

.pricing-addon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.pricing-addon__info {
  min-width: 0;
  flex: 1 1 16rem;
}

.pricing-addon__name {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.25rem;
}

.pricing-addon__description {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
}

.pricing-addon__buy {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.pricing-addon__price {
  margin: 0;
  font-size: 0.85rem;
  color: #374151;
  white-space: nowrap;
}

.pricing-addon__price strong {
  font-size: 1.15rem;
  color: #111827;
}

.pricing-addon__stepper {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pricing-addon__step-btn {
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  background: #ffffff;
  color: #374151;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.pricing-addon__step-btn:hover {
  background: #f3f4f6;
}

.pricing-addon__count {
  width: 3.25rem;
  padding: 0.35rem 0.25rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.pricing-addons__total {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  background: #eff6ff;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
}

.pricing-addons__total-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}

.pricing-addons__total-amount {
  color: #111827;
  font-weight: 700;
}

.pricing-addons__total-amount strong {
  font-size: 1.75rem;
  color: #2563eb;
}

.pricing-page__billing-warning {
  max-width: 44rem;
  margin: 1.5rem auto 0;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: #78350f;
}

.pricing-page__billing-warning p {
  margin: 0;
}

.pricing-page__section .pricing-page__note {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

/* おすすめセット */

.pricing-sets {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pricing-sets {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-set {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.pricing-set--recommended {
  border: 2px solid #f97316;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.12);
}

.pricing-set__badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: #f97316;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.25rem 1rem;
  margin: 0;
  white-space: nowrap;
}

.pricing-set__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem;
}

.pricing-set__addons {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0 0 1rem;
}

.pricing-set__price {
  margin: 0;
  color: #374151;
  font-size: 0.9rem;
}

.pricing-set__price strong {
  font-size: 1.9rem;
  font-weight: 800;
  color: #111827;
}

.pricing-set__description {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 1rem 0 0;
  text-align: left;
}

/* シミュレーション表 */

.pricing-page__table-wrap {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #ffffff;
}

.pricing-table th,
.pricing-table td {
  border: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
  text-align: left;
  white-space: nowrap;
}

.pricing-table th {
  background: #f9fafb;
  font-weight: 700;
  color: #374151;
}

.pricing-table__amount {
  font-weight: 700;
  color: #111827;
}

.pricing-page__appeal {
  background: #eff6ff;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #1e3a8a;
}

.pricing-page__appeal p {
  margin: 0;
}

/* 注記ブロック */

.pricing-notes {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pricing-notes {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-notes__block {
  background: #f9fafb;
  border-radius: 1rem;
  padding: 1.5rem;
}

.pricing-notes__block h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.75rem;
}

.pricing-notes__block ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: #4b5563;
}

.pricing-notes__block li {
  margin: 0.4rem 0;
}

/* FAQ(アコーディオン) */

.pricing-faq {
  max-width: 48rem;
  margin: 0 auto;
}

.pricing-faq__item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0 1.25rem;
}

.pricing-faq__question {
  font-weight: 700;
  color: #111827;
  padding: 1rem 0;
  cursor: pointer;
  list-style-position: inside;
}

.pricing-faq__answer {
  margin: 0;
  padding: 0 0 1rem;
  font-size: 0.9rem;
  color: #4b5563;
}

/* 最下部CTA */

.pricing-page__cta {
  text-align: center;
  padding: 4rem 0 1rem;
}

/* お支払い・プラン(課金管理) */

.billing-quantity-form {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.field__input--small {
  width: 6rem;
  max-width: 6rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--shell-border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  box-sizing: border-box;
}

.field__checkbox {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.9rem;
}

.field__checkbox input {
  margin-right: 0.5rem;
}

.billing-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 0.5rem 0 1rem;
}

.billing-compare th,
.billing-compare td {
  border-bottom: 1px solid var(--shell-border);
  padding: 0.5rem 0.6rem;
  text-align: left;
}

.billing-compare th {
  color: var(--shell-text-muted);
  font-weight: 700;
  font-size: 0.75rem;
}
