/* ============================================================
   合同会社メシゴト コーポレートLP 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-solution)
     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: #2aaadd;
  --color-danger: #d94545;

  /* --- Fonts --- */
  --font-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
  --font-en: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 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 --- */
  --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: var(--color-primary);
  color: #ffffff;
}
.c-button--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 8px 22px rgba(24, 64, 138, 0.32);
  transform: translateY(-1px);
}

.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);
}

.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__logo {
  display: block;
  height: 44px;
  width: auto;
}
@media (min-width: 768px) {
  .c-brand__logo { height: 52px; }
}

/* --- c-nav --- */
.c-nav {
  display: none;
  gap: var(--space-4);
}
.c-nav a {
  font-size: var(--text-sm);
  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; }
}

.c-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  background: #ffffff;
}
.c-nav-toggle__bars,
.c-nav-toggle__bars::before,
.c-nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.c-nav-toggle__bars {
  position: relative;
}
.c-nav-toggle__bars::before,
.c-nav-toggle__bars::after {
  content: '';
  position: absolute;
  left: 0;
}
.c-nav-toggle__bars::before { top: -7px; }
.c-nav-toggle__bars::after { top: 7px; }
.c-nav-toggle[aria-expanded="true"] .c-nav-toggle__bars { background: transparent; }
.c-nav-toggle[aria-expanded="true"] .c-nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.c-nav-toggle[aria-expanded="true"] .c-nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1023px) {
  .l-header__inner { position: relative; }
  .c-nav.is-open {
    display: grid;
    position: absolute;
    top: calc(100% + 1px);
    left: var(--space-3);
    right: var(--space-3);
    gap: 0;
    padding: 8px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
  }
  .c-nav.is-open a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    -webkit-text-fill-color: var(--color-text);
  }
  .c-nav.is-open a:hover { background: var(--color-bg-soft); }
  .c-nav.is-open a::after { display: none; }
}
@media (min-width: 1024px) {
  .c-nav-toggle { display: none; }
}

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

/* --- p-hero --- */
.p-hero {
  position: relative;
  padding: var(--space-6) 0 var(--space-8);
  background: #5a99d4;
  color: var(--color-text-on-brand);
  overflow: hidden;
  isolation: isolate;
}
.p-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  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: 1.65rem;
  font-weight: 900;
  line-height: 1.35;
  color: #ffffff;
  letter-spacing: 0;
  margin-bottom: var(--space-1);
  font-kerning: normal;
  font-feature-settings: "palt" 1;
  text-shadow: 0 4px 18px rgba(10, 36, 86, 0.15);
  overflow: visible;
}
.p-hero__title-line {
  display: block;
  white-space: nowrap;
  letter-spacing: 0;
}
.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: nowrap;
  justify-content: center;
  gap: var(--space-2);
}
.p-hero__actions .c-button {
  flex: 1 1 0;
  min-width: 0;
  max-width: 240px;
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}
@media (max-width: 640px) {
  .p-hero__actions,
  .p-cta__actions,
  .p-final-cta__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .p-hero__actions .c-button,
  .p-cta__actions .c-button,
  .p-final-cta__actions .c-button {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}
.p-hero__visual { width: 100%; }

@media (min-width: 768px) {
  .p-hero { padding: var(--space-12) 0; }
  .p-hero__title { font-size: 2.25rem; }
  .p-hero__lead { font-size: var(--text-lg); }
}
@media (min-width: 1024px) {
  .p-hero { padding: var(--space-16) 0; }
  .p-hero__inner {
    grid-template-columns: 1fr 1.15fr;
    gap: var(--space-6);
  }
  .p-hero__copy {
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  .p-hero__title {
    font-size: 2.75rem;
    line-height: 1.35;
  }
  .p-hero__actions { justify-content: flex-start; }
}

.p-hero__visual-image {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 28px 48px rgba(10, 26, 72, 0.28));
}
@media (min-width: 1024px) {
  .p-hero__visual-image { max-width: 720px; }
}

/* ============================================================
   l-section / c-section-head
   ============================================================ */
.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 {
  margin-bottom: var(--space-6);
  max-width: 720px;
}
.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: var(--color-text-mute);
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.c-section-head--wide { max-width: none; }
.c-section-head__lead--single { max-width: none; }
@media (min-width: 1024px) {
  .c-section-head__lead--single { white-space: nowrap; }
}
@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;
  padding-top: var(--space-4);
  margin-top: calc(var(--space-4) * -1);
}
@media (min-width: 768px) {
  .p-issues {
    padding-top: var(--space-6);
    margin-top: calc(var(--space-6) * -1);
  }
}
.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);
}
.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
   ============================================================ */
.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;
}
.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: 520px;
    object-fit: cover;
  }
  .p-solution__content {
    padding: var(--space-4) 0;
  }
  .p-solution__title { font-size: 2.25rem; }
}

/* ============================================================
   p-cta (インライン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: nowrap;
  justify-content: center;
  gap: var(--space-2);
}
.p-cta__actions .c-button {
  flex: 1 1 0;
  min-width: 0;
  max-width: 280px;
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .p-cta { padding: var(--space-8) 0; }
  .p-cta__title { font-size: var(--text-2xl); }
}

/* ============================================================
   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);
  flex-wrap: wrap;
}
.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-jp);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}
.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 {
  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.5rem; }
}

/* ============================================================
   p-features (サービスラインナップ)
   ============================================================ */
