/* ============================================================
   Tsumugi LP — sample stylesheet
   design.md (Clear SaaS) に厳密準拠。
   色・フォント・間隔は全てトークン経由。

   命名規則: プレフィックス + BEM (design.md §5.5 参照)
     l-*  Layout     ページ骨格 (l-container, l-header)
     c-*  Component  再利用部品 (c-button, c-brand, c-nav)
     p-*  Project    テンプレ固有の塊 (p-hero, p-mock-dashboard)
     u-*  Utility    補助クラス (u-sp-only)
     要素は __ 、修飾子は -- で表す (例: c-button--primary)
   ============================================================ */

/* ===== 1. Design Tokens ===== */
:root {
  /* --- Primary Navy --- */
  --color-primary: #18408a;
  --color-primary-hover: #102d63;
  --color-primary-deep: #0a2456;

  /* --- Brand Gradient --- */
  --color-brand-blue: #4578d8;
  --color-brand-aqua: #2aaadd;
  --gradient-brand: linear-gradient(90deg, #4578d8 0%, #2aaadd 100%);

  /* --- Text --- */
  --color-text: #0f1b3d;
  --color-text-mute: #5b6478;
  --color-text-on-brand: #ffffff;
  --color-text-on-brand-mute: rgba(255, 255, 255, 0.85);

  /* --- Neutrals --- */
  --color-bg: #ffffff;
  --color-bg-soft: #f5f8fc;
  --color-bg-cool: #eef3fa;
  --color-border: #e1e7f0;

  /* --- Functional --- */
  --color-success: #2d9d78;
  --color-warning: #d97706;
  --color-danger: #d94545;

  /* --- Fonts --- */
  --font-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
  --font-en: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* --- Type Scale --- */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.75rem;
  --text-hero: 3.5rem;

  /* --- Spacing (8px base) --- */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-12: 6rem;
  --space-16: 8rem;

  /* --- Layout --- */
  --container-max: 1120px;
  --container-narrow: 800px;

  /* --- Radius --- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* --- Shadows (Material Design風の二層影 / ブランドグラデカラーを活用) --- */
  /* 近距離シャープ影: brand-blue #4578d8 */
  /* 遠距離アンビエント影: brand-aqua #2aaadd */
  --shadow-card:
    0 3px 10px rgba(69, 120, 216, 0.14),
    0 20px 44px rgba(42, 170, 221, 0.10);
  --shadow-card-strong:
    0 6px 16px rgba(69, 120, 216, 0.22),
    0 32px 64px rgba(42, 170, 221, 0.16);
}

/* ===== 2. Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-jp);
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--color-brand-aqua);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ===== 3. Utilities (u-) ===== */
.u-sp-only {
  display: inline;
}

@media (min-width: 768px) {
  .u-sp-only {
    display: none;
  }
}

/* ===== 4. Layout (l-) ===== */

/* --- l-container --- */
.l-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

@media (min-width: 768px) {
  .l-container {
    padding: 0 var(--space-4);
  }
}

/* --- l-header --- */
.l-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-3);
}

.l-header__cta {
  display: none;
}

@media (min-width: 1024px) {
  .l-header__cta {
    display: inline-flex;
  }
}

/* ===== 5. Components (c-) ===== */

/* --- c-button --- */
.c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-jp);
  font-size: var(--text-base);
  font-weight: 500;
  border-radius: var(--radius-sm);
  min-height: 52px;
  transition: background-color .2s ease,
    color .2s ease,
    box-shadow .2s ease,
    border-color .2s ease,
    transform .15s ease;
  white-space: nowrap;
}

.c-button--primary {
  background: #ffff00;          /* 黄色 */
  color: #000;
	font-weight: 700;             /* 黄色地は少し太字が映える */
}

.c-button--primary:hover {
  background: #f5c200;                         /* hoverで少し深い黄色に */
  box-shadow: 0 8px 22px rgba(245, 194, 0, 0.45); /* 黄色系の温かい影 */
  transform: translateY(-1px);                 /* ふわっと浮く */
}

/* Secondary: white bg + navy border (白背景用) */
.c-button--secondary {
  background: var(--color-bg-cool);
  color: var(--color-primary);
  border: none;
}

.c-button--secondary:hover {
  background: var(--color-border);
  color: var(--color-primary);
}

/* Ghost: transparent + white border (グラデ背景上で使う) */
.c-button--ghost {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.c-button--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
}

.c-button--sm {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-sm);
  min-height: 40px;
}

/* --- c-brand --- */
.c-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.c-brand__mark {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: var(--gradient-brand);
  border-radius: 4px;
}

/* --- c-nav --- */
.c-nav {
  display: none;
  gap: var(--space-4);
}

.c-nav a {
  font-size: 16px;
  font-weight: 500;
  position: relative;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: var(--color-text);
  transition: -webkit-text-fill-color .25s ease;
}

.c-nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gradient-brand);
  transition: transform .2s ease;
}

.c-nav a:hover {
  -webkit-text-fill-color: transparent;
}

.c-nav a:hover::after {
  transform: translateX(-50%) scale(1);
}

@media (min-width: 1024px) {
  .c-nav {
    display: flex;
  }
}

/* ===== 6. Project (p-) ===== */

/* --- p-hero --- */
.p-hero {
  position: relative;
  padding: var(--space-6) 0 var(--space-8);
  background: var(--gradient-brand);
  color: var(--color-text-on-brand);
  overflow: hidden;
  isolation: isolate;
}

