:root {
  --font-main: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --color-bg: #f4f8ff;
  --color-surface: #ffffff;
  --color-ink: #101a31;
  --color-muted: #52617f;
  --color-line: #d7e3f7;
  --color-primary: #1769f0;
  --color-primary-deep: #0f55c7;
  --color-success-bg: #eef7ef;
  --color-success-ink: #21613b;
  --shadow-lg: 0 24px 56px rgba(23, 42, 77, 0.12);
  --shadow-md: 0 14px 32px rgba(23, 42, 77, 0.1);
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-ink);
  background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.download-shell {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.download-header .download-shell {
  width: min(calc(100% - 56px), 1440px);
}

.download-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(215, 227, 247, 0.9);
  backdrop-filter: blur(8px);
}

.download-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.download-brand img {
  height: 52px;
  width: auto;
}

.download-header-link {
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 700;
}

.download-main {
  padding: 72px 0 96px;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 34px;
  align-items: start;
}

.download-info-stack {
  display: block;
}

.download-visual-card,
.download-form-card {
  border: 1px solid rgba(215, 227, 247, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
}

.download-visual-card {
  padding: 32px;
  text-align: center;
}

.download-visual-card img {
  width: 70%;
  height: auto;
  border-radius: 0;
  box-shadow: 0 27px 54px rgba(16, 26, 49, 0.24);
  margin: 0 auto;
}

.download-visual-card h1 {
  margin: 0 0 36px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.28;
  font-weight: 800;
  text-align: center;
}

.download-page-product .download-visual-card h1 {
  color: #2f3f5c;
  font-size: clamp(1.18rem, 2.2vw, 1.8rem);
  line-height: 1.34;
}

.download-page-price .download-visual-card h1 {
  font-size: clamp(1.18rem, 2.2vw, 1.8rem);
  line-height: 1.34;
  font-weight: 600;
}

.download-description {
  margin: 36px 0 0;
  font-size: 1.06rem;
  line-height: 1.9;
  color: var(--color-muted);
  text-align: left;
  padding-inline: 32px;
}

.download-form-card {
  padding: 32px;
}

.download-guidance {
  display: grid;
  gap: 8px;
  margin-top: 0;
  padding: 0;
  justify-items: center;
  text-align: center;
}

.download-guidance p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-ink);
  font-weight: 500;
}

.download-guidance .download-guidance-title {
  font-size: 1.488rem;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
}

.download-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.download-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.download-field {
  display: grid;
  gap: 8px;
}

.download-field-full {
  grid-column: 1 / -1;
}

.download-label {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-ink);
}

.download-required {
  margin-left: 8px;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 800;
}

.download-input,
.download-select,
.download-textarea {
  width: 100%;
  padding: 8px 14px;
  border: 1px solid rgba(189, 206, 236, 0.95);
  border-radius: 6px;
  background: #ffffff;
  color: var(--color-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.download-input,
.download-select {
  min-height: 43px;
}

.download-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  line-height: 1.4;
}

.download-input:focus,
.download-select:focus,
.download-textarea:focus {
  outline: none;
  border-color: rgba(23, 105, 240, 0.55);
  box-shadow: 0 0 0 4px rgba(23, 105, 240, 0.12);
}

.download-textarea {
  min-height: 106px;
  resize: vertical;
}

.download-hint,
.download-error {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
}

.download-hint {
  color: var(--color-muted);
}

.download-error {
  color: #c62828;
}

.download-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--color-muted);
}

.download-consent input {
  margin-top: 0.25rem;
}

.download-consent a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.download-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 36px;
  border: 0;
  border-radius: 999px;
  background: #3060ce;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: none;
  width: 60%;
  margin: 0 auto;
}

.download-submit:hover {
  transform: translateY(-2px);
  background: #3a6ddb;
}

.download-submit-icon {
  font-size: 1em;
  line-height: 1;
  font-weight: 600;
}

.download-success {
  margin-top: 28px;
  padding: 24px 26px;
  border-radius: 20px;
  background: var(--color-success-bg);
  color: var(--color-success-ink);
  border: 1px solid rgba(33, 97, 59, 0.12);
}

.download-success p {
  margin: 0;
  line-height: 1.9;
}

.download-footer {
  border-top: 1px solid rgba(215, 227, 247, 0.95);
  background: #f8fafc;
}

.download-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 42px 0 26px;
}

.download-footer-brand {
  display: grid;
  gap: 16px;
}

.download-footer-brand img {
  height: 46px;
  width: auto;
}

.download-footer-company {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.download-footer-address {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.85;
}

.download-footer-links {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-top: 64px;
}

.download-footer-links a {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.download-footer-bottom {
  margin: 0 calc(50% - 50vw);
  background: #e5e7eb;
}

.download-footer-bottom .download-shell {
  min-height: 34px;
  display: flex;
  align-items: center;
}

.download-footer-copy {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

@media (max-width: 980px) {
  .download-main {
    padding: 48px 0 72px;
  }

  .download-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .download-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .download-footer-links {
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .download-shell {
    width: min(calc(100% - 28px), var(--container));
  }

  .download-header .download-shell {
    width: min(calc(100% - 28px), var(--container));
  }

  .download-header-inner {
    min-height: 50px;
  }

  .download-brand img {
    height: 42px;
  }

  .download-header-link {
    display: none;
  }

  .download-main {
    padding: 24px 0 56px;
  }

  .download-visual-card {
    padding: 24px 18px 18px;
    border-radius: 8px;
  }

  .download-form-card {
    padding: 20px 18px;
    border-radius: 8px;
  }

  .download-visual-card img {
    border-radius: 0;
  }

  .download-visual-card h1 {
    margin-bottom: 27px;
    font-size: 1.8rem;
  }

  .download-page-product .download-visual-card h1 {
    font-size: 1.42rem;
    font-weight: 600;
  }

  .download-page-price .download-visual-card h1 {
    font-size: 1.28rem;
  }

  .download-description {
    margin-top: 27px;
    font-size: 0.96rem;
    line-height: 1.8;
    padding-inline: 24px;
  }

  .download-guidance {
    gap: 6px;
  }

  .download-guidance .download-guidance-title {
    font-size: 1.368rem;
  }

  .download-guidance p,
  .download-consent {
    font-size: 0.88rem;
  }

  .download-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .download-submit {
    width: 60%;
    min-height: 56px;
  }

  .download-footer-inner {
    padding: 30px 0 22px;
  }

  .download-footer-brand {
    justify-items: center;
    text-align: center;
  }

  .download-footer-links {
    justify-items: center;
    text-align: center;
  }

  .download-footer-bottom .download-shell {
    justify-content: center;
  }

  .download-footer-copy {
    text-align: center;
  }
}