.p-features__list {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  padding: 0;
}
.p-features__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-3) var(--space-2);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.p-features__icon {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-bg-cool);
  overflow: hidden;
  margin-bottom: var(--space-2);
}
.p-features__icon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-features__item-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
  margin-top: var(--space-1);
}
.p-features__item-desc {
  margin-top: 0.35rem;
  font-size: var(--text-sm);
  color: var(--color-text-mute);
  line-height: 1.6;
}
.p-features__note {
  margin-top: var(--space-6);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-mute);
  line-height: 1.8;
}
@media (min-width: 768px) {
  .p-features__list {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }
  .p-features__item {
    padding: var(--space-3);
  }
  .p-features__item-title {
    font-size: var(--text-xl);
  }
}

/* ============================================================
   p-reports (無料レポート 9本 — features と同じ 3×3 カード)
   ============================================================ */
.p-reports__list {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
}
.p-reports__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-3) var(--space-2);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.p-reports__item:hover {
  transform: translateY(-3px);
  border-color: var(--color-brand-blue);
  box-shadow: 0 10px 24px rgba(20, 40, 90, 0.08);
}
.p-reports__icon {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-1);
}
.p-reports__icon-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.p-reports__item-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
  color: var(--color-text);
  margin: 2px 0 6px;
}
.p-reports__item-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--color-text-mute);
  margin: 0;
}
.p-reports__item--available {
  position: relative;
  border-color: var(--color-brand-blue);
  box-shadow: 0 6px 18px rgba(20, 40, 90, 0.10);
}
.p-reports__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: var(--color-brand-blue, #14407A);
  border-radius: 999px;
  line-height: 1;
}
.p-reports__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: var(--color-brand-blue, #14407A);
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.p-reports__download:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(20, 40, 90, 0.18);
}
.p-reports__download svg {
  width: 14px;
  height: 14px;
}
.p-contact__channel--highlight {
  background: #F4F7FC;
  border: 1px solid var(--color-brand-blue, #14407A);
  border-radius: var(--radius-md, 10px);
  padding: 14px;
}
.p-contact__channel--highlight .p-contact__channel-label {
  color: var(--color-brand-blue, #14407A);
  font-weight: 800;
}
@media (min-width: 768px) {
  .p-reports__list {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }
  .p-reports__item {
    padding: var(--space-3);
  }
  .p-reports__item-title {
    font-size: 1.1rem;
  }
}

/* ============================================================
   p-voice
   ============================================================ */
.p-voice__list {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
}
.p-voice__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.p-voice__quote {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.85;
  margin: 0;
  padding: var(--space-4);
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
}
.p-voice__quote::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #ffffff;
  filter: drop-shadow(0 4px 3px rgba(69, 120, 216, 0.08));
}
.p-voice__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  margin: var(--space-3) 0 0;
}
.p-voice__avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-bg-soft);
}
.p-voice__author-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.4;
  text-align: center;
}
.p-voice__author-role {
  font-size: var(--text-xs);
  color: var(--color-text-mute);
  line-height: 1.5;
  text-align: center;
}
@media (min-width: 768px) {
  .p-voice__list {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }
}

/* ============================================================
   p-steps
   ============================================================ */
.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（2カラム刷新 / 連絡手段 + フォーム）
   ============================================================ */
.p-contact {
  position: relative;
  overflow: hidden;
}
.p-contact__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 12%, rgba(69, 120, 216, 0.10) 0, rgba(69, 120, 216, 0) 42%),
    radial-gradient(circle at 92% 88%, rgba(42, 170, 221, 0.10) 0, rgba(42, 170, 221, 0) 42%);
  z-index: 0;
}
.p-contact__container {
  position: relative;
  z-index: 1;
}
.p-contact__head {
  margin-left: auto;
  margin-right: auto;
}

/* --- レイアウト --- */
.p-contact__layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
@media (min-width: 1024px) {
  .p-contact__layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: var(--space-6);
    align-items: start;
  }
}

/* --- 左カラム: 連絡手段 --- */
.p-contact__aside {
  order: 2;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .p-contact__aside {
    order: 1;
    padding: var(--space-4);
    position: sticky;
    top: 96px;
  }
}
.p-contact__aside-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
  margin-bottom: 6px;
}
.p-contact__aside-lead {
  font-size: var(--text-sm);
  color: var(--color-text-mute);
  line-height: 1.8;
  margin-bottom: var(--space-3);
}