.p-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.18), transparent 42%),
    radial-gradient(circle at 88% 92%, rgba(255, 255, 255, 0.10), transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.p-hero__inner {
  display: grid;
  gap: var(--space-6);
  align-items: center;
  grid-template-columns: 1fr;
}

.p-hero__copy {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.p-hero__eyebrow {
  font-family: var(--font-en);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.p-hero__title {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.3;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-1);
  font-kerning: normal;
  font-feature-settings: "palt" 1;
  text-shadow: 0 4px 18px rgba(10, 36, 86, 0.15);
}

.p-hero__title-line {
  display: block;
  white-space: nowrap;
}

.p-hero__lead {
  font-size: var(--text-base);
  color: var(--color-text-on-brand-mute);
  line-height: 1.85;
  margin-bottom: var(--space-4);
}

.p-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.p-hero__visual {
  width: 100%;
}

@media (min-width: 768px) {
  .p-hero {
    padding: var(--space-12) 0;
  }

  .p-hero__title {
    font-size: var(--text-3xl);
  }

  .p-hero__lead {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .p-hero {
    padding: var(--space-16) 0;
  }

  .p-hero__inner {
	  display: flex;
  align-items: center;
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-6);
  }

  .p-hero__copy {
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .p-hero__title {
    font-size: var(--text-hero);
    line-height: 1.3;
  }

  .p-hero__actions {
    justify-content: flex-start;
  }
}

/* --- p-hero__visual-image (差し替え可能なヒーローイラスト) --- */
.p-hero__visual-image {
  display: block;
  width: auto;
  max-width: 360px;   /* ← これを足す。横の暴走を止める */
  height: auto;
  max-height: 348px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .p-hero__visual-image {
    max-width: 200px;
  }
}

/* ============================================================
   追加: Section共通レイアウト と セクションヘッド
   ============================================================ */

/* --- l-section (セクション共通の縦paddingと背景) --- */
.l-section {
  padding: var(--space-8) 0;
}

.l-section--soft {
  background: var(--color-bg-soft);
}

.l-section--cool {
  background: var(--color-bg-cool);
}

.l-section--brand {
  background: var(--gradient-brand);
  color: var(--color-text-on-brand);
}

@media (min-width: 768px) {
  .l-section {
    padding: var(--space-12) 0;
  }
}

@media (min-width: 1024px) {
  .l-section {
    padding: var(--space-16) 0;
  }
}

/* --- c-section-head (日英併記のセクションヘッド) --- */
.c-section-head {
  margin-bottom: var(--space-6);
  max-width: 100%;
}

.c-section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.c-section-head__eyebrow {
  font-family: var(--font-en);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.c-section-head__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-3);
  font-kerning: normal;
  font-feature-settings: "palt" 1;
}

.c-section-head__lead {
  font-size: var(--text-base);
  color: #18408a;
  line-height: 1.9;
  font-weight: bold;
}

@media (min-width: 768px) {
  .c-section-head {
    margin-bottom: var(--space-8);
  }

  .c-section-head__title {
    font-size: var(--text-3xl);
  }

  .c-section-head__lead {
    font-size: var(--text-lg);
  }
}

/* ============================================================
   追加: p-issues (お悩み提起)
   ============================================================ */
.p-issues {
  position: relative;
  isolation: isolate;
}

.p-issues::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/pattern_grid.png');
  background-repeat: repeat;
  background-size: 300px;
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
}

.p-issues::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 48px solid transparent;
  border-right: 48px solid transparent;
  border-top: 40px solid var(--color-bg-soft);
  z-index: 1;
}

.p-issues__list {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
}

.p-issues__item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.p-issues__item-visual {
  margin: calc(var(--space-4) * -1) calc(var(--space-4) * -1) var(--space-3);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-issues__item-image {
  display: block;
  width: 100%;
  height: auto;
}

.p-issues__item-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
  margin-bottom: var(--space-2);
  text-align: center;
}

.p-issues__item-text {
  font-size: var(--text-base);
  color: var(--color-text-mute);
  line-height: 1.85;
}

@media (min-width: 768px) {
  .p-issues__list {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }
}

/* ============================================================
   追加: p-solution (お悩みへの回答・2カラム大画像レイアウト)
   ============================================================ */
/* Solution 専用の広めのコンテナ(l-container より広く、両側にブリード) */
.p-solution__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--space-3);
}

.p-solution__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.p-solution__visual {
  display: flex;
  justify-content: center;
}

.p-solution__image {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius-lg);
}

.p-solution__label {
  font-family: var(--font-en);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-brand-blue);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.p-solution__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.4;
  margin-bottom: var(--space-3);
  font-kerning: normal;
  font-feature-settings: "palt" 1;
  letter-spacing: 0.02em;
}

.p-solution__text {
  font-size: var(--text-base);
  color: var(--color-text-mute);
  line-height: 1.85;
  margin-bottom: var(--space-3);
}

.p-solution__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.p-solution__points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.75;
  font-weight: bold;
}

.p-solution__points svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 5px;
  color: var(--color-brand-aqua);
}

@media (min-width: 768px) {
  .p-solution__list {
    padding: 0 var(--space-4);
  }

  .p-solution__image {
    max-width: 600px;
  }

  .p-solution__title {
    font-size: var(--text-2xl);
  }
}

@media (min-width: 1024px) {
  .p-solution__list {
    gap: var(--space-16);
  }

  .p-solution__item {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--space-8);
    align-items: center;
  }

  .p-solution__image {
    max-width: none;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .p-solution__content {
    padding: var(--space-4) 0;
  }

  .p-solution__title {
    font-size: 2.25rem;
  }
}

/* ============================================================
   追加: p-cta (都度挟み込める compact CTA 帯 / ブランドグラデ背景)
   ============================================================ */
.p-cta {
  background: var(--gradient-brand);
  color: var(--color-text-on-brand);
  padding: var(--space-6) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.p-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}

