/* ============================================================
   みえサポ SNS Work — スタイルシート
   
   【構成】
   1. CSS変数（カラー・フォント）
   2. リセット / ベーススタイル
   3. レイアウトユーティリティ
   4. ヘッダー
   5. ヒーローセクション
   6. お悩みセクション
   7. 選ばれる理由セクション
   8. お客様の声セクション
   9. 料金プランセクション
   10. FAQセクション
   11. お問い合わせフォームセクション
   12. 確認モーダル
   13. フッター
   14. モバイル固定CTA
   15. アニメーション
   ============================================================ */


/* ============================================================
   1. CSS変数
   ============================================================ */
:root {
  /* --- メインカラー --- */
  --color-bg:           #faf8f5;
  --color-bg-warm:      #f4ebe1;
  --color-bg-gold:      #e8dec0;
  --color-bg-cream:     #fff9f2;
  --color-bg-light:     #fbf5ee;
  --color-bg-muted:     #f5f1ea;
  --color-bg-card:      #fcfaf7;

  /* --- テキストカラー --- */
  --color-text:         #292524;   /* stone-800 */
  --color-text-dark:    #44403c;   /* stone-700 */
  --color-text-muted:   #57534e;   /* stone-600 */
  --color-text-light:   #78716c;   /* stone-500 */

  /* --- アクセントカラー --- */
  --color-amber-400:    #fbbf24;
  --color-amber-500:    #f59e0b;
  --color-amber-600:    #d97706;
  --color-amber-700:    #b45309;
  --color-pink-500:     #ec4899;
  --color-purple-500:   #a855f7;
  --color-orange-500:   #f97316;
  --color-red-500:      #ef4444;
  --color-red-600:      #dc2626;
  --color-green-500:    #22c55e;
  --color-green-700:    #15803d;

  /* --- ボーダー --- */
  --border-light:       #e7e5e4;   /* stone-200 */
  --border-cream:       #fde8d3;
  --border-gold:        #f0e4d4;

  /* --- フッター --- */
  --color-footer-bg:    #4a3f35;
  --color-footer-text:  #d4c5b9;
  --color-footer-title: #f4ebe1;

  /* --- グラデーション --- */
  --gradient-cta: linear-gradient(to right, var(--color-purple-500), var(--color-pink-500), var(--color-orange-500));
  --gradient-cta-short: linear-gradient(to right, var(--color-purple-500), var(--color-pink-500));

  /* --- シャドウ --- */
  --shadow-sm:    0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:    0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg:    0 10px 25px rgba(0,0,0,0.1);
  --shadow-xl:    0 20px 45px rgba(0,0,0,0.12);

  /* --- フォント --- */
  --font-family:  'Noto Sans JP', sans-serif;

  /* --- 角丸 --- */
  --radius-sm:    0.5rem;
  --radius-md:    0.75rem;
  --radius-lg:    1rem;
  --radius-xl:    1.5rem;
  --radius-full:  9999px;
}


/* ============================================================
   2. リセット / ベーススタイル
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  line-height: 1.6;
  padding-bottom: 6rem;   /* モバイルCTAのスペース */
}

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

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

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

ul {
  list-style: none;
}

input, textarea {
  font-family: inherit;
}


/* ============================================================
   3. レイアウトユーティリティ
   ============================================================ */
.container {
  max-width: 1024px;       /* max-w-5xl相当 */
  margin: 0 auto;
  padding: 0 1rem;
}

.container--narrow {
  max-width: 896px;        /* max-w-4xl相当 */
  margin: 0 auto;
  padding: 0 1rem;
}

.container--form {
  max-width: 768px;        /* max-w-3xl相当 */
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.section-title .underline-bar {
  width: 3rem;
  height: 0.25rem;
  border-radius: var(--radius-full);
  margin: 0 auto;
}

.section-title .underline-bar--amber {
  background-color: var(--color-amber-400);
}

.section-title .underline-bar--white {
  background-color: #fff;
}

.hidden {
  display: none !important;
}


/* ============================================================
   4. ヘッダー
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -0.025em;
}

.header__nav {
  display: none;
  gap: 1rem;
}

.header__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.header__nav a:hover {
  color: var(--color-amber-700);
}


/* ============================================================
   5. ヒーローセクション
   ============================================================ */
.hero {
  position: relative;
  background-color: var(--color-bg-warm);
  color: var(--color-text);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(244,235,225,0.8), rgba(244,235,225,0.95));
}

