/* リセット・タイポグラフィ・共通パーツ（全LP共通。LP都合で書き換えない） */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  font-size: var(--step-0);
  line-height: 1.85;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-underline-offset: 0.2em;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* 見出しは太ゴシック。読みやすさ最優先（対象読者はITに疎い経営層） */
h1 {
  font-size: var(--step-4);
  line-height: 1.35;
  letter-spacing: 0.01em;
}
h2 {
  font-size: var(--step-3);
  line-height: 1.4;
}
h3 {
  font-size: var(--step-1);
}

p {
  margin: 0 0 1.2em;
}
p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--brand-on-light);
  text-decoration-thickness: 1px;
}

strong {
  font-weight: 700;
}

/* --- layout --- */

.wrap {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section--dark {
  background: var(--ink);
  color: #fff;
}
.section--dark h2,
.section--dark h3 {
  color: #fff;
}
.section--dark a {
  color: var(--brand-on-dark);
}

.lede {
  max-width: var(--measure);
  color: var(--text-muted);
  font-size: var(--step-1);
}
.section--dark .lede {
  color: #c9cbd8;
}

/* セクション見出しの上に置く小ラベル。左の縦罫が「開いた扉」のモチーフ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1rem;
  color: var(--brand-on-light);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.eyebrow::before {
  content: "";
  width: 3px;
  height: 1.15em;
  background: var(--accent);
  border-radius: 2px;
}
.section--dark .eyebrow {
  color: var(--brand-on-dark);
}

/* --- buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 56px;
  padding: 0.9rem 2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--brand-on-light);
  color: #fff;
  font-family: inherit;
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover {
  background: var(--brand-deep);
}
.btn:active {
  transform: translateY(1px);
}
.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--brand-on-light);
}
.btn--ghost:hover {
  background: var(--bg-alt);
}

.btn--block {
  width: 100%;
}

.btn-note {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: var(--step--1);
  line-height: 1.7;
}

/* --- header（明るく・シンプルに） --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(255 255 255 / 95%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.brand img {
  width: 28px;
  height: 28px;
}
.brand span {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.85em;
}

.site-header .btn {
  min-height: 44px;
  padding: 0.5rem 1.25rem;
  font-size: var(--step--1);
  background: var(--accent);
  color: var(--ink);
}
.site-header .btn:hover {
  background: var(--accent-light);
}

@media (max-width: 640px) {
  .site-header__cta {
    display: none;
  }
}

/* --- footer --- */

.site-footer {
  background: var(--ink);
  color: #a8aabb;
  font-size: var(--step--1);
  line-height: 1.9;
  padding-block: 3rem 2.5rem;
}
.site-footer a {
  color: #d6d8e6;
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
  color: #fff;
  font-family: var(--font-brand);
  font-size: 1.0625rem;
  font-weight: 600;
}
.site-footer__brand img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}
.site-footer__slogan {
  margin-bottom: 2rem;
  color: #8a8da0;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.25rem;
}
.site-footer__notice {
  padding-top: 1.25rem;
  border-top: 1px solid #2f2f39;
  color: #8a8da0;
}

/* --- utility --- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