.p-contact__channels {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.p-contact__channel {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-2);
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.p-contact__channel:hover {
  transform: translateY(-1px);
  border-color: var(--color-brand-blue);
  box-shadow: 0 8px 20px rgba(69, 120, 216, 0.14);
}
.p-contact__channel-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(69, 120, 216, 0.24);
}
.p-contact__channel-icon svg {
  width: 22px;
  height: 22px;
}
.p-contact__channel-body {
  min-width: 0;
  flex: 1;
}
.p-contact__channel-label {
  font-family: var(--font-en);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
  margin-bottom: 2px;
}
.p-contact__channel-value {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
  word-break: break-all;
}
.p-contact__channel-link {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.p-contact__channel-link:hover { color: var(--color-primary-hover); }
.p-contact__channel-note {
  font-size: var(--text-xs);
  color: var(--color-text-mute);
  line-height: 1.6;
  margin-top: 2px;
}

.p-contact__aside-visual {
  margin-top: var(--space-3);
  display: flex;
  justify-content: center;
}
.p-contact__aside-image {
  width: 72%;
  max-width: 220px;
  height: auto;
  opacity: 0.92;
  mix-blend-mode: multiply;
}

/* --- 右カラム: フォーム本体 --- */
.p-contact__form-wrap {
  order: 1;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
}
@media (min-width: 768px) {
  .p-contact__form-wrap { padding: var(--space-6); }
}
@media (min-width: 1024px) {
  .p-contact__form-wrap { order: 2; }
}

/* --- 信頼バッジ --- */
.p-contact__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}
.p-contact__trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
}
.p-contact__trust-badge svg {
  width: 14px;
  height: 14px;
  color: var(--color-brand-aqua);
  flex-shrink: 0;
}

/* --- フォーム本体 --- */
.p-contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.p-contact__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 640px) {
  .p-contact__row { grid-template-columns: 1fr 1fr; }
}

.p-contact__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.p-contact__label,
.p-contact__legend {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  line-height: 1.5;
}
.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:hover,
.p-contact__textarea:hover {
  border-color: var(--color-brand-blue);
}
.p-contact__input:focus,
.p-contact__textarea:focus {
  outline: none;
  border-color: var(--color-brand-blue);
  box-shadow: 0 0 0 3px rgba(69, 120, 216, 0.18);
}
.p-contact__textarea {
  resize: vertical;
  line-height: 1.8;
  min-height: 140px;
}

/* --- fieldset（種別ラジオ）--- */
.p-contact__fieldset {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.p-contact__legend {
  padding: 0;
  margin-bottom: var(--space-1);
}

/* --- カード型ラジオ --- */
.p-contact__radio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}
@media (min-width: 640px) {
  .p-contact__radio-grid { grid-template-columns: 1fr 1fr; }
  .p-contact__radio-card--wide { grid-column: 1 / -1; }
}
.p-contact__radio-card {
  position: relative;
  display: block;
  cursor: pointer;
  border-radius: var(--radius-md);
  background: #ffffff;
  transition: transform .15s ease, box-shadow .2s ease;
}
.p-contact__radio-input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.p-contact__radio-body {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #ffffff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease, background-color .2s ease;
  min-height: 72px;
}
.p-contact__radio-card:hover .p-contact__radio-body {
  border-color: var(--color-brand-blue);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(69, 120, 216, 0.12);
}
.p-contact__radio-input:focus-visible + .p-contact__radio-body {
  outline: 2px solid var(--color-brand-aqua);
  outline-offset: 2px;
}
.p-contact__radio-input:checked + .p-contact__radio-body {
  border-color: transparent;
  background: linear-gradient(#ffffff, #ffffff) padding-box,
              var(--gradient-brand) border-box;
  border: 2px solid transparent;
  box-shadow: 0 10px 24px rgba(69, 120, 216, 0.18);
  transform: translateY(-2px);
}
.p-contact__radio-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-bg-soft);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.p-contact__radio-icon svg {
  width: 22px;
  height: 22px;
}
.p-contact__radio-input:checked + .p-contact__radio-body .p-contact__radio-icon {
  background: var(--gradient-brand);
  color: #ffffff;
}
.p-contact__radio-text {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.p-contact__radio-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
}
.p-contact__radio-desc {
  font-size: var(--text-xs);
  color: var(--color-text-mute);
  line-height: 1.6;
}

/* --- 同意・送信 --- */
.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__privacy-note {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-mute);
  line-height: 1.7;
  margin-top: var(--space-2);
}
.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
   ============================================================ */
.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: var(--color-primary-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-4) 0 var(--space-2);
}
.p-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.p-footer__top {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.p-footer__brand-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.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-logo {
  display: block;
  height: 36px;
  width: auto;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.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__company {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-1);
}
.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-2);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
  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-4) 0 var(--space-2); }
  .p-footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-6);
  }
  .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;
}
.p-logos__note {
  margin-top: var(--space-4);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-mute);
  line-height: 1.7;
  padding: 0 var(--space-3);
}
@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;
  }
  .p-logos__note {
    font-size: var(--text-sm);
    margin-top: var(--space-6);
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-logos__list { animation: none; }
}

/* ============================================================
   7. Issues hover animation（既存アイコンの底上げ）
   ============================================================ */
.p-issues__item {
  transition: transform .35s ease, box-shadow .35s ease;
}
.p-issues__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-strong);
}
.p-issues__item-visual {
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.p-issues__item:hover .p-issues__item-visual {
  transform: translateY(-3px) rotate(-1.5deg);
}
@media (prefers-reduced-motion: reduce) {
  .p-issues__item,
  .p-issues__item-visual { transition: none; }
  .p-issues__item:hover { transform: none; }
  .p-issues__item:hover .p-issues__item-visual { transform: none; }
}

/* ============================================================
   8. Features 水彩イラストアイコン版（ホバー・装飾）
   ============================================================ */
.p-features__item {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
}
.p-features__icon {
  position: relative;
  isolation: isolate;
  transition: transform .35s ease;
}
.p-features__icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-lg);
  background: var(--gradient-brand);
  opacity: 0;
  z-index: -1;
  transition: opacity .35s ease;
}
.p-features__icon-image {
  transition: transform .5s ease;
}
.p-features__item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-strong);
  border-color: transparent;
}
.p-features__item:hover .p-features__icon::before {
  opacity: 0.22;
}
.p-features__item:hover .p-features__icon-image {
  transform: scale(1.04);
}
@media (prefers-reduced-motion: reduce) {
  .p-features__item,
  .p-features__icon,
  .p-features__icon::before,
  .p-features__icon-image { transition: none; }
  .p-features__item:hover { transform: none; }
  .p-features__item:hover .p-features__icon-image { transform: none; }
  .p-features__item:hover .p-features__icon::before { opacity: 0; }
}

