:root {
  --ink: #173f3d;
  --teal: #197a76;
  --teal-dark: #0c5350;
  --aqua: #dff3ef;
  --cream: #fffaf0;
  --orange: #cf5b24;
  --yellow: #f6c244;
  --line: rgba(23, 63, 61, 0.14);
  --muted: #5f7472;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(12, 83, 80, 0.12);
  font-family: "Yu Gothic UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  height: 82px;
  padding: 0 5.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.95);
  position: relative;
  z-index: 10;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 22px; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.header-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.nav-start,
.nav-login {
  min-height: 46px;
  padding: 0 21px;
  border-radius: 999px;
  border: 2px solid var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
.nav-start { background: var(--teal); color: white; box-shadow: 0 8px 18px rgba(25,122,118,.18); }
.nav-login { background: white; color: var(--teal-dark); }

.hero {
  min-height: 710px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 70px 6vw 88px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 30%, rgba(255,255,255,.40) 52%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-copy { position: relative; z-index: 2; width: 610px; max-width: 48%; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--aqua);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
}
.hero h1 { margin: 24px 0 20px; font-size: clamp(48px, 4.8vw, 76px); line-height: 1.12; letter-spacing: -.04em; }
.hero-line { display: block; white-space: nowrap; }
.hero-lead { margin: 0; font-size: 21px; line-height: 1.9; font-weight: 700; }
.hero-note { margin: 14px 0 0; font-size: 14px; line-height: 1.75; color: var(--muted); }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 16px 25px; border-radius: 14px; font-weight: 800; border: 2px solid var(--teal); }
.button.primary { color: #fff; background: var(--teal); box-shadow: 0 12px 24px rgba(25,122,118,.22); }
.button.secondary { background: rgba(255,255,255,.88); }
.mini-trust { position: relative; z-index: 3; margin: -34px auto 0; width: min(1120px, 88vw); display: grid; grid-template-columns: repeat(3, 1fr); background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.mini-trust div { padding: 23px 28px; display: flex; align-items: center; gap: 12px; font-weight: 800; }
.mini-trust div + div { border-left: 1px solid var(--line); }
.trust-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--aqua); display: grid; place-items: center; color: var(--teal); flex: 0 0 auto; }

.mobile-only { display: none; }
.section { padding: 108px 6vw; }
.section-inner { width: min(1180px, 100%); margin: 0 auto; }
.section-heading { text-align: center; margin-bottom: 54px; }
.section-kicker { margin: 0 0 12px; color: var(--orange); font-weight: 900; letter-spacing: .1em; font-size: 14px; }
.section h2 { margin: 0; font-size: 42px; line-height: 1.3; letter-spacing: -.02em; }
.section-sub { margin: 18px auto 0; max-width: 760px; color: var(--muted); font-size: 17px; line-height: 1.8; }

