/* ============================================================
   Sadamaru（運営: DevAIse）共通 CSS — _shared.css
   全ページが参照する単一ソース。各ページの <style> に :root を書かない。
   ============================================================ */

/* ---- 0. デザイントークン ---- */
:root {
  /* カラー */
  --slate: #34495E;
  --slate-deep: #1a2230;
  --slate-soft: #4a5a6e;
  --orange: #F26B3A;
  --orange-deep: #d8521f;
  --off: #F8F9FA;
  --white: #FFFFFF;
  --text-body: #222222;
  --text-note: #666666;
  --line: #E5E7EB;

  /* フォント */
  --font-jp: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --font-en: 'Inter', system-ui, -apple-system, sans-serif;

  /* タイポスケール (fluid) */
  --fs-h1: clamp(32px, 5.6vw, 64px);
  --fs-h2: clamp(26px, 4vw, 42px);
  --fs-h3: clamp(20px, 2.6vw, 28px);
  --fs-lead: clamp(16px, 1.4vw, 18px);
  --fs-body: clamp(15px, 1.1vw, 17px);
  --fs-note: clamp(13px, 0.9vw, 14px);

  /* 余白 */
  --space-section: clamp(56px, 8vw, 120px);
  --space-block: clamp(32px, 4vw, 56px);

  /* レイアウト */
  --inner-max: 1120px;
  --inner-padding: clamp(20px, 5vw, 32px);

  /* 角丸・線 */
  --radius-card: 16px;
  --radius-case: 24px;
  --radius-btn: 4px;
  --border-hair: 1px solid var(--line);

  /* 影 */
  --shadow-soft: 0 8px 24px rgba(26, 34, 48, 0.06);
  --shadow-card: 0 4px 16px rgba(26, 34, 48, 0.08);
}

/* ---- 1. リセット ---- */
*,
*::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(--fs-body);
  line-height: 1.8;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

a:hover {
  opacity: 0.78;
}

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

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: var(--white);
}

/* 日本語見出しの改行制御（design-rules 準拠） */
h1,
h2,
h3,
.lead,
.c-btn,
summary {
  word-break: auto-phrase;
  text-wrap: balance;
}

/* リード系の実クラス（.lead は未使用のため実体を列挙 / balance は行長が偏るので付けない） */
.l-section__lead,
.hero-lead,
.c-page-hero__lead,
.c-contact__lead {
  word-break: auto-phrase;
}

h1 {
  font-size: var(--fs-h1);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h2 {
  font-size: var(--fs-h2);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.5;
}

.ascii,
.en {
  font-family: var(--font-en);
}

/* ---- 2. レイアウト ---- */
.l-section {
  padding: var(--space-section) 0;
  position: relative;
}

.l-section--alt {
  background: var(--off);
}

.l-inner {
  width: 100%;
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 var(--inner-padding);
}

.l-eyebrow {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--orange);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.l-eyebrow::before {
  content: '';
  display: inline-block;
  width: 48px;
  height: 1px;
  background: currentColor;
}

.l-section__head {
  margin-bottom: var(--space-block);
}

.l-section__lead {
  font-size: var(--fs-lead);
  color: var(--text-note);
  margin-top: 18px;
  max-width: 38em;
  line-height: 2;
}

/* ---- 3. ボタン ---- */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 15px;
  line-height: 1.4;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}

/* SP ではラベルが長いボタン（c-btn--lg 等）が 375px を突き破るため折返しを許可 */
@media (max-width: 767px) {
  .c-btn {
    white-space: normal;
    max-width: 100%;
    text-align: center;
  }
}

.c-btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(242, 107, 58, 0.28);
}

.c-btn--primary:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
  opacity: 1;
}

.c-btn--ghost {
  background: transparent;
  color: var(--slate);
  border-color: var(--slate);
}

.c-btn--ghost:hover {
  background: var(--slate);
  color: var(--white);
  opacity: 1;
}

