:root {
  --primary: #f43f5e;
  --primary-dark: #e11d48;
  --primary-soft: #fff1f2;
  --primary-border: #ffe4e6;

  --green: #10b981;
  --green-dark: #059669;
  --green-soft: #ecfdf5;

  --text: #1e293b;
  --text-dark: #0f172a;
  --muted: #64748b;

  --white: #ffffff;
  --bg: #ffffff;
  --soft-bg: #fff7f8;

  --line: rgba(244, 63, 94, 0.14);
  --shadow: 0 24px 70px rgba(244, 63, 94, 0.14);
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.08);

  --radius-lg: 2.5rem;
  --radius-md: 1.75rem;
  --radius-sm: 1.2rem;

  --container: 1180px;
}

/* Reset */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Noto Sans JP",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

/* Layout */
.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background:
    radial-gradient(
      circle at top left,
      rgba(244, 63, 94, 0.08),
      transparent 34%
    ),
    linear-gradient(180deg, #fff, var(--soft-bg));
}

.center {
  text-align: center;
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--primary-border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin-bottom: 1.4rem;
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.08);
}

.section-head h2,
.contact-box h2 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.16;
  letter-spacing: -0.04em;
  margin: 0 0 1.4rem;
  color: var(--text-dark);
  font-weight: 900;
}

.section-head p,
.contact-box p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  font-weight: 700;
  line-height: 2;
  margin: 0;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(244, 63, 94, 0.08);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.16);
}

.brand-title {
  display: block;
  color: var(--text-dark);
  font-weight: 900;
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.75rem;
  line-height: 1.2;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: var(--text);
  font-weight: 900;
  font-size: 0.95rem;
}

.desktop-nav a {
  transition: color 0.2s ease;
}

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

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--primary);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.18);
}

.menu-button span {
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: 0.25s ease;
}

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

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

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

.mobile-menu {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 120px;
}

.hero-bg,
.hero-bg img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.74) 0%,
      rgba(255, 255, 255, 0.48) 30%,
      rgba(255, 255, 255, 0.12) 58%,
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.18),
      rgba(255, 241, 242, 0.08)
    );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--container));
}

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  box-shadow: 0 12px 35px rgba(244, 63, 94, 0.1);
  margin-bottom: 2rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 6.2rem);
  line-height: 1.05;
  letter-spacing: -0.07em;
  color: var(--text-dark);
  font-weight: 900;
}

.hero-lead {
  margin: 2.2rem 0 0;
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.2rem;
  padding: 1rem 1.8rem;
  font-weight: 900;
  transition: 0.25s ease;
  border: 1px solid transparent;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 18px 40px rgba(244, 63, 94, 0.24);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* Templates */
.template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.template-card {
  background: #fff;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

.template-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 90px rgba(244, 63, 94, 0.18);
}

.template-image {
  aspect-ratio: 16 / 10;
  background: var(--primary-soft);
  overflow: hidden;
}

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

.template-body {
  padding: 2rem;
}

.tag-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 900;
}

.template-body h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--text-dark);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.template-body p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.9;
}

.template-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--primary-border);
  font-weight: 900;
  font-size: 0.92rem;
  transition: 0.25s ease;
  color: var(--primary);
  background: #fff;
}

.btn-small:hover {
  transform: translateY(-2px);
  background: var(--primary-soft);
}

.btn-small.btn-fill {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.btn-small.btn-fill:hover {
  background: var(--primary-dark);
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.feature-number {
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 1.2rem;
}

.feature-card h3 {
  margin: 0 0 0.8rem;
  color: var(--text-dark);
  font-size: 1.35rem;
  font-weight: 900;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.9;
}

/* Contact */
.contact-box {
  background:
    radial-gradient(
      circle at top left,
      rgba(244, 63, 94, 0.1),
      transparent 36%
    ),
    linear-gradient(135deg, #fff, var(--primary-soft));
  border: 1px solid var(--primary-border);
  border-radius: 3rem;
  padding: 4rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-box .hero-actions {
  justify-content: center;
}

/* Footer */
.site-footer {
  padding: 4rem 0 3rem;
  border-top: 1px solid var(--primary-border);
  background: #fff;
  text-align: center;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  color: var(--muted);
  font-weight: 800;
}

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

.copyright {
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .mobile-menu {
    position: fixed;
    inset: 76px 0 auto 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--primary-border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    display: block;
    z-index: 90;
  }

  .mobile-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav {
    display: grid;
    gap: 1rem;
    padding: 1.4rem 2rem 2rem;
    text-align: center;
    font-weight: 900;
    color: var(--text-dark);
  }

  .template-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: 720px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    height: 68px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand-title {
    font-size: 1rem;
  }

  .brand-sub {
    font-size: 0.68rem;
  }

  .hero {
    min-height: 680px;
    padding-top: 96px;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.86) 54%,
        rgba(255, 241, 242, 0.56) 100%
      ),
      rgba(255, 255, 255, 0.28);
  }

  .hero-bg img {
    object-position: 70% center;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 15vw, 4rem);
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.9;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section-head h2,
  .contact-box h2 {
    font-size: 2.4rem;
  }

  .template-body,
  .feature-card {
    padding: 1.5rem;
  }

  .contact-box {
    padding: 2.4rem 1.4rem;
    border-radius: 2rem;
  }
}
