/* ============================================================
   ツグタス LP スタイル — lp-style.css
   基準: html { font-size: 62.5% } → 1rem = 10px
   ============================================================ */

/* ============================================================
   CSS 変数
   ============================================================ */
:root {
  --tsg-primary: #1a1a2e;
  --tsg-accent-from: #7B35B8;
  --tsg-accent-to: #B43EC6;
  --tsg-accent-grad: linear-gradient(135deg, #7B35B8 0%, #B43EC6 100%);
  --tsg-bg: #f7f8fc;
  --tsg-white: #ffffff;
  --tsg-text: #1a1a2e;
  --tsg-text-light: #666677;
  --tsg-border: #e0e0e8;
  --tsg-font: 'LINESeedJP_TTF', 'LINESeedJP', 'LINE Seed JP', 'Noto Sans JP', sans-serif;
  --tsg-radius: 1.2rem;
  --tsg-shadow: 0 4px 24px rgba(26, 26, 46, 0.08);
  --tsg-shadow-hover: 0 8px 40px rgba(26, 26, 46, 0.16);
  --tsg-transition: 0.25s ease;
  --tsg-max-width: 1200px;
  --tsg-header-height: 7.2rem;
}

/* ============================================================
   LP ラッパー ベース（font-size: 62.5% リセット対応）
   ============================================================ */
.tsg-lp *,
.tsg-lp *::before,
.tsg-lp *::after {
  box-sizing: border-box;
}

.tsg-lp {
  font-family: var(--tsg-font);
  font-size: 1.6rem;
  /* = 16px (1rem = 10px 基準) */
  color: var(--tsg-text);
  background: var(--tsg-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.tsg-lp p,
.tsg-lp li,
.tsg-lp td,
.tsg-lp th {
  font-size: 1.6rem;
}

.tsg-lp img {
  max-width: 100%;
  height: auto;
  display: block;
}

.tsg-lp a {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   ヘッダー（修正2: .header BEM クラス）
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--tsg-transition), box-shadow var(--tsg-transition);
}

.header.is-scrolled {
  background: var(--tsg-white);
  box-shadow: 0 2px 16px rgba(26, 26, 46, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--tsg-max-width);
  margin: 0 auto;
  padding: 0 2.4rem;
  height: var(--tsg-header-height);
  gap: 2.4rem;
}

.header-spacer {
  height: var(--tsg-header-height);
}

/* ロゴ */
.header__logo {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--tsg-white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: color var(--tsg-transition);
}

.header.is-scrolled .header__logo {
  color: var(--tsg-primary);
}

.header__logo img {
  height: 3.4rem;
  width: auto;
  object-fit: contain;
}

/* PC ナビゲーション */
.header__nav {
  display: flex;
  flex: 1;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.header__nav-list a {
  font-size: 1.4rem;
  font-weight: 600;
  transition: color 200ms;
  white-space: nowrap;
  text-decoration: none !important;
}

.header__nav-list a:hover {
  color: var(--tsg-accent-from) !important;
  text-decoration: none !important;
}

/* スクロール後はダーク文字 */
.header.is-scrolled .header__nav-list a {
  color: var(--tsg-text) !important;
}

.header.is-scrolled .header__nav-list a:hover {
  color: var(--tsg-accent-from) !important;
}

/* ヘッダー CTA */
.header__cta {
  display: flex;
  align-items: center;
  gap: 1.0rem;
  flex-shrink: 0;
}

.header__btn-login {
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0.8rem 2.0rem;
  border-radius: 0.6rem;
  transition: all var(--tsg-transition);
  white-space: nowrap;
  display: inline-block;
  text-decoration: none !important;
  border: solid 1px rgba(51, 51, 51, 0.4);
}

.header.is-scrolled .header__btn-login {
  color: var(--tsg-text) !important;
  border-color: var(--tsg-border);
}

.header__btn-login:hover {
  background: rgba(51, 51, 51, 0.48);
  text-decoration: none !important;
  color: #fff !important;
}

.header.is-scrolled .header__btn-login:hover {
  background: var(--tsg-bg);
  color: var(--tsg-text) !important;
}

.header__btn-primary {
  background: linear-gradient(135deg, #B43EC6, #7B35B8);
  color: #fff !important;
  padding: 0.8rem 2.0rem;
  border-radius: 0.6rem;
  font-size: 1.4rem;
  font-weight: 700;
  transition: opacity var(--tsg-transition), transform var(--tsg-transition);
  white-space: nowrap;
  display: inline-block;
  text-decoration: none !important;
}

.header__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff !important;
  text-decoration: none !important;
}

/* ハンバーガーボタン */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  width: 4.4rem;
  height: 4.4rem;
  padding: 0.8rem;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--tsg-white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.header.is-scrolled .header__hamburger span {
  background: var(--tsg-primary);
}

.header__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* モバイルナビ */
.header__mobile-nav {
  display: none;
  position: fixed;
  top: var(--tsg-header-height);
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 999;
  padding: 1.6rem;
  max-height: calc(100vh - var(--tsg-header-height));
  overflow-y: auto;
}

.header__mobile-nav.is-open {
  display: block;
}

.header__mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.header__mobile-nav ul a {
  display: block;
  padding: 1.2rem 1.6rem;
  color: var(--tsg-text) !important;
  text-decoration: none !important;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background 150ms;
}

.header__mobile-nav ul a:hover {
  background: rgba(123, 53, 184, 0.06);
  color: var(--tsg-accent-from) !important;
  text-decoration: none !important;
}

.header__mobile-nav .header__btn-primary {
  margin-top: 1.2rem;
  text-align: center;
  padding: 1.3rem;
  border-radius: 0.8rem;
  font-size: 1.6rem;
  display: block;
}

/* ============================================================
   共通セクション
   ============================================================ */
.tsg-section {
  padding: 8.8rem 2.4rem;
}

.tsg-container {
  max-width: var(--tsg-max-width);
  margin: 0 auto;
}

.tsg-section-header {
  text-align: center;
  margin-bottom: 6.0rem;
}

.tsg-section-header h2 {
  font-size: clamp(2.8rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: var(--tsg-primary);
  margin: 0 0 1.2rem;
  line-height: 1.3;
}

.tsg-section-header .tsg-sub {
  font-size: 1.6rem;
  color: var(--tsg-text-light);
  margin: 0;
}

/* ============================================================
   共通 CTA ボタン
   ============================================================ */
.tsg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.6rem 3.2rem;
  border-radius: 0.8rem;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
  transition: all var(--tsg-transition);
  white-space: nowrap;
  font-family: var(--tsg-font);
}

.tsg-btn--primary {
  background: var(--tsg-accent-grad);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(123, 53, 184, 0.3);
}

.tsg-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(123, 53, 184, 0.45);
  opacity: 0.95;
  color: #fff !important;
  text-decoration: none !important;
}

.tsg-btn--secondary {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.65);
}

.tsg-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff !important;
  text-decoration: none !important;
}