.c-btn--on-dark {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* フォーカスリング（accessibility） */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---- 4. ヘッダー ---- */
.c-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: var(--border-hair);
}

.c-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px var(--inner-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* index.html 専用: FV を通過し終えたタイミングでスライドイン
   position: fixed に切り替えてヘッダー領域自体を消す（白帯対策） */
.c-header--reveal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-100%);
  pointer-events: none;
  transition: transform 0.35s ease;
  will-change: transform;
}
.c-header--reveal.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
html:not(.j) .c-header--reveal {
  transform: translateY(0);
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .c-header--reveal { transition: none; }
}

.c-header__brand {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--slate);
  flex-shrink: 0;
}

.c-header__nav {
  display: none;
}

.c-header__nav-list {
  display: flex;
  gap: 28px;
  align-items: center;
}

.c-header__nav-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
}

.c-header__nav-link[aria-current='page'] {
  color: var(--orange);
}

.c-header__cta {
  padding: 10px 22px;
  font-size: 13px;
}

.c-header__toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin-right: -10px;
}

.c-header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.c-header.is-open .c-header__toggle span:nth-child(2) {
  opacity: 0;
}

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

.c-header__drawer {
  display: none;
  background: var(--white);
  border-top: var(--border-hair);
}

.c-header.is-open .c-header__drawer {
  display: block;
}

.c-header__drawer-list {
  padding: 24px var(--inner-padding);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.c-header__drawer-list .c-btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* ---- 5. ページヒーロー（固定ページ用） ---- */
.c-page-hero {
  padding: 96px 0 56px;
  background: linear-gradient(180deg, var(--off) 0%, var(--white) 100%);
  border-bottom: var(--border-hair);
}

.c-page-hero__title {
  font-size: clamp(28px, 4.4vw, 48px);
  line-height: 1.35;
  font-weight: 900;
  color: var(--slate);
  letter-spacing: -0.01em;
}

.c-page-hero__lead {
  font-size: var(--fs-lead);
  color: var(--text-note);
  margin-top: 18px;
  max-width: 42em;
  line-height: 2;
}

/* ---- 6. 料金 4 プラン (.c-pricing) ---- */
.c-pricing__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.c-pricing__plan {
  background: var(--white);
  border: var(--border-hair);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.c-pricing__plan:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.c-pricing__plan--featured {
  background: linear-gradient(180deg, #ffffff 0%, #fff5ef 100%);
  border-color: var(--orange);
  border-width: 2px;
  box-shadow: 0 12px 28px rgba(242, 107, 58, 0.16);
}

.c-pricing__badge {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 999px;
}

.c-pricing__type {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-note);
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}

.c-pricing__name {
  font-size: 22px;
  font-weight: 900;
  color: var(--slate);
  margin-bottom: 16px;
  line-height: 1.4;
}

.c-pricing__price {
  font-family: var(--font-en);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 900;
  color: var(--slate);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.c-pricing__plan--featured .c-pricing__price {
  color: var(--orange);
}

.c-pricing__price-unit {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-note);
}

.c-pricing__duration {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-note);
  font-weight: 700;
}

.c-pricing__features {
  margin-top: 22px;
  padding-top: 22px;
  border-top: var(--border-hair);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c-pricing__feature {
  font-size: 14px;
  color: var(--text-body);
  padding-left: 22px;
  position: relative;
  line-height: 1.7;
}

.c-pricing__feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 8px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

.c-pricing__limit {
  margin-top: 12px;
  font-size: 12px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.c-pricing__note {
  margin-top: 28px;
  font-size: var(--fs-note);
  color: var(--text-note);
  line-height: 1.8;
}

/* ---- 7. 制作の流れ (.c-flow) ---- */
.c-flow__list {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  counter-reset: flow;
}

.c-flow__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-top: var(--border-hair);
  counter-increment: flow;
}

.c-flow__step:last-child {
  border-bottom: var(--border-hair);
}

.c-flow__num {
  font-family: var(--font-en);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
  line-height: 1;
  color: var(--orange);
  letter-spacing: -0.02em;
  min-width: 1.2em;
}

.c-flow__num::before {
  content: '0' counter(flow);
}

.c-flow__body {
  padding-top: 8px;
}

.c-flow__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
}

.c-flow__name {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
  color: var(--slate);
  line-height: 1.4;
}

.c-flow__desc {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-note);
  line-height: 1.9;
}

