/* =========================
   Joytas LP Styles
   - Full-bleed sections
   - Clean, logical, conversion-first
   ========================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

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

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

:root {
  /* Brand */
  --blue: #1E4F8A;
  --orange: #F5A300;

  /* Neutral */
  --bg: #ffffff;
  --bg-alt: #F6F7F9;
  --text: #0f172a;
  --muted: #6B7280;
  --line: rgba(17, 24, 39, 0.10);
  --border: rgba(15,23,42,.12);
  --shadow: 0 18px 40px rgba(17, 24, 39, 0.10);
  --shadow-soft: 0 10px 24px rgba(17, 24, 39, 0.10);

  --radius: 16px;
  --radius-lg: 22px;

  /* Layout */
  --container: 1200px;
  --pad: clamp(16px, 2.5vw, 24px);
  --sec-y: clamp(56px, 6vw, 96px);

  /* Type */
  --h1: clamp(28px, 4vw, 44px);
  --h2: clamp(22px, 3vw, 32px);
  --h3: 20px;
  --lead: 18px;
}

/* Utility */
.container {
  width: min(var(--container), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

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

.section-alt {
  background: var(--bg-alt);
}

.hide-sm {
  display: inline;
}

@media (max-width: 768px) {
  .hide-sm {
    display: none;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  z-index: 9999;
}

.skip-link:focus {
  left: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .02em;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease, color .12s ease;
  text-decoration: none !important;
  user-select: none;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 3px solid rgba(245, 163, 0, .35);
  outline-offset: 3px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  background: var(--orange);
  color: #111;
  border-color: rgba(0, 0, 0, .06);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}

.section .btn-outline {
  color: var(--text);
  border-color: rgba(17, 24, 39, .18);
}

.btn-outline:hover {
  border-color: rgba(17, 24, 39, .30);
}

.btn-ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .18);
}

.section .btn-ghost {
  background: #fff;
  color: var(--text);
  border-color: rgba(17, 24, 39, .12);
}

.btn-lg {
  padding: 16px 22px;
  font-size: 16px;
}

.btn-sm {
  padding: 10px 14px;
  font-size: 14px;
}

.w-full {
  width: 100%;
}

/* =========================
   Header
   ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17, 24, 39, .08);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding-block: 10px;
}

.brand-logo {
  height: 42px;
  width: auto;
}

.site-nav {
  justify-self: end;
}

.nav-list {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: rgba(17, 24, 39, .85);
  font-weight: 600;
  font-size: 14px;
}

.nav-list a {
  padding: 8px 8px;
  border-radius: 10px;
}

.nav-list a:hover {
  background: rgba(30, 79, 138, .06);
  text-decoration: none;
}

.header-cta {
  justify-self: end;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, .12);
  background: #fff;
  cursor: pointer;
}

.nav-toggle-lines {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: rgba(17, 24, 39, .75);
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: rgba(17, 24, 39, .75);
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(17, 24, 39, .08);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
}

.mobile-panel[aria-hidden="false"] {
  display: block;
}

.mobile-panel-inner {
  padding-block: 16px 22px;
}

.mobile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
}

.mobile-title {
  font-weight: 800;
}

.nav-close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, .12);
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.mobile-nav-list a {
  display: block;
  padding: 12px 12px;
  border-radius: 12px;
  background: rgba(30, 79, 138, .05);
  text-decoration: none;
  font-weight: 700;
}

.mobile-nav-list a:hover {
  background: rgba(30, 79, 138, .08);
}

.mobile-cta {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.no-scroll {
  overflow: hidden;
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* =========================
   Hero (Full-bleed)
   ========================= */
/* Hero */
.hero{
  position: relative;
  min-height: 520px;
  display:flex;
  align-items:stretch;
  overflow:hidden;
}
.hero-bg{
  position:absolute;
  inset:0;
  /* ここはヒーロー画像に差し替え */
  background:
    linear-gradient(90deg, rgba(2,6,23,.82), rgba(2,6,23,.52)),
    radial-gradient(1200px 700px at 15% 15%, rgba(11,78,162,.25), transparent 60%),
    radial-gradient(900px 550px at 85% 55%, rgba(247,181,0,.18), transparent 60%),
    url("assets/img/hero-bg.webp");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}
.hero-inner{
  position:relative;
  padding: 70px 0 52px;
  color: #fff;
}
.hero-tag{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 800;
  letter-spacing: .04em;
  margin: 0 0 18px;
}
.hero-title{
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.15;
  letter-spacing: .02em;
  text-shadow: 0 12px 26px rgba(0,0,0,.25);
}
.u-accent{
  color: #fff;
  position: relative;
  display:inline-block;
}
.u-accent::after{
  content:"";
  position:absolute;
  left: -4px;
  right: -4px;
  bottom: .08em;
  height: .32em;
  background: rgba(247,181,0,.28);
  z-index:-1;
  border-radius: 999px;
}
.hero-sub{
  margin: 0 0 22px;
  font-size: 16px;
  color: rgba(255,255,255,.90);
  max-width: 740px;
}
.hero-cta{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap: 10px;
}
.hero-note{
  margin:0;
  font-size: 13px;
  color: rgba(255,255,255,.78);
}
.hero-badges{
  margin-top: 26px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 860px;
}
.badge{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.badge-k{
  font-size: 12px;
  opacity: .85;
  font-weight: 800;
  letter-spacing: .06em;
}
.badge-v{
  font-size: 14px;
  font-weight: 800;
  margin-top: 2px;
}

@media (max-width: 760px){
  .hero-inner{ padding: 52px 0 40px; }
  .hero-badges{ grid-template-columns: 1fr; }
}

/* =========================
   Section Head
   ========================= */
.section-head {
  text-align: center;
  margin-bottom: clamp(22px, 2.6vw, 34px);
}

.section-title {
  margin: 0 0 10px;
  font-size: var(--h2);
  line-height: 1.2;
  letter-spacing: .02em;
  font-weight: 900;
}

.section-desc {
  margin: 0 auto;
  max-width: 860px;
  color: var(--muted);
}
/* =========================
   Problems
   ========================= */
.problem-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.problem-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: 0 6px 18px rgba(2,8,23,.05);
}
.problem-card h3{
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: .01em;
}
.problem-card p{
  margin:0;
  color: rgba(15,23,42,.75);
  font-size: 14px;
}

@media (max-width: 980px){
  .problem-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .problem-grid{ grid-template-columns: 1fr; }
}

/* =========================
   Feature Cards (3)
   ========================= */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, .10);
  border-radius: var(--radius-lg);
  padding: 22px 18px 18px;
  box-shadow: var(--shadow-soft);
}

