:root {
  --bg: #f8f8f7;
  --surface: #ffffff;
  --surface-2: #fcfbf9;
  --line: #ebe6df;
  --line-strong: #ddd5cb;
  --ink: #1f2430;
  --text: #3a3f4b;
  --muted: #7a7f87;
  --coral: #fc636b;
  --coral-deep: #cc6a72;
  --green: #4b7f67;
  --sidebar: #f2efea;
  --max: 1500px;
}
* { box-sizing: border-box; }
html { width: 100%; max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
  width: 100%; max-width: 100%; overflow-x: hidden; margin: 0;
  background: var(--bg); color: var(--text);
  font-family: Inter, "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75; letter-spacing: .01em;
}
a { color: inherit; text-decoration: none; }
ul { margin: 0; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--surface); border-top: 4px solid var(--ink); border-bottom: 1px solid var(--line); }
.header-inner { width: min(100%, var(--max)); margin: 0 auto; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: grid; gap: 8px; min-width: 0; flex: 1 1 300px; }
.brand strong { color: var(--ink); font-size: 28px; line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; }
.brand-sub { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 12px; font-weight: 700; line-height: 1.35; }
.brand-sub span { min-height: 28px; display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); white-space: nowrap; }
.brand-sub b { min-height: 28px; display: inline-flex; align-items: center; padding: 0 11px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.nav { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 16px; flex-wrap: wrap; color: var(--ink); font-size: 13px; font-weight: 700; }
.nav a { min-height: 38px; display: inline-flex; align-items: center; white-space: nowrap; }
.nav .cta { padding: 0 18px; background: var(--ink); color: #fff; }
.nav-actions { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav .nav-login { min-height: 38px; padding: 0 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-weight: 700; }
.nav .nav-login:hover, .nav .nav-login:focus-visible { border-color: var(--ink); background: var(--surface-2); }
.inline-account-link { margin-top: -4px; }
.inline-account-link a { color: var(--ink); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.section { background: var(--surface); border-bottom: 1px solid var(--line); }
.section.alt { background: var(--bg); }
.wrap { width: min(100%, var(--max)); margin: 0 auto; padding: 32px 18px; }
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; gap: 18px; padding-top: 46px; padding-bottom: 42px; }
.eyebrow { display: inline-flex; align-items: center; width: fit-content; min-height: 34px; padding: 0 13px; border: 1px solid var(--line); background: var(--sidebar); color: var(--green); font-size: 13px; font-weight: 700; }
h1, h2, h3, p { margin-top: 0; overflow-wrap: break-word; }
h1 { max-width: 920px; margin-bottom: 4px; color: var(--ink); font-size: clamp(30px, 2.55vw, 42px); line-height: 1.36; letter-spacing: -0.035em; font-weight: 700; }
h2 { margin-bottom: 12px; color: var(--ink); font-size: clamp(24px, 2.05vw, 32px); line-height: 1.4; letter-spacing: -0.025em; font-weight: 700; }
h3 { margin-bottom: 8px; color: var(--ink); font-size: 18px; line-height: 1.45; font-weight: 700; }
.lead { max-width: 860px; margin-bottom: 0; color: var(--text); font-size: 17px; line-height: 1.85; font-weight: 600; }
.micro { max-width: 860px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; font-weight: 600; }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 2px; min-width: 0; }
.button { min-height: 46px; min-width: 0; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 700; text-align: center; white-space: nowrap; }
.button.accent { border-color: var(--coral); background: var(--coral); color: #fff; }
.button.secondary { background: var(--surface); color: var(--ink); }
.zoom-cta-section .section-head { margin-bottom: 14px; }
.zoom-cta-summary { max-width: 860px; margin: 0 0 16px; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.8; }
.section-head { max-width: 920px; min-width: 0; margin-bottom: 20px; }
.section-head p { margin-bottom: 0; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.75; }
.setup-support-head, .phrase-head { max-width: none; }
.phrase-line { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .55em; row-gap: 0; max-width: none; }
.phrase-line span { display: inline-block; white-space: nowrap; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.grid2 { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 14px; align-items: start; min-width: 0; }
.card { min-width: 0; border: 1px solid var(--line); background: var(--surface); padding: 18px; }
.card p { margin-bottom: 0; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.75; }
.label { display: inline-flex; align-items: center; min-height: 28px; margin-bottom: 12px; padding: 0 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--coral-deep); font-size: 12px; font-weight: 700; white-space: nowrap; }
.list { margin: 0; padding-left: 1.2em; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.8; }
.list li { margin: 6px 0; }
.features { border: 1px solid var(--line); background: var(--surface); }
.feature { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 18px; padding: 16px 18px; border-top: 1px solid var(--line); min-width: 0; }
.feature:first-child { border-top: 0; }
.feature strong { color: var(--ink); font-size: 15px; font-weight: 700; }
.feature span { color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.8; }

.feature[href] { grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; }
.feature[href]::after { content: "詳しく見る →"; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line-strong); color: var(--ink); background: var(--surface-2); font-size: 12px; font-weight: 700; white-space: nowrap; }
.feature[href]:hover::after, .feature[href]:focus-visible::after { border-color: var(--coral); background: var(--coral); color: #fff; }
.summary { border: 1px solid var(--line); background: var(--surface-2); padding: 18px; }
.summary p { margin-bottom: 0; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.8; }
.footer { border-top: 1px solid var(--line); background: var(--surface); color: var(--text); }
.footer .wrap { padding: 24px 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.footer small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 600; }
.legal-links { display: flex; gap: 10px 16px; flex-wrap: wrap; justify-content: flex-end; color: var(--muted); font-size: 12px; font-weight: 600; }

@media (max-width: 1180px) {
  .screen-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .nav { justify-content: flex-start; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 6px; }
  .footer .wrap { grid-template-columns: 1fr; }
  .legal-links { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .phrase-line { display: block; }
  .phrase-line span { display: inline; white-space: normal; }
  .brand strong { font-size: 22px; }
  .brand-sub { gap: 6px; }
  .brand-sub span, .brand-sub b { white-space: normal; }
  .nav { gap: 8px 12px; font-size: 12px; }
  .nav a { min-height: 32px; }
  .nav .cta { padding: 0 12px; }
  .nav-actions { gap: 6px; }
  .nav .nav-login { padding: 0 10px; }
  .wrap { padding: 28px 16px; }
  .hero .wrap { padding-top: 34px; padding-bottom: 34px; }
  .button { width: 100%; white-space: normal; }
}


/* Google Sheets template hero heading */
.google-sheets-hero-title { max-width: 1280px; }
.google-sheets-hero-title span { display: inline-block; }
@media (max-width: 980px) {
  .google-sheets-hero-title { max-width: 920px; }
}

/* screen showcase for minpaku cleaning management */
.screen-showcase-section .section-head {
  max-width: 980px;
}
.screen-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}
.screen-showcase__card {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 12px;
  display: grid;
  gap: 10px;
}
.screen-showcase__copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.screen-showcase__copy .label {
  margin-bottom: 2px;
}
.screen-showcase__copy h3 {
  margin-bottom: 0;
  font-size: 15px;
}
.screen-showcase__copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
}
.screen-showcase__preview-link {
  display: grid;
  gap: 10px;
  min-width: 0;
  color: inherit;
}
.screen-showcase__image-wrap {
  position: relative;
  min-width: 0;
  height: 138px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.screen-showcase__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
}

.screen-showcase--report-document .screen-showcase__image-wrap {
  height: 300px;
}
.screen-showcase--report-document .screen-showcase__image {
  width: auto;
  max-width: 100%;
  max-height: 300px;
  aspect-ratio: auto;
  object-fit: contain;
  margin: 0 auto;
}
.screen-showcase__preview-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.screen-showcase__preview-link:hover .screen-showcase__preview-button,
.screen-showcase__preview-link:focus-visible .screen-showcase__preview-button {
  border-color: var(--coral);
  background: var(--coral);
  color: #fff;
}
.screen-showcase-preview {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  padding: 24px;
}
.screen-showcase-preview:target {
  display: grid;
  place-items: center;
}
.screen-showcase-preview__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(31, 36, 48, .58);
}
.screen-showcase-preview__dialog {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
}
.screen-showcase-preview__head {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.screen-showcase-preview__head strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
}
.screen-showcase-preview__head a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.screen-showcase-preview__body {
  min-width: 0;
  overflow: auto;
  padding: 14px;
  background: var(--bg);
  -webkit-overflow-scrolling: touch;
}
.screen-showcase-preview__body img {
  display: block;
  width: 100%;
  height: auto;
  min-width: 760px;
  background: var(--surface);
}
.screen-showcase-preview__body img[src$="report-export-button.png"] {
  width: min(100%, 860px);
  min-width: 320px;
  margin: 0 auto;
}
.screen-showcase-preview__body img[src$="photo-report-form.png"],
.screen-showcase-preview__body img[src$="photo-report-pdf-summary.png"],
.screen-showcase-preview__body img[src$="photo-report-pdf-photos.png"],
.screen-showcase-preview__body img[src$="photo-report-pdf-summary-photos.png"] {
  width: min(100%, 680px);
  min-width: 280px;
  margin: 0 auto;
}
.screen-showcase-preview__body img[src$="photo-management-screen.png"] {
  width: min(100%, 845px);
  min-width: 560px;
}
@media (max-width: 1180px) {
  .screen-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .screen-showcase {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .screen-showcase {
    gap: 14px;
  }
  .screen-showcase__card {
    padding: 14px;
  }
  .screen-showcase__image-wrap {
    height: 150px;
  }
  .screen-showcase--report-document .screen-showcase__image-wrap {
    height: 260px;
  }
  .screen-showcase--report-document .screen-showcase__image {
    max-height: 260px;
  }
  .screen-showcase__preview-button {
    width: 100%;
  }
  .screen-showcase-preview {
    padding: 12px;
  }
  .screen-showcase-preview__dialog {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }
  .screen-showcase-preview__body {
    padding: 10px;
  }
}

/* Google Sheets template preview layout */
.screen-showcase--sheets { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1320px) {
  .screen-showcase--sheets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .feature[href] { grid-template-columns: 1fr; align-items: start; }
  .feature[href]::after { justify-self: start; margin-top: 4px; }
  .screen-showcase--sheets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .screen-showcase--sheets { grid-template-columns: 1fr; }
}