.hero__content {
  position: relative;
  max-width: 1024px;
  margin: 0 auto;
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  background: #fff;
  color: var(--color-text-muted);
  font-weight: 700;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f5f5f4;
}

.hero__title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.hero__subtitle {
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 672px;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-weight: 500;
}

.hero__cta-group {
  width: 100%;
  max-width: 448px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-cta-primary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gradient-cta);
  color: #fff;
  font-weight: 700;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-size: 1.125rem;
  transition: all 0.3s;
}

.btn-cta-primary:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.btn-cta-secondary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--color-text-dark);
  font-weight: 700;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  font-size: 1.125rem;
  transition: all 0.3s;
}

.btn-cta-secondary:hover {
  background: #fafaf9;
  transform: translateY(-4px);
}

.hero__note {
  font-size: 0.75rem;
  text-align: center;
  color: var(--color-text-light);
  margin-top: 0.5rem;
}


/* ============================================================
   6. お悩みセクション
   ============================================================ */
.pain-points {
  background-color: #fff;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pain-card {
  background-color: var(--color-bg-cream);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid var(--border-cream);
}

.pain-card__icon {
  color: var(--color-amber-500);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.pain-card__title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-dark);
}

.pain-card__text {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.pain-cta {
  margin-top: 3rem;
  text-align: center;
  position: relative;
}

.pain-cta__arrow {
  position: absolute;
  left: 50%;
  margin-left: -1rem;
  top: -2rem;
  color: var(--color-amber-500);
}

.pain-cta__message {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
}

.pain-cta__message .highlight {
  color: var(--color-amber-600);
}


/* ============================================================
   7. 選ばれる理由セクション
   ============================================================ */
.features {
  background-color: var(--color-bg);
}

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

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid #f5f5f4;
}

.feature-card--reverse {
  /* PC時のみ逆順 */
}

.feature-card__image {
  width: 100%;
}

.feature-card__image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.feature-card__body {
  width: 100%;
}

.feature-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.feature-card__number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--border-gold);
}

.feature-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-card__title .icon {
  color: var(--color-amber-500);
}

.feature-card__text {
  color: var(--color-text-muted);
  line-height: 1.8;
}


/* ============================================================
   8. お客様の声セクション
   ============================================================ */
.voices {
  background-color: var(--color-bg-gold);
  color: var(--color-text);
}

.voices .section-title p {
  margin-top: 1rem;
  color: var(--color-text-dark);
  font-size: 0.875rem;
  font-weight: 500;
}

.voices__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.voice-card {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  color: var(--color-text);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.voice-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.voice-card__name {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-text-dark);
}

.voice-card__stars {
  color: var(--color-amber-500);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.voice-card__tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  color: var(--color-text-dark);
}

.voice-card__tag--proxy {
  background-color: var(--border-gold);
}

.voice-card__tag--consulting {
  background-color: #d4e0ce;
}

.voice-card__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.voice-card__text {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.8;
}


/* ============================================================
   9. 料金プランセクション
   ============================================================ */
.plans {
  background-color: var(--color-bg);
}

.plans .section-title p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  max-width: 672px;
  margin: 0 auto;
}

.plans__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.plan-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.plan-card--popular {
  border: 2px solid var(--color-amber-500);
  box-shadow: var(--shadow-lg);
}

.plan-card--default {
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.plan-card__inner {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.plan-card__inner--soldout {
  opacity: 0.8;
  filter: grayscale(20%);
}

.plan-card__popular-badge {
  background-color: var(--color-amber-500);
  color: #fff;
  font-weight: 700;
  padding: 0.625rem 0;
  text-align: center;
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  box-shadow: var(--shadow-sm);
}

.plan-card__header {
  padding: 1rem 0;
  text-align: center;
}

.plan-card__header--popular {
  background-color: var(--color-bg-cream);
  border-bottom: 1px solid var(--border-cream);
}

.plan-card__header--default {
  background-color: var(--color-bg-muted);
}

.plan-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.plan-card__desc {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

.plan-card__features {
  padding: 1.5rem;
  flex-grow: 1;
}

.plan-card__features ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.plan-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-dark);
}

.plan-card__features li .icon {
  width: 1rem;
  height: 1rem;
  color: var(--color-amber-500);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.plan-card__footer {
  padding: 1.5rem;
  border-top: 1px solid;
  margin-top: auto;
  text-align: center;
}

.plan-card__footer--popular {
  background-color: var(--color-bg-cream);
  border-top-color: var(--border-cream);
}

.plan-card__footer--default {
  background-color: var(--color-bg-card);
  border-top-color: #f5f5f4;
}

.plan-card__price-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 0.25rem;
}

.plan-card__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.plan-card__price-sub {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-light);
}

