:root {
  --primary: #ee4d2d;
  --primary-dark: #d73211;
  --primary-soft: #fff1ec;
  --secondary: #f69113;
  --accent: #ffc107;
  --bg: #ffffff;
  --bg-soft: #fff7f4;
  --bg-accent: #fff0e6;
  --text: #1a1a1a;
  --text-soft: #4a4a4a;
  --muted: #757575;
  --line: #f0f0f0;
  --line-strong: #e0e0e0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "YuGothic", "Meiryo", "MS PGothic", -apple-system,
    "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section.soft {
  background: var(--bg-soft);
}

.section.light {
  background: #ffffff;
}

.section.accent {
  background: linear-gradient(135deg, #fff7f4 0%, #ffe9df 100%);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(238, 77, 45, 0.35),
      0 0 0 0 rgba(238, 77, 45, 0.55);
  }
  50% {
    box-shadow: 0 14px 36px rgba(238, 77, 45, 0.45),
      0 0 0 14px rgba(238, 77, 45, 0);
  }
}

@keyframes floatCta {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-4px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes floatBlob {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-28px);
}

.reveal-right {
  transform: translateX(28px);
}

.reveal-left.is-visible,
.reveal-right.is-visible {
  transform: translateX(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.is-visible > *:nth-child(1) {
  transition-delay: 0.05s;
}
.stagger.is-visible > *:nth-child(2) {
  transition-delay: 0.18s;
}
.stagger.is-visible > *:nth-child(3) {
  transition-delay: 0.32s;
}
.stagger.is-visible > *:nth-child(4) {
  transition-delay: 0.44s;
}
.stagger.is-visible > *:nth-child(5) {
  transition-delay: 0.56s;
}
.stagger.is-visible > *:nth-child(6) {
  transition-delay: 0.66s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.disclaimer-bar {
  width: 100%;
  background: #2a1810;
  color: #fff7f4;
  font-size: 12px;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.2px;
  line-height: 1.6;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0 72px;
  background: linear-gradient(180deg, #fff7f4 0%, #ffffff 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  width: 380px;
  height: 380px;
  top: -120px;
  left: -120px;
  background: var(--primary);
  animation: floatBlob 9s ease-in-out infinite;
}

.hero::after {
  width: 460px;
  height: 460px;
  right: -160px;
  bottom: -180px;
  background: var(--accent);
  animation: floatBlob 11s ease-in-out infinite reverse;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px 12px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(238, 77, 45, 0.06);
}

.brand {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  color: var(--primary);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  color: var(--text-soft);
  font-weight: 500;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  background-size: 200% 100%;
  box-shadow: 0 8px 22px rgba(238, 77, 45, 0.28);
}

.btn-primary:hover {
  background-position: 100% 0;
  box-shadow: 0 14px 30px rgba(238, 77, 45, 0.4);
}

.btn-primary-ghost {
  color: var(--primary);
  background: #ffffff;
  border: 2px solid var(--primary);
}

.btn-primary-ghost:hover {
  background: var(--primary);
  color: #ffffff;
}

.btn-outline {
  color: var(--text);
  background: #ffffff;
  border: 1.5px solid var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-content {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: center;
}

.hero-copy > * {
  opacity: 0;
}

.hero-copy .badge {
  animation: fadeUp 0.8s ease 0.1s forwards;
}

.hero-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(30px, 5.4vw, 54px);
  line-height: 1.18;
  font-weight: 800;
  color: var(--text);
  animation: fadeUp 0.8s ease 0.25s forwards;
}

.hero-copy h1 br + br {
  display: none;
}

.hero-copy > p {
  color: var(--text-soft);
  max-width: 560px;
  line-height: 1.85;
  font-size: 15px;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-copy .hero-actions {
  animation: fadeUp 0.8s ease 0.55s forwards;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #ffd9c9;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-gallery img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid #ffd9c9;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(238, 77, 45, 0.12);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  opacity: 0;
}

.hero-gallery img:nth-child(1) {
  animation: fadeUp 0.9s ease 0.3s forwards,
    heroFloat 7s ease-in-out 1.2s infinite;
}
.hero-gallery img:nth-child(2) {
  animation: fadeUp 0.9s ease 0.45s forwards,
    heroFloat 8s ease-in-out 1.4s infinite;
}
.hero-gallery img:nth-child(3) {
  animation: fadeUp 0.9s ease 0.6s forwards,
    heroFloat 9s ease-in-out 1.6s infinite;
}

.hero-gallery img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 22px 50px rgba(238, 77, 45, 0.22);
}

.lead {
  color: var(--text-soft);
  line-height: 1.85;
  font-size: clamp(15px, 1.4vw, 17px);
  margin: 0 0 24px;
}

h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  margin: 0 0 14px;
  color: var(--text);
}

.center {
  text-align: center;
}

.subtitle {
  max-width: 760px;
  margin: 12px auto 28px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-soft);
}

.two-col {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.image-stack {
  display: grid;
  gap: 14px;
}

.image-stack img {
  width: 100%;
  border-radius: 18px;
  min-height: 200px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid #ffd9c9;
  box-shadow: 0 14px 36px rgba(238, 77, 45, 0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.image-stack img:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(238, 77, 45, 0.18);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.feature-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  transition: transform 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 22px 50px rgba(238, 77, 45, 0.18);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.85;
  font-size: 14.5px;
}

.metrics .container {
  display: grid;
  gap: 36px;
}

.metric-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #ffd9c9;
  box-shadow: 0 18px 48px rgba(238, 77, 45, 0.14);
}

.metric-image {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 1.2s ease;
}

.metric-wrap:hover .metric-image {
  transform: scale(1.03);
}

.metric-card {
  position: absolute;
  top: 30px;
  left: 30px;
  width: min(360px, 80%);
  border-radius: 18px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  box-shadow: 0 16px 40px rgba(238, 77, 45, 0.18);
  backdrop-filter: blur(8px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
}

.metric-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.3px;
}

.metric-value {
  margin: 6px 0 6px;
  color: var(--primary);
  font-weight: 800;
  font-size: 42px;
  letter-spacing: -0.5px;
}

.metric-note {
  margin: 0 0 18px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.6;
}

.steps h2 {
  margin-bottom: 16px;
}

.steps ol {
  margin: 0;
  padding-left: 20px;
  color: var(--text-soft);
  line-height: 2;
  font-size: 15px;
}

.steps ol li::marker {
  color: var(--primary);
  font-weight: 700;
}

.faq h2 {
  margin-top: 0;
}

.faq-item {
  border-top: 2px solid var(--primary-soft);
  padding: 20px 0;
  transition: padding-left 0.3s ease;
}

.faq-item:hover {
  padding-left: 8px;
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--text);
  transition: color 0.3s ease;
}

.faq-item:hover h3 {
  color: var(--primary);
}

.faq-item p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.85;
  font-size: 14.5px;
}

.footer {
  padding: 64px 0 140px;
  background: #1a0d08;
  color: #f5e9e2;
}

.footer h3 {
  color: #ffffff;
  margin: 0 0 8px;
  font-size: 22px;
}

.footer p {
  color: #c9b9b0;
  line-height: 1.85;
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 14px 64px;
  color: #f5e9e2;
  font-size: 16px;
  font-weight: 500;
  justify-content: end;
}

.footer-links a {
  position: relative;
  transition: color 0.25s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: var(--primary);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.contact-block {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid #2a1810;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-card {
  background: #2a1810;
  border: 1px solid #3a2418;
  border-radius: 14px;
  padding: 18px 18px 16px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.contact-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.contact-card h4 {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--primary);
}

.contact-card p {
  margin: 4px 0;
  color: #f5e9e2;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
}

.contact-card p.muted {
  color: #a89488;
  font-size: 12.5px;
}

.contact-card a {
  color: #f5e9e2;
  border-bottom: 1px dashed #4a3024;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-card a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.legal-block {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #2a1810;
  color: #a89488;
  font-size: 12.5px;
  line-height: 1.85;
}

.legal-block strong {
  color: #f5e9e2;
}

.legal-block .copyright {
  margin-top: 16px;
  color: #8a7468;
}

.floating-cta {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(120%);
  z-index: 50;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(238, 77, 45, 0.35);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease, opacity 0.4s ease;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
}

.floating-cta.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  animation: floatCta 3.6s ease-in-out infinite,
    pulseGlow 2.8s ease-in-out infinite;
}

.floating-cta:hover {
  animation-play-state: paused;
  transform: translateX(-50%) translateY(-4px) scale(1.04);
  box-shadow: 0 18px 44px rgba(238, 77, 45, 0.55);
}

.legal-body {
  background: var(--bg-soft);
  color: var(--text);
}

.legal-nav {
  border-bottom: 1px solid var(--line-strong);
  padding: 18px 0;
  background: #ffffff;
}

.legal-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-link {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--primary);
}