.c-flow__when {
  margin-top: 8px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--slate);
}

/* ---- 8. 選ばれる理由 (.c-reasons) ---- */
.c-reasons__layout {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  align-items: start;
}

.c-reasons__intro {
  position: relative;
}

.c-reasons__cards {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.c-reasons__card {
  background: var(--white);
  border: var(--border-hair);
  border-radius: var(--radius-card);
  padding: 28px 24px;
}

.c-reasons__card-name {
  font-size: 20px;
  font-weight: 900;
  color: var(--slate);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.c-reasons__card-icon {
  width: 48px;
  height: 48px;
}

.c-reasons__card-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.9;
}

/* ---- 9. 実績デモ (.c-cases) ---- */
.c-cases__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-block);
}

.c-cases__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.c-cases__media {
  border-radius: var(--radius-case);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--off);
}

.c-cases__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.c-cases__industry {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 12px;
}

.c-cases__name {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 900;
  color: var(--slate);
  margin-bottom: 14px;
  line-height: 1.4;
}

.c-cases__desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.95;
}

.c-cases__media a {
  display: block;
}

.c-cases__demo-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
}

.c-cases__demo-link:hover,
.c-cases__demo-link:focus-visible {
  text-decoration: underline;
}

.c-cases__note {
  margin-top: var(--space-block);
  font-size: var(--fs-note);
  color: var(--text-note);
  padding: 16px 20px;
  background: var(--off);
  border-left: 3px solid var(--orange);
  border-radius: 4px;
}

/* ---- 10. FAQ (.c-faq) ---- */
.c-faq__list {
  border-top: var(--border-hair);
}

.c-faq__item {
  border-bottom: var(--border-hair);
}

.c-faq__q {
  width: 100%;
  text-align: left;
  padding: 24px 48px 24px 0;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 700;
  color: var(--slate);
  position: relative;
  line-height: 1.6;
}

.c-faq__q::before {
  content: 'Q';
  font-family: var(--font-en);
  color: var(--orange);
  margin-right: 14px;
  font-weight: 900;
  font-size: 1.1em;
}

.c-faq__q::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--slate);
  border-bottom: 2px solid var(--slate);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}

.c-faq__q[aria-expanded='true']::after {
  transform: translateY(-30%) rotate(-135deg);
}

.c-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.3s ease;
}

.c-faq__q[aria-expanded='true'] + .c-faq__a {
  grid-template-rows: 1fr;
}

.c-faq__a-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.95;
  display: flex;
  gap: 14px;
}

/* 余白は grid 0fr の最小高さに算入されないよう span 側に持たせる */
.c-faq__a-inner > span {
  padding-bottom: 24px;
}

.c-faq__a-inner::before {
  content: 'A';
  font-family: var(--font-en);
  color: var(--slate);
  font-weight: 900;
  font-size: 1.1em;
  flex-shrink: 0;
}

/* ---- 11. お問合せ (.c-contact) ---- */
.c-contact {
  background: var(--orange);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.c-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  z-index: 0;
}

.c-contact > .l-inner {
  position: relative;
  z-index: 1;
}

.c-contact__title {
  color: var(--white);
  margin-bottom: 18px;
}

.c-contact__lead {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--space-block);
  line-height: 2;
}

.c-form {
  background: var(--white);
  color: var(--text-body);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.c-form__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c-form__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 8px;
}

.c-form__required {
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.c-form__optional {
  color: var(--text-note);
  font-size: 11px;
  font-weight: 700;
}

.c-form__input,
.c-form__textarea,
.c-form__select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 15px;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.c-form__input:focus,
.c-form__textarea:focus,
.c-form__select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 107, 58, 0.16);
}

