/*
Theme Name: KANSHA
Theme URI: https://kansha-gift.jp
Author: tripuuu inc.
Author URI: https://tripuuu.com
Description: KANSHA Digital Gratitude - Official WordPress Theme
Version: 1.0.0
License: Private
Text Domain: kansha
*/

/* ============================================================
   CSS Variables
============================================================ */
:root {
  --pink: #EFB9B9;
  --pink-dark: #D4807A;
  --pink-light: #FBF0EF;
  --dark: #1A1714;
  --gray: #6B7280;
  --gray-light: #F9FAFB;
  --border: #E5E7EB;
  --white: #FFFFFF;
  --max-width: 1100px;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ============================================================
   Reset & Base
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   Typography
============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   Layout Utilities
============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--gray { background: var(--gray-light); }
.section--pink { background: var(--pink-light); }
.section--dark { background: var(--dark); color: var(--white); }

.section__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink-dark);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
}

.section__lead {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto 48px;
  text-align: center;
}

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

/* ============================================================
   Buttons
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn--primary {
  background: var(--dark);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,128,122,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
  padding: 14px 32px; /* btn--primaryと揃える */
}
.btn--outline:hover {
  background: var(--dark);
  color: var(--white);
}

.btn--pink {
  background: var(--pink-dark);
  color: var(--white);
}
.btn--pink:hover {
  background: #bf6a64;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,128,122,0.3);
}

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

/* ============================================================
   Header
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.site-logo { display: flex; align-items: center; }
.site-logo img,
.site-logo svg { height: 24px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 32px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  font-size: 14px;
  color: var(--gray);
  font-weight: 400;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--dark); }

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

/* ハンバーガー */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s;
}

/* SP メニュー */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 99;
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  font-size: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
}
.mobile-nav .btn { margin-top: 16px; text-align: center; }
.mobile-nav .btn--primary { color: var(--white); }

/* ============================================================
   Hero Section
============================================================ */
.hero {
  padding: 80px 0 0;
  overflow: hidden;
  background: var(--white);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding-bottom: 80px;
}

.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink-dark);
  background: var(--pink-light);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 20px;
}

.hero-title em {
  font-style: normal;
  color: var(--pink-dark);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  will-change: transform; /* パララックス用 */
}
.hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 20px;
  filter: drop-shadow(0 20px 48px rgba(0,0,0,0.13));
}

/* デモ画面フロート — main01.pngに合成済みのため非表示 */
.hero-demo-float {
  display: none;
}

/* ============================================================
   Stats Bar
============================================================ */
.stats-bar {
  background: var(--dark);
  padding: 32px 0;
}

.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
}

.stat-item { text-align: center; color: var(--white); }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--pink);
  display: block;
}
.stat-label { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ============================================================
   How It Works（3ステップ）
============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.step-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.step-card:hover {
  border-color: var(--pink);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212,128,122,0.12);
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--pink);
  line-height: 1;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ============================================================
   Features（特徴）
============================================================ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.feature-block:last-child { border-bottom: none; }
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }

.feature-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.feature-image img {
  width: 100%; height: 100%; object-fit: cover;
}

.feature-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink-dark);
  margin-bottom: 12px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
}

.feature-desc {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.feature-list { margin-top: 16px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--gray);
  border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '✦';
  color: var(--pink-dark);
  font-size: 10px;
  margin-top: 5px;
  flex-shrink: 0;
}

/* ============================================================
   料金セクション
============================================================ */
.pricing-card {
  max-width: 600px;
  margin: 48px auto 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.pricing-header {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 32px 24px;
}
.pricing-header .price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--pink);
  line-height: 1;
}
.pricing-header .price-note {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}

.pricing-body { padding: 32px; }
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row .label { color: var(--gray); }
.pricing-row .value { font-weight: 500; color: var(--dark); }
.pricing-row .value.free { color: var(--pink-dark); font-weight: 600; }

.pricing-cta { text-align: center; padding: 0 32px 32px; }

/* ============================================================
   FAQ
============================================================ */
.faq-list { max-width: 720px; margin: 48px auto 0; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--pink-dark);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item.is-open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}
.faq-item.is-open .faq-answer { display: block; }

