:root {
  --bg: #ffffff;
  --bg-2: #f5f5f5;
  --wash: #f4f8fc;
  --surface: #ffffff;
  --ink: #161616;
  --ink-soft: #5e5e5e;
  --line: #e3e8ee;
  --cyan: #00a8f8;
  --cyan-deep: #008fd4;
  --link: #0a6ea8;
  --magenta: #e03aa8;
  /* TreeE緑。屋号LPでは使わない。緑が似合う製品だけ */
  --treee: #18f818;
  --danger: #b42318;
  --black: #111111;
  --radius: 8px;
  --header-h: 64px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Yu Gothic", YuGothic, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--link);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--cyan);
  color: var(--black);
  padding: 8px 12px;
  z-index: 100;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(720px, calc(100% - 40px));
  margin-left: max(20px, calc(50% - 560px));
  margin-right: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-mark-img {
  display: block;
  height: 28px;
  width: auto;
}

.brand-name {
  font-weight: 700;
  font-size: 15px;
}

.brand-kana {
  font-size: 12px;
  color: var(--ink-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  padding: 8px 11px;
  border-radius: 6px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--cyan-deep);
  background: transparent;
}

.nav .cta {
  background: var(--cyan);
  color: var(--black) !important;
  margin-left: 8px;
  font-weight: 700;
  border-radius: 6px;
}

.nav .cta:hover,
.nav .cta[aria-current="page"] {
  background: var(--cyan-deep);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 6px;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
}

.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 6px;
  padding: 7px 10px;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}

.like-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan-deep);
}

.like-btn[aria-pressed="true"],
.like-btn:disabled {
  background: var(--wash);
  border-color: var(--cyan);
  color: var(--cyan-deep);
  font-weight: 700;
  cursor: default;
}

.like-n {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.hero,
.page-hero {
  background: var(--wash);
}

.hero {
  padding: 56px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px 72px;
  align-items: start;
}

.hero-copy {
  max-width: 36em;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4.4vw, 40px);
  letter-spacing: 0;
  line-height: 1.3;
  font-weight: 700;
}

.eyebrow {
  display: block;
  font-size: 13px;
  color: var(--cyan-deep);
  margin: 0 0 14px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4.4vw, 40px);
  letter-spacing: 0;
  line-height: 1.3;
  font-weight: 700;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 42px);
  letter-spacing: 0;
  line-height: 1.2;
  font-weight: 700;
}

.h1-sub {
  display: block;
  margin-top: 8px;
  font-size: 0.42em;
  font-weight: 600;
  color: var(--ink-soft);
}

.lede {
  font-size: clamp(18px, 2.3vw, 22px);
  line-height: 1.65;
  max-width: 22em;
  margin: 16px 0 16px;
}

.hero-copy .sub,
.page-hero .sub {
  max-width: 32em;
}

.sub {
  color: var(--ink-soft);
  max-width: 38em;
  margin: 0 0 32px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.action-text {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--link);
  padding: 12px 0;
}

.action-text:hover {
  color: var(--cyan-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 6px;
  padding: 12px 18px;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
}

.btn-solid,
.btn-saas {
  background: var(--cyan);
  color: var(--black);
}

.btn-solid:hover,
.btn-saas:hover {
  background: var(--cyan-deep);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--cyan-deep);
  border-color: var(--cyan);
  font-weight: 600;
}

.btn-ghost:hover {
  border-color: var(--cyan-deep);
  color: var(--cyan-deep);
  background: #fff;
}

section {
  padding: 28px 0 56px;
}

.section-title {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 12px;
  font-weight: 600;
}

h2.section-title {
  font-size: 13px;
  line-height: 1.4;
}

h2 {
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.35;
  margin: 0 0 16px;
}

h3 {
  font-size: 17px;
  margin: 0 0 8px;
}

p {
  margin: 0 0 1em;
}

.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.product-list > li {
  border-bottom: 1px solid var(--line);
}

.product-list a {
  display: block;
  padding: 20px 0;
  text-decoration: none;
  color: inherit;
}

.product-list a:hover {
  color: inherit;
}

.product-list a:hover .product-name {
  color: var(--cyan-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.product-name {
  font-weight: 700;
  font-size: 17px;
}

.product-status {
  font-size: 12px;
  color: var(--ink-soft);
  flex-shrink: 0;
}

.product-list p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.product-list .more {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--link);
}

.quiet-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 15px;
}

.quiet-list li {
  margin: 0 0 8px;
}

.crumb {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--ink-soft);
}

.crumb a {
  color: inherit;
}

.article section {
  padding: 8px 0 32px;
}

.article h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.article p {
  margin: 0 0 12px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.card:hover {
  color: inherit;
  border-color: var(--cyan);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.35;
}

.card-kicker {
  font-size: 12px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--ink-soft);
}

.card p {
  color: var(--ink-soft);
  font-size: 14px;
  flex: 1;
}

.card .more {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--link);
}

.card:hover .more {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.status {
  display: inline-block;
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 8px;
  color: var(--ink-soft);
  margin-left: 8px;
  vertical-align: 2px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.note-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.note-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.note-list li:first-child {
  padding-top: 0;
}

.note-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.note-list a {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.note-list a:hover {
  color: var(--cyan-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.note-date {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-soft);
}

.list-plain {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-plain li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 8.5em 1fr;
  gap: 12px;
}

.list-plain li:last-child {
  border-bottom: 0;
}

.list-plain .k {
  color: var(--ink-soft);
  font-size: 13px;
}

.bullets {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
}

.bullets li {
  margin-bottom: 0.45em;
}

.muted {
  color: var(--ink-soft);
}

.page-hero {
  padding: 48px 0 36px;
}

.split {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: start;
}

.portrait {
  width: 160px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  border: 1px dashed var(--line);
  background: var(--bg-2);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink-soft);
  font-size: 12px;
  padding: 12px;
}

.qr {
  width: min(220px, 100%);
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.qr-caption {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

input,
select,
textarea {
  font: inherit;
  font-weight: 400;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  width: 100%;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-soft);
}

.check input {
  width: auto;
  margin-top: 4px;
}

.form-note {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 400;
}

.error {
  color: var(--danger);
  font-size: 14px;
}

.legal p,
.legal li {
  font-size: 14px;
}

.legal h2 {
  font-size: 18px;
  margin-top: 1.6em;
}

table.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

table.legal-table th,
table.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

table.legal-table th {
  width: 10em;
  color: var(--ink-soft);
  font-weight: 600;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  font-size: 13px;
  color: var(--ink-soft);
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--cyan-deep);
}

.faq {
  margin: 0 0 48px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq details p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-weight: 400;
}

.product-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 40px;
}

.panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.section-heading {
  font-size: clamp(20px, 2.6vw, 24px);
  margin: 0 0 20px;
  font-weight: 700;
}

@media (max-width: 800px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-cards,
  .panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    right: 20px;
    top: calc(var(--header-h) + 8px);
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    min-width: 200px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav .cta {
    margin: 4px 0 0;
    text-align: center;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .list-plain li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  table.legal-table th {
    width: 7em;
  }
}

.news-more {
  margin: 8px 0 0;
  font-size: 14px;
}

@media (max-width: 480px) {
  .hero {
    padding-top: 32px;
  }

  .brand-kana {
    display: none;
  }
}