/* ============================================================
   SECTION 1 ヒーロー
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6.0rem 2.4rem 6.0rem;
  background-color: var(--tsg-primary);
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(26, 26, 46, 0.97) 0%,
      rgba(45, 27, 94, 0.93) 55%,
      rgba(74, 32, 128, 0.88) 100%);
  z-index: 0;
}

.hero__inner {
  max-width: var(--tsg-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__text {
  color: var(--tsg-white);
  position: relative;
  z-index: 2;
  padding-right: 4.0rem;
}

.hero__tag {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2.0rem;
  padding: 0.5rem 1.6rem;
  margin-bottom: 2.4rem;
}

.hero__h1 {
  font-size: clamp(3.6rem, 4.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 2.4rem;
  color: var(--tsg-white);
}

.hero__lead {
  font-size: 1.6rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 3.6rem;
  max-width: 52.0rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-bottom: 4.0rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.0rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2.0rem;
  padding: 0.5rem 1.4rem;
}

.hero__badge .material-symbols-rounded {
  font-size: 1.4rem;
  font-variation-settings: 'FILL' 1;
  color: #B43EC6;
}

.hero__visual {
  position: relative;
  z-index: 1;
  margin-right: -8vw;
  margin-top: 2rem;
  margin-bottom: 2rem;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.5));
}

.hero__mockup {
  width: 115%;
  max-width: none;
  border-radius: 1.6rem;
  object-fit: cover;
  display: block;
}

.hero__mockup-placeholder {
  width: 100%;
  aspect-ratio: 5266/2944;
  border-radius: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.4rem;
  gap: 0.8rem;
}

.hero__mockup-placeholder .material-symbols-rounded {
  font-size: 4.8rem;
}

/* ============================================================
   SECTION about（修正3: 新規追加）
   ============================================================ */