.p-cta__content {
  width: 100%;
}

.p-cta__eyebrow {
  font-family: var(--font-en);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.p-cta__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  font-kerning: normal;
  font-feature-settings: "palt" 1;
  letter-spacing: 0.02em;
}

.p-cta__text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-top: var(--space-1);
}

.p-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.p-cta__actions .c-button {
  min-width: 220px;
}

@media (min-width: 768px) {
  .p-cta {
    padding: var(--space-8) 0;
  }

  .p-cta__title {
    font-size: var(--text-2xl);
  }
}

@media (min-width: 1024px) {
  .p-cta__actions .c-button {
    min-width: 200px;
  }
}

/* ============================================================
   追加: p-strengths (強み紹介・大きな数字)
   ============================================================ */
.p-strengths__list {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
}

.p-strengths__item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
}

.p-strengths__metric {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
  margin-bottom: var(--space-1);
}

.p-strengths__metric-number {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.p-strengths__metric-unit {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.p-strengths__metric--convert {
  gap: 8px;
}

.p-strengths__metric-from {
  font-family: var(--font-en);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text-mute);
  letter-spacing: -0.02em;
  line-height: 1;
}

.p-strengths__metric-arrow {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-mute);
  line-height: 1;
}

.p-strengths__metric-to {
  font-family: var(--font-en);
  font-size: 2.1rem;
  font-weight: 700;
  color: #e8392c;
  letter-spacing: -0.02em;
  line-height: 1;
}

.p-strengths__metric-to--sub {
  color: var(--color-primary);
}

.p-strengths__metric-caption {
  font-family: var(--font-en);
  font-size: var(--text-xs);
  color: var(--color-text-mute);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-3);
}

.p-strengths__item-title {
	text-align: center;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
  margin-bottom: var(--space-2);
}

.p-strengths__item-text {
  font-size: var(--text-base);
  color: var(--color-text-mute);
  line-height: 1.85;
}

@media (min-width: 768px) {
  .p-strengths__list {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }

  .p-strengths__metric-number {
    font-size: 3.5rem;
  }

  .p-strengths__metric-unit {
    font-size: 1.75rem;
  }
}

/* ============================================================
   追加: p-features (機能紹介・6つ横並びアイコン+見出し)
   ============================================================ */
.p-features__list {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
}

.p-features__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.p-features__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  color: #ffffff;
  background: var(--gradient-brand);
  border-radius: 50%;
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-2);
}

.p-features__icon svg {
  width: 34px;
  height: 34px;
}

.p-features__item-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .p-features__list {
    grid-template-columns: repeat(3, 1fr);
    max-width: 720px;
    margin-inline: auto;
    gap: var(--space-3);
  }

  .p-features__icon {
    width: 100px;
    height: 100px;
  }

  .p-features__icon svg {
    width: 40px;
    height: 40px;
  }

  .p-features__item-title {
    font-size: var(--text-base);
  }
}

/* ============================================================
   追加: p-pricing (3プラン・中央カード強調)
   ============================================================ */
.p-pricing__list {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
  max-width: 960px;
  margin: 0 auto;
}

.p-pricing__item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
}

.p-pricing__item--recommended {
  box-shadow: var(--shadow-card-strong);
}

.p-pricing__badge {
  position: absolute;
  top: 0;
  left: var(--space-3);
  transform: translateY(-50%);
  background: var(--gradient-brand);
  color: #ffffff;
  font-family: var(--font-en);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.p-pricing__plan-name {
  font-family: var(--font-en);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}

.p-pricing__plan-desc {
  font-size: var(--text-sm);
  color: var(--color-text-mute);
  margin-top: 2px;
  margin-bottom: var(--space-3);
}

.p-pricing__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0;
  line-height: 1;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  filter: blur(7px);
  /* 数値を大きくするほど強くぼける */
  user-select: none;
  /* ドラッグでコピーされても読めないように */
}

.p-pricing__price-currency {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.p-pricing__price-number {
  font-family: var(--font-en);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  margin-left: 2px;
}

.p-pricing__price-period {
  font-size: var(--text-sm);
  color: var(--color-text-mute);
  margin-left: 6px;
}

.p-pricing__price-custom {
  font-family: var(--font-jp);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
}

.p-pricing__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1;
}

.p-pricing__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.7;
}

.p-pricing__features svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 5px;
  color: var(--color-primary);
}

.p-pricing__cta {
  width: 100%;
}

@media (min-width: 768px) {
  .p-pricing__list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    align-items: stretch;
  }

  .p-pricing__item:last-child {
    grid-column: 1 / -1;
    width: calc((100% - var(--space-3)) / 2);
    justify-self: center;
  }
}

@media (min-width: 1024px) {
  .p-pricing__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .p-pricing__item:last-child {
    width: auto;
    grid-column: auto;
    justify-self: auto;
  }

  .p-pricing__item--recommended {
    transform: translateY(-8px);
  }
}

/* ============================================================
   p-voice (お客様の声・写真上＋縦カード)
   ============================================================ */
.p-voice__list {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
}
.p-voice__item {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.p-voice__photo {
  height: 270px;          /* ← この見え方くらいの高さ。お好みで調整 */
  overflow: hidden;       /* はみ出しを隠す＝下のテキストに重ならない */
  background: #00cde0;    /* 画像のシアンに近い色（実際は画像が覆うのでほぼ見えません） */
}
.p-voice__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;   /* ← 頭側を固定（上を優先表示） */
  display: block;
}
.p-voice__body {
  padding: var(--space-4);
}
.p-voice__headline {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.55;
  margin: 0 0 var(--space-2);
}
.p-voice__meta {
  font-size: var(--text-xs);
  color: var(--color-text-mute);
  line-height: 1.6;
  padding-left: 10px;
  border-left: 3px solid var(--color-brand-blue);
  margin: 0 0 var(--space-3);
}
.p-voice__quote {
  font-size: var(--text-sm);
  color: var(--color-text-mute);
  line-height: 1.85;
  margin: 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}
