:root {
  color-scheme: only light;
  --paper: #FBF8F2;
  --paper-2: #F3EEE3;
  --ink: #1F2A44;
  --ink-2: #4A5470;
  --line: #E2DACB;
  --thread: #E8613C;
  --teal: #2A9D8F;
  --navy: #3B4C8C;
  --gold: #F4C95D;
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

a { color: inherit; }

h1, h2, h3 { line-height: 1.35; margin: 0; }
p { margin: 0; }

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(251, 248, 242, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
}
.logo-mark { width: 30px; height: 30px; flex: none; }
.site-nav { display: flex; gap: 22px; font-size: 14px; font-weight: 600; }
.site-nav a { text-decoration: none; color: var(--ink-2); padding: 10px 0; }
.site-nav a:hover { color: var(--thread); }

/* hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 20px 56px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #B9441F;
  border: 1.5px dashed var(--thread);
  border-radius: 999px;
  padding: 2px 14px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(40px, 6.4vw, 68px);
  font-weight: 900;
  letter-spacing: .04em;
  margin-bottom: 24px;
}
.lead { color: var(--ink-2); font-size: 17px; margin-bottom: 32px; }
.lead strong {
  color: var(--ink);
  background: linear-gradient(transparent 62%, #FFD9C9 62%);
}
.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--thread); transform: translateY(-2px); }

.hero-art { margin: 0; position: relative; }
.pattern {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -24px rgba(31, 42, 68, .28);
  overflow: hidden;
  position: relative;
}
.pattern::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1.5px dashed #EBC3B3;
  border-radius: 12px;
  pointer-events: none;
}
.pattern-bar {
  display: flex;
  gap: 6px;
  padding: 14px 18px;
  background: var(--paper-2);
}
.pattern-bar span { width: 10px; height: 10px; border-radius: 50%; background: #D9CFBC; }
.pattern-body { padding: 22px 26px 28px; display: grid; gap: 12px; }
.chat {
  font-size: 14px;
  line-height: 1.6;
  padding: 10px 14px;
  border-radius: 14px;
  max-width: 85%;
}
.chat.me { background: var(--ink); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.chat.ai { background: #EEF6F5; color: var(--ink); border-bottom-left-radius: 4px; }
.draft {
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  gap: 10px;
  background: var(--paper);
}
.draft-row { display: flex; align-items: center; gap: 10px; }
.draft-row b { width: 28px; height: 28px; border-radius: 8px; background: var(--thread); flex: none; }
.draft-row b.c2 { background: var(--teal); }
.draft-row b.c3 { background: var(--navy); }
.draft-row i { height: 10px; border-radius: 5px; background: var(--line); flex: 1; }
.draft-row i.short { flex: .55; }
.tape {
  position: absolute;
  left: -3%;
  bottom: -18px;
  width: 70%;
  height: 34px;
  transform: rotate(-4deg);
  filter: drop-shadow(0 6px 8px rgba(31, 42, 68, .15));
}

/* sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 20px;
}
.section-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: clamp(26px, 3.6vw, 34px);
  font-weight: 800;
  margin-bottom: 32px;
}
.num {
  font-size: 15px;
  font-weight: 800;
  color: #B9441F;
  border-bottom: 2px dashed var(--thread);
  padding-bottom: 2px;
}
.section-lead { color: var(--ink-2); margin: -16px 0 28px; }

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.card h3 { font-size: 19px; margin-bottom: 12px; }
.card p { color: var(--ink-2); font-size: 15px; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  counter-reset: step;
}
.steps li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.steps li::before {
  counter-increment: step;
  content: "STEP " counter(step);
  position: absolute;
  top: -11px;
  left: 22px;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 0 8px;
}
.step-icon svg { width: 52px; height: 52px; display: block; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: 15px; }

.ideas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ideas li {
  background: #fff;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .15s ease, transform .15s ease;
}
.ideas li:hover { border-color: var(--thread); transform: translateY(-2px); }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #1E7268;
  background: #E4F3F1;
  border-radius: 6px;
  padding: 1px 10px;
  margin-bottom: 10px;
}
.ideas h3 { font-size: 17px; margin-bottom: 6px; }
.ideas p { color: var(--ink-2); font-size: 14px; line-height: 1.7; }

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.value { padding: 28px 24px; border-right: 1.5px dashed var(--line); }
.value:last-child { border-right: 0; }
.value h3 { font-size: 17px; margin-bottom: 10px; }
.value h3::before {
  content: "";
  display: block;
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: var(--thread);
  margin-bottom: 14px;
}
.value p { color: var(--ink-2); font-size: 14px; line-height: 1.75; }

.closing {
  margin: 40px auto 0;
  padding: 88px 20px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(232, 97, 60, .18), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(42, 157, 143, .2), transparent 40%),
    var(--ink);
  color: #fff;
}
.closing-copy {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 18px;
}
.closing-note { color: #C9D0E3; font-size: 15px; }
.nw { display: inline-block; }

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px max(20px, calc((100vw - var(--max)) / 2));
  font-size: 13px;
  color: var(--ink-2);
}
.footer-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); }
.footer-logo .logo-mark { width: 22px; height: 22px; }

/* tablet */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 56px; }
  .hero-art { max-width: 480px; }
  .concept-grid { grid-template-columns: 1fr; }
  .ideas { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(2) { border-right: 0; }
  .value:nth-child(-n+2) { border-bottom: 1.5px dashed var(--line); }
}

/* phone */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .site-nav { display: none; }
  .hero { padding: 36px 20px 48px; }
  .lead { font-size: 16px; }
  .lead br { display: none; }
  .section { padding: 56px 20px; }
  .steps { grid-template-columns: 1fr; }
  .ideas { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .value { border-right: 0; border-bottom: 1.5px dashed var(--line); }
  .value:last-child { border-bottom: 0; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .ideas li { transition: none; }
}