.about {
  background: var(--tsg-white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6.4rem;
  align-items: center;
}

.about__lead {
  font-size: 1.6rem;
  color: var(--tsg-text-light);
  line-height: 1.95;
  margin: 0;
  white-space: pre-line;
}

.about__stats {
  display: flex;
  flex-direction: column;
  gap: 2.0rem;
}

.about__stat {
  background: var(--tsg-bg);
  border-radius: var(--tsg-radius);
  padding: 2.4rem 2.8rem;
  border: 1px solid var(--tsg-border);
  display: flex;
  align-items: baseline;
  gap: 1.0rem;
  transition: box-shadow var(--tsg-transition);
}

/* .about__stat:hover — hover shadow removed (not clickable) */

.about__stat-num {
  font-size: 5.6rem;
  font-weight: 700;
  color: var(--tsg-accent-from);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.about__stat-unit {
  font-size: 2.0rem;
  font-weight: 700;
  color: var(--tsg-accent-from);
}

.about__stat-label {
  font-size: 1.4rem;
  color: var(--tsg-text-light);
  margin-left: 0.4rem;
}

/* ============================================================
   SECTION 2 課題提起（修正4: 画像追加）
   ============================================================ */
.problem {
  background: var(--tsg-white);
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

.problem__card {
  background: var(--tsg-bg);
  border-radius: var(--tsg-radius);
  border: 1px solid var(--tsg-border);
  overflow: hidden;
  padding: 0;
}

/* .problem__card:hover — removed (not clickable) */

.problem__card-image {
  background: linear-gradient(135deg, rgba(123, 53, 184, 0.15), rgba(180, 62, 198, 0.1));
  min-height: 18rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.problem__card-image img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  display: block;
  padding: 1.6rem;
  padding-bottom: 0;
  background: #fcfcfb;
}

.problem__card-image-icon {
  font-size: 4.8rem;
  color: rgba(123, 53, 184, 0.3);
}

.problem__card-body {
  padding: 2.4rem;
}

.problem__icon {
  width: 4.4rem;
  height: 4.4rem;
  background: linear-gradient(135deg, rgba(123, 53, 184, 0.1), rgba(180, 62, 198, 0.1));
  border-radius: 1.0rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.problem__icon .material-symbols-rounded {
  font-size: 2.2rem;
  color: var(--tsg-accent-from);
  font-variation-settings: 'FILL' 0, 'wght' 400;
}

.problem__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--tsg-text);
  margin: 0 0 0.6rem;
  line-height: 1.4;
}

.problem__text {
  font-size: 1.5rem;
  color: var(--tsg-text-light);
  line-height: 1.75;
  margin: 0;
  font-weight: 400;
}

/* ============================================================
   SECTION 3 解決策
   ============================================================ */
.solution {
  background: var(--tsg-bg);
  text-align: center;
}

.solution__dashboard {
  max-width: 88.0rem;
  margin: 0 auto 4.0rem;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: var(--tsg-shadow-hover);
}

.solution__dashboard img {
  width: 100%;
  background: var(--tsg-white);
  display: block;
}

.solution__dashboard-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--tsg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tsg-text-light);
  font-size: 1.5rem;
  border: 2px dashed var(--tsg-border);
  border-radius: 1.6rem;
}

.solution__text {
  font-size: 1.8rem;
  color: var(--tsg-text);
  max-width: 66.0rem;
  margin: 0 auto;
  line-height: 1.9;
}

/* ============================================================
   現場クロージングセクション
   ============================================================ */
.onsite-close {
  padding: 10rem 0;
  background: #fff;
  overflow: hidden;
}

.onsite-close__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.4rem;
}

.onsite-close__heading {
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  font-weight: 900;
  color: #1a1a2e;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 1.2rem;
}

.onsite-close__heading em {
  font-style: normal;
  background: linear-gradient(135deg, #B43EC6, #7B35B8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.onsite-close__sub {
  text-align: center;
  font-size: 1.8rem;
  color: #6b7280;
  margin-bottom: 6rem;
  line-height: 1.7;
}

/* Before/After グリッド */
.onsite-close__flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3.2rem;
  align-items: start;
  margin-bottom: 6rem;
}

/* Before カード */
.onsite-close__before {
  background: #fff5f5;
  border: 2px solid #fecaca;
  border-radius: 16px;
  padding: 3.2rem;
}

.onsite-close__before-label {
  display: inline-block;
  background: #ef4444;
  color: #fff !important;
  font-size: 1.2rem;
  font-weight: 800;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-decoration: none !important;
}

/* After カード */
.onsite-close__after {
  background: #f0fdf4;
  border: 2px solid #86efac;
  border-radius: 16px;
  padding: 3.2rem;
}

.onsite-close__after-label {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff !important;
  font-size: 1.2rem;
  font-weight: 800;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-decoration: none !important;
}

.onsite-close__flow-step {
  font-size: 1.5rem;
  color: #374151;
  line-height: 2.2;
  padding: 0;
  margin: 0;
  list-style: none;
}

.onsite-close__flow-step li {
  padding: 0.6rem 0;
  border-bottom: 1px dashed #e5e7eb;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.onsite-close__flow-step li:last-child {
  border-bottom: none;
  font-weight: 700;
}

.onsite-close__before .onsite-close__flow-step li:last-child {
  color: #ef4444;
}

.onsite-close__after .onsite-close__flow-step li:last-child {
  color: #059669;
}

.onsite-close__icon {
  font-size: 2.0rem;
  flex-shrink: 0;
  font-variation-settings: 'FILL' 1;
  color: #6b7280;
}

.onsite-close__before .onsite-close__icon {
  color: #9ca3af;
}

.onsite-close__after .onsite-close__icon {
  color: #059669;
}

