
:root {
  --bg: #fff8ef;
  --paper: #ffffff;
  --ink: #2d2119;
  --muted: #76675d;
  --brown: #7c341f;
  --brown-dark: #552414;
  --orange: #d96b2b;
  --line: #06c755;
  --border: #ead8c8;
  --shadow: 0 16px 40px rgba(85, 36, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(217, 107, 43, 0.12), transparent 35%),
    linear-gradient(180deg, #fffdf8 0%, var(--bg) 100%);
  line-height: 1.8;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand img {
  width: 180px;
  display: block;
}

.global-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 24px;
  font-weight: 700;
  font-size: 14px;
}

.global-nav a,
.footer-links a {
  text-decoration: none;
}

.global-nav a:hover,
.footer-links a:hover {
  color: var(--brown);
}

.header-cta,
.btn,
.line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.header-cta,
.line-btn {
  background: var(--line);
  color: #fff;
}

.btn {
  background: var(--brown);
  color: #fff;
}

.btn.sub {
  background: #fff;
  color: var(--brown);
  border: 1px solid var(--brown);
}

.header-cta:hover,
.btn:hover,
.line-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 20px 44px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.hero-label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff0df;
  color: var(--brown);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.18;
  letter-spacing: 0.02em;
}

.hero-lead {
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-card img {
  border-radius: 20px;
}

.hero-note {
  margin: 12px 4px 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 54px 20px;
}

.section-head {
  text-align: center;
  margin-bottom: 30px;
}

.section-head .en {
  color: var(--orange);
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 12px;
}

.section h2 {
  margin: 6px 0 12px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.3;
}

.section-head p {
  color: var(--muted);
  margin: 0 auto;
  max-width: 700px;
}

.feature-grid,
.product-grid,
.flow-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-grid {
  grid-template-columns: repeat(3, 1fr);
}

.flow-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.product-card,
.flow-card,
.page-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(85, 36, 20, 0.07);
}

.card h3,
.product-card h3,
.flow-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.card p,
.product-card p,
.flow-card p {
  margin: 0;
  color: var(--muted);
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #fff2df, #ffffff);
  border: 1px solid var(--border);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

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

.product-image-contain {
  background: linear-gradient(135deg, #fff8ef, #ffffff);
}

.product-image-contain img {
  object-fit: contain;
  padding: 12px;
}

.product-card .price {
  margin-top: 12px;
  color: var(--brown);
  font-weight: 900;
}

.product-card .btn,
.product-card .line-btn {
  margin-top: auto;
  width: 100%;
}

.wide-banner {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.wide-banner img {
  border-radius: 20px;
  width: 100%;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: center;
}

.split-text p {
  color: var(--muted);
}

.notice {
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff2df;
  border: 1px solid #f3cfac;
  color: var(--brown-dark);
}

.page-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 54px 20px;
}

.page-title {
  text-align: center;
  margin-bottom: 28px;
}

.page-title h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 46px);
}

.page-title p {
  color: var(--muted);
  margin: 0;
}

.page-card {
  margin-bottom: 18px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
}

.table th,
.table td {
  border-bottom: 1px solid var(--border);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.table th {
  width: 30%;
  background: #fff6eb;
  color: var(--brown);
}

.site-footer {
  margin-top: 50px;
  background: var(--brown-dark);
  color: #fff;
  padding: 42px 20px 92px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-logo {
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 8px;
}

.site-footer p {
  color: rgba(255,255,255,0.78);
}

.footer-links {
  display: grid;
  gap: 8px;
}

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

.copyright {
  max-width: 1120px;
  margin: 28px auto 0;
  font-size: 13px;
}

.fixed-order {
  display: none;
}

@media (max-width: 820px) {
  .header-inner {
    gap: 12px;
    padding: 10px 14px;
  }

  .brand img {
    width: 140px;
  }

  .global-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 36px 16px 28px;
    gap: 26px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .section {
    padding: 40px 16px;
  }

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

  .footer-inner {
    flex-direction: column;
  }

  .site-footer {
    padding-bottom: 100px;
  }

  .fixed-order {
    display: block;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 50;
  }

  .fixed-order a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    border-radius: 999px;
    background: var(--line);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(0,0,0,0.22);
  }

  .table th,
  .table td {
    display: block;
    width: 100%;
  }
}