@media (min-width: 768px) {
  .p-voice__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   追加: p-steps (導入5ステップ・縦連結カード + チェブロン)
   ============================================================ */
.p-steps__list {
  list-style: none;
  padding: 0;
  max-width: 760px;
  margin: 0 auto;
}

.p-steps__item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  box-shadow: var(--shadow-card);
}

.p-steps__item:last-child {
  margin-bottom: 0;
}

.p-steps__item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: calc(var(--space-3) * -1);
  transform: translateX(-50%);
  width: 0;
  height: var(--space-3);
  border-left: 2px dashed #c0c8d4;
}

.p-steps__number {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: 2.25rem;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.02em;
  min-width: 56px;
}

.p-steps__body {
  flex: 1;
  min-width: 0;
}

.p-steps__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
  margin-bottom: var(--space-1);
  font-kerning: normal;
  font-feature-settings: "palt" 1;
  letter-spacing: 0.02em;
}

.p-steps__text {
  font-size: var(--text-sm);
  color: var(--color-text-mute);
  line-height: 1.85;
}

@media (min-width: 768px) {
  .p-steps__number {
    font-size: 2.75rem;
    min-width: 72px;
  }

  .p-steps__title {
    font-size: var(--text-xl);
  }
}

/* ============================================================
   追加: p-contact (お問い合わせフォーム・必須/任意バッジ + プラポリ同意)
   ============================================================ */
.p-contact__form {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.p-contact__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.p-contact__label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.p-contact__badge {
  display: inline-block;
  padding: 2px 8px;
  font-family: var(--font-en);
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.p-contact__badge--required {
  background: var(--color-primary);
  color: #ffffff;
}

.p-contact__badge--optional {
  background: var(--color-border);
  color: var(--color-text-mute);
}

.p-contact__input,
.p-contact__textarea {
  font-family: var(--font-jp);
  font-size: var(--text-base);
  color: var(--color-text);
  padding: var(--space-2);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}

.p-contact__input:focus,
.p-contact__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(24, 64, 138, 0.12);
}

.p-contact__textarea {
  resize: vertical;
  line-height: 1.8;
  min-height: 140px;
}

.p-contact__agreement {
  margin-top: var(--space-2);
}

.p-contact__checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text);
  cursor: pointer;
}

.p-contact__checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.p-contact__link {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color .2s ease;
}

.p-contact__link:hover {
  color: var(--color-primary-hover);
}

.p-contact__submit {
  display: flex;
  justify-content: center;
  margin-top: var(--space-3);
}

.p-contact__submit .c-button {
  min-width: 280px;
}

.p-contact__done,
.p-contact__error {
  text-align: center;
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--text-sm);
}

.p-contact__done {
  background: var(--color-bg-soft);
  color: var(--color-primary);
}

/* ============================================================
   追加: p-final-cta (ページ末尾の大型締めCTA)
   ============================================================ */
.p-final-cta {
  background: var(--gradient-brand);
  color: var(--color-text-on-brand);
  padding: var(--space-12) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.p-final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.18), transparent 48%),
    radial-gradient(circle at 82% 88%, rgba(255, 255, 255, 0.12), transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.p-final-cta__inner {
  max-width: 720px;
}

.p-final-cta__eyebrow {
  font-family: var(--font-en);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.p-final-cta__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-3);
  font-kerning: normal;
  font-feature-settings: "palt" 1;
}

.p-final-cta__text {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.p-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}

.p-final-cta__actions .c-button {
  min-width: 240px;
}

@media (min-width: 768px) {
  .p-final-cta {
    padding: var(--space-16) 0;
  }

  .p-final-cta__title {
    font-size: var(--text-3xl);
  }

  .p-final-cta__text {
    font-size: var(--text-lg);
  }
}

@media (min-width: 1024px) {
  .p-final-cta__title {
    font-size: var(--text-hero);
  }
}

/* ============================================================
   追加: p-footer (ページ最下部・ダークネイビー背景)
   ============================================================ */
.p-footer {
  background: #1a3872;
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-8) 0 var(--space-4);
}

.p-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.p-footer__top {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.p-footer__brand-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.p-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.5rem;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.p-footer__brand-mark {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: var(--gradient-brand);
  border-radius: 4px;
}

.p-footer__tagline {
  font-family: var(--font-en);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
}

.p-footer__nav-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.p-footer__nav-list a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  transition: color .2s ease;
}

.p-footer__nav-list a:hover {
  color: #ffffff;
}

.p-footer__bottom {
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: center;
  text-align: center;
}

.p-footer__copyright {
  font-family: var(--font-en);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.03em;
}

.p-footer__legal {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.p-footer__legal a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
  transition: color .2s ease;
}

.p-footer__legal a:hover {
  color: #ffffff;
}

@media (min-width: 768px) {
  .p-footer {
    padding: var(--space-12) 0 var(--space-4);
  }

  .p-footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-8);
  }

  .p-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ============================================================
   追加: p-logos (導入企業ロゴの自動スクロールカルーセル)
   ============================================================ */
.p-logos {
  padding: var(--space-6) 0;
  background: #ffffff;
}

.p-logos__stats {
  text-align: center;
  margin-bottom: var(--space-6);
  padding: 0 var(--space-3);
}

