/* ==========================================
   アニハピしっぽの会 - 共通スタイルシート
   ========================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap');

/* ==========================================
   CSS カスタムプロパティ（デザイントークン）
   ========================================== */
:root {
  /* ブランドカラー */
  --color-primary: #FF2D8B;
  --color-primary-light: #FF6BB0;
  --color-primary-lighter: #FFD6EB;
  --color-primary-dark: #D4006B;
  --color-secondary: #FF8CC8;
  --color-accent: #FFB3D9;

  /* ニュートラルカラー */
  --color-white: #FFFFFF;
  --color-bg: #FFF8FB;
  --color-bg-soft: #FFF0F6;
  --color-bg-gray: #F8F8F8;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-border: #EDEDED;
  --color-border-pink: #FFD6EB;

  /* 信頼感カラー（法人・共済向け） */
  --color-trust: #5B7FA6;
  --color-trust-light: #EBF2FA;
  --color-trust-dark: #3D5A7A;

  /* グリーン（安心感） */
  --color-safe: #5BA67E;
  --color-safe-light: #E8F5EF;

  /* シャドウ */
  --shadow-sm: 0 2px 8px rgba(255, 45, 139, 0.08);
  --shadow-md: 0 4px 20px rgba(255, 45, 139, 0.12);
  --shadow-lg: 0 8px 40px rgba(255, 45, 139, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);

  /* ボーダーRadius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 9999px;

  /* フォント */
  --font-base: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --font-heading: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;

  /* スペーシング */
  --section-py: 80px;
  --section-py-sm: 48px;
  --container-max: 1100px;

  /* トランジション */
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

ul, ol {
  list-style: none;
}

/* ==========================================
   コンテナ
   ========================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   ヘッダー
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-pink);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img {
  height: 48px;
  width: auto;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header-logo-text .name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.header-logo-text .tagline {
  font-size: 10px;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

/* ナビゲーション */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-text);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--color-primary);
  background: var(--color-primary-lighter);
}

/* ドロップダウンメニュー */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 10px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  border: 1px solid var(--color-border-pink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  padding: 8px;
  padding-top: 16px; /* 上に余白を持たせて見た目の間隔を確保 */
  z-index: 100;
}

/* トリガーとメニューの隙間を透明領域で埋めてhoverを途切れさせない */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--color-text);
}

.dropdown-menu a:hover {
  background: var(--color-bg-soft);
  color: var(--color-primary);
}

/* ヘッダーCTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

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

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

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

/* モバイルナビ */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-bottom: 2px solid var(--color-border-pink);
  z-index: 999;
  padding: 16px 24px 24px;
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}

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

.mobile-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover {
  color: var(--color-primary);
}

/* ==========================================
   ボタン
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(255, 45, 139, 0.3);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  box-shadow: 0 6px 24px rgba(255, 45, 139, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-white:hover {
  background: var(--color-primary-lighter);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-trust {
  background: var(--color-trust);
  color: var(--color-white);
  border-color: var(--color-trust);
}

.btn-trust:hover {
  background: var(--color-trust-dark);
  border-color: var(--color-trust-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 17px;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 13px;
}

/* ==========================================
   ページ共通ヘッダー（各ページ上部）
   ========================================== */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #FF6BB0 50%, #FFB3D9 100%);
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -15%;
  width: 50%;
  height: 160%;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.page-hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(14px, 2vw, 17px);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* パンくず */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  justify-content: center;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

.breadcrumb a:hover {
  color: var(--color-white);
}

.breadcrumb-sep {
  font-size: 10px;
}

/* ==========================================
   セクション共通
   ========================================== */
.section {
  padding: var(--section-py) 0;
}

.section-sm {
  padding: var(--section-py-sm) 0;
}

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

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

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

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-block;
  background: var(--color-primary-lighter);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.35;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--color-primary);
}

.section-desc {
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.85;
}

/* ==========================================
   カード
   ========================================== */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--transition);
}

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

.card-body {
  padding: 28px;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-primary-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.card-text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ==========================================
   グリッド
   ========================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ==========================================
   バッジ・タグ
   ========================================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.badge-primary {
  background: var(--color-primary-lighter);
  color: var(--color-primary);
}

.badge-trust {
  background: var(--color-trust-light);
  color: var(--color-trust-dark);
}

.badge-safe {
  background: var(--color-safe-light);
  color: var(--color-safe);
}

.badge-new {
  background: #FFF3CD;
  color: #856404;
}

/* ==========================================
   区切り線・デコレーション
   ========================================== */
.divider {
  height: 1px;
  background: var(--color-border);
  margin: 40px 0;
}

.divider-pink {
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary-lighter), var(--color-primary), var(--color-primary-lighter));
  border-radius: var(--radius-full);
}

/* ==========================================
   フッター
   ========================================== */
.site-footer {
  background: linear-gradient(160deg, #FFF4F9 0%, #F5EEF8 50%, #EEF4FB 100%);
  color: var(--color-text-light);
  padding: 64px 0 0;
  border-top: 3px solid var(--color-primary-lighter);
  position: relative;
}

/* 上部のやわらかい装飾ライン */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-lighter), var(--color-primary), var(--color-secondary), var(--color-primary-lighter));
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border-pink);
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 44px;
  width: auto;
}

.footer-logo-text .name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 900;
  color: var(--color-primary);
}