.onsite-close__before .onsite-close__flow-step li:last-child .onsite-close__icon {
  color: #ef4444;
}

/* 中央の VS */
.onsite-close__vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 900;
  color: #9ca3af;
  padding-top: 6rem;
}

/* 強調メッセージ */
.onsite-close__message {
  background: linear-gradient(135deg, #1a1a2e 0%, #4a2590 100%);
  border-radius: 20px;
  padding: 5.6rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.8rem;
  align-items: center;
  margin-bottom: 4rem;
}

.onsite-close__message-heading {
  font-size: clamp(2.8rem, 3.5vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.4;
}

.onsite-close__message-heading span {
  display: block;
  font-size: 1.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.2rem;
}

.onsite-close__message-text {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 2.0;
}

/* メリットリスト */
.onsite-close__merits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.onsite-close__merits li {
  display: flex;
  align-items: flex-start;
  gap: 1.0rem;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.onsite-close__merits li::before {
  content: '✦';
  color: #B43EC6;
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* 補足バナー */
.onsite-close__note {
  background: #f7f8fc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2.4rem 3.2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
}

.onsite-close__note-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
  color: #7B35B8;
}

.onsite-close__note-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.6rem;
}

.onsite-close__note-text {
  font-size: 1.3rem;
  color: #6b7280;
  line-height: 1.8;
  margin: 0;
}

/* ============================================================
   SECTION 4 機能一覧（修正5: features__extra 追加）
   ============================================================ */
.features {
  background: var(--tsg-white);
}

.features__list {
  display: flex;
  flex-direction: column;
  gap: 8.8rem;
}

.features__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6.4rem;
  align-items: center;
}

.features__item--reverse .features__image {
  order: 2;
}

.features__item--reverse .features__body {
  order: 1;
}

.features__image {
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: var(--tsg-shadow);
}

.features__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--tsg-bg);
  display: block;
}

.features__image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--tsg-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--tsg-text-light);
  font-size: 1.4rem;
  border: 2px dashed var(--tsg-border);
  border-radius: 1.6rem;
  gap: 0.8rem;
}

.features__image-placeholder .material-symbols-rounded {
  font-size: 4.0rem;
}

.features__icon {
  width: 5.6rem;
  height: 5.6rem;
  background: var(--tsg-accent-grad);
  border-radius: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.0rem;
}

.features__icon .material-symbols-rounded {
  font-size: 2.8rem;
  color: var(--tsg-white);
  font-variation-settings: 'FILL' 1;
}

.features__name {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--tsg-primary);
  margin: 0 0 1.4rem;
  line-height: 1.3;
}

.features__desc {
  font-size: 1.6rem;
  color: var(--tsg-text-light);
  line-height: 1.9;
  margin: 0 0 2.0rem;
}

.features__tag {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.4rem 1.2rem;
  border-radius: 0.4rem;
  background: rgba(123, 53, 184, 1.0);
  color: #FFF;
  margin-top: 1.0em;
}

/* features__extra（修正5） */
.features__extra {
  margin-top: 8.0rem;
  padding-top: 6.4rem;
  border-top: 1px solid var(--tsg-border);
}

.features__extra-title {
  font-size: 2.0rem;
  font-weight: 700;
  color: var(--tsg-primary);
  text-align: center;
  margin: 0 0 4.0rem;
}

.features__extra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

.features__extra-card {
  background: var(--tsg-bg);
  border-radius: var(--tsg-radius);
  padding: 2.8rem 2.4rem;
  border: 1px solid var(--tsg-border);
}

/* .features__extra-card:hover — removed (not clickable) */

.features__extra-icon {
  width: 4.8rem;
  height: 4.8rem;
  background: var(--tsg-accent-grad);
  border-radius: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  color: #FFF;
}

.features__extra-icon .material-symbols-rounded {
  font-size: 2.4rem;
  color: #fff !important;
  font-variation-settings: 'FILL' 1;
}

.features__extra-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--tsg-primary);
  margin: 0 0 1.0rem;
}

.features__extra-desc {
  font-size: 1.4rem;
  color: var(--tsg-text-light);
  line-height: 1.8;
  margin: 0;
}

/* 導入効果ブロック */
.features__effect {
  margin-top: 1.6rem;
  padding: 1.2rem 1.6rem;
  background: linear-gradient(135deg, rgba(123, 53, 184, 0.06), rgba(180, 62, 198, 0.06));
  border-radius: 8px;
}

.features__effect-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--tsg-accent-from);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.features__effect-label .material-symbols-rounded {
  font-size: 1.4rem;
  font-variation-settings: 'FILL' 1;
}

.features__effect-text {
  font-size: 1.4rem;
  color: var(--tsg-text);
  line-height: 1.7;
  margin: 0;
  font-weight: 500;
}

/* ============================================================
   SECTION 5 選ばれる理由（修正6: 画像追加）
   ============================================================ */