/* ============================================================
   9. Steps 強化（円形ブランドグラデバッジ + メタ情報）
   ============================================================ */
.p-steps__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 6px 16px rgba(69, 120, 216, 0.28);
  color: #ffffff;
  position: relative;
  z-index: 1;
}
.p-steps__badge-num {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #ffffff;
}
.p-steps__item:not(:last-child)::after {
  border-left-color: var(--color-brand-blue);
  opacity: 0.45;
}
.p-steps__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px dashed var(--color-border);
}
.p-steps__meta-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--space-1);
  align-items: baseline;
}
.p-steps__meta-item dt {
  font-family: var(--font-en);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.p-steps__meta-item dd {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.7;
}
@media (min-width: 768px) {
  .p-steps__badge {
    width: 72px;
    height: 72px;
  }
  .p-steps__badge-num { font-size: 1.75rem; }
  .p-steps__meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-3);
  }
  .p-steps__meta-item {
    grid-template-columns: auto 1fr;
    gap: 8px;
  }
}

/* ============================================================
   10. News
   ============================================================ */
.p-news {
  position: relative;
  isolation: isolate;
}
.p-news::before {
  content: '';
  position: absolute;
  top: 0;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 170, 221, 0.10), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.p-news__list {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
}
.p-news__item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.p-news__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-strong);
}
.p-news__link {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3);
  height: 100%;
  position: relative;
}
.p-news__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.p-news__date {
  font-family: var(--font-en);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-mute);
  letter-spacing: 0.04em;
}
.p-news__tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 12px;
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}
.p-news__tag--info {
  background: rgba(24, 64, 138, 0.10);
  color: var(--color-primary);
}
.p-news__tag--media {
  background: rgba(42, 170, 221, 0.14);
  color: #1e7fa3;
}
.p-news__tag--service {
  background: rgba(42, 170, 221, 0.14);
  color: var(--color-primary);
}
.p-news__item-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.65;
  flex: 1;
  letter-spacing: 0.01em;
}
.p-news__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  color: var(--color-primary);
  align-self: flex-end;
  transition: background .25s ease, transform .25s ease, color .25s ease;
}
.p-news__arrow svg { width: 16px; height: 16px; }
.p-news__item:hover .p-news__arrow {
  background: var(--gradient-brand);
  color: #ffffff;
  transform: translateX(3px);
}
.p-news__more {
  display: flex;
  justify-content: center;
  margin-top: var(--space-6);
}
.p-news__more .c-button { min-width: 220px; }
@media (min-width: 768px) {
  .p-news__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .p-news__list {
    grid-template-columns: repeat(4, 1fr);
  }
  .p-news__item-title { font-size: var(--text-sm); }
}
@media (prefers-reduced-motion: reduce) {
  .p-news__item,
  .p-news__arrow { transition: none; }
  .p-news__item:hover { transform: none; }
  .p-news__item:hover .p-news__arrow { transform: none; }
}

/* ============================================================
   11. Company
   ============================================================ */
.p-company {
  position: relative;
  isolation: isolate;
}
.p-company::before {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 120, 216, 0.10), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.p-company__grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  align-items: start;
}
.p-company__table-wrap {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-3) var(--space-4);
}
.p-company__table {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.p-company__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}
.p-company__row:last-child { border-bottom: none; }
.p-company__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.p-company__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(69, 120, 216, 0.10);
  color: var(--color-brand-blue);
  flex-shrink: 0;
}
.p-company__icon svg { width: 18px; height: 18px; }
.p-company__value {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.85;
  margin: 0;
}
.p-company__bullets {
  list-style: disc;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.p-company__mail {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color .2s ease;
}
.p-company__mail:hover { color: var(--color-primary-hover); }
.p-company__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #f4f9ff 0%, #e6f1fc 100%);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-3);
  box-shadow: var(--shadow-card);
  isolation: isolate;
}
.p-company__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/pattern_grid.png');
  background-size: 260px;
  opacity: 0.18;
  mix-blend-mode: multiply;
  z-index: 0;
  pointer-events: none;
}
.p-company__story {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.p-company__story-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 8px 6px;
  margin: 0;
  box-shadow: 0 4px 12px rgba(10, 36, 86, 0.08);
  overflow: hidden;
}
.p-company__story-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.p-company__story-card figcaption {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.06em;
  margin-top: 6px;
}
@media (min-width: 768px) {
  .p-company__story { gap: 12px; }
  .p-company__story-card { padding: 10px 8px; }
  .p-company__story-card figcaption { font-size: 12px; }
}
.p-company__icons {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-company__icon-cell {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 6px rgba(10, 36, 86, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.p-company__icon-cell:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(10, 36, 86, 0.10);
}
.p-company__icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 4px 6px;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-md);
}
.p-company__icon-link:focus-visible {
  outline: 2px solid var(--color-brand-aqua);
  outline-offset: 2px;
}
.p-company__icon-cell img {
  width: 100%;
  max-width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 4px;
}
.p-company__icon-cell span {
  font-size: 10px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}