.p-logos__stats-headline {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

.p-logos__stats-number {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0.25rem;
  vertical-align: -0.05em;
  line-height: 1;
}

.p-logos__stats-sub {
  font-size: var(--text-sm);
  color: var(--color-text-mute);
  margin-top: 0.25rem;
  line-height: 1.6;
}

.p-logos__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.p-logos__list {
  display: flex;
  width: max-content;
  list-style: none;
  padding: 0;
  margin: 0;
  animation: p-logos-scroll 32s linear infinite;
}

.p-logos__item {
  flex-shrink: 0;
  margin-right: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
}

.p-logos__item img {
  display: block;
  max-height: 48px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes p-logos-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33.333%);
  }
}

@media (min-width: 768px) {
  .p-logos {
    padding: var(--space-8) 0;
  }

  .p-logos__stats {
    margin-bottom: var(--space-8);
  }

  .p-logos__stats-headline {
    font-size: var(--text-2xl);
  }

  .p-logos__stats-number {
    font-size: 3.5rem;
  }

  .p-logos__stats-sub {
    font-size: var(--text-base);
  }

  .p-logos__item {
    margin-right: var(--space-4);
    min-width: 130px;
  }

  .p-logos__item img {
    max-height: 56px;
    max-width: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-logos__list {
    animation: none;
  }
}

/* ============================================================
   共通: 白い粒子アニメーション (ブランドグラデ背景セクション用)
   ============================================================ */

/* ============================================================
   どこでもクリニック向け 上書き
   和文ブランド名のため c-brand / footer brand を和文フォントに
   ============================================================ */
.c-brand,
.p-footer__brand {
  font-family: var(--font-jp);
  letter-spacing: 0.01em;
}

.c-brand {
  font-size: 1.2rem;
}

.p-footer__brand {
  font-size: 1.35rem;
}

/* Pricing: 税込併記の小さな注記 */
.p-pricing__price-note {
  font-size: var(--text-xs);
  color: var(--color-text-mute);
  margin-top: 2px;
  line-height: 1.5;
  width: 100%;
}

/* Pricing プラン内の福利厚生まとめ枠 */
.p-pricing__bundle {
  background: var(--color-bg-soft);
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  margin-bottom: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text);
  line-height: 1.7;
}

.p-pricing__bundle strong {
  display: block;
  color: var(--color-primary);
  font-size: var(--text-sm);
  margin-bottom: 2px;
}

/* Contact: 連絡先補足 */
.p-contact__direct {
  text-align: center;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-mute);
  line-height: 1.8;
}

.p-contact__direct strong {
  font-family: var(--font-en);
  color: var(--color-primary);
  font-weight: 700;
}

/* Footer: 会社概要の細目 */
.p-footer__company {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  margin-top: var(--space-1);
}

.center {
  text-align: center;
}

/* PC表示の時は改行を非表示にする */
.sp-only {
  display: none;
}

/* スマホ表示の時（例: 767px以下）は改行を表示する */
@media screen and (max-width: 767px) {
  .sp-only {
    display: inline;
  }
}

.marker {
  color: #18408a;
  font-weight: bold;
}

/* ============================================================
   プラン比較表 (p-compare) / オプション (p-options)
   ============================================================ */
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.p-compare {
  max-width: 720px;
  margin: 0 auto;
  overflow-x: auto;
}

.p-compare__table {
  width: 100%;
  min-width: 320px;
  border-collapse: separate;
  border-spacing: 0;
}

.p-compare__corner {
  border: 0;
  background: transparent;
}

.p-compare__plan {
  text-align: center;
  vertical-align: bottom;
  padding: var(--space-2) var(--space-1);
  border-bottom: 2px solid var(--color-border);
}

.p-compare__plan--rec {
  background: var(--color-bg-soft);
  border-bottom-color: var(--color-primary);
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}

.p-compare__badge {
  display: inline-block;
  background: var(--color-primary);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.p-compare__plan-name {
  display: block;
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-text);
}

.p-compare__plan-desc {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-mute);
  margin-top: 2px;
}

.p-compare__feature {
  text-align: left;
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-text);
  padding: var(--space-2) var(--space-2) var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
}

.p-compare__feature-sub {
  display: block;
  font-weight: 400;
  font-size: var(--text-xs);
  color: var(--color-text-mute);
  margin-top: 2px;
}

.p-compare__cell {
  text-align: center;
  vertical-align: middle;
  padding: var(--space-2) var(--space-1);
  border-bottom: 1px solid var(--color-border);
}

.p-compare__cell--rec {
  background: var(--color-bg-soft);
}

.p-compare__check {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto;
  color: var(--color-primary);
}

.p-compare__dash {
  display: block;
  text-align: center;
}

.p-compare__dash {
  color: var(--color-border);
  font-weight: 700;
}

.p-compare__table tfoot .p-compare__feature,
.p-compare__table tfoot .p-compare__cell {
  border-bottom: 0;
  padding-top: var(--space-3);
}

.p-compare__table tfoot .p-compare__cell--rec {
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

.p-compare__feature--price {
  font-weight: 700;
  color: var(--color-text);
}

.p-compare__price {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.p-compare__price-masked {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  filter: blur(9px);
  user-select: none;
}

.p-compare__price-unit {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-mute);
}

.p-compare__note {
  max-width: 720px;
  margin: var(--space-3) auto 0;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-mute);
  line-height: 1.7;
}

.p-options {
  max-width: 720px;
  margin: var(--space-4) auto 0;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
}

.p-options__label {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-primary);
}

.p-options__desc {
  font-size: var(--text-sm);
  color: var(--color-text-mute);
  margin-top: 2px;
}

.p-options__list {
  list-style: none;
  margin: var(--space-2) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-1);
}