.reasons {
  background: var(--tsg-bg);
}

.reasons__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.8rem;
}

.reasons__card {
  background: var(--tsg-white);
  border-radius: var(--tsg-radius);
  border: 1px solid var(--tsg-border);
  overflow: hidden;
  padding: 0;
}

/* .reasons__card:hover — removed (not clickable) */

.reasons__card-image {
  background: linear-gradient(135deg, rgba(123, 53, 184, 0.1), rgba(180, 62, 198, 0.08));
  min-height: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reasons__card-image img {
  width: 100%;
  height: 37rem;
  object-fit: cover;
  display: block;
}

.reasons__card-image-icon {
  font-size: 5.6rem;
  color: rgba(123, 53, 184, 0.25);
}

.reasons__card-body {
  padding: 2.8rem;
}

.reasons__card-icon {
  width: 5.2rem;
  height: 5.2rem;
  background: var(--tsg-accent-grad);
  border-radius: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
}

.reasons__card-icon .material-symbols-rounded {
  font-size: 2.6rem;
  color: var(--tsg-white);
  font-variation-settings: 'FILL' 1;
}

.reasons__card-title {
  font-size: 2.0rem;
  font-weight: 700;
  color: var(--tsg-primary);
  margin: 0 0 1.2rem;
}

.reasons__card-text {
  font-size: 1.5rem;
  color: var(--tsg-text-light);
  line-height: 1.85;
  margin: 0;
}

/* ============================================================
   SECTION 6 料金プラン（修正7: .pricing__btn）
   ============================================================ */
.pricing {
  background: var(--tsg-white);
}

.pricing__note {
  background: rgba(123, 53, 184, 0.05);
  border: 1px solid rgba(123, 53, 184, 0.15);
  border-radius: 0.8rem;
  padding: 1.4rem 2.0rem;
  font-size: 1.4rem;
  color: var(--tsg-text-light);
  text-align: center;
  margin-bottom: 4.8rem;
}

.pricing__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.0rem;
  margin-bottom: 1.6rem;
  align-items: stretch;
}