@media (min-width: 768px) {
  .p-company__row {
    grid-template-columns: 180px 1fr;
    gap: var(--space-3);
    align-items: start;
    padding: var(--space-3) var(--space-1);
  }
  .p-company__value { padding-top: 4px; }
  .p-company__icons {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .p-company__icon-link { padding: 10px 6px 8px; }
  .p-company__icon-cell img { max-width: 64px; height: 64px; }
  .p-company__icon-cell span { font-size: 11px; }
}
@media (min-width: 1024px) {
  .p-company__grid {
    grid-template-columns: 1.35fr 1fr;
    gap: var(--space-8);
  }
  .p-company__visual {
    position: sticky;
    top: 100px;
  }
  .p-company__hero-image { max-width: 320px; }
  .p-company__icons {
    grid-template-columns: repeat(4, 1fr);
  }
  .p-company__icon-cell img { max-width: 56px; height: 56px; }
}

/* ============================================================
   12. Legal page (privacy.html / terms.html)
   ============================================================ */
.l-container--narrow {
  max-width: var(--container-narrow);
}
.p-legal {
  padding: var(--space-8) 0;
}
.p-legal__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-2);
  font-kerning: normal;
  font-feature-settings: "palt" 1;
}
.p-legal__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-1);
}
.p-legal__lead {
  font-size: var(--text-base);
  color: var(--color-text-mute);
  line-height: 1.9;
  margin-bottom: var(--space-6);
}
.p-legal__section {
  margin-bottom: var(--space-6);
}
.p-legal__h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
  margin-bottom: var(--space-2);
  padding-bottom: var(--space-1);
  border-bottom: 2px solid var(--color-bg-cool);
}
.p-legal__h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin: var(--space-3) 0 var(--space-1);
}
.p-legal__p {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: var(--space-2);
}
.p-legal__ul,
.p-legal__ol {
  margin: var(--space-2) 0 var(--space-3) 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.p-legal__ul { list-style: disc; }
.p-legal__ol { list-style: decimal; }
.p-legal__ul li,
.p-legal__ol li {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.85;
}
.p-legal__meta {
  margin-top: var(--space-8);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-text-mute);
  line-height: 1.8;
}
.p-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}
.p-legal__links a {
  font-size: var(--text-sm);
  color: var(--color-primary);
  text-decoration: underline;
  transition: color .2s ease;
}
.p-legal__links a:hover { color: var(--color-primary-hover); }
@media (min-width: 768px) {
  .p-legal { padding: var(--space-12) 0; }
  .p-legal__title { font-size: var(--text-3xl); }
  .p-legal__h2 { font-size: var(--text-2xl); }
  .p-legal__h3 { font-size: var(--text-lg); }
}

/* ============================================================
   13. FAQ（アコーディオン / details + summary）
   ============================================================ */
.p-faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.p-faq__item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 6px rgba(15, 27, 61, 0.04);
  transition: border-color .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.p-faq__item:hover {
  border-color: var(--color-brand-blue);
}
.p-faq__item[open] {
  border-color: var(--color-brand-blue);
  box-shadow: 0 8px 24px rgba(69, 120, 216, 0.12);
}

/* デフォルトマーカー非表示 */
.p-faq__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-3);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.6;
}
.p-faq__summary::-webkit-details-marker { display: none; }
.p-faq__summary::marker { content: ""; }
.p-faq__summary:hover { color: var(--color-primary); }
.p-faq__summary:focus-visible {
  outline: 2px solid var(--color-brand-aqua);
  outline-offset: -2px;
  border-radius: var(--radius-md);
}

