:root {
  --bg: #faf8f5;
  --bg-warm: #f5f1eb;
  --surface: #ffffff;
  --border: #e8e2d9;
  --text: #2c2520;
  --text-sub: #7a6e65;
  --text-dim: #b5aca3;
  --accent: #4a8c6f;
  --accent-mid: #3a7059;
  --accent-soft: #4a8c6f18;
  --amber: #c97b2e;
  --star: #d4a843;
  --shadow: rgba(44, 37, 32, 0.07);
  --radius: 16px;
}

.ms {
  font-family: "Material Symbols Rounded";
  font-weight: 300;
  font-style: normal;
  font-size: inherit;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variation-settings:
    "FILL" 1,
    "wght" 300,
    "GRAD" 0,
    "opsz" 24;
  user-select: none;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
  margin: 0;
}

/* ── テクスチャ背景 ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%,
      rgba(74, 140, 111, 0.06) 0%,
      transparent 50%),
    radial-gradient(circle at 80% 80%,
      rgba(201, 123, 46, 0.05) 0%,
      transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ── ナビ ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-family: "Galada", cursive;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  color: var(--text-sub);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  font-size: 0.82rem !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--accent-mid) !important;
  color: #fff !important;
}

/* ── セクション共通 ── */
section {
  position: relative;
  z-index: 1;
  padding: 100px 5vw;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.2rem;
  border-left: 2px solid var(--accent);
  padding-left: 0.7rem;
}

.section-title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.section-body {
  font-size: 0.95rem;
  color: var(--text-sub);
  max-width: 560px;
  line-height: 1.9;
}

/* ── Hero ── */
#hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.brand-galada {
  font-family: "Galada", cursive;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding-top: 0.2em;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 1.6rem;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

.hero-title em::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-soft);
  border-radius: 2px;
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 2.4rem;
  max-width: 450px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition:
    background 0.25s,
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(74, 140, 111, 0.25);
}

.hero-cta:hover {
  background: var(--accent-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(74, 140, 111, 0.3);
}

.hero-cta-arrow {
  font-size: 1.1em;
}

.hero-badges {
  display: flex;
  gap: 1rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

/* ── ヒーロービジュアル ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  width: 220px;
  height: 420px;
  background: var(--surface);
  border-radius: 36px;
  border: 8px solid var(--text);
  box-shadow:
    0 30px 80px rgba(44, 37, 32, 0.18),
    0 0 0 1px rgba(44, 37, 32, 0.04);
  position: relative;
  overflow: hidden;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: var(--text);
  border-radius: 0 0 14px 14px;
  z-index: 10;
}


.phone-decoration {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-soft);
  animation: pulse 4s ease-in-out infinite;
}

.phone-decoration-1 {
  width: 280px;
  height: 280px;
  top: -60px;
  right: -80px;
  animation-delay: 0s;
}

.phone-decoration-2 {
  width: 180px;
  height: 180px;
  bottom: -40px;
  left: -60px;
  animation-delay: 2s;
  background: rgba(201, 123, 46, 0.07);
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* ── コンセプト ── */
#concept {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.concept-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.concept-header {
  text-align: center;
  margin-bottom: 5rem;
}

.concept-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.concept-block {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 20px var(--shadow);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.concept-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius) var(--radius) 0 0;
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.concept-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(44, 37, 32, 0.1);
}

.concept-block:hover::before {
  transform: scaleX(1);
}

.concept-icon {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--accent-soft);
  border-radius: 14px;
  color: var(--accent);
}

.concept-block-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.concept-block-body {
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.85;
}

/* ── 機能紹介 ── */
#features {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 5vw;
  padding-right: 5vw;
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  border: 1px solid var(--border);
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(74, 140, 111, 0.1);
}

.feature-card.ai {
  grid-column: span 2;
  background: linear-gradient(135deg, #e8f4ee, #f5f1eb);
  border-color: rgba(74, 140, 111, 0.3);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  border-radius: 12px;
  color: var(--accent);
}

.feature-ai-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(74, 140, 111, 0.15);
  border-radius: 16px;
  color: var(--accent);
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.feature-body {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.8;
}

.feature-badge {
  display: inline-block;
  font-size: 0.68rem;
  background: var(--accent);
  color: white;
  padding: 2px 8px;
  border-radius: 100px;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

/* ── プライバシー ── */
#privacy {
  background: var(--text);
  color: #fff;
}

.privacy-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.privacy-label {
  color: rgba(74, 140, 111, 0.9) !important;
}

.privacy-title {
  color: #fff !important;
}

.privacy-body {
  color: rgba(255, 255, 255, 0.6) !important;
}

.privacy-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.privacy-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.2s;
}

.privacy-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.privacy-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(74, 140, 111, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--accent);
  font-size: 0.8rem;
}

.privacy-item-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.25rem;
  letter-spacing: 0.01em;
}

.privacy-item-body {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
}

/* ── FAQ ── */
#faq {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-inner {
  max-width: 760px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

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

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--bg-warm);
}

.faq-q-label {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.faq-q-text {
  flex: 1;
}

.faq-chevron {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem !important;
  color: var(--accent);
  transition: transform 0.25s;
  font-variation-settings:
    "FILL" 0,
    "wght" 300,
    "GRAD" 0,
    "opsz" 24;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.8rem 1.4rem;
  padding-left: calc(1.8rem + 1.5rem);
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.85;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ── フッター ── */
footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.5);
  padding: 3rem 5vw;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  font-family: "Noto Serif JP", serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-size: 0.75rem;
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-copy {
  width: 100%;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  letter-spacing: 0.05em;
}

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

.fade-in.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;
}

/* ── レスポンシブ ── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    margin: 0 auto 2.4rem;
  }

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

  .hero-visual {
    display: none;
  }

  .concept-blocks {
    grid-template-columns: 1fr;
  }

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

  .feature-card.ai {
    grid-column: span 2;
  }

  .privacy-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  nav .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  section {
    padding: 70px 5vw;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.ai {
    grid-column: span 1;
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ── 法的ページ共通 ── */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 5vw 120px;
  position: relative;
  z-index: 1;
}

.legal-title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.legal-updated {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 3rem;
  letter-spacing: 0.03em;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding-left: 0.75rem;
  margin-bottom: 1rem;
}

.legal-section p,
.legal-section li {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.9;
}

.legal-section ul {
  padding-left: 1.5rem;
}

.legal-section h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.5rem 0 0.6rem;
}

.legal-section h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-sub);
  margin: 1.2rem 0 0.4rem;
}

.legal-section pre {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.82rem;
  color: var(--text-sub);
  overflow-x: auto;
  margin: 0.5rem 0;
  font-family: monospace;
}

.legal-section table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.legal-section th,
.legal-section td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.legal-section th {
  background: var(--bg-warm);
  font-weight: 500;
  color: var(--text);
}

.legal-warning {
  background: #fff8f0;
  border: 1px solid rgba(201, 123, 46, 0.3);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin: 1rem 0;
}

.legal-warning p,
.legal-warning li {
  color: var(--text-sub) !important;
}