.pricing__card {
  background: var(--tsg-bg);
  border-radius: var(--tsg-radius);
  padding: 3.2rem 2.4rem;
  border: 1px solid var(--tsg-border);
  text-align: center;
  position: relative;
  transition: box-shadow var(--tsg-transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing__card ul li {
  color: #333;
}

.pricing__card.pricing__card--enterprise ul li {
  color: #FFF !important;
}

.pricing__card:hover {
  box-shadow: var(--tsg-shadow);
}

.pricing__card--featured {
  background: var(--tsg-primary);
  color: var(--tsg-white);
  border-color: transparent;
  box-shadow: 0 8px 40px rgba(26, 26, 46, 0.2);
}

.pricing__badge {
  position: absolute;
  top: -1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tsg-accent-grad);
  color: var(--tsg-white);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.4rem 1.4rem;
  border-radius: 1.2rem;
  white-space: nowrap;
}

.pricing__plan-name {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 0.8rem;
  color: inherit;
}

.pricing__price {
  margin: 1.2rem 0 0.4rem;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.pricing__price-amount {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.pricing__price-period {
  font-size: 1.2rem;
  font-weight: 400;
}

.pricing__price-label {
  font-size: 1.1rem;
  font-weight: 400;
}

.pricing__tagline {
  font-size: 1.2rem;
  color: var(--tsg-text-light);
  margin: 0 0 2.0rem;
  line-height: 1.5;
}

.pricing__card--featured .pricing__tagline {
  color: rgba(255, 255, 255, 0.65);
}

.pricing__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.4rem;
  text-align: left;
  font-size: 1.4rem;
  flex: 1;
}

.pricing__features li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.pricing__card--featured .pricing__features li {
  color: rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.pricing__features li .material-symbols-rounded {
  font-size: 1.6rem;
  color: var(--tsg-accent-from);
  flex-shrink: 0;
  font-variation-settings: 'FILL' 1;
}

.pricing__card--featured .pricing__features li .material-symbols-rounded {
  color: #B43EC6;
}

.pricing__features li .dash {
  font-size: 1.6rem;
  color: var(--tsg-border);
  flex-shrink: 0;
}

/* 修正7: pricing__btn（旧 pricing__cta を置き換え） */
.pricing__btn {
  color: #fff !important;
  background: linear-gradient(135deg, #B43EC6, #7B35B8);
  border: none;
  padding: 1.4rem 2.4rem;
  border-radius: 0.8rem;
  font-size: 1.6rem;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: opacity var(--tsg-transition), transform var(--tsg-transition);
  font-family: var(--tsg-font);
  margin-top: auto;
}

.pricing__btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff !important;
}

.pricing__card--featured .pricing__btn {
  background: linear-gradient(135deg, #B43EC6, #7B35B8);
  color: #fff !important;
}

/* エンタープライズカード */
.pricing__card--enterprise {
  background: linear-gradient(145deg, #1a1a2e 0%, #4a2590 60%, #B43EC6 100%);
  color: #fff;
  border: 2px solid rgba(180, 62, 198, 0.6);
  padding: 3.2rem 2.4rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(123, 53, 184, 0.4);
}

.pricing__card--enterprise::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(180, 62, 198, 0.3), transparent 70%);
  border-radius: 50%;
}

.pricing__badge--premium {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #fcd34d);
  color: #78350f;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 0.3rem 1.0rem;
  border-radius: 10rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.2rem;
}

.pricing__card--enterprise .pricing__plan-name {
  color: #fff;
  font-size: 1.6rem;
}

.pricing__card--enterprise .pricing__price {
  color: #fff;
}

.pricing__card--enterprise .pricing__price-amount {
  font-size: 2.2rem;
  /* 他カードと同じサイズに */
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.pricing__card--enterprise .pricing__price-period {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.pricing__card--enterprise .pricing__price-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}

.pricing__card--enterprise .pricing__tagline {
  color: rgba(255, 255, 255, 0.8);
}

.pricing__features--enterprise {
  list-style: none;
  padding: 0;
  margin: 2.0rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.6rem;
}

.pricing__feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing__feature-item::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  background: rgba(180, 62, 198, 0.5);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.pricing__card--enterprise .pricing__desc {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 2.0rem;
}

.pricing__card--enterprise .pricing__btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #1a1a2e !important;
  font-weight: 800;
}

.pricing__card--enterprise .pricing__btn:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

/* 比較表 */
.pricing__table-wrap {
  margin-top: 4.8rem;
  overflow-x: auto;
  border-radius: var(--tsg-radius);
  border: 1px solid var(--tsg-border);
}

.pricing__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.5rem;
  min-width: 600px;
}

.pricing__table th,
.pricing__table td {
  padding: 1.4rem 1.8rem;
  text-align: center;
  border-bottom: 1px solid var(--tsg-border);
}

.pricing__table th:first-child,
.pricing__table td:first-child {
  text-align: left;
  font-weight: 600;
  background: var(--tsg-bg);
  min-width: 200px;
}

.pricing__table thead th {
  background: var(--tsg-primary);
  color: var(--tsg-white);
  font-size: 1.5rem;
  font-weight: 700;
}

.pricing__table thead th:first-child {
  background: var(--tsg-primary);
  color: var(--tsg-white);
}

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

.pricing__table .check .material-symbols-rounded {
  font-size: 2.0rem;
  color: var(--tsg-accent-from);
  font-variation-settings: 'FILL' 1;
  vertical-align: middle;
}

.pricing__table .dash {
  color: var(--tsg-border);
  font-size: 1.6rem;
}

/* ============================================================
   SECTION 7 CTA バナー
   ============================================================ */
.cta-banner {
  background: var(--tsg-accent-grad);
  text-align: center;
  padding: 8.8rem 2.4rem;
}

.cta-banner__title {
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: var(--tsg-white);
  margin: 0 0 1.2rem;
  line-height: 1.35;
}

.cta-banner__sub {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 3.6rem;
}

.cta-banner .tsg-btn--secondary {
  font-size: 1.8rem;
  padding: 1.8rem 4.4rem;
  border-color: rgba(255, 255, 255, 0.65);
}

/* ============================================================
   SECTION 8 FAQ
   ============================================================ */
.faq {
  background: var(--tsg-bg);
}

.faq__list {
  max-width: 76.0rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.tsg-faq-item {
  background: var(--tsg-white);
  border-radius: var(--tsg-radius);
  border: 1px solid var(--tsg-border);
  overflow: hidden;
  transition: box-shadow var(--tsg-transition);
}

.tsg-faq-item.is-open {
  box-shadow: var(--tsg-shadow);
}

.tsg-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.0rem 2.4rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--tsg-primary);
  gap: 1.6rem;
  font-family: var(--tsg-font);
  line-height: 1.5;
}

.faq__q-label {
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  background: var(--tsg-accent-grad);
  color: var(--tsg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.faq__q-text {
  flex: 1;
  font-size: 1.6rem;
}

.faq__icon {
  flex-shrink: 0;
  font-size: 2.2rem;
  color: var(--tsg-accent-from);
  transition: transform 0.3s ease;
  font-variation-settings: 'FILL' 0;
}

.tsg-faq-item.is-open .faq__icon {
  transform: rotate(180deg);
}

.tsg-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tsg-faq-item.is-open .tsg-faq-answer {
  max-height: 300px;
}

.tsg-faq-answer__inner {
  padding: 0 2.4rem 2.0rem 6.8rem;
  font-size: 1.5rem;
  color: var(--tsg-text-light);
  line-height: 1.85;
}

/* ============================================================
   SECTION 9 お問い合わせ
   ============================================================ */
.contact {
  background: var(--tsg-white);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5.6rem;
  align-items: start;
}

.contact__info {
  padding: 3.2rem 2.8rem;
  background: var(--tsg-bg);
  border-radius: var(--tsg-radius);
  border: 1px solid var(--tsg-border);
  position: sticky;
  top: calc(var(--tsg-header-height) + 2.0rem);
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--tsg-border);
}

.contact__info-item:last-child {
  border-bottom: none;
}

.contact__info-item .material-symbols-rounded {
  font-size: 2.4rem;
  color: var(--tsg-accent-from);
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-variation-settings: 'FILL' 1;
}

.contact__info-text {
  font-size: 1.4rem;
  color: var(--tsg-text);
  line-height: 1.6;
}

.contact__info-text strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tsg-primary);
  margin-bottom: 0.2rem;
}