.p-faq__q-label,
.p-faq__a-label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
}
.p-faq__q-label {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(69, 120, 216, 0.22);
}
.p-faq__a-label {
  background: var(--color-bg-soft);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

.p-faq__question {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.65;
  color: var(--color-text);
}
@media (min-width: 768px) {
  .p-faq__question { font-size: var(--text-lg); }
}

.p-faq__toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.p-faq__toggle-icon {
  width: 18px;
  height: 18px;
}
.p-faq__toggle-bar-v {
  transform-origin: 12px 12px;
  transition: transform .25s ease, opacity .2s ease;
}
.p-faq__item[open] .p-faq__toggle {
  background: var(--gradient-brand);
  color: #ffffff;
}
.p-faq__item[open] .p-faq__toggle-bar-v {
  transform: rotate(90deg);
  opacity: 0;
}

/* 回答 */
.p-faq__answer {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: 0 var(--space-3) var(--space-3);
  border-top: 1px dashed var(--color-border);
  margin-top: 0;
  padding-top: var(--space-3);
}
.p-faq__answer-text {
  flex: 1;
  min-width: 0;
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.9;
}
@media (min-width: 768px) {
  .p-faq__summary { padding: var(--space-3) var(--space-4); gap: var(--space-3); }
  .p-faq__answer {
    padding: var(--space-3) var(--space-4) var(--space-4);
    gap: var(--space-3);
  }
  .p-faq__answer-text { font-size: var(--text-base); }
}

/* アニメーション（prefers-reduced-motion配慮） */
@media (prefers-reduced-motion: reduce) {
  .p-faq__toggle-bar-v { transition: none; }
}

/* ============================================================
   14. p-meshirepo（メシレポ専用LP）
   既存 c-button / c-section-head / p-faq / p-features 系を最大限再利用し、
   Hero のバッジ・Solutionの帯・3レポートカード・Pricingの強調枠など、
   サブLP固有のパーツのみを追記する。
   ============================================================ */

/* --- Hero --- */
.p-meshirepo__hero {
  position: relative;
  padding: var(--space-8) 0 var(--space-8);
  background: #5a99d4;
  color: var(--color-text-on-brand);
  overflow: hidden;
  isolation: isolate;
}
.p-meshirepo__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.16), transparent 48%),
    radial-gradient(circle at 86% 86%, rgba(255, 255, 255, 0.10), transparent 50%);
  pointer-events: none;
  z-index: -1;
}
.p-meshirepo__hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}
.p-meshirepo__hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
  width: 100%;
}
.p-meshirepo__hero-visual {
  width: 70%;
  max-width: 360px;
  margin: 0 auto;
  filter: drop-shadow(0 18px 38px rgba(10, 36, 86, 0.32));
}
.p-meshirepo__hero-image {
  width: 100%;
  height: auto;
  display: block;
}
@media (min-width: 1024px) {
  .p-meshirepo__hero-inner {
    flex-direction: row-reverse;
    align-items: center;
    gap: var(--space-10);
    text-align: left;
  }
  .p-meshirepo__hero-copy {
    flex: 1 1 0;
    align-items: flex-start;
    text-align: left;
  }
  .p-meshirepo__hero-visual {
    flex: 0 0 auto;
    width: 42%;
    max-width: 520px;
    margin: 0;
  }
  .p-meshirepo__hero-actions { justify-content: flex-start; }
  .p-meshirepo__chips { justify-content: flex-start; }
}
.p-meshirepo__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #ffffff;
  color: var(--color-primary);
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(10, 36, 86, 0.18);
}
.p-meshirepo__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-brand-aqua);
}
.p-meshirepo__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 4px;
}
.p-meshirepo__chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.p-meshirepo__hero-title {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.45;
  color: #ffffff;
  letter-spacing: 0;
  font-kerning: normal;
  font-feature-settings: "palt" 1;
  text-shadow: 0 4px 18px rgba(10, 36, 86, 0.18);
}
.p-meshirepo__hero-title em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, rgba(42, 170, 221, 0.7) 60%);
}
.p-meshirepo__hero-lead {
  font-size: var(--text-base);
  color: var(--color-text-on-brand-mute);
  line-height: 1.85;
  max-width: 640px;
}
.p-meshirepo__hero-lead strong {
  color: #ffffff;
  font-weight: 700;
}
.p-meshirepo__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}
.p-meshirepo__hero-actions .c-button { min-width: 240px; }
.p-meshirepo__hero-note {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.02em;
}
@media (min-width: 768px) {
  .p-meshirepo__hero { padding: var(--space-12) 0; }
  .p-meshirepo__hero-title { font-size: 2.5rem; }
  .p-meshirepo__hero-lead { font-size: var(--text-lg); }
}
@media (min-width: 1024px) {
  .p-meshirepo__hero { padding: var(--space-16) 0; }
  .p-meshirepo__hero-title { font-size: 3rem; line-height: 1.4; }
}

/* --- Pains（共感3カラム）--- */
.p-meshirepo__pains-list {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
}
.p-meshirepo__pain {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
  position: relative;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease;
}
.p-meshirepo__pain:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-strong);
}
.p-meshirepo__pain-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #ffffff;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-2);
  box-shadow: 0 8px 18px rgba(69, 120, 216, 0.22);
}
.p-meshirepo__pain-title {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.5;
  margin-bottom: var(--space-2);
}
.p-meshirepo__pain-text {
  font-size: var(--text-sm);
  color: var(--color-text-mute);
  line-height: 1.85;
}
@media (min-width: 768px) {
  .p-meshirepo__pains-list { grid-template-columns: repeat(3, 1fr); }
  .p-meshirepo__pain-title { font-size: var(--text-xl); }
  .p-meshirepo__pain-text { font-size: var(--text-base); }
}

/* --- Solution（中継帯）--- */
.p-meshirepo__solution {
  background: var(--gradient-brand);
  color: var(--color-text-on-brand);
  padding: var(--space-6) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.p-meshirepo__solution::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.20), transparent 48%),
    radial-gradient(circle at 88% 82%, rgba(255, 255, 255, 0.14), transparent 50%);
  pointer-events: none;
  z-index: -1;
}
.p-meshirepo__solution-title {
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1.5;
  color: #ffffff;
  font-kerning: normal;
  font-feature-settings: "palt" 1;
  letter-spacing: 0.02em;
}
.p-meshirepo__solution-title em {
  font-style: normal;
  display: inline-block;
  padding: 2px 10px;
  margin: 0 2px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 6px;
}
@media (min-width: 768px) {
  .p-meshirepo__solution { padding: var(--space-8) 0; }
  .p-meshirepo__solution-title { font-size: var(--text-2xl); }
}