.c-form__textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}

.c-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

.c-form__consent input[type='checkbox'] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
}

.c-form__consent a {
  color: var(--slate);
  text-decoration: underline;
}

.c-form__submit {
  margin-top: 8px;
  padding: 18px 36px;
  font-size: 16px;
}

.c-contact__nap {
  margin-top: var(--space-block);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  color: rgba(255, 255, 255, 0.96);
}

.c-contact__nap-row {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.6;
}

.c-contact__nap-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  min-width: 60px;
}

.c-contact__nap-value {
  font-weight: 700;
  font-size: 15px;
}

.c-contact__nap-value a {
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

/* ---- 12. フッター (.c-footer) ---- */
.c-footer {
  background: var(--slate-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 32px;
}

.c-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.c-footer__brand {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 12px;
}

.c-footer__brand-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

.c-footer__nap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  line-height: 1.9;
}

.c-footer__nap-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  margin-right: 8px;
}

.c-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.c-footer__nav-title {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.c-footer__nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.c-footer__bottom {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.c-footer__bottom a {
  color: rgba(255, 255, 255, 0.75);
}

/* ---- 13. プライバシーポリシー本文 (.c-policy) ---- */
.c-policy__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.c-policy__item h2 {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 900;
  color: var(--slate);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: var(--border-hair);
}

.c-policy__item p,
.c-policy__item li {
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-body);
}

.c-policy__item ul {
  list-style: disc;
  padding-left: 1.4em;
  margin-top: 8px;
}

.c-policy__item ul li {
  margin-bottom: 6px;
}

.c-policy__meta {
  margin-top: var(--space-block);
  padding-top: 24px;
  border-top: var(--border-hair);
  font-size: 14px;
  color: var(--text-note);
}

/* ---- 14. service ページ専用 (.c-svc) ---- */
.c-svc__group {
  margin-bottom: var(--space-block);
  padding: clamp(28px, 4vw, 44px);
  background: var(--off);
  border-radius: var(--radius-card);
}

.c-svc__group--featured {
  background: linear-gradient(180deg, #fff5ef 0%, #ffffff 100%);
  border: 2px solid var(--orange);
}

.c-svc__group-title {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 900;
  color: var(--slate);
  margin-bottom: 20px;
}

.c-svc__plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.c-svc__plan {
  background: var(--white);
  border: var(--border-hair);
  border-radius: 12px;
  padding: 24px;
}

.c-svc__plan-name {
  font-size: 18px;
  font-weight: 900;
  color: var(--slate);
  margin-bottom: 10px;
}

.c-svc__plan-price {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 6px;
}

.c-svc__plan-meta {
  font-size: 13px;
  color: var(--text-note);
  font-weight: 700;
}

.c-svc__includes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.c-svc__include-col h4 {
  font-size: 14px;
  font-weight: 900;
  color: var(--slate);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}

.c-svc__include-col--exclude h4 {
  border-bottom-color: var(--text-note);
}

.c-svc__include-col ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.c-svc__include-col li {
  font-size: 14px;
  color: var(--text-body);
  padding-left: 16px;
  position: relative;
  line-height: 1.7;
}

.c-svc__include-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.c-svc__include-col--exclude li::before {
  background: var(--text-note);
}

.c-svc__option {
  background: var(--slate-deep);
  color: var(--white);
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-card);
  margin-top: var(--space-block);
}

.c-svc__option-eyebrow {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 16px;
}

.c-svc__option-title {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.4;
}

.c-svc__option-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 2;
  margin-bottom: 24px;
  max-width: 38em;
}