.feature-badge {
  position: absolute;
  top: -16px;
  left: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--orange);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #111;
  border: 1px solid rgba(0, 0, 0, .06);
}

.feature-icon {
  width: 76px;
  height: 76px;
  margin: 6px auto 8px;
  padding:8px;
  border-radius: 16px;
  background: rgba(30, 79, 138, .06);
  display: grid;
  place-items: center;
  color: var(--blue);
  font-weight: 900;
}

.feature-title {
  margin: 10px 0 10px;
  font-size: 18px;
  font-weight: 900;
  color: var(--blue);
}

.feature-text {
  margin: 0;
  color: rgba(17, 24, 39, .84);
  font-size: 14px;
  line-height: 1.75;
}
.checklist{
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(15,23,42,.78);
  font-size: 14px;
}
.checklist li{ margin: 8px 0; }

@media (max-width: 960px) {
  .cards-3 {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Differences
   ========================= */
.diff-list {
  display: grid;
  gap: 18px;
}

.diff {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, .10);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 2.4vw, 22px);
  box-shadow: var(--shadow-soft);
}

.diff-title {
  margin: 0 0 14px;
  font-weight: 900;
  letter-spacing: .02em;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.diff-box {
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, .10);
  padding: 16px 16px 14px;
  background: rgba(246, 247, 249, .65);
}

.diff-good {
  background: rgba(30, 79, 138, .04);
  border-color: rgba(30, 79, 138, .14);
}

.diff-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 10px;
}

.diff-x {
  background: rgba(239, 68, 68, .12);
  color: rgb(185, 28, 28);
  border: 1px solid rgba(239, 68, 68, .18);
}

.diff-o {
  background: rgba(34, 197, 94, .12);
  color: rgb(21, 128, 61);
  border: 1px solid rgba(34, 197, 94, .18);
}

.diff-box-title {
  margin: 0 0 8px;
  font-weight: 900;
}

.diff-box-text {
  margin: 0;
  color: rgba(17, 24, 39, .84);
  font-size: 14px;
}

.diff-conclusion {
  margin: 12px 0 0;
  font-weight: 900;
  color: rgba(17, 24, 39, .88);
  text-align:center;
}

.statement {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(245, 163, 0, .16) 0%, rgba(30, 79, 138, .08) 70%);
  border: 1px solid rgba(17, 24, 39, .10);
  text-align: center;
}

.statement-title {
  margin: 0 0 6px;
  font-weight: 900;
}