/* --- Reports（3本レポート）--- */
.p-meshirepo__reports-list {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
}
.p-meshirepo__report {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.p-meshirepo__report:hover {
  transform: translateY(-3px);
  border-color: var(--color-brand-blue);
  box-shadow: var(--shadow-card-strong);
}
.p-meshirepo__report-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.p-meshirepo__report-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 12px;
  background: var(--gradient-brand);
  color: #ffffff;
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.p-meshirepo__report-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(24, 64, 138, 0.08);
  color: var(--color-primary);
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.p-meshirepo__report-title {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.5;
}
.p-meshirepo__report-text {
  font-size: var(--text-sm);
  color: var(--color-text-mute);
  line-height: 1.85;
}
@media (min-width: 768px) {
  .p-meshirepo__reports-list { grid-template-columns: repeat(3, 1fr); }
  .p-meshirepo__report-title { font-size: var(--text-xl); }
  .p-meshirepo__report-text { font-size: var(--text-base); }
}

/* --- Pricing --- */
.p-meshirepo__pricing-card {
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  border: 2px solid var(--color-brand-blue);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-4);
  box-shadow: var(--shadow-card-strong);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.p-meshirepo__pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-brand);
}
.p-meshirepo__pricing-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--color-primary);
  color: #ffffff;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}
.p-meshirepo__pricing-eyebrow {
  font-family: var(--font-en);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-brand-aqua);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.p-meshirepo__pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--space-3);
  line-height: 1;
}
.p-meshirepo__pricing-amount {
  font-family: var(--font-en);
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}
.p-meshirepo__pricing-unit {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
}
.p-meshirepo__pricing-tax {
  font-size: var(--text-xs);
  color: var(--color-text-mute);
  margin-left: 2px;
}
.p-meshirepo__pricing-text {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.85;
  margin-bottom: var(--space-4);
}
.p-meshirepo__pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}
.p-meshirepo__pricing-actions .c-button { min-width: 280px; }
.p-meshirepo__pricing-note {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-mute);
  line-height: 1.7;
}
@media (min-width: 768px) {
  .p-meshirepo__pricing-card { padding: var(--space-8) var(--space-6); }
  .p-meshirepo__pricing-amount { font-size: 5rem; }
  .p-meshirepo__pricing-text { font-size: var(--text-base); }
}

/* --- Pricing 2段表示（お試し490 → 通常980）--- */
.p-meshirepo__pricing-tiers {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-3);
  margin: 0 auto var(--space-4);
  max-width: 520px;
}
.p-meshirepo__pricing-tier {
  background: #f5f9ff;
  border: 1px solid rgba(24, 64, 138, 0.12);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-3);
  text-align: center;
}
.p-meshirepo__pricing-tier--trial {
  background: linear-gradient(135deg, #18408a 0%, #4578d8 100%);
  border-color: transparent;
  color: #ffffff;
}
.p-meshirepo__pricing-tier--trial .p-meshirepo__pricing-eyebrow,
.p-meshirepo__pricing-tier--trial .p-meshirepo__pricing-amount,
.p-meshirepo__pricing-tier--trial .p-meshirepo__pricing-unit {
  color: #ffffff;
}
.p-meshirepo__pricing-tier--trial .p-meshirepo__pricing-tier-note {
  color: rgba(255, 255, 255, 0.85);
}
.p-meshirepo__pricing-tier .p-meshirepo__pricing-eyebrow {
  margin-bottom: var(--space-1);
  text-transform: uppercase;
  font-family: var(--font-en);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
}
.p-meshirepo__pricing-tier .p-meshirepo__pricing-price {
  margin-bottom: 6px;
}
.p-meshirepo__pricing-tier-note {
  font-size: var(--text-xs);
  color: var(--color-text-mute);
  letter-spacing: 0.02em;
}
.p-meshirepo__pricing-arrow {
  font-family: var(--font-en);
  font-size: 1.5rem;
  color: var(--color-brand-blue);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  transform: rotate(90deg);
  transform-origin: center;
}
.p-meshirepo__pricing-amount--mute {
  color: var(--color-text-mute) !important;
}
@media (min-width: 768px) {
  .p-meshirepo__pricing-tiers {
    flex-direction: row;
    align-items: stretch;
    gap: var(--space-2);
    max-width: none;
  }
  .p-meshirepo__pricing-tier {
    flex: 1 1 0;
    padding: var(--space-5) var(--space-3);
  }
  .p-meshirepo__pricing-tier .p-meshirepo__pricing-amount {
    font-size: 3.75rem;
  }
  .p-meshirepo__pricing-arrow {
    align-self: center;
    transform: none;
    flex: 0 0 auto;
  }
}

/* --- features カードをリンク化したときのフック（index.htmlで利用） --- */
.p-features__link {
  display: flex;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: transform .25s ease, box-shadow .25s ease;
}
.p-features__link > .p-features__item {
  width: 100%;
  height: 100%;
}
.p-features__link:hover {
  transform: translateY(-3px);
}
.p-features__link:hover .p-features__item {
  border-color: var(--color-brand-blue);
  box-shadow: var(--shadow-card-strong);
}
.p-features__item {
  transition: border-color .25s ease, box-shadow .25s ease;
}

/* === Sample Report =========================================
   meshirepo.html「Sample」セクション専用スタイル
   サンプルレポート本体は sample-area-benchmark.html
   ============================================================ */
.p-meshirepo__sample-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  align-items: stretch;
  max-width: 920px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.p-meshirepo__sample-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-brand-blue);
  box-shadow: var(--shadow-card-strong);
}
.p-meshirepo__sample-card:focus-visible {
  outline: 2px solid var(--color-brand-aqua);
  outline-offset: 4px;
}