/* ---- 15. レスポンシブ：768px 以上 ---- */
@media (min-width: 768px) {
  .c-header__nav {
    display: block;
  }

  .c-header__toggle {
    display: none;
  }

  .c-header__cta {
    padding: 11px 26px;
    font-size: 14px;
  }

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

  .c-reasons__layout {
    grid-template-columns: 38% 1fr;
    gap: 56px;
  }

  .c-reasons__cards {
    grid-template-columns: 1fr;
  }

  .c-cases__item {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .c-cases__item--reverse .c-cases__media {
    order: 2;
  }

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

  .c-footer__top {
    grid-template-columns: 2fr 1.4fr 1fr;
    gap: 56px;
  }

  .c-svc__includes {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* ---- 16. レスポンシブ：1024px 以上 ---- */
@media (min-width: 1024px) {
  .c-pricing__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .c-flow__list {
    grid-template-columns: 1fr 1fr;
    column-gap: 56px;
  }

  .c-svc__plans {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- 17a. Scroll Reveal セーフティネット ----
   専用 stagger を持つ要素には付与しない（BUG-01 / qa-buglog 準拠） */
.is-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.is-reveal.is-in {
  opacity: 1;
  transform: none;
}
html:not(.j) .is-reveal { opacity: 1; transform: none; }

/* ---- 17. アクセシビリティ：動きを減らす ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .is-reveal { opacity: 1; transform: none; }
}

/* ---- 18. スクリーンリーダー専用 ---- */
.sr-only,
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- 19. Phase F: モーション ---- */

/* CTA sheen（hover 時に光沢が 1 回走る） */
.c-btn--primary { position: relative; overflow: hidden; }
.c-btn--primary::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.c-btn--primary:hover::after { animation: cta-sheen 0.55s ease-out; }
@keyframes cta-sheen {
  0%   { left: -100%; }
  100% { left: 130%; }
}

/* hero-num wipe-in（FV③ 可視化時に 1 回） */
.hero-c3 .hero-num { will-change: clip-path; }
.hero-c3.is-loaded .hero-num {
  animation: hero-num-wipe 0.65s cubic-bezier(.6,.05,.15,1) both;
}
@keyframes hero-num-wipe {
  0%   { clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); opacity: 0; }
  30%  { opacity: 1; }
  100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); opacity: 1; }
}

/* hero-hint fade（FV 通過で消える） */
.hero-hint { transition: opacity 0.4s ease; }
.hero-hint.is-hidden { opacity: 0; pointer-events: none; }

/* SP 追従 CTA バー */
.sp-cta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: none;
  padding: 10px 12px;
  background: rgba(26,34,48,.96);
  gap: 10px;
  z-index: 45;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  box-shadow: 0 -8px 24px rgba(0,0,0,.25);
  will-change: transform;
}
.sp-cta-bar.is-visible { transform: translateY(0); }
.sp-cta-bar__btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 8px;
  background: var(--orange); color: #fff;
  font-weight: 900; letter-spacing: .04em;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
}
.sp-cta-bar__tel {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: rgba(255,255,255,.1);
  color: #fff; text-decoration: none;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.18);
}
@media (max-width: 768px) {
  .sp-cta-bar { display: flex; }
  body.has-sp-cta { padding-bottom: 82px; }
}

/* 本命カード flash（1 回だけ・ループ pulse 禁止） */
.c-pricing__plan--featured.is-flash {
  animation: pricing-flash 0.6s ease-out;
}
@keyframes pricing-flash {
  0%   { box-shadow: 0 6px 20px rgba(0,0,0,.06); }
  50%  { box-shadow: 0 20px 52px rgba(242,107,58,.32); }
  100% { box-shadow: 0 6px 20px rgba(0,0,0,.06); }
}

/* 送信中ボタン */
.c-form__submit:disabled {
  opacity: .7;
  cursor: progress;
}

/* reduced-motion 対応（既存ガード踏襲） */
@media (prefers-reduced-motion: reduce) {
  .c-btn--primary:hover::after { animation: none; }
  .hero-c3.is-loaded .hero-num { animation: none; clip-path: none; }
  .hero-hint { transition: none; }
  .sp-cta-bar { transition: none; transform: translateY(0); }
  .c-faq__a { transition: none; }
  .c-pricing__plan--featured.is-flash { animation: none; }
}