.p-options__list li {
  position: relative;
  padding-left: 22px;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.p-options__list li::before {
  content: "+";
  position: absolute;
  left: 4px;
  color: var(--color-primary);
  font-weight: 700;
}

.p-options__note {
  font-size: var(--text-xs);
  color: var(--color-text-mute);
  margin-top: var(--space-2);
}

@media (min-width: 768px) {
  .p-options__list {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-1) var(--space-3);
  }
}

/* ============================================================
   Contact Form 7：LP用デザイン調整
   ============================================================ */

.p-contact__form--cf7 {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.p-contact__form--cf7 .wpcf7 {
  width: 100%;
}

.p-contact__form--cf7 .wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.p-contact__form--cf7 .wpcf7 p {
  margin: 0;
}

.p-contact__form--cf7 label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.7;
}

.p-contact__form--cf7 .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.p-contact__form--cf7 input[type="text"],
.p-contact__form--cf7 input[type="email"],
.p-contact__form--cf7 input[type="tel"],
.p-contact__form--cf7 input[type="url"],
.p-contact__form--cf7 input[type="number"],
.p-contact__form--cf7 select,
.p-contact__form--cf7 textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  font-family: var(--font-jp);
  font-size: var(--text-base);
  color: var(--color-text);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.p-contact__form--cf7 textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.8;
}

.p-contact__form--cf7 input:focus,
.p-contact__form--cf7 select:focus,
.p-contact__form--cf7 textarea:focus {
  outline: none;
  border-color: var(--color-brand-blue);
  box-shadow: 0 0 0 3px rgba(69, 120, 216, 0.16);
  background: #ffffff;
}

.p-contact__form--cf7 input::placeholder,
.p-contact__form--cf7 textarea::placeholder {
  color: #9aa4b5;
}

.p-contact__form--cf7 .wpcf7-list-item {
  margin: 0;
}

.p-contact__form--cf7 .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}

.p-contact__form--cf7 input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--color-primary);
  flex: 0 0 auto;
}

.p-contact__form--cf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 56px;
  margin: 8px auto 0;
  padding: 0 32px;
  font-family: var(--font-jp);
  font-size: var(--text-base);
  font-weight: 700;
  color: #ffffff;
  background: var(--gradient-brand);
  border: none;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.p-contact__form--cf7 input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card-strong);
}

.p-contact__form--cf7 input[type="submit"]:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.p-contact__form--cf7 .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

.p-contact__form--cf7 .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-danger);
}

.p-contact__form--cf7 .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 700;
  text-align: center;
}

.p-contact__form--cf7 form.sent .wpcf7-response-output {
  color: var(--color-success);
  background: rgba(45, 157, 120, 0.1);
  border: 1px solid rgba(45, 157, 120, 0.25);
}

.p-contact__form--cf7 form.invalid .wpcf7-response-output,
.p-contact__form--cf7 form.unaccepted .wpcf7-response-output,
.p-contact__form--cf7 form.failed .wpcf7-response-output {
  color: var(--color-danger);
  background: rgba(217, 69, 69, 0.08);
  border: 1px solid rgba(217, 69, 69, 0.22);
}

@media (max-width: 767px) {
  .p-contact__form--cf7 {
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }

  .p-contact__form--cf7 input[type="submit"] {
    width: 100%;
    min-width: 0;
  }
}

.c-brand__logo {
  display: block;
  height: 32px;   /* ヘッダーの高さに合わせて調整 */
  width: auto;
}