.footer-brand-desc {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.85;
  margin-bottom: 20px;
}

.footer-contact-info {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 2;
}

.footer-contact-info a {
  color: var(--color-primary);
  font-weight: 600;
}

.footer-contact-info a:hover {
  color: var(--color-primary-dark);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary-lighter);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: var(--color-text-light);
  font-size: 13px;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: transparent;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--color-text-muted);
  font-size: 12px;
}

.footer-bottom-links a:hover {
  color: var(--color-primary);
}

.footer-copyright {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ==========================================
   お知らせバー
   ========================================== */
.notice-bar {
  background: linear-gradient(90deg, var(--color-primary) 0%, #FF6BB0 100%);
  padding: 10px 0;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}

.notice-bar p {
  color: var(--color-white);
  font-size: 13px;
  font-weight: 500;
}

.notice-bar a {
  color: var(--color-white);
  text-decoration: underline;
  margin-left: 8px;
}

/* ==========================================
   テーブル
   ========================================== */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
}

.table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

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

.table tr:nth-child(even) td {
  background: var(--color-bg-soft);
}

/* ==========================================
   フォーム
   ========================================== */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.form-label .required {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-base);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition);
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(255, 45, 139, 0.1);
}

.form-control::placeholder {
  color: var(--color-text-muted);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23999' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 40px;
}

/* ==========================================
   アコーディオン（FAQ用）
   ========================================== */
.accordion {
  border: 1px solid var(--color-border-pink);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-family: var(--font-base);
  transition: background var(--transition);
}

.accordion-header:hover {
  background: var(--color-bg-soft);
}

.accordion-q {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.accordion-question {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
}

.accordion.is-open .accordion-icon {
  transform: rotate(45deg);
  background: var(--color-primary);
  color: var(--color-white);
}

.accordion-body {
  display: none;
  padding: 0 24px 20px;
  padding-left: 68px;
}

.accordion.is-open .accordion-body {
  display: block;
}

.accordion-body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.85;
}

/* ==========================================
   ステップフロー
   ========================================== */
.step-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step-item {
  flex: 1;
  text-align: center;
  position: relative;
}

.step-item::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  z-index: 0;
}

.step-item:last-child::after {
  display: none;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(255, 45, 139, 0.3);
}

.step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.7;
  padding: 0 8px;
}

/* ==========================================
   強調ボックス
   ========================================== */
.info-box {
  background: var(--color-trust-light);
  border-left: 4px solid var(--color-trust);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
}

.info-box p {
  font-size: 14px;
  color: var(--color-trust-dark);
  line-height: 1.8;
}

.warn-box {
  background: #FFF8E1;
  border-left: 4px solid #FFC107;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
}

.warn-box p {
  font-size: 14px;
  color: #664D03;
  line-height: 1.8;
}

.success-box {
  background: var(--color-safe-light);
  border-left: 4px solid var(--color-safe);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
}

.success-box p {
  font-size: 14px;
  color: #1D5234;
  line-height: 1.8;
}

/* ==========================================
   トースト通知
   ========================================== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--color-text);
  color: var(--color-white);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background: var(--color-safe);
}

.toast.error {
  background: #D63031;
}

/* ==========================================
   スクロールトップボタン
   ========================================== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-md);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
}

/* ==========================================
   ヒーローセクション（トップ専用）
   ========================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #FFF0F8 0%, #FFF8FC 40%, #FFF0F8 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 45, 139, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 150, 200, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary-lighter);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.25;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--color-primary);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--color-primary-lighter);
  z-index: -1;
  border-radius: 3px;
}

.hero-lead {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border-pink);
}

.hero-stat {}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--color-text-light);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-visual-logo {
  width: min(420px, 90%);
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 24px 64px rgba(91, 127, 166, 0.18))
          drop-shadow(0 8px 24px rgba(255, 45, 139, 0.10));
  border-radius: var(--radius-xl);
  animation: floatPet 6s ease-in-out infinite;
}

@keyframes floatPet {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

.hero-badge {
  position: absolute;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatBadge 4s ease-in-out infinite;
}

.hero-badge-icon {
  font-size: 24px;
}

.hero-badge-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
}

.hero-badge-text span {
  color: var(--color-primary);
  font-size: 14px;
}

.hero-badge-1 {
  top: 10%;
  left: 0;
  animation-delay: 0s;
}

.hero-badge-2 {
  bottom: 15%;
  right: 0;
  animation-delay: 1.5s;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

/* ==========================================
   ユーティリティ
   ========================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--color-primary); }
.text-trust { color: var(--color-trust); }
.text-safe { color: var(--color-safe); }
.text-muted { color: var(--color-text-muted); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }

.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.hidden { display: none !important; }

/* ==========================================
   レスポンシブ
   ========================================== */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .header-nav {
    display: none;
  }
  .header-cta .btn {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 56px;
    --section-py-sm: 36px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual-logo {
    width: min(300px, 76vw);
    max-height: 400px;
  }

  .hero-badge {
    display: none;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .step-flow {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .step-item::after {
    display: none;
  }

  .table-wrap {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .btn {
    padding: 10px 22px;
    font-size: 14px;
  }

  .btn-lg {
    padding: 14px 32px;
    font-size: 15px;
  }

  .section-title {
    font-size: 22px;
  }

  .page-hero {
    padding: 88px 0 48px;
  }
}

/* ==========================================
   アニメーション
   ========================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