/* ============================================================
   Testimonials
============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.testimonial-stars {
  color: var(--pink-dark);
  font-size: 14px;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
}
.testimonial-role {
  font-size: 12px;
  color: var(--gray);
}

/* ============================================================
   CTA セクション
============================================================ */
.cta-section {
  background: var(--dark);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  margin-bottom: 36px;
}
.cta-section .btn--primary {
  background: var(--pink-dark);
}

/* ============================================================
   News / お知らせ
============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.news-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
  background: var(--white);
}
.news-card:hover {
  border-color: var(--pink);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.news-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--pink-light);
}
.news-card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s;
}
.news-card:hover .news-card-thumb img { transform: scale(1.04); }

.news-card-body { padding: 20px; }

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.news-card-date { font-size: 12px; color: var(--gray); }
.news-card-cat {
  font-size: 11px;
  color: var(--pink-dark);
  background: var(--pink-light);
  padding: 2px 10px;
  border-radius: 50px;
  font-weight: 500;
}

.news-card-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* お知らせ一覧ページ */
.news-list { margin-top: 48px; }
.news-list-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.news-list-item:hover { opacity: 0.7; }
.news-list-thumb {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.news-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-list-date { font-size: 12px; color: var(--gray); margin-bottom: 6px; }
.news-list-title { font-size: 15px; font-weight: 500; line-height: 1.5; }

/* 記事本文 */
.post-content { max-width: 720px; margin: 0 auto; }
.post-content h2 { margin: 40px 0 16px; font-size: 1.5rem; }
.post-content h3 { margin: 32px 0 12px; font-size: 1.2rem; }
.post-content p { color: var(--gray); line-height: 1.9; margin-bottom: 1.2em; }
.post-content img { border-radius: 12px; margin: 24px 0; }
.post-content ul { padding-left: 20px; margin-bottom: 1.2em; }
.post-content ul li { color: var(--gray); margin-bottom: 6px; line-height: 1.7; }

/* ============================================================
   Page Header（下層ページ用）
============================================================ */
.page-header {
  background: var(--gray-light);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.page-header .sub {
  font-size: 14px;
  color: var(--gray);
}

/* パンくず */
.breadcrumb {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--dark); }
.breadcrumb span::before { content: '/'; margin-right: 8px; }

/* ============================================================
   申し込みフォーム
============================================================ */
.form-wrap { max-width: 640px; margin: 48px auto 0; }

.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-label .required {
  color: var(--pink-dark);
  margin-left: 4px;
  font-size: 11px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--pink-dark); }
.form-textarea { min-height: 120px; resize: vertical; }

.form-agree {
  background: var(--pink-light);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 28px;
}
.form-agree label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--dark);
  cursor: pointer;
  line-height: 1.6;
}
.form-agree a { color: var(--pink-dark); text-decoration: underline; }
.form-agree input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; }

.form-submit { text-align: center; }

/* ============================================================
   会社概要テーブル
============================================================ */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
  font-size: 14px;
}
.company-table th,
.company-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.company-table th {
  width: 200px;
  font-weight: 500;
  color: var(--dark);
  background: var(--gray-light);
  white-space: nowrap;
}
.company-table td { color: var(--gray); line-height: 1.8; }

/* 特定商取引法テーブル */
.tokusho-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
  font-size: 14px;
}
.tokusho-table th,
.tokusho-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.tokusho-table th {
  width: 220px;
  font-weight: 500;
  background: var(--gray-light);
  white-space: nowrap;
}
.tokusho-table td { color: var(--gray); line-height: 1.8; }

/* ============================================================
   Footer
============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
  align-items: start;
}

.footer-brand .footer-logo {
  display: block;
  margin-bottom: 12px;
}
.footer-brand .footer-logo svg { height: 20px; width: auto; }

.footer-desc { font-size: 13px; line-height: 1.7; max-width: 280px; }

.footer-nav { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-nav a:hover { color: var(--white); }

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

.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ============================================================
   Utilities
============================================================ */
.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;
}

/* Fade-in animation */
.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);
}

