@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@500&display=swap");

:root {
  color-scheme: light;
  --ink: #000000;
  --muted: #171717;
  --quiet: rgba(0, 0, 0, 0.68);
  --blue: #0339fd;
  --soft: #ebeae7;
  --soft-2: #a8a8a8;
  --line: #eeeeee;
  --white: #ffffff;
  --dark: #080808;
  --content: 960px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
}

.site-shell > main {
  flex: 1;
}

.content,
.site-header,
.footer-inner {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 85px;
  height: auto;
}

.nav-link {
  color: rgba(0, 0, 0, 0.8);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.25;
}

.nav-link:hover,
.footer-links a:hover {
  color: var(--blue);
}

.hero {
  padding: 112px 0 232px;
  background: var(--white);
}

h1,
h2,
.closing-title,
.legal-title {
  margin: 0;
  font-family: "Noto Serif JP", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-kerning: normal;
  font-feature-settings: "kern" 1;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 40px;
  line-height: 1.05;
}

h1 span {
  color: var(--soft-2);
}

.hero-copy {
  width: 398px;
  margin: 24px 0 26px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.4;
}

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: 48px;
  border: 0;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.25;
}

.button:hover {
  color: var(--white);
  background: #002ce0;
}

.workflow {
  margin-top: 86px;
}

.workflow-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 18px;
  padding: 0 4px;
  list-style: none;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.4;
}

.workflow-labels li {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
}

.workflow-labels span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  flex: 0 0 auto;
  background: #292929;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
}

.workflow-strip {
  height: 174px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 12px;
  background: var(--soft);
}

.workflow-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capture-section {
  padding: 150px 0 160px;
  background: var(--soft);
}

h2 {
  max-width: 760px;
  font-size: 40px;
  line-height: 1.05;
}

h2 span {
  color: var(--blue);
}

.section-copy {
  width: 398px;
  margin: 30px 0 72px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.4;
}

.capture-frame {
  overflow: hidden;
  border-radius: 12px;
  background: var(--white);
}

.capture-frame img {
  width: 100%;
  height: auto;
}

.closing-section {
  padding: 164px 0 160px;
  background: var(--white);
}

.center {
  text-align: center;
}

.closing-title {
  width: min(722px, 100%);
  margin: 0 auto 44px;
  font-size: 40px;
  line-height: 1.05;
}

.site-footer {
  background: linear-gradient(180deg, var(--dark) 0%, #222222 114%);
  color: var(--white);
  padding: 84px 0 86px;
}

.footer-inner {
  min-height: 272px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  gap: 28px 48px;
  align-items: start;
}

.footer-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 1px solid #ffffff24;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.25;
  text-align: right;
}

.footer-inner p {
  grid-column: 2;
  margin: 0;
  align-self: end;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.25;
  text-align: right;
}

.request-page {
  padding: 86px 0 132px;
  background: var(--white);
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 72px;
  align-items: start;
}

.request-layout-single {
  grid-template-columns: minmax(0, 560px);
}

.request-intro p {
  width: min(398px, 100%);
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.4;
}

.request-intro .button {
  margin-top: 30px;
}

.request-form {
  display: grid;
  gap: 18px;
  border: 1px solid #dedede;
  border-radius: 12px;
  padding: 28px;
  background: #fbfcfd;
}

.request-form label {
  display: grid;
  gap: 8px;
  color: rgba(0, 0, 0, 0.72);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
}

.request-form input,
.request-form select {
  height: 46px;
  padding: 0 14px;
}

.request-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 6.75L9 11.25L13.5 6.75' stroke='%23111111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
}

.request-form textarea {
  min-height: 112px;
  resize: none;
  padding: 12px 14px;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(3, 57, 253, 0.14);
}

.request-form .button {
  margin-top: 4px;
}

.request-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  margin: -2px 0 0;
  color: #b42318;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.form-status[hidden] {
  display: none;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.legal-page {
  background: #fbfcfd;
}

.legal-shell {
  width: min(780px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 84px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 48px;
  color: rgba(0, 0, 0, 0.62);
  font-size: 14px;
  font-weight: 600;
}

.legal-title {
  margin-bottom: 10px;
  font-size: 40px;
  line-height: 1.05;
}

.updated {
  margin: 0 0 44px;
  color: rgba(0, 0, 0, 0.62);
  font-size: 15px;
}

.legal-content {
  color: #242a33;
  font-size: 16px;
  line-height: 1.7;
}

.legal-content h2,
.legacy-card h2 {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid #d9dee7;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 720;
  line-height: 1.25;
}

.legal-content p {
  margin: 12px 0;
}

.legal-content ul {
  margin: 12px 0;
  padding-left: 22px;
}

.legal-content li {
  margin: 8px 0;
}

.legacy-hero {
  padding-bottom: 64px;
}

.legacy-card {
  margin-top: 48px;
  border-radius: 12px;
  border: 1px solid #d9dee7;
  background: #f7f8fa;
  padding: 28px;
}

@media (max-width: 1060px) {
  .workflow-labels {
    font-size: 16px;
  }
}

@media (max-width: 780px) {
  .content,
  .site-header,
  .footer-inner,
  .legal-shell {
    width: min(100% - 32px, var(--content));
  }

  .site-header {
    min-height: 68px;
  }

  .brand img {
    width: 76px;
  }

  .nav-link {
    font-size: 12px;
  }

  .hero {
    padding: 64px 0 82px;
    background: var(--white);
  }

  h1,
  h2,
  .closing-title {
    font-size: 40px;
  }

  .hero-copy,
  .section-copy {
    width: 100%;
    font-size: 17px;
  }

  .button {
    width: fit-content;
    height: 48px;
    padding: 0 32px;
    font-size: 15px;
  }

  .workflow {
    margin-top: 56px;
  }

  .workflow-labels {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 14px;
  }

  .workflow-labels span {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }

  .workflow-strip {
    height: auto;
    grid-template-columns: 1fr;
  }

  .workflow-strip img {
    height: auto;
    object-fit: contain;
  }

  .capture-section {
    padding: 76px 0 82px;
  }

  .section-copy {
    margin-bottom: 38px;
  }

  .capture-frame {
    border-radius: 10px;
  }

  .closing-section {
    padding: 86px 0 88px;
  }

  .closing-title {
    margin-bottom: 30px;
  }

  .site-footer {
    padding: 52px 0;
  }

  .footer-inner {
    min-height: 220px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
  }

  .footer-links,
  .footer-inner p {
    grid-column: auto;
    text-align: left;
  }

  .footer-inner p {
    font-size: 15px;
  }

  .footer-inner p {
    align-self: end;
  }

  .footer-icon {
    width: 48px;
    height: 48px;
  }

  .request-page {
    padding: 62px 0 84px;
  }

  .request-layout,
  .request-layout-single {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .request-intro p {
    font-size: 17px;
  }

  .request-form {
    border-radius: 10px;
    padding: 20px;
  }
}