/* CF7 フォームスタイル */
.contact .wpcf7 {
  font-family: var(--tsg-font);
  font-size: 1.6rem;
}

.contact .wpcf7 p {
  margin-bottom: 1.6rem;
}

.contact .wpcf7 label {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--tsg-primary);
  margin-bottom: 0.6rem;
}

.contact .wpcf7 input[type="text"],
.contact .wpcf7 input[type="email"],
.contact .wpcf7 input[type="tel"],
.contact .wpcf7 textarea,
.contact .wpcf7 select {
  width: 100%;
  padding: 1.2rem 1.6rem;
  border: 1px solid var(--tsg-border);
  border-radius: 0.8rem;
  font-size: 1.6rem;
  font-family: var(--tsg-font);
  color: var(--tsg-text);
  background: var(--tsg-white);
  transition: border-color var(--tsg-transition), box-shadow var(--tsg-transition);
  appearance: none;
}

.contact .wpcf7 input:focus,
.contact .wpcf7 textarea:focus {
  outline: none;
  border-color: var(--tsg-accent-from);
  box-shadow: 0 0 0 3px rgba(123, 53, 184, 0.1);
}

.contact .wpcf7 textarea {
  min-height: 14.0rem;
  resize: vertical;
}

.contact .wpcf7 input[type="submit"] {
  background: linear-gradient(135deg, #B43EC6, #7B35B8);
  color: #fff !important;
  border: none;
  padding: 1.4rem 4.0rem;
  border-radius: 0.8rem;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--tsg-font);
  transition: opacity var(--tsg-transition), transform var(--tsg-transition);
}

.contact .wpcf7 input[type="submit"]:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ============================================================
   SECTION 10 最終 CTA
   ============================================================ */
.final-cta {
  background: var(--tsg-primary);
  text-align: center;
  padding: 10.8rem 2.4rem;
}

.final-cta__title {
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  font-weight: 700;
  color: var(--tsg-white);
  margin: 0 0 1.6rem;
  line-height: 1.3;
}

.final-cta__sub {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 4.4rem;
}

.final-cta__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.0rem;
}

/* ============================================================
   フッター
   ============================================================ */
.tsg-footer {
  background: var(--tsg-primary);
  color: var(--tsg-white);
  padding: 6.4rem 2.4rem 0;
}

/* フッター CTA セクション（修正8） */
.tsg-footer-cta {
  max-width: var(--tsg-max-width);
  margin: 0 auto 5.6rem;
  text-align: center;
  padding-bottom: 5.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tsg-footer-cta-text {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--tsg-white);
  margin: 0 0 2.4rem;
}

.tsg-footer-cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.6rem;
}

/* 修正8: フッターボタン */
.footer__btn-primary {
  background: linear-gradient(135deg, #B43EC6, #7B35B8);
  color: #fff !important;
  border: none;
  padding: 1.2rem 2.4rem;
  border-radius: 0.8rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: opacity var(--tsg-transition), transform var(--tsg-transition);
}

.footer__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff !important;
}

.footer__btn-secondary {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.7);
  padding: 1.2rem 2.4rem;
  border-radius: 0.8rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: background var(--tsg-transition), border-color var(--tsg-transition);
}

.footer__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff !important;
}

.tsg-footer-grid {
  max-width: var(--tsg-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4.8rem;
  padding-bottom: 4.8rem;
}

.tsg-footer-logo-txt {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.tsg-footer-tagline {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.6rem;
  font-weight: 500;
}

.tsg-footer-desc {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.85;
  margin: 0;
}

.tsg-footer-nav h4,
.tsg-footer-service h4 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  margin: 0 0 1.6rem;
}

.tsg-footer-nav ul,
.tsg-footer-service ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tsg-footer-nav li,
.tsg-footer-service li {
  margin-bottom: 1.0rem;
}

.tsg-footer-nav a,
.tsg-footer-service a {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--tsg-transition);
}