.legal-page {
  max-width: 820px;
  padding: 56px 0 80px;
  line-height: 1.95;
}

.legal-page h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
}

.legal-page h2 {
  margin: 32px 0 12px;
  font-size: 20px;
  color: var(--primary-dark);
}

.legal-page p,
.legal-page li {
  color: var(--text-soft);
}

.legal-page ul {
  padding-left: 22px;
}

.legal-page .updated {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.legal-footer {
  border-top: 1px solid var(--line-strong);
  padding: 22px 0 28px;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
  background: #ffffff;
}

.legal-footer .copyright {
  margin: 6px 0 0;
  color: #8a7468;
}

@media (max-width: 980px) {
  .hero-content,
  .two-col,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-gallery img {
    height: 320px;
  }

  .footer-links {
    justify-content: start;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .nav {
    border-radius: 18px;
  }

  .brand {
    font-size: 18px;
  }

  .menu-btn {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--text);
    font-size: 22px;
    cursor: pointer;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: min(92vw, 560px);
    background: #ffffff;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    flex-direction: column;
    padding: 16px;
    gap: 12px;
    box-shadow: 0 14px 40px rgba(238, 77, 45, 0.12);
  }

  .nav-links.open {
    display: flex;
  }

  .nav > .btn-primary {
    display: none;
  }

  .metric-card {
    position: static;
    width: 100%;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .metric-image {
    min-height: 240px;
  }

  .subtitle {
    font-size: 15px;
  }

  .floating-cta {
    padding: 12px 22px;
    font-size: 13.5px;
    bottom: 16px;
  }
}

@media (max-width: 560px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
