/* /start/ and /start/en/ only (start-align 2026-11-13).
   The two pages are a standalone dark landing page (src/data/legacy-start.html)
   that does not load src/styles/global.css (its Tailwind base would restyle the
   whole page). This file carries just the shared site chrome — Header.astro,
   Footer.astro and the three action looks — copied from the ux-simplify rules
   in global.css. Keep the two in sync when the header or footer changes. */
.site-header, .site-footer, .start-actions, .hc-promo--simple {
  --th-night: #0c3526; --th-ink: #1a2621; --th-green: #0e8a52; --th-line: rgba(26, 38, 33, .13); --th-muted: #5d6d64;
  --th-en: "Space Grotesk", "Zen Kaku Gothic New", sans-serif;
  --ui-primary: #0b6b40; --ui-primary-hover: #095a36; --ui-ink: #1a2621; --ui-link: #0b6b40; --ui-border: #9fb3a7;
}
/* The legacy body/html use overflow-x:hidden, which turns <body> into a scroll
   container and stops the header from sticking. clip keeps the same clipping. */
html, body { overflow-x: clip; }
[hidden] { display: none !important; }

/* Header (opaque here: the page behind it is dark, so the translucent white of other pages turns grey).
   Header: brand · 製品/比較/使い方/料金 · one CTA. Mobile: brand · CTA · menu. */