.tsg-footer-nav a:hover,
.tsg-footer-service a:hover {
  color: var(--tsg-white);
}

.tsg-footer-service .tsg-footer-service-cta {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--tsg-white);
  background: var(--tsg-accent-grad);
  padding: 0.8rem 1.6rem;
  border-radius: 0.6rem;
  transition: opacity var(--tsg-transition);
}

.tsg-footer-service .tsg-footer-service-cta:hover {
  opacity: 0.9;
  color: var(--tsg-white);
}

.tsg-footer-bottom {
  max-width: var(--tsg-max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.tsg-footer-legal {
  display: flex;
  gap: 2.0rem;
}

.tsg-footer-legal a {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--tsg-transition);
}

.tsg-footer-legal a:hover {
  color: rgba(255, 255, 255, 0.65);
}

.tsg-footer-copy {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

/* ============================================================
   AOS / アニメーション
   ============================================================ */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* カウントアップ */
.about__stat-num[data-count] {
  display: inline-block;
  min-width: 4rem;
}

/* ============================================================
   Material Symbols 共通
   ============================================================ */
.tsg-lp .material-symbols-rounded {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

/* ============================================================
   レスポンシブ — タブレット〜（max 1024px）
   ============================================================ */
@media (max-width: 1024px) {
  .pricing__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .features__extra-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   レスポンシブ — タブレット（max 768px）
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --tsg-header-height: 6.0rem;
  }

  .tsg-section {
    padding: 6.4rem 2.0rem;
  }

  .onsite-close {
    padding: 6.4rem 0;
  }

  .onsite-close__flow {
    grid-template-columns: 1fr;
  }

  .onsite-close__vs {
    padding-top: 0;
    font-size: 2.0rem;
  }

  .onsite-close__message {
    grid-template-columns: 1fr;
    padding: 3.2rem 2.4rem;
    gap: 3.2rem;
  }

  .header__nav,
  .header__cta {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .hero {
    padding: 5.0rem 2.0rem 5.0rem;
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 4.0rem;
    text-align: center;
  }

  .hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__badges {
    justify-content: center;
  }

  .hero__visual {
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    filter: none;
    order: -1;
  }

  .hero__mockup {
    width: 100%;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 4.0rem;
  }

  .problem__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features__item {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .features__item--reverse .features__image {
    order: unset;
  }

  .features__item--reverse .features__body {
    order: unset;
  }

  .features__extra-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reasons__grid {
    grid-template-columns: 1fr;
  }

  .pricing__cards {
    grid-template-columns: 1fr 1fr;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .contact__info {
    position: static;
  }

  .tsg-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tsg-footer-grid>div:first-child {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   レスポンシブ — スマホ（max 480px）
   ============================================================ */
@media (max-width: 480px) {
  .tsg-section {
    padding: 5.2rem 1.6rem;
  }

  .cta-banner {
    padding: 6.4rem 1.6rem;
  }

  .final-cta {
    padding: 7.6rem 1.6rem;
  }

  .problem__grid {
    grid-template-columns: 1fr;
  }

  .features__extra-grid {
    grid-template-columns: 1fr;
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .hero__cta .tsg-btn {
    width: 100%;
    text-align: center;
  }

  .pricing__cards {
    grid-template-columns: 1fr;
  }

  .pricing__card--featured {
    order: -1;
  }

  .tsg-footer-grid {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .tsg-footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .tsg-footer-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .final-cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .final-cta__buttons .tsg-btn {
    width: 100%;
    max-width: 32.0rem;
    text-align: center;
  }
}

/* ============================================================
   ご請求について（pricing-notes）
   ============================================================ */
.pricing-notes {
  max-width: 900px;
  margin: 60px auto 0;
  padding: 40px;
  background: #f9f9f9;
  border-radius: 12px;
}

.pricing-notes h3 {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 32px;
  color: #333;
}

.pricing-note-block {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e0e0e0;
}

.pricing-note-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.pricing-note-block h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #444;
}

.pricing-note-block h4 .material-symbols-rounded {
  font-size: 1.4rem;
  color: #7c3aed;
}

.pricing-example {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-top: 16px;
}

.pricing-calc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}

.pricing-calc-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.pricing-calc-table td:last-child {
  text-align: right;
  white-space: nowrap;
}

.pricing-calc-total td {
  border-top: 2px solid #333;
  border-bottom: none;
  padding-top: 12px;
}

.pricing-note-small {
  font-size: 0.85rem;
  color: #888;
  margin-top: 8px;
}

.pricing-faq dt {
  font-weight: bold;
  margin-top: 16px;
  color: #333;
}

.pricing-faq dd {
  margin: 4px 0 0 16px;
  color: #555;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .pricing-notes {
    padding: 24px 16px;
  }

  .pricing-calc-table td {
    font-size: 0.85rem;
    padding: 6px 8px;
  }
}