.plan-card__soldout {
  color: var(--color-red-600);
  font-weight: 700;
  padding: 0.5rem 0;
}

.plan-card__soldout p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.plan-card__soldout .sub-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-red-500);
}

.plans__note {
  margin-top: 2rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-bg-gold);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.plans__note p {
  font-size: 0.875rem;
  color: var(--color-text-dark);
}

.plans__note .highlight {
  color: var(--color-amber-600);
  font-weight: 700;
}


/* ============================================================
   10. FAQセクション
   ============================================================ */
.faq {
  background-color: #fff;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--color-bg);
  text-align: left;
  font-weight: 700;
  color: var(--color-text-dark);
  transition: background 0.2s;
}

.faq-item__question:hover {
  background: var(--color-bg-muted);
}

.faq-item__question-text {
  display: flex;
  gap: 0.5rem;
}

.faq-item__question-text .q-mark {
  color: var(--color-amber-600);
}

.faq-item__question .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-text-light);
  flex-shrink: 0;
}

/* FAQの開閉アイコン制御 */
.faq-icon-up   { display: none; }
.faq-icon-down { display: block; }
.faq-icon-up.open   { display: block; }
.faq-icon-down.open { display: none; }

.faq-item__answer {
  display: none;
  padding: 1rem;
  background: #fff;
  border-top: 1px solid #f5f5f4;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.8;
  gap: 0.5rem;
}

.faq-item__answer.open {
  display: flex;
}

.faq-item__answer .a-mark {
  color: var(--color-amber-500);
  font-weight: 700;
}


/* ============================================================
   11. お問い合わせフォームセクション
   ============================================================ */
.contact {
  background-color: var(--color-bg-gold);
  color: var(--color-text);
}

.contact .section-title p {
  font-size: 0.875rem;
  color: var(--color-text-dark);
  font-weight: 500;
  max-width: 576px;
  margin: 0 auto;
}

.contact-form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  max-width: 672px;
  margin-left: auto;
  margin-right: auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.form-label .badge-required {
  background-color: var(--color-red-500);
  color: #fff;
  font-size: 10px;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  margin-left: 0.5rem;
}

.form-label .badge-optional {
  background-color: #a8a29e;
  color: #fff;
  font-size: 10px;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  margin-left: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--color-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  color: var(--color-text-dark);
  transition: all 0.2s;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-amber-500);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.2);
}

.form-input-wrapper {
  position: relative;
}

.form-input-wrapper .prefix {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: var(--color-text-light);
}

.form-input-wrapper .form-input--with-prefix {
  padding-left: 2rem;
}

.form-actions {
  padding-top: 1rem;
  text-align: center;
  border-top: 1px solid #f5f5f4;
  margin-top: 2rem;
}

.btn-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gradient-cta);
  color: #fff;
  font-weight: 700;
  padding: 1rem 3rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-size: 1rem;
  transition: all 0.3s;
  width: 100%;
}

.btn-confirm:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.form-error-msg {
  color: var(--color-red-500);
  font-size: 0.875rem;
  font-weight: 700;
  margin-top: 0.75rem;
}

.contact__dm {
  text-align: center;
  margin-top: 3rem;
}

.contact__dm p {
  font-size: 0.875rem;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

.btn-dm {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--color-text-dark);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: background 0.2s;
}

.btn-dm:hover {
  background: #fafaf9;
}

.btn-dm .icon {
  color: var(--color-pink-500);
}