/* ============================================================
   Responsive — SP (max 768px)
============================================================ */
@media (max-width: 768px) {

  .section { padding: 56px 0; }

  /* Header */
  .nav-menu { display: none; }
  .header-cta .btn { display: none; }
  .menu-toggle { display: flex; }

  /* Hero — SP */
  .hero { padding: 0; }
  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  /* 画像を横幅いっぱいに */
  .hero-image {
    order: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
  }
  .hero-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    filter: none;
  }

  /* テキストを画像に重ねる（上にずり上げ） */
  .hero-content {
    order: 1;
    position: relative;
    z-index: 2;
    margin-top: -80px;
    padding: 0 24px 48px;
    background: linear-gradient(to bottom, transparent 0%, #fff 64px);
  }

  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { justify-content: center; }

  /* Stats */
  .stats-inner { gap: 16px; }
  .stat-number { font-size: 1.8rem; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Features */
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }
  .feature-block.reverse { direction: ltr; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* News */
  .news-grid { grid-template-columns: 1fr; }

  /* News list */
  .news-list-item { grid-template-columns: 1fr; gap: 12px; }

  /* Company / Tokusho */
  .company-table th,
  .tokusho-table th { width: 120px; font-size: 12px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-nav { align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-wrap: wrap; gap: 12px; }
}

/* ============================================================
   法的ページ共通（利用規約・プライバシーポリシー）
============================================================ */
.legal-doc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray);
}

.legal-doc p {
  margin-bottom: 1.4em;
}

.legal-doc h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  margin: 2.4em 0 0.8em;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--border);
}

.legal-doc h2:first-of-type {
  margin-top: 0;
}

.legal-doc ul,
.legal-doc ol {
  padding-left: 1.5em;
  margin-bottom: 1.4em;
}

.legal-doc ul { list-style: disc; }
.legal-doc ol { list-style: decimal; }

.legal-doc li {
  margin-bottom: 0.5em;
  line-height: 1.8;
}

.legal-doc a {
  color: var(--pink-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-doc a:hover { opacity: 0.75; }

.legal-contact {
  margin-top: 3em;
  padding: 24px;
  background: var(--gray-light);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.9;
}
.legal-contact p { margin-bottom: 0.4em; }
.legal-contact strong { color: var(--dark); }

/* ============================================================
   Contact Form 7 スタイル上書き
============================================================ */
.wpcf7-form p { margin-bottom: 0; }

.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-tel,
.wpcf7-form .wpcf7-select,
.wpcf7-form .wpcf7-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  margin-bottom: 20px;
  display: block;
}
.wpcf7-form .wpcf7-text:focus,
.wpcf7-form .wpcf7-email:focus,
.wpcf7-form .wpcf7-tel:focus,
.wpcf7-form .wpcf7-select:focus,
.wpcf7-form .wpcf7-textarea:focus {
  border-color: var(--pink-dark);
}

.wpcf7-form .wpcf7-textarea { min-height: 120px; resize: vertical; }

/* 送信ボタン */
.wpcf7-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  margin-top: 8px;
}
.wpcf7-form .wpcf7-submit:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,128,122,0.3);
}

/* バリデーションエラー */
.wpcf7-form .wpcf7-not-valid {
  border-color: var(--pink-dark) !important;
}
.wpcf7-not-valid-tip {
  font-size: 12px;
  color: var(--pink-dark);
  margin-top: -16px;
  margin-bottom: 16px;
  display: block;
}

/* 送信完了・エラーメッセージ */
.wpcf7-response-output {
  margin-top: 20px !important;
  padding: 14px 18px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  border: none !important;
}
.wpcf7-mail-sent-ok {
  background: #f0faf0 !important;
  color: #2d6a2d !important;
}
.wpcf7-mail-sent-ng,
.wpcf7-spam-blocked,
.wpcf7-validation-errors {
  background: var(--pink-light) !important;
  color: var(--pink-dark) !important;
}

/* acceptance（同意チェックボックス） */
.wpcf7-form .wpcf7-acceptance {
  display: block;
  background: var(--pink-light);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}
.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  margin-right: 8px;
  flex-shrink: 0;
}