/* Inner pages (privacy policy, form thanks, 404). Prefix: plusai- */

:root {
  --plusai-navy: #16365c;
  --plusai-ink: #0f172b;
  --plusai-body: #45556c;
  --plusai-muted: #62748e;
  --plusai-line: #e2e8f0;
  --plusai-surface: #f8fafc;
  --plusai-orange: #f57e29;
  --plusai-header: 64px;
  --plusai-font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

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

html { scroll-behavior: smooth; }

body.plusai-body--page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--plusai-font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--plusai-ink);
  background: var(--plusai-surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--plusai-navy); }
button, input, textarea, select { font: inherit; }

.plusai-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--plusai-navy);
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
}
.plusai-skip:focus { left: 8px; top: 8px; }

.plusai-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--plusai-header);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--plusai-line);
  backdrop-filter: blur(8px);
}
.plusai-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 32px, 800px);
  height: 100%;
  margin-inline: auto;
}
.plusai-header__logo { flex: 0 0 auto; }
.plusai-header__logo img { width: 128px; height: 40px; object-fit: contain; }
.plusai-header__home {
  color: var(--plusai-body);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap;
}
.plusai-header__home:hover { color: var(--plusai-navy); }

.plusai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.2;
  border-radius: 999px;
}
.plusai-btn--header {
  background: var(--plusai-orange);
  color: #fff;
  min-width: 0;
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}
.plusai-btn--header:hover { color: #fff; filter: brightness(1.05); }

.plusai-page-main {
  flex: 1;
  padding: 48px 0 72px;
}
.plusai-page-wrap {
  width: min(100% - 32px, 800px);
  margin-inline: auto;
}
.plusai-page-article {
  background: #fff;
  border: 1px solid var(--plusai-line);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 4px 16px rgba(22, 54, 92, 0.06);
}
.plusai-page-title {
  margin: 0 0 24px;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--plusai-navy);
}
.plusai-page-title a { color: inherit; text-decoration: none; }
.plusai-page-body > *:first-child { margin-top: 0; }
.plusai-page-body > *:last-child { margin-bottom: 0; }
.plusai-page-body h2 {
  margin: 2em 0 0.6em;
  font-size: 1.25rem;
  color: var(--plusai-navy);
}
.plusai-page-body h3 {
  margin: 1.6em 0 0.5em;
  font-size: 1.1rem;
  color: var(--plusai-navy);
}
.plusai-page-body p,
.plusai-page-body li { color: var(--plusai-body); }
.plusai-page-body ul,
.plusai-page-body ol { padding-left: 1.4em; }
.plusai-page-body a { font-weight: 600; }
.plusai-page-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.plusai-page-body th,
.plusai-page-body td {
  border: 1px solid var(--plusai-line);
  padding: 8px 12px;
  text-align: left;
}

.wpcf7-response-output,
.wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--plusai-line);
  background: #eef4fb;
  color: var(--plusai-navy);
  font-weight: 600;
}
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7-mail-sent-ok {
  background: #ecfdf3;
  border-color: #bbf7d0;
  color: #166534;
}

.plusai-page-footer {
  background: #0f172a;
  color: #fff;
  padding: 32px 0 24px;
}
.plusai-page-footer__inner {
  width: min(100% - 32px, 800px);
  margin-inline: auto;
  text-align: center;
}
.plusai-page-footer__logo {
  width: 180px;
  height: auto;
  margin: 0 auto 12px;
}
.plusai-page-footer__logo-link {
  display: inline-block;
}
.plusai-page-footer__logo-link:hover { opacity: 0.85; }
.plusai-page-footer__name a {
  color: inherit;
  text-decoration: none;
}
.plusai-page-footer__name a:hover { text-decoration: underline; }
.plusai-page-footer__name {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
}
.plusai-page-footer__links {
  margin: 0 0 8px;
  font-size: 13px;
}
.plusai-page-footer__links a { color: #fff; }
.plusai-page-footer__copy {
  margin: 0;
  font-size: 12px;
  opacity: 0.75;
}

@media (max-width: 640px) {
  .plusai-page-main { padding: 32px 0 56px; }
  .plusai-page-article { padding: 28px 20px; }
}