/* ============================================================
   12. 確認モーダル
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(41,37,36,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal__wrapper {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal__content {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 672px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  opacity: 0;
  transition: all 0.3s;
}

.modal__content.is-visible {
  transform: scale(1);
  opacity: 1;
}

.modal__body {
  padding: 1.5rem 2rem;
}

.modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  text-align: center;
  border-bottom: 1px solid #f5f5f4;
  padding-bottom: 1rem;
}

.confirm-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.confirm-field__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 0.25rem;
}

.confirm-field__value {
  background: var(--color-bg);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  color: var(--color-text);
  font-weight: 700;
}

.confirm-field__value--multiline {
  padding: 1rem;
  white-space: pre-wrap;
  font-weight: 400;
}

.confirm-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.modal__error {
  background: #fef2f2;
  color: var(--color-red-600);
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.modal__success {
  background: #f0fdf4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--color-green-700);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal__success .icon {
  width: 3rem;
  height: 3rem;
  color: var(--color-green-500);
  margin-bottom: 0.5rem;
}

.modal__success .title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.modal__success .text {
  font-size: 0.875rem;
  color: #16a34a;
}

.modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

.btn-back {
  width: 100%;
  background: #f5f5f4;
  color: var(--color-text-muted);
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: background 0.2s;
}

.btn-back:hover {
  background: var(--border-light);
}

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-text);
  color: #fff;
  font-weight: 700;
  padding: 0.875rem 3rem;
  border-radius: var(--radius-lg);
  transition: background 0.2s;
}

.btn-submit:hover {
  background: #1c1917;
}

.modal__close-action {
  text-align: center;
}

.btn-close-modal {
  width: 100%;
  background: var(--color-text);
  color: #fff;
  font-weight: 700;
  padding: 0.875rem 3rem;
  border-radius: var(--radius-lg);
  margin-top: 1rem;
  transition: background 0.2s;
}

.btn-close-modal:hover {
  background: #1c1917;
}


/* ============================================================
   13. フッター
   ============================================================ */
.footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
  padding-bottom: 7rem;   /* モバイルCTA余白 */
}

.footer__title {
  font-weight: 700;
  color: var(--color-footer-title);
  margin-bottom: 0.5rem;
}

.footer__desc {
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer__social a {
  transition: color 0.2s;
}

.footer__social a:hover {
  color: #fff;
}


/* ============================================================
   14. モバイル固定CTA
   ============================================================ */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
  z-index: 50;
  padding: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.mobile-cta__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  transition: all 0.2s;
}

.mobile-cta__btn--dm {
  background: #f5f5f4;
  color: var(--color-text-dark);
}

.mobile-cta__btn--dm .icon {
  color: var(--color-pink-500);
  margin-bottom: 0.125rem;
}

.mobile-cta__btn--form {
  background: var(--gradient-cta-short);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.mobile-cta__btn--form .icon {
  margin-bottom: 0.125rem;
}


/* ============================================================
   15. アニメーション
   ============================================================ */
@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.animate-bounce {
  animation: bounce 1s infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 1s linear infinite;
}


/* ============================================================
   16. レスポンシブ（768px以上 = PC表示）
   ============================================================ */
@media (min-width: 768px) {

  body {
    padding-bottom: 0;
  }

  /* ヘッダー */
  .header__nav {
    display: flex;
  }

  /* ヒーロー */
  .hero__content {
    padding: 6rem 1rem;
  }

  .hero__title {
    font-size: 3rem;
    line-height: 1.3;
  }

  .hero__subtitle {
    font-size: 1.125rem;
  }

  /* お悩み */
  .pain-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pain-cta__message {
    font-size: 1.5rem;
  }

  /* 選ばれる理由 */
  .feature-card {
    flex-direction: row;
    padding: 2rem;
  }

  .feature-card--reverse {
    flex-direction: row-reverse;
  }

  .feature-card__image {
    width: 50%;
  }

  .feature-card__body {
    width: 50%;
  }

  /* お客様の声 */
  .voices__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* 料金プラン */
  .plans__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .plan-card--popular {
    transform: translateY(-1rem);
  }

  .plans__note p {
    font-size: 1rem;
  }

  /* FAQ */
  .section-title h2 {
    font-size: 1.875rem;
  }

  /* フォーム */
  .contact-form-card {
    padding: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .btn-confirm {
    width: auto;
    font-size: 1.125rem;
  }

  /* モーダル */
  .modal__actions {
    flex-direction: row;
  }

  .btn-back,
  .btn-submit,
  .btn-close-modal {
    width: auto;
  }

  .confirm-row {
    grid-template-columns: 1fr 1fr;
  }

  /* フッター */
  .footer {
    padding-bottom: 2rem;
  }

  /* モバイルCTA非表示 */
  .mobile-cta {
    display: none;
  }

  /* ヒーロー brタグ制御 */
  .hide-on-pc {
    display: none;
  }
}

/* SP用 brタグ制御 */
@media (max-width: 767px) {
  .hide-on-sp {
    display: none;
  }
}