.worries { background: var(--cream); }
.worry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.worry-card { min-height: 250px; border-radius: 24px; padding: 34px; background: white; border: 1px solid rgba(207,91,36,.15); position: relative; overflow: hidden; }
.worry-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -38px; bottom: -42px; border-radius: 50%; background: rgba(246,194,68,.14); }
.worry-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 29px; background: #fff3da; margin-bottom: 24px; }
.worry-card h3 { margin: 0; font-size: 22px; line-height: 1.55; }
.bridge { margin: 42px auto 0; width: max-content; padding: 16px 28px; border-radius: 999px; color: white; background: var(--teal-dark); font-size: 18px; font-weight: 900; }
.solution-bridge {
  margin: 48px auto 0;
  max-width: 900px;
  padding: 0;
  border-radius: 34px;
  color: var(--teal-dark);
  background: #fff;
  border: 1px solid rgba(18, 83, 78, .12);
  box-shadow: 0 18px 46px rgba(15,79,75,.12);
  text-align: center;
  overflow: hidden;
}
.solution-presenter {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.solution-presenter-art {
  display: block;
  width: 100%;
  height: auto;
}
.solution-presenter-logo {
  position: absolute;
  z-index: 2;
  left: 87%;
  top: 51.5%;
  width: clamp(108px, 12vw, 150px);
  height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  filter: drop-shadow(0 7px 10px rgba(15,79,75,.16));
  transform: translate(-50%, -50%);
}
.solution-bridge p {
  margin: 0;
  padding: 22px 28px 24px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.4;
  letter-spacing: .01em;
  font-weight: 900;
  text-wrap: balance;
}

.workflow { background: white; }
.flow-stage { display: grid; grid-template-columns: 1fr 90px 1.15fr 90px 1fr; align-items: stretch; gap: 12px; }
.flow-card { border: 1px solid var(--line); border-radius: 26px; padding: 28px; min-height: 300px; background: white; box-shadow: 0 16px 44px rgba(12,83,80,.08); }
.flow-card.accent { background: var(--teal-dark); color: white; }
.flow-card h3 { margin: 16px 0 10px; font-size: 24px; }
.flow-card p { margin: 0; line-height: 1.75; color: var(--muted); }
.flow-card.accent p { color: rgba(255,255,255,.72); }
.flow-arrow { display: grid; place-items: center; font-size: 44px; color: var(--orange); font-weight: 900; }
.device-pair { display: flex; gap: 12px; align-items: flex-end; height: 120px; }
.phone { width: 58px; height: 105px; border: 6px solid var(--ink); border-radius: 13px; background: linear-gradient(145deg,#dff3ef,#fff); position: relative; }
.phone::after { content: ""; position: absolute; inset: 21px 8px; border: 2px dashed var(--teal); }
.paper { width: 76px; height: 98px; background: #fff; border: 1px solid #d7d7ce; box-shadow: 0 8px 20px rgba(0,0,0,.08); transform: rotate(-4deg); padding: 14px 10px; }
.paper i, .screen-lines i { display: block; height: 5px; background: #cbd8d6; border-radius: 99px; margin-bottom: 7px; }
.screen { height: 128px; border-radius: 14px; padding: 16px; background: rgba(255,255,255,.95); color: var(--ink); }
.screen-bar { display: flex; gap: 7px; margin-bottom: 13px; }
.screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.screen-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; }
.screen-lines i { height: 11px; background: #d8e9e7; border: 1px solid #b8d9d6; }
.complete-mark { height: 120px; display: grid; place-items: center; }
.complete-mark span { width: 90px; height: 90px; border-radius: 50%; background: var(--aqua); color: var(--teal); display: grid; place-items: center; font-size: 52px; font-weight: 900; }

.features { background: #f4faf8; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feature-card { padding: 36px 30px; border-radius: 26px; background: white; border: 1px solid var(--line); }
.feature-no { color: var(--orange); font-size: 14px; font-weight: 900; letter-spacing: .12em; }
.feature-card h3 { margin: 16px 0 12px; font-size: 25px; }
.feature-card p { color: var(--muted); line-height: 1.8; margin: 0; }
.feature-visual { height: 145px; margin-bottom: 25px; border-radius: 20px; background: linear-gradient(145deg,#edf8f6,#fff8e8); display: grid; place-items: center; font-size: 72px; }

.no-need { background: var(--teal-dark); color: white; }
.no-need .section-kicker { color: #ffd76d; }
.no-need .section-sub { color: rgba(255,255,255,.72); }
.none-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.none-card { padding: 18px 18px 30px; border-radius: 22px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); text-align: center; overflow: hidden; }
.no-need-art { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; margin: 0 0 24px; background: #fff; }
.no-need-visual { position: relative; margin: 0 0 24px; }
.no-need-visual .no-need-art { margin-bottom: 0; }
.no-need-puzzle-logo { position: absolute; left: 80%; top: 37%; width: 18%; height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 5px 8px rgba(15,79,75,.14)); }
.none-card strong { display: block; font-size: 26px; line-height: 1.5; }
.none-x { margin: 0 auto 18px; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: #ffd76d; background: rgba(255,215,109,.12); font-size: 28px; font-weight: 900; }

.numbers { background: var(--cream); }
.metrics { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 22px; }
.metric { min-height: 230px; padding: 34px; border-radius: 24px; background: white; border: 1px solid rgba(207,91,36,.16); }
.metric strong { display: block; color: var(--teal-dark); font-size: 58px; line-height: 1; letter-spacing: -.05em; }
.metric strong small { font-size: 24px; }
.metric h3 { margin: 22px 0 8px; font-size: 21px; }
.metric p { color: var(--muted); margin: 0; line-height: 1.7; font-size: 14px; }
.hypothesis { margin-top: 20px; padding: 14px 18px; border-radius: 12px; background: #fff0df; color: #884119; font-size: 13px; font-weight: 700; text-align: center; }

.steps { background: white; }
.step-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 70px; position: relative; }
.step-row::before { content: ""; position: absolute; height: 3px; top: 65px; left: 16%; right: 16%; background: #d8e9e7; z-index: 0; }
.step { text-align: center; position: relative; z-index: 1; }
.step-scene { display: none; }
.step-illust { width: 130px; height: 130px; margin: 0 auto 24px; border-radius: 50%; background: var(--aqua); display: grid; place-items: center; font-size: 60px; border: 10px solid white; box-shadow: 0 0 0 2px #c7e5e1; }
.step-label { color: var(--orange); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.step h3 { margin: 10px 0 8px; font-size: 23px; }
.step p { margin: 0; color: var(--muted); line-height: 1.7; }

.final-cta { padding: 110px 6vw; text-align: center; background: linear-gradient(135deg,#e6f6f2,#fff4db); }
.final-cta h2 { margin: 0; font-size: 44px; }
.final-cta p { margin: 18px auto 28px; color: var(--muted); font-size: 18px; }
.site-footer { padding: 28px 6vw; background: #0a3d3b; color: rgba(255,255,255,.72); display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.site-footer nav { display: flex; align-items: center; gap: 24px; }
.site-footer a:hover, .site-footer a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* 線画・淡彩案 */
.theme-watercolor {
  --ink: #274a46;
  --teal: #477c73;
  --teal-dark: #315f59;
  --aqua: #e5f0ea;
  --cream: #fbf7ed;
  --orange: #b85f3a;
  --yellow: #d9ad53;
  --muted: #65736f;
}
.theme-watercolor .hero::before,
.theme-watercolor .section-heading::after {
  content: "";
  position: absolute;
  background: radial-gradient(circle, rgba(126,164,150,.2), transparent 65%);
  filter: blur(4px);
  pointer-events: none;
}
.theme-watercolor .hero::before { width: 500px; height: 360px; left: -160px; bottom: -100px; }
.theme-watercolor .eyebrow, .theme-watercolor .button, .theme-watercolor .worry-card, .theme-watercolor .flow-card, .theme-watercolor .feature-card { border-radius: 9px 24px 12px 25px; }
.theme-watercolor .hero h1, .theme-watercolor .section h2, .theme-watercolor .final-cta h2 { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; letter-spacing: .01em; }
.theme-watercolor .hero h1 { font-size: clamp(46px, 4.05vw, 60px); letter-spacing: -.035em; }
.theme-watercolor .section { position: relative; }
.theme-watercolor .worries { background: linear-gradient(180deg,#fcf9f1,#f7f4eb); }
.theme-watercolor .feature-visual, .theme-watercolor .step-illust { background: radial-gradient(circle at 40% 35%,#fff,#dcece5); }

.theme-hybrid .section-illustration-strip {
  width: 100%;
  max-height: 455px;
  object-fit: contain;
  margin: -18px auto 34px;
  border-radius: 30px;
  mix-blend-mode: multiply;
}
.theme-hybrid .worry-card {
  min-height: 0;
  padding: 0 0 30px;
  display: block;
  text-align: center;
}
.theme-hybrid .worry-icon { display: none; }
.theme-hybrid .worry-card-art {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 24px;
}
.theme-hybrid .worry-card h3 {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}
.theme-hybrid .step-row::before { top: 46px; }
.theme-hybrid .step-illust {
  width: 92px;
  height: 92px;
  font-family: "Yu Gothic UI", "Hiragino Sans", sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--teal-dark);
}

/* 参考画像タッチ案 */
.theme-anime {
  --ink: #173f49;
  --teal: #15918d;
  --teal-dark: #0b5e61;
  --aqua: #d9f5f3;
  --cream: #fff9ee;
  --orange: #e4672e;
  --yellow: #ffc94b;
  --muted: #5b7479;
}
.theme-anime .site-header { box-shadow: 0 8px 28px rgba(11,94,97,.06); }
.theme-anime .eyebrow { border: 2px solid #b9e8e4; }
.theme-anime .worry-card, .theme-anime .flow-card, .theme-anime .feature-card, .theme-anime .metric { border-width: 2px; }
.theme-anime .worry-icon, .theme-anime .feature-visual, .theme-anime .step-illust { box-shadow: inset 0 -7px 0 rgba(21,145,141,.06); }
.theme-anime .section h2 { font-weight: 900; }
.theme-anime .bridge { box-shadow: 0 8px 0 #f3bf48; }

@media (max-width: 900px) {
  .site-header { padding-inline: 18px; }
  .header-nav { gap: 8px; }
  .header-nav > a:not(.nav-start):not(.nav-login) { display: none; }
  .nav-start, .nav-login { padding: 9px 13px; font-size: 12px; }
  .hero { min-height: 820px; align-items: flex-start; }
  .hero::after { background: linear-gradient(180deg,#fff 0%,rgba(255,255,255,.92) 42%,rgba(255,255,255,0) 75%); }
  .hero-copy { width: 100%; max-width: 100%; }
  .theme-watercolor .hero h1 {
    font-size: clamp(28px, 8vw, 46px);
    line-height: 1.24;
    letter-spacing: -.055em;
  }
  .hero-art { object-position: 65% center; }
  .mini-trust, .worry-grid, .feature-grid, .none-grid, .metrics, .step-row { grid-template-columns: 1fr; }
  .mini-trust div + div { border-left: 0; border-top: 1px solid var(--line); }
  .flow-stage { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); }
  .step-row::before { display: none; }
}

@media (max-width: 640px) {
  .mobile-only { display: initial; }
  .site-header {
    height: auto;
    padding: 14px 18px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .brand {
    width: 100%;
    gap: 9px;
    font-size: 20px;
  }
  .brand img { width: 42px; height: 42px; }
  .header-nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .nav-start,
  .nav-login {
    width: 100%;
    height: 48px;
    min-height: 48px;
    padding: 0 10px;
  }
  .hero {
    min-height: 700px;
    display: flex;
    align-items: flex-start;
    padding: 24px 5vw 18px;
    background: #f8f7f1;
  }
  .hero::after {
    display: block;
    background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 36%, rgba(255,255,255,.72) 63%, rgba(255,255,255,.10) 88%, rgba(255,255,255,0) 100%);
  }
  .hero-copy {
    order: initial;
    width: 100%;
    max-width: none;
    padding: 34px 7vw 28px;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
  }
  .hero-art {
    position: absolute;
    inset: 0;
    order: initial;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 66% center;
  }
  .hero h1 { margin: 0 0 18px; text-shadow: 0 1px 0 #fff; }
  .hero-lead {
    font-size: 18px;
    line-height: 1.8;
    color: #173f3d;
  }
  .hero-note {
    font-size: 15px;
    line-height: 1.75;
    color: #405d5a;
  }
  .hero-actions {
    flex-direction: column;
    margin-top: 24px;
  }
  .hero-actions .button { width: 100%; }
  .worries {
    padding-top: 38px;
    padding-bottom: 42px;
  }
  .workflow {
    padding-top: 44px;
  }
  .solution-bridge {
    margin-top: 30px;
    width: calc(100% + 12vw);
    max-width: none;
    margin-left: -6vw;
    margin-right: -6vw;
    padding: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: 0 12px 30px rgba(15,79,75,.08);
  }
  .solution-presenter-logo {
    left: 87%;
    top: 51.5%;
    width: 106px;
  }
  .solution-bridge p {
    margin-top: 0;
    padding: 12px 30px 14px;
    font-size: 30px;
    line-height: 1.42;
  }
  .steps .section-illustration-strip { display: none; }
  .steps .step-row { gap: 26px; }
  .steps .step {
    padding: 14px 14px 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15,79,75,.08);
  }
  .step-scene {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 0 22px;
    border-radius: 18px;
    background-image: url("/landing-assets/steps-watercolor-polo.webp");
    background-size: 350% auto;
    background-repeat: no-repeat;
    background-position-y: center;
  }
  .step-scene-1 { background-position-x: left; }
  .step-scene-2 { background-position-x: center; }
  .step-scene-3 { background-position-x: right; }
  .steps .step-illust {
    width: 74px;
    height: 74px;
    margin-bottom: 18px;
    font-size: 27px;
  }
  .steps .step p {
    padding: 0 8px;
    font-size: 16px;
  }
  .site-footer { align-items: flex-start; gap: 18px; }
  .site-footer nav { flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; }
}