.p-solution__journey {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.p-solution__journey-title {
  font-size: 2.25rem;   /* ← ここが実寸36pxで効きます */
  font-weight: 700;
  color: #18408a;
  margin: 0;
}
.p-solution__journey-lead {
  font-size: 1rem;
  font-weight: 500;
  color: #5b6478;
  margin: 8px 0 20px;
}

.p-sugume { max-width: 980px; margin: 0 auto; text-align: center; }
.p-sugume__photo { width: 100%; height: 300px; object-fit: cover; object-position: center; border-radius: 18px; display: block; }

.p-sugume__eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: 2px; color: #5b6478; margin: 26px 0 4px; }
.p-sugume__headline { font-size: 1.7rem; font-weight: 700; line-height: 1.45; margin: 0; }
.p-sugume__num { font-size: 3rem; color: #e8392c; margin: 0 4px; }

.p-sugume__logo-wrap { margin: 18px 0 6px; display: flex; justify-content: center; }
.p-sugume__logo { height: 48px; width: auto; }

.p-sugume__lead { font-size: 1.02rem; color: #5b6478; line-height: 1.7; margin: 10px auto 0; max-width: 620px; }

.p-sugume__points { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.p-sugume__point { flex: 1; min-width: 200px; max-width: 280px; padding: 6px 22px; }
.p-sugume__point--mid { border-left: 1px solid #e1e8f2; border-right: 1px solid #e1e8f2; }
.p-sugume__point-title { font-size: 1rem; font-weight: 700; color: #18408a; margin: 0; }
.p-sugume__point-text { font-size: .86rem; color: #5b6478; margin: 6px 0 0; line-height: 1.5; }

@media (max-width: 767px) {
  .p-sugume { padding: 32px 20px; }
  .p-sugume__headline { font-size: 1.1rem; line-height: 1.5; }
  .p-sugume__num { font-size: 1.458rem; }

  /* スマホだけ特長をカード化 */
  .p-sugume__point {
    flex: 1 1 100%;
    max-width: 100%;
    background: #f5f8fc;
    border: 1px solid #e8eef6;
    border-radius: 12px;
    padding: 16px 18px;
  }
  .p-sugume__point--mid { border: 1px solid #e8eef6; }
}


/* ブロックとブロックの間隔 */
.p-flow-bg__inner .p-sugume + .p-sugume { margin-top: 30px; }

.p-flow-bg { position: relative; overflow: hidden; }
.p-flow-bg__inner { position: relative; z-index: 1; }

.p-circ { position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; }

/* 輪郭の円（リング） */
.p-circ--ring1 { top: 40px;   left: -90px;   width: 300px; height: 300px; border: 1.5px solid rgba(24,64,138,0.13); }
.p-circ--ring2 { top: 470px;  right: -110px; width: 340px; height: 340px; border: 1.5px solid rgba(24,64,138,0.13); }
.p-circ--ring3 { bottom: 30px; left: -70px;  width: 260px; height: 260px; border: 1.5px solid rgba(24,64,138,0.13); }

/* やわらかい塗りの円（ブランドのキット色） */
.p-circ--fill1 { top: 90px;   left: -40px;  width: 200px; height: 200px; background: rgba(126,196,233,0.10); }
.p-circ--fill2 { top: 540px;  right: -50px; width: 210px; height: 210px; background: rgba(244,194,201,0.12); }
.p-circ--fill3 { bottom: 80px; left: 40px;  width: 120px; height: 120px; background: rgba(178,214,178,0.13); }

/* 共通の height 指定はやめて、ロゴごとに調整 */
.p-sugume__logo { width: auto; height: auto; max-width: 100%; }

/* SUGUME（横長）→ 幅で合わせる */
.p-flow-bg__inner .p-sugume:nth-of-type(1) .p-sugume__logo { width: 230px; }

/* T-PEC（ほぼ正方形）→ 高さで合わせる */
.p-flow-bg__inner .p-sugume:nth-of-type(2) .p-sugume__logo { height: 150px; }

/* SOKUYAKU → 高さで合わせる */
.p-flow-bg__inner .p-sugume:nth-of-type(3) .p-sugume__logo { height: 150px; }

.p-sugume {
  width: 100%;
  margin: 0 auto;
  border: 1px solid #e1e8f2;
  border-radius: 18px;
  padding: 40px 32px;
  background: #fff;
}

.p-sugume__figure { margin-top: 30px; }
.p-sugume__figure img { width: 100%; max-width: 560px; height: auto; display: block; margin: 0 auto; }

.p-zoomable { cursor: zoom-in; }

.p-figure__hint { font-size: .8rem; color: #5b6478; margin: 8px 0 0; }
.p-figure__hint::before { content: "🔍 "; }

/* ライトボックス（拡大表示） */
.p-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(0,0,0,.85);
  cursor: zoom-out; opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.p-lightbox.is-open { opacity: 1; pointer-events: auto; }
.p-lightbox img { max-width: 95vw; max-height: 95vh; box-shadow: 0 10px 40px rgba(0,0,0,.5); }

.p-solution__item--intro { display: block; }   /* 2カラム解除してフル幅に */

.p-solution__item--intro { display: block; text-align: center; }

.p-intro { max-width: 980px; margin: 0 auto; text-align: center; }
.p-intro__title { font-size: 1.9rem; font-weight: 700; color: #18408a; line-height: 1.5; margin: 0; }
.p-intro__lead { font-size: 1rem; color: #5b6478; margin: 12px 0 28px; }

.p-intro__row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.p-intro__card {
  flex: 0 0 200px; width: 200px; height: 120px;
  border: 1px solid #e1e8f2; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; padding: 18px;
}

/* ↓ テーマの img ルールに勝つため .p-intro__card で囲って指定 */
.p-intro__card .p-intro__logo { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.p-intro__card .p-intro__logo--sugume { width: 150px; height: auto; }
.p-intro__card .p-intro__logo--tpec { height: auto; width: auto; }
.p-intro__card .p-intro__logo--sokuyaku { height: auto; width: auto; }

.p-intro__link { flex: 0 0 56px; height: 2px; background: #cbd6e8; position: relative; align-self: center; }
.p-intro__link::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 9px; height: 9px; border-radius: 50%;
  background: #fff; border: 2px solid #18408a; transform: translate(-50%, -50%);
}

@media (max-width: 680px) {
  .p-intro__row { flex-direction: column; }
  .p-intro__link { width: 2px; height: 36px; flex-basis: 36px; }
}

.p-feat__row { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 16px; }
.p-feat__card {
  flex: 0 0 200px;
  border: 1px solid #e1e8f2; border-radius: 16px; padding: 24px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.p-feat__icon { width: 34px; height: 34px; }
.p-feat__name { font-size: 1.02rem; font-weight: 700; color: #fff; }

.p-solution-bg {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}
/* 中身を前面に */
.p-solution-bg > *:not(.p-solution-bg__circ) { position: relative; z-index: 1; }

.p-solution-bg__circ { position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; }
.p-solution-bg__circ--r1 { top: 40px;  left: -90px;  width: 300px; height: 300px; border: 1.5px solid rgba(24,64,138,0.12); }
.p-solution-bg__circ--f1 { top: 90px;  left: -40px;  width: 190px; height: 190px; background: rgba(126,196,233,0.12); }
.p-solution-bg__circ--r2 { bottom: -60px; right: -90px; width: 320px; height: 320px; border: 1.5px solid rgba(24,64,138,0.12); }
.p-solution-bg__circ--f2 { bottom: 20px;  right: 20px;  width: 150px; height: 150px; background: rgba(244,194,201,0.13); }

.p-solution {
  position: relative;
  overflow: hidden;
  background-color: #f0f7ff
  background-image:
    radial-gradient(circle at 5% 15%, rgba(126,196,233,0.16), transparent 20%),
    radial-gradient(circle at 95% 85%, rgba(244,194,201,0.16), transparent 20%);
}

/* 中身を前面に */
.p-solution > * { position: relative; z-index: 1; }

/* 円のあしらい（リング2つ） */
.p-solution::before,
.p-solution::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(24,64,138,0.12);
  z-index: 0;
  pointer-events: none;
}
.p-solution::before { top: 40px; left: -90px; width: 300px; height: 300px; }
.p-solution::after  { bottom: -60px; right: -90px; width: 320px; height: 320px; }

.p-solution__item--intro {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 54px 24px;
  background: var(--gradient-brand);
}
.p-solution__item--intro > * { position: relative; z-index: 1; }

/* テキストを白に反転 */
.p-solution__item--intro .p-solution__label { color: #ffffff; }
.p-solution__item--intro .p-intro__title    { color: #ffffff; }
.p-solution__item--intro .p-intro__lead     { color: #ffff00; }

/* 円のあしらい（リング2つ） */
.p-solution__item--intro::before,
.p-solution__item--intro::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.18); z-index: 0; pointer-events: none;
}
.p-solution__item--intro::before { top: 30px;  left: -80px;  width: 300px; height: 300px; }
.p-solution__item--intro::after  { bottom: -60px; right: -90px; width: 320px; height: 320px; }

/* 白カードを浮かせる */
.p-solution__item--intro .p-intro__card {
  background: #ffffff; border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

/* つなぎ線・ノードを濃い背景に合わせる */
.p-solution__item--intro .p-intro__link { background: rgba(255,255,255,0.4); }
.p-solution__item--intro .p-intro__link::after { background: #15315f; border-color: #fff; }

.p-solution__list { gap: 32px; }   /* 今より小さい値に。例: 80px → 32px */

.p-stat__bar { height: 8px; border-radius: 99px; background: #eef2f8; margin: 16px 0 6px; overflow: hidden; }


/* カードのふわっと表示 */
.p-strengths--anim .p-strengths__item { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.p-strengths--anim .p-strengths__item.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .p-strengths--anim .p-strengths__item { opacity: 1; transform: none; transition: none; }
  .p-stat__bar span { transition: none; }
}
.p-strengths--anim .p-strengths__item { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.p-strengths--anim .p-strengths__item.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .p-strengths--anim .p-strengths__item { opacity: 1; transform: none; transition: none; }
  .p-strengths--anim .p-stat__bar span { transition: none; }
}

.p-stat { text-align: center; margin-bottom: 16px; }
.p-stat__row { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.p-stat__from { font-size: 1.15rem; color: #9aa4b5; text-decoration: line-through; }
.p-stat__arrow { font-size: 1.3rem; color: #5b6478; }
.p-stat__to { font-size: 3.8rem; font-weight: 800; color: #e8392c; line-height: 1; }
.p-stat__to small { font-size: 1.3rem; font-weight: 700; color: #e8392c; }

.p-stat__bar { height: 8px; border-radius: 99px; background: #eef2f8; margin: 16px 0 6px; overflow: hidden; }
.p-stat__bar span { display: block; height: 100%; background: #e8392c; border-radius: 99px; }

.p-stat__cut { font-size: .78rem; font-weight: 700; color: #e8392c; margin: 0; }

.u-hl {
  background: linear-gradient(transparent 60%, rgba(255, 234, 0, 0.65) 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 2px;
}

.p-sugume__point-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.p-sugume__point-title::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232aaadd' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 8 7 12 13 4'/%3E%3C/svg%3E");
}

@media (max-width: 767px) {
  /* 機能カードをスマホで横スクロール（カルーセル） */
  .p-feat__row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 10px;
    scrollbar-width: none;            /* Firefox: スクロールバー非表示 */
  }
  .p-feat__row::-webkit-scrollbar { display: none; }  /* Chrome/Safari */

  .p-feat__card {
    flex: 0 0 72%;                    /* 1枚の幅。次のカードがチラ見え＝スクロールできる合図 */
    scroll-snap-align: center;
  }
}

@media (max-width: 767px) {
  /* カルーセルの下にスワイプ誘導のあしらい */
  .p-intro:has(.p-feat__row)::after {
    content: "スワイプで他の機能も →";
    display: block;
    margin-top: 12px;
    font-size: .78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    animation: p-swipe-hint 1.6s ease-in-out infinite;
  }
}
@keyframes p-swipe-hint {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .p-intro:has(.p-feat__row)::after { animation: none; }
}

@media (max-width: 767px) {
  .p-sugume__point { margin-top: 10px; }
}

.p-sugume__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 999px;
  padding: 9px 22px 9px 16px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 6px 16px rgba(42, 170, 221, 0.28);
}
.p-sugume__label::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6.3'/%3E%3Cline x1='8' y1='5' x2='8' y2='11'/%3E%3Cline x1='5' y1='8' x2='11' y2='8'/%3E%3C/svg%3E");
}

	.p-sugume__label{
		font-size: 0.6rem;
	}
/* セクション自体は白に戻し、はみ出しをクリップ */
.l-section--gray {
  background: transparent;
  overflow: hidden;
}

/* 見出しの下から下方向へ、全幅グレーの帯 */
.l-section--gray .p-issues__list {
  position: relative;
  z-index: 0;
}
.l-section--gray .p-issues__list::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;                       /* 画面の端から端まで */
  top: calc(var(--space-6) * -1);     /* ← グレーの開始位置（見出しの下あたり） */
  bottom: -2000px;                    /* 下端まで（overflow:hidden でクリップ） */
background: linear-gradient(to bottom, rgba(236, 238, 242, 0) 0, #c7c6c6 90px);
}