.statement-body {
  margin: 0;
  font-size: clamp(18px, 2.3vw, 22px);
  font-weight: 900;
  letter-spacing: .02em;
}
.diff-cta{
  margin-top: 50px;
  text-align:center;
}

@media (max-width: 960px) {
  .diff-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Cases
   ========================= */
.case-grid {
  display: grid;
  gap: 18px;
}

.case-card {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 16px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, .10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.case-media {
  position: relative;
  background: #0b1220;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-tags {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .16);
}

.case-body {
  padding: 18px 18px 18px;
}

.case-title {
  margin: 2px 0 4px;
  font-weight: 900;
  letter-spacing: .02em;
  font-size: 20px;
}

.case-meta {
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.case-points {
  margin: 0 0 14px;
  display: grid;
  gap: 10px;
}

.case-points dt {
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 2px;
  font-size: 13px;
}

.case-points dd {
  margin: 0;
  color: rgba(17, 24, 39, .84);
  font-size: 14px;
}

.score-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.score {
  border: 1px solid rgba(17, 24, 39, .10);
  border-radius: 16px;
  padding: 10px 10px 8px;
  text-align: center;
  background: rgba(246, 247, 249, .75);
}

.score-num {
  display: block;
  font-weight: 900;
  font-size: 22px;
  color: rgb(21, 128, 61);
}

.score-warn {
  color: rgb(180, 83, 9);
}

.score-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: rgba(17, 24, 39, .70);
  margin-top: 2px;
}

.note {
  margin: 10px 0 0;
  color: rgba(17, 24, 39, .60);
  font-size: 12px;
}

.case-actions {
  margin-top: 14px;
}

.case-foot {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(17, 24, 39, .10);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.case-foot-text {
  margin: 0;
  color: rgba(17, 24, 39, .78);
}

@media (max-width: 960px) {
  .case-card {
    grid-template-columns: 1fr;
  }

  .case-media {
    min-height: 220px;
  }

  .score-row {
    grid-template-columns: 1fr 1fr;
  }

  .case-foot {
    flex-direction: column;
    align-items: stretch;
  }
}

/* =========================
   Pricing
   ========================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, .10);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 14px;
}

.price-featured {
  border-color: rgba(245, 163, 0, .55);
  box-shadow: 0 22px 60px rgba(245, 163, 0, .18);
}

.price-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--orange);
  color: #111;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(0, 0, 0, .06);
}

.price-head {
  text-align: center;
}

.price-name {
  margin: 0;
  font-weight: 900;
  color: var(--blue);
  font-size: 18px;
}

.price-amount {
  margin: 8px 0 0;
  font-weight: 900;
}

.yen {
  font-size: 30px;
  letter-spacing: .02em;
}

.tax {
  font-size: 12px;
  color: var(--muted);
  margin-left: 6px;
}

.price-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

.price-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: rgba(17, 24, 39, .84);
}

.price-list li {
  padding-left: 22px;
  position: relative;
}

.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: rgb(21, 128, 61);
  font-weight: 900;
}

@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Maintenance box */
.maintenance {
  margin-top: 18px;
  background: rgba(30, 79, 138, .04);
  border: 1px solid rgba(30, 79, 138, .16);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.maintenance-inner {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(17, 24, 39, .10);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.maintenance-title {
  margin: 0 0 8px;
  font-weight: 900;
  color: var(--blue);
}

.maintenance-lead {
  margin: 0 0 12px;
  color: rgba(17, 24, 39, .80);
}

.maintenance-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 10px;
}

.mp-amount {
  font-size: 22px;
  font-weight: 900;
}

.mp-tax {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.maintenance-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(17, 24, 39, .84);
  font-size: 14px;
}

/* =========================
   FAQ
   ========================= */
.faq {
  max-width: 900px;
  margin-inline: auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid rgba(17, 24, 39, .10);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 16px;
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-body {
  padding: 0 16px 16px;
  color: rgba(17, 24, 39, .80);
  font-size: 14px;
}

/* =========================
   CTA Band (Full-bleed)
   ========================= */
/* CTA block */
.cta{
  padding: 70px 0;
  background:
    radial-gradient(900px 480px at 20% 20%, rgba(11,78,162,.25), transparent 60%),
    radial-gradient(900px 480px at 80% 50%, rgba(247,181,0,.18), transparent 60%),
    linear-gradient(180deg, #0b1220, #071023);
  color: #fff;
}
.cta-inner{
  text-align:center;
}
.cta h2{
  margin:0 0 10px;
  font-size: clamp(22px, 2.6vw, 34px);
}
.cta p{
  margin: 0 auto 18px;
  max-width: 820px;
  color: rgba(255,255,255,.82);
}

/* Form */
.form{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  max-width: 980px;
  margin: 0 auto;
}
.form-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.field{
  display:flex;
  flex-direction:column;
  gap: 6px;
}
.field span, .field legend{
  font-weight: 900;
  font-size: 13px;
  color: rgba(15,23,42,.80);
}
.field input, .field select, .field textarea{
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  outline: none;
  font-size: 14px;
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: rgba(11,78,162,.55);
  box-shadow: 0 0 0 4px rgba(11,78,162,.10);
}
.field-wide{ grid-column: 1 / -1; }

fieldset.field{
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px 12px;
}
fieldset.field legend{ padding: 0 6px; }

.checks{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 10px;
  margin-top: 6px;
  color: rgba(15,23,42,.78);
  font-size: 14px;
}
.checks input{ margin-right: 8px; }
@media (max-width: 760px){
  .form-grid{ grid-template-columns: 1fr; }
  .checks{ grid-template-columns: 1fr; }
}

.form-actions{
  margin-top: 14px;
  text-align:center;
}
.muted{ color: var(--muted); font-size: 13px; }

/* Footer */
.site-footer{
  background: #061022;
  color: rgba(255,255,255,.86);
  padding: 46px 0;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap: 18px;
  align-items:flex-start;
}
.footer-logo{
  display:flex;
  align-items:center;
  gap: 10px;
}
.brand-mark--white{
  border-color: rgba(255,255,255,.86);
  border-left-color: transparent;
}
.brand-text--white{
  color: rgba(255,255,255,.92);
}
.footer-tagline{ margin: 10px 0 6px; color: rgba(255,255,255,.78); }
.footer-company{ margin: 0 0 6px; }
.footer-meta{ margin: 0; }

.footer-links{
  display:flex;
  gap: 36px;
}
.footer-links h4{
  margin: 0 0 10px;
  font-size: 14px;
}
.footer-links a{
  display:block;
  padding: 6px 0;
  color: rgba(255,255,255,.82);
}
.footer-links a:hover{ color:#fff; }

@media (max-width: 980px){
  .footer-inner{ flex-direction:column; }
  .footer-links{ width:100%; justify-content:space-between; }
}

/* =========================
   Footer
   ========================= */
.site-footer {
  background: #0B1220;
  color: rgba(255, 255, 255, .88);
}

.footer-inner {
  padding-block: 28px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
}

.footer-brand img {
  opacity: .95;
}

.footer-desc {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .68);
  max-width: 520px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.footer-title {
  margin: 0 0 10px;
  font-weight: 900;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, .78);
}

.footer-links a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.footer-bottom-inner {
  padding-block: 14px;
  color: rgba(255, 255, 255, .60);
}

@media (max-width: 960px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.required{
  display: inline-flex;
  align-items: baseline;
  gap: .35em;            /* ラベルと*の間 */
  font-weight: 600;
}

/* * マーク */
.required::after{
  content: "＊";
  font-weight: 700;
  font-size: .9em;
  line-height: 1;
  color: #e45858;        /* きつすぎない赤 */
  transform: translateY(-.05em);
  opacity: .95;
}

/* 入力欄の見た目も合わせて「必須っぽさ」を軽く出す（任意） */
.field:has(.required) input[required],
.field:has(.required) textarea[required],
.field:has(.required) select[required]{
  border-color: rgba(228, 88, 88, .35);
}

/* フォーカス時（任意） */
.field:has(.required) input[required]:focus,
.field:has(.required) textarea[required]:focus,
.field:has(.required) select[required]:focus{
  outline: none;
  border-color: rgba(228, 88, 88, .65);
  box-shadow: 0 0 0 3px rgba(228, 88, 88, .15);
}

.plan-info{
  margin: 0 0 10px;
  font-size: .9rem;
  color: #6b7280;
}

.form-errors {
  margin-bottom: 24px;
  padding: 16px 18px;
  border-radius: 8px;
  background: #fff6f6;
  border: 1px solid #f2caca;
  color: #8b1e1e;
}

.form-errors ul {
  margin: 0;
  padding-left: 1.2em;
}

.form-errors li {
  margin: 4px 0;
  font-size: 0.95rem;
  line-height: 1.6;
}
/* =========================
   thanks
========================= */

.thanks-box {
  text-align: center;
  padding: 48px 32px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.thanks-title {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.thanks-desc {
  margin-bottom: 24px;
  color: #555;
  line-height: 1.8;
}

.thanks-no {
  margin-bottom: 32px;
  font-size: 0.95rem;
  background: #f5f8ff;
  padding: 10px 14px;
  border-radius: 6px;
  display: inline-block;
}