/* プレビューサムネイル（CSSのみで擬似紙面） */
.p-meshirepo__sample-preview {
  background: linear-gradient(135deg, #eef3fa 0%, #d8e4f4 100%);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}
.p-meshirepo__sample-preview-paper {
  position: relative;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 210 / 297;
  background: #ffffff;
  border-radius: 4px;
  box-shadow:
    0 12px 28px -10px rgba(15, 27, 61, 0.35),
    0 4px 10px -2px rgba(15, 27, 61, 0.12);
  padding: 10px;
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform .25s ease;
}
.p-meshirepo__sample-card:hover .p-meshirepo__sample-preview-paper {
  transform: rotate(0deg);
}
.p-meshirepo__sample-preview-band {
  background: linear-gradient(135deg, #18408a 0%, #4578d8 100%);
  color: #ffffff;
  border-radius: 3px;
  padding: 6px 8px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.p-meshirepo__sample-preview-band-eyebrow {
  font-family: var(--font-en);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}
.p-meshirepo__sample-preview-band-title {
  font-size: 9px;
  font-weight: 800;
  line-height: 1.3;
}
.p-meshirepo__sample-preview-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}
.p-meshirepo__sample-preview-line {
  display: block;
  height: 4px;
  background: #e1e7f0;
  border-radius: 2px;
}
.p-meshirepo__sample-preview-line--head {
  background: var(--color-brand-blue);
  width: 40%;
  height: 5px;
}
.p-meshirepo__sample-preview-line--short {
  width: 70%;
}
.p-meshirepo__sample-preview-table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: #e1e7f0;
  padding: 2px;
  border-radius: 3px;
}
.p-meshirepo__sample-preview-table > span {
  display: block;
  height: 8px;
  background: #ffffff;
}
.p-meshirepo__sample-preview-table > span:nth-child(-n+4) {
  background: var(--color-primary);
}
.p-meshirepo__sample-preview-watermark {
  position: absolute;
  top: 14px;
  right: -28px;
  transform: rotate(35deg);
  background: linear-gradient(90deg, #d94545 0%, #e16a6a 100%);
  color: #ffffff;
  padding: 3px 32px;
  font-family: var(--font-en);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

/* 本文 */
.p-meshirepo__sample-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  justify-content: center;
}
.p-meshirepo__sample-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.p-meshirepo__sample-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--gradient-brand);
  color: #ffffff;
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.p-meshirepo__sample-tag--ghost {
  background: rgba(24, 64, 138, 0.08);
  color: var(--color-primary);
  font-family: var(--font-jp);
  letter-spacing: 0.04em;
}
.p-meshirepo__sample-title {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.5;
}
.p-meshirepo__sample-text {
  font-size: var(--text-sm);
  color: var(--color-text-mute);
  line-height: 1.85;
}
.p-meshirepo__sample-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.p-meshirepo__sample-bullets li {
  position: relative;
  padding-left: 22px;
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.75;
}
.p-meshirepo__sample-bullets li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.7em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-brand);
}
.p-meshirepo__sample-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: var(--text-sm);
}
.p-meshirepo__sample-card:hover .p-meshirepo__sample-cta {
  color: var(--color-brand-aqua);
}

@media (min-width: 768px) {
  .p-meshirepo__sample-card {
    grid-template-columns: 280px 1fr;
    gap: var(--space-4);
    padding: var(--space-6);
  }
  .p-meshirepo__sample-preview { min-height: 320px; }
  .p-meshirepo__sample-preview-paper { max-width: 220px; }
  .p-meshirepo__sample-title { font-size: var(--text-xl); }
  .p-meshirepo__sample-text { font-size: var(--text-base); }
  .p-meshirepo__sample-bullets li { font-size: var(--text-base); }
}

/* === Sample Cards 2列レイアウト ===========================
   meshirepo.html のサンプル一覧（エリア別／業態別）
   ============================================================ */
.p-meshirepo__sample-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.p-meshirepo__sample-list > li {
  display: flex;
}
.p-meshirepo__sample-list > li > .p-meshirepo__sample-card {
  width: 100%;
  margin: 0;
  max-width: none;
}

@media (min-width: 1024px) {
  .p-meshirepo__sample-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
    align-items: stretch;
  }
  /* 2列時はカード内を縦積み（プレビューを上、本文を下）。横幅が狭くなる分、内側余白とプレビュー高さを最適化 */
  .p-meshirepo__sample-list > li > .p-meshirepo__sample-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: var(--space-4);
    padding: var(--space-6);
    height: 100%;
  }
  .p-meshirepo__sample-list .p-meshirepo__sample-preview {
    min-height: 280px;
  }
  .p-meshirepo__sample-list .p-meshirepo__sample-preview-paper {
    max-width: 220px;
  }
  .p-meshirepo__sample-list .p-meshirepo__sample-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
  }
  .p-meshirepo__sample-list .p-meshirepo__sample-cta {
    margin-top: auto;
    padding-top: var(--space-2);
  }
}
@media (min-width: 1280px) {
  .p-meshirepo__sample-list {
    gap: var(--space-8);
  }
}