.site-header { position: sticky; top: 0; z-index: 80; height: 64px; background: #fff; color: var(--th-ink); border-bottom: 1px solid var(--th-line); font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Noto Sans JP", "Inter", sans-serif; line-height: 1.75; text-align: left; }
.site-header__inner { max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 20px; }
.site-brand { display: flex; align-items: center; gap: 10px; color: var(--th-ink); text-decoration: none; flex-shrink: 0; }
.site-brand__mark { width: 32px; height: 32px; border-radius: 3px; background: var(--th-night); display: grid; grid-template-columns: repeat(3,1fr); align-items: end; padding: 7px 6px; gap: 3px; }
.site-brand__mark i { display: block; background: #3ddc84; border-radius: 1px; }
.site-brand__mark i:nth-child(1) { height: 8px; }.site-brand__mark i:nth-child(2) { height: 16px; }.site-brand__mark i:nth-child(3) { height: 11px; }
.site-brand > span:last-child { display: grid; line-height: 1; }
.site-brand strong { font-family: var(--th-en); font-size: 15px; letter-spacing: .1em; }
.site-brand small { font-size: 9px; color: var(--th-muted); letter-spacing: .06em; margin-top: 4px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.site-nav > a, .site-nav__group > summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--th-ink); font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; list-style: none; border-radius: 6px; white-space: nowrap; }
.site-nav > a:hover, .site-nav__group > summary:hover { background: #eef3ef; color: var(--th-ink); }
.site-nav__group { position: relative; }
.site-nav__group > summary::-webkit-details-marker, .site-menu > summary::-webkit-details-marker { display: none; }
.site-nav__group > summary::after { content: ""; width: 7px; height: 7px; margin: -3px 0 0 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.site-nav__group[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.site-nav__panel { position: absolute; top: calc(100% + 6px); left: 0; z-index: 90; display: grid; min-width: 260px; padding: 8px; background: #fff; border: 1px solid var(--th-line); border-radius: 10px; box-shadow: 0 12px 32px rgba(12, 53, 38, .14); }
.site-nav__panel a, .site-menu__panel a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 12px; border-radius: 6px; color: var(--th-ink); text-decoration: none; box-sizing: border-box; }
.site-nav__panel a:hover, .site-menu__panel a:hover { background: #eef3ef; }
.site-nav__panel b, .site-menu__panel b { font-size: 14px; font-weight: 700; }
.site-nav__panel small, .site-menu__panel small { color: var(--th-muted); font-size: 12px; white-space: nowrap; }
.site-header__cta { flex-shrink: 0; }
.site-menu { display: none; position: relative; }
.site-menu > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 6px; cursor: pointer; list-style: none; color: var(--th-ink); }
.site-menu__icon { display: grid; gap: 4px; width: 20px; }
.site-menu__icon i { display: block; height: 2px; background: currentColor; border-radius: 1px; }
.site-menu__label { font-size: 11px; font-weight: 700; white-space: nowrap; }
.site-menu__panel { position: fixed; top: 58px; left: 0; right: 0; max-height: calc(100dvh - 58px); overflow-y: auto; padding: 8px 16px 24px; background: #fff; border-bottom: 1px solid var(--th-line); box-shadow: 0 16px 32px rgba(12, 53, 38, .16); }
.site-menu__panel p { margin: 16px 12px 4px; color: var(--th-muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.site-header a:focus-visible, .site-header summary:focus-visible, .site-footer a:focus-visible { outline: 3px solid #ed9100; outline-offset: 3px; }
@media (min-width: 981px) { .site-header__cta { margin-left: 4px; } }
@media (max-width: 980px) {
  .site-nav { display: none; }
  .site-header__inner { padding: 0 18px; }
  .site-header__cta { margin-left: auto; }
  .site-menu { display: block; }
}
@media (max-width: 640px) {
  .site-header { height: 58px; }
  .site-brand__mark { width: 28px; height: 28px; }
  .site-brand strong { font-size: 12.5px; }
  .site-brand small { display: none; }
}
@media (max-width: 400px) {
  .site-header__inner { gap: 8px; padding: 0 12px; }
  .site-header__cta { padding: 8px 12px; }
  .site-menu__label { display: none; }
}

/* Three action looks: 主 .ui-btn / 副 .ui-btn--sub / テキスト .ui-link.
   The landing page is dark, so text links use the page's light green. */
.ui-btn, .ui-btn--sub {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; box-sizing: border-box; border-radius: 8px;
  font-size: 15px; font-weight: 700; line-height: 1.45; text-decoration: none !important;
}
.ui-btn { border: 1.5px solid var(--ui-primary); background: var(--ui-primary); color: #fff !important; transition: background .15s; }
.ui-btn:hover { background: var(--ui-primary-hover); border-color: var(--ui-primary-hover); }
.ui-btn--sub { border: 1.5px solid var(--ui-border); background: #fff; color: var(--ui-ink) !important; box-shadow: none; }
.ui-btn--sub:hover { border-color: var(--ui-ink); background: #fff; }
.ui-btn--sm { min-height: 40px; padding: 8px 16px; font-size: 13px; }
.ui-btn--lg { min-height: 54px; padding: 14px 28px; font-size: 16px; }
.ui-btn:focus-visible, .ui-btn--sub:focus-visible, .ui-link:focus-visible { outline: 3px solid #ed9100; outline-offset: 3px; }
.ui-link { display: inline-flex; align-items: center; min-height: 44px; color: #7fe0a8 !important; font-size: 15px; font-weight: 700; text-decoration: underline !important; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ui-link:hover { text-decoration-thickness: 2px; }
.start-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; }
@media (max-width: 640px) {
  .start-actions { flex-direction: column; align-items: stretch; gap: 4px; }
  .start-actions .ui-btn { width: 100%; }
  .start-actions .ui-link { justify-content: center; }
}

/* Cloud section at the end of the page (same component as the rest of the site). */
.hc-promo--simple .hc-video-title { display: block; margin-top: 4px; font-size: 13px; line-height: 1.6; }

/* Footer: a plain sitemap, same as every other page. The legacy page styles the
   bare <footer> element, so those properties are reset here. */
footer.site-footer { margin-top: 0; padding: 0; color: #fff; background: var(--th-night); border-top: 0; text-align: left; font-size: 14px; line-height: 1.75; font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Noto Sans JP", "Inter", sans-serif; }
.site-footer__main { max-width: 1140px; margin: 0 auto; padding: 60px 24px; display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 56px; }
.site-footer__brand strong { font: 600 18px var(--th-en); letter-spacing: .1em; }
.site-footer__brand p { max-width: 420px; color: #b0c8ba; font-size: 12.5px; line-height: 1.95; }
.site-footer__brand span { color: #7f9c8c; font-size: 11px; letter-spacing: .06em; }
.site-footer__main h3 { margin: 0 0 16px; color: #7fd6a8; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.site-footer__main > div:not(:first-child) { display: flex; flex-direction: column; gap: 11px; }
footer.site-footer .site-footer__main a { color: #cfe2d6; text-decoration: none; font-size: 12.5px; }
footer.site-footer .site-footer__main a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { max-width: 1140px; margin: 0 auto; padding: 20px 24px; display: flex; justify-content: space-between; color: #7f9c8c; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; letter-spacing: .04em; }
@media (max-width: 640px) {
  .site-footer__main { grid-template-columns: 1fr 1fr; padding: 48px 18px; gap: 35px 25px; }
  .site-footer__brand { grid-column: 1/-1; }
  .site-footer__bottom { padding: 18px; flex-direction: column; gap: 6px; }
}
