:root {
  --blue: #1c4ec4;
  --blue-2: #2f63d8;
  --blue-dark: #123a9c;
  --deep: #171e38;
  --text: #1c2540;
  --muted: #5c6780;
  --line: #d8e2f2;
  --pale: #e9f1fc;
  --pale-2: #f4f8fe;
  --white: #fff;
  --red: #b02a30;
  --shadow: 0 10px 26px rgba(18, 52, 118, 0.1);
  --radius: 16px;
  --serif: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --latin: "Shippori Mincho B1", "Times New Roman", "Yu Mincho", serif;
  --diamond: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1.2 10.8 6 6 10.8 1.2 6Z' fill='none' stroke='%231c4ec4' stroke-width='1.3'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.85;
  background: #fff;
  letter-spacing: 0.02em;
}

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

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

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

button {
  cursor: pointer;
}

svg:not(.svg-sprite) {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.svg-sprite {
  display: none;
}

.container {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
}

.container.narrow {
  max-width: 920px;
}

/* ---------- header ---------- */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 14px 40px;
  background: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  height: 60px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  white-space: nowrap;
  color: #232c48;
}

.nav a:not(.nav-cta):hover {
  color: var(--blue);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(28, 78, 196, 0.28);
}

.mini-icon {
  width: 22px;
  height: 22px;
}

br.sp-only {
  display: none;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 130;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

@media (min-width: 1201px) {
  .nav {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  body.header-fixed .nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

body.header-fixed .site-header {
  position: fixed;
  animation: header-in 0.45s ease both;
}

body.header-fixed .nav-toggle {
  opacity: 1;
  pointer-events: auto;
}

@keyframes header-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  margin: 5.5px auto;
  background: #232c48;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .site-header {
  z-index: 140;
}

body.nav-open::before {
  position: fixed;
  inset: 0;
  z-index: 110;
  content: "";
  background: rgba(23, 30, 56, 0.45);
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- shared section pieces ---------- */

.section {
  position: relative;
  overflow: visible;
  overflow-x: clip;
  padding: 100px 0;
}

.section-bg::before,
.section-bg::after {
  position: absolute;
  content: "";
  pointer-events: none;
  z-index: 0;
}

.section-bg::before {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(28, 78, 196, 0.07);
  top: -90px;
  left: -70px;
}

.section-bg::after {
  width: 160px;
  height: 160px;
  right: 30px;
  top: 48px;
  background-image: radial-gradient(rgba(28, 78, 196, 0.3) 1.4px, transparent 1.4px);
  background-size: 11px 11px;
  border-radius: 50%;
  opacity: 0.5;
}

.section-heading {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 235px;
  margin: 0 0 22px;
  color: var(--blue);
  font-family: var(--latin);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.2;
}

.section-label::after {
  display: block;
  width: 100%;
  height: 12px;
  content: "";
  background:
    var(--diamond) center / 11px 11px no-repeat,
    linear-gradient(var(--blue), var(--blue)) left 50% / calc(50% - 13px) 1.5px no-repeat,
    linear-gradient(var(--blue), var(--blue)) right 50% / calc(50% - 13px) 1.5px no-repeat;
}

.section-label.ja {
  font-family: var(--sans);
  font-size: 1.02rem;
  letter-spacing: 0.14em;
}

.section-label.arrows {
  flex-direction: row;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.section-label.arrows::before {
  content: "";
  width: 74px;
  height: 1.5px;
  background: var(--blue);
}

.section-label.arrows::after {
  width: 74px;
  height: 1.5px;
  background: var(--blue);
}

.section-heading h2,
.hero-title {
  margin: 0;
  color: var(--deep);
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.section-heading h2 {
  font-size: 2.55rem;
}

.section-heading h2 small {
  font-size: 0.7em;
}

.section-heading h2 span,
.hero-title span,
.contact h2 span,
.after h2 span,
.price h2 span,
.cases h2 span {
  color: var(--blue);
}

.first-action h2 span,
.free-consultation h2 span {
  font-family: var(--latin);
  font-size: 1.3em;
  line-height: 1;
}

.section-heading p:not(.section-label) {
  margin: 18px 0 0;
  color: #4c5872;
  font-size: 1.06rem;
  font-weight: 500;
}

.section-heading .heading-note {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #7b8499;
}

/* ---------- buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 66px;
  min-width: 280px;
  padding: 0 28px;
  border: 1.5px solid var(--blue);
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button svg {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
}

.button .arrow {
  width: 18px;
  height: 18px;
  margin-left: 6px;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, #2b5ed2, var(--blue-dark));
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(28, 78, 196, 0.26);
}

.button.secondary {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.92);
}

.button.light {
  color: var(--blue);
  background: var(--white);
  border-color: var(--white);
}

.button.compact,
.button.small {
  min-height: 54px;
  min-width: 230px;
  font-size: 0.98rem;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  /* 縦解像度の大きい画面でセクションが間延びしないよう上限850pxを設ける */
  min-height: max(800px, min(calc(100vh - 110px), 850px));
  padding: 120px 0 56px;
  background: #fdfdfd;
}

/* デスクトップは背景写真を左右スライスに分割し、高さ基準でフィットさせる。
   ワイド画面でも人物が縦方向に拡大・トリミングされない */
@media (min-width: 1201px) {
  .hero::before,
  .hero::after {
    position: absolute;
    bottom: 0;
    z-index: 1;
    /* 人物が大きくなりすぎないよう高さに上限を設ける(下端基準) */
    height: min(100%, 800px);
    content: "";
    pointer-events: none;
    background-repeat: no-repeat;
  }

  .hero::before {
    left: 0;
    width: min(34vw, 680px);
    /* 上端フェードで、高さ上限到達時に画像の切れ目が見えないようにする */
    background-image: linear-gradient(180deg, #fdfdfd 0, rgba(253, 253, 253, 0) 150px), url("assets/hero-bg-left.webp");
    background-position: left top, left bottom;
    background-size: 100% 150px, auto 100%;
    -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent);
    mask-image: linear-gradient(90deg, #000 78%, transparent);
  }

  .hero::after {
    right: 0;
    width: min(33vw, 680px);
    background-image: linear-gradient(180deg, #fdfdfd 0, rgba(253, 253, 253, 0) 150px), url("assets/hero-bg-right.webp");
    background-position: right top, right bottom;
    background-size: 100% 150px, auto 100%;
    -webkit-mask-image: linear-gradient(270deg, #000 78%, transparent);
    mask-image: linear-gradient(270deg, #000 78%, transparent);
  }
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding-top: 30px;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 0 0 36px;
  color: #1a3f9e;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-kicker::after {
  display: block;
  width: 470px;
  height: 13px;
  content: "";
  background:
    var(--diamond) center / 12px 12px no-repeat,
    linear-gradient(#1a3f9e, #1a3f9e) left 50% / calc(50% - 15px) 1.5px no-repeat,
    linear-gradient(#1a3f9e, #1a3f9e) right 50% / calc(50% - 15px) 1.5px no-repeat;
}

.hero-title {
  font-size: 4.1rem;
  line-height: 1.32;
}

.hero-title span {
  display: inline-block;
  padding: 0.02em 0;
  font-size: 1.32em;
  font-weight: 800;
}

.proof-list {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  gap: 16px 56px;
  max-width: 760px;
  margin: 40px auto 40px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.proof-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.16rem;
  font-weight: 700;
  color: #182444;
}

.proof-list svg {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  color: var(--white);
  padding: 6px;
  background: var(--blue);
  border-radius: 50%;
  stroke-width: 3.4;
}

.hero-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

@media (min-width: 1201px) and (max-height: 840px) {
  .hero {
    min-height: 0;
    padding-top: 96px;
    padding-bottom: 44px;
  }

  .hero-inner {
    padding-top: 0;
  }

  .hero-kicker {
    margin-bottom: 22px;
    font-size: 1.4rem;
  }

  .hero-title {
    font-size: 3.7rem;
  }

  .proof-list {
    margin: 28px auto;
  }
}

@media (min-width: 1201px) and (max-height: 720px) {
  .hero {
    padding-top: 84px;
    padding-bottom: 32px;
  }

  .hero-kicker {
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.3rem;
  }

  .hero-title {
    font-size: 3.35rem;
  }

  .proof-list {
    gap: 12px 48px;
    margin: 22px auto;
  }
}

/* ---------- section photos ---------- */

.section-photo {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.photo-notice {
  top: 0;
  right: 0;
  width: min(46vw, 620px);
  height: 460px;
  object-fit: cover;
  object-position: right center;
  border-radius: 0 0 0 240px;
  -webkit-mask-image: linear-gradient(115deg, transparent 4%, #000 26%);
  mask-image: linear-gradient(115deg, transparent 4%, #000 26%);
}

.photo-support {
  top: 0;
  right: 0;
  width: min(42vw, 560px);
  height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 0 0 0 220px;
  -webkit-mask-image: linear-gradient(115deg, transparent 3%, #000 24%);
  mask-image: linear-gradient(115deg, transparent 3%, #000 24%);
}

.photo-price {
  top: 0;
  right: 0;
  width: min(34vw, 450px);
  height: 340px;
  object-fit: cover;
  object-position: top right;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 85% 10%, #000 55%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 90% at 85% 10%, #000 55%, transparent 78%);
}

/* ---------- card base ---------- */

.number-card,
.feature-card,
.case-card,
.reason-grid article,
.support-grid article,
.model-card,
.price-card,
.after-grid article,
.faq details,
.contact-form,
.wide-cta,
.promise-box,
.stance-box {
  background: var(--white);
  border: 1px solid #e3eaf6;
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(18, 52, 118, 0.07);
}

/* ---------- first action ---------- */

.first-action .section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.action-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 40px;
}

.action-grid .number-card:nth-child(1),
.action-grid .number-card:nth-child(2),
.action-grid .number-card:nth-child(3) {
  grid-column: 1;
}

.action-grid .number-card:nth-child(4),
.action-grid .number-card:nth-child(5) {
  grid-column: 2;
}

.action-grid .number-card:nth-child(4) {
  grid-row: 2;
}

.action-grid .number-card:nth-child(5) {
  grid-row: 3;
}

.number-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 140px;
  padding: 26px 30px;
  border-radius: 14px;
}

.number-card::before {
  position: absolute;
  left: 51px;
  top: 78px;
  bottom: 24px;
  content: "";
  border-left: 2px dotted #bcd0ec;
}

.number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  align-self: start;
  color: var(--white);
  background: linear-gradient(135deg, #4a78dd, #12379a);
  border-radius: 50%;
  box-shadow: 0 6px 12px rgba(28, 78, 196, 0.28);
  font-family: var(--latin);
  font-size: 1.3rem;
  font-weight: 700;
}

.number-card h3 {
  margin: 0;
  color: var(--blue);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.5;
}

.number-card p,
.feature-card p,
.case-card p,
.support-grid p,
.reason-grid p,
.model-card p,
.price-card p,
.after-grid p,
.wide-cta p,
.promise-box p,
.stance-box p {
  margin: 8px 0 0;
  color: #444f68;
  font-size: 1rem;
  font-weight: 500;
}

.card-icon,
.round-icon {
  color: var(--blue);
  background: var(--pale);
  border-radius: 50%;
  stroke-width: 1.6;
}

img.card-icon,
img.round-icon {
  padding: 18px;
  background: var(--pale);
  object-fit: contain;
}

.card-icon {
  width: 96px;
  height: 96px;
  padding: 20px;
}

/* ---------- wide cta ---------- */

.wide-cta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 30px;
  align-items: center;
  margin-top: 48px;
  padding: 40px 56px 34px;
  border: 1.5px solid #b9cdef;
  background: linear-gradient(160deg, #fdfeff, #f2f8ff);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 22px;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}

.pill.solid {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  border-radius: 6px;
  min-height: 34px;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.wide-cta h3 {
  margin: 18px 0 0;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.55;
}

.wide-cta .button {
  margin-top: 20px;
}

.note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 0.92rem;
  color: #3c465e;
}

.note span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 20px;
  color: var(--white);
  background: #f2b705;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  padding-top: 6px;
}

.cta-illust {
  width: 230px;
  justify-self: center;
  filter: drop-shadow(0 10px 18px rgba(18, 52, 118, 0.14));
}

/* ---------- free consultation ---------- */

.consult-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 30px 22px;
  text-align: center;
}

.card-count {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-family: var(--latin);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.round-icon {
  width: 106px;
  height: 106px;
  padding: 24px;
  margin: 0 auto 20px;
}

.feature-card h3 {
  margin: 0;
  color: var(--blue);
  font-size: 1.14rem;
  font-weight: 900;
}

.info-strip {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 32px 0 0;
  padding: 16px 24px;
  color: #182a5e;
  border: 1px solid #e3eaf6;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(18, 52, 118, 0.06);
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
}

.info-strip img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.info-strip span {
  color: var(--blue);
  font-family: var(--latin);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  margin: 0 2px;
}

/* ---------- support ---------- */

.support {
  background: linear-gradient(180deg, #fff, #f6faff);
}

.support .section-heading {
  max-width: 620px;
  min-height: 320px;
}

.support-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 56px;
}

.support-grid article {
  position: relative;
  padding: 26px 30px 30px;
}

.support-grid article:nth-child(odd)::after {
  position: absolute;
  top: 50%;
  right: -38px;
  transform: translateY(-50%);
  content: "";
  border-left: 10px solid var(--blue-2);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  opacity: 0.75;
}

.support-grid article:nth-child(1)::before,
.support-grid article:nth-child(3)::before {
  position: absolute;
  bottom: -22px;
  left: 60px;
  content: "";
  border-top: 10px solid var(--blue-2);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  opacity: 0.75;
}

.support-head {
  display: flex;
  align-items: center;
  gap: 22px;
}

.support-head span {
  flex: 0 0 auto;
  padding-right: 22px;
  border-right: 1px solid var(--line);
  color: var(--blue);
  font-family: var(--latin);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.support-head h3 {
  margin: 0;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.5;
}

.support-body {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
}

.support-body .round-icon {
  flex: 0 0 auto;
  width: 108px;
  height: 108px;
  margin: 0;
}

/* ---------- why us ---------- */

.why {
  background: #ecf3fc;
}

.why::before {
  background: rgba(255, 255, 255, 0.6);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 62px;
}

.reason-grid article {
  position: relative;
  padding: 62px 26px 30px;
  text-align: center;
}

.reason-icon {
  position: absolute;
  top: -46px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 92px;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(28, 78, 196, 0.28);
  object-fit: cover;
}

.reason-label {
  display: inline-block;
  margin: 0 0 14px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--blue);
  color: var(--blue);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 700;
}

.reason-grid h3 {
  margin: 0;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.6;
}

.reason-grid p {
  margin-top: 12px;
  text-align: left;
}

.stance-box {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 34px;
  padding: 36px 52px;
}

.stance-icon {
  width: 130px;
  height: 130px;
  object-fit: contain;
}

.stance-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.stance-head .pill.solid {
  flex: 0 0 auto;
  margin-top: 8px;
}

.stance-head h3 {
  margin: 0;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
}

.stance-body > p {
  margin-top: 14px;
}

/* ---------- cases ---------- */

.cases {
  background: linear-gradient(180deg, #fbfdff, #f3f8fe);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.case-card {
  position: relative;
  padding: 34px 16px 26px;
  text-align: center;
  border-radius: 14px;
}

.case-no {
  position: absolute;
  top: -19px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-family: var(--latin);
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(28, 78, 196, 0.28);
}

.case-card .round-icon {
  width: 114px;
  height: 114px;
  margin-top: 4px;
}

.case-card h3 {
  margin: 0;
  color: var(--blue);
  font-size: 1.16rem;
  font-weight: 900;
}

.case-card strong {
  display: block;
  min-height: 62px;
  margin: 12px 0 6px;
  color: #1d2747;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.7;
}

.case-card p {
  font-size: 0.94rem;
}

.message-band {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 40px;
  padding: 30px 44px;
  border-radius: 12px;
  background: #e7f0fc;
}

.message-band img {
  width: 96px;
  height: 96px;
  justify-self: center;
  object-fit: contain;
}

.message-band p {
  margin: 0;
  padding-left: 34px;
  border-left: 2px solid rgba(28, 78, 196, 0.4);
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.36rem;
  font-weight: 700;
  line-height: 1.9;
}

/* ---------- model cases ---------- */

.model {
  background: linear-gradient(180deg, #f3f8fe, #fbfdff);
}

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

.model-card {
  position: relative;
  padding: 30px 32px;
}

.model-illust {
  position: absolute;
  top: 86px;
  right: 26px;
  z-index: 1;
  width: auto;
  height: 210px;
  pointer-events: none;
}

.model-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.model-head span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  color: var(--white);
  background: var(--blue);
  border-radius: 6px;
  font-family: var(--latin);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.model-head h3 {
  margin: 0;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
}

.model-card h4 {
  margin: 0;
  max-width: calc(100% - 210px);
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.62rem;
  font-weight: 700;
  line-height: 1.5;
}

.points-label {
  margin: 16px 0 2px !important;
  color: var(--blue) !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
}

.model-card ul {
  max-width: calc(100% - 210px);
  margin: 4px 0 20px;
  padding-left: 1.3em;
  color: #444f68;
  font-size: 1rem;
  font-weight: 500;
}

.model-card li {
  margin: 3px 0;
}

.before-after {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.1fr);
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcff;
  text-align: center;
}

.before-after > div:first-child {
  opacity: 0.9;
  padding: 10px 4px;
}

.before-after > div:first-child small {
  font-size: 0.72rem;
  min-height: 22px;
}

.before-after > div:first-child i {
  font-size: 0.8rem;
}

.before-after > div:first-child b {
  font-size: 1.28rem;
  color: #707c94;
}

.before-after > div:last-child {
  padding: 12px 12px 14px;
  background: #e9f0fc;
  border-radius: 8px;
}

.before-after > div:last-child b {
  font-size: 1.6rem;
  color: var(--blue);
  white-space: nowrap;
}

.before-after div {
  min-width: 0;
}

.before-after small {
  display: inline-flex;
  min-height: 25px;
  padding: 0 12px;
  align-items: center;
  color: var(--white);
  background: #7d8695;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.before-after div:last-child small {
  background: var(--blue);
}

.before-after i {
  display: block;
  margin-top: 8px;
  color: #333d55;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 500;
}

.before-after b {
  display: block;
  margin-top: 2px;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.62rem;
  font-weight: 700;
  line-height: 1.25;
}

.ba-mid {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0 2px;
}

.before-after .cut-rate {
  display: block;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.before-after .cut-rate b {
  display: inline;
  margin: 0;
  color: inherit;
  font-family: var(--serif);
  font-size: 1.55em;
  line-height: 1;
}

.before-after .cut-rate em {
  display: block;
  margin-top: 2px;
  font-style: normal;
}

.ba-arrow {
  position: relative;
  width: 84px;
  height: 12px;
  background-image: radial-gradient(circle, #d4575d 2.1px, transparent 2.5px);
  background-size: 11px 12px;
  background-position: left center;
  background-repeat: repeat-x;
}

.ba-arrow::after {
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  content: "";
  border-left: 10px solid var(--red);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.blue-cta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  align-items: center;
  margin-top: 74px;
  padding: 0 40px 0 272px;
  color: var(--white);
  background: linear-gradient(120deg, #1c4ec4, #123a9c);
  border-radius: 14px;
}

.blue-cta img {
  position: absolute;
  bottom: 0;
  left: 68px;
  z-index: 1;
  width: auto;
  height: 262px;
  filter: drop-shadow(0 14px 26px rgba(8, 24, 70, 0.4));
}

.blue-cta::before {
  position: absolute;
  bottom: 23px;
  left: 44px;
  z-index: 0;
  width: 216px;
  height: 216px;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.blue-cta::after {
  position: absolute;
  bottom: 16px;
  left: 196px;
  z-index: 0;
  width: 108px;
  height: 78px;
  content: "";
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1.4px, transparent 1.4px);
  background-size: 12px 12px;
}

.blue-cta > div {
  padding: 30px 0;
}

.blue-cta h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.6;
}

.blue-cta p {
  margin: 10px 0 0;
  font-size: 1.04rem;
  font-weight: 500;
}

.blue-cta .button {
  min-height: 74px;
}

/* ---------- price ---------- */

.price {
  background: linear-gradient(180deg, #fbfdff, #f3f8fe);
}

.price-grid {
  position: relative;
  z-index: 2;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px 28px;
  text-align: center;
  overflow: hidden;
}

.price-card.featured {
  border: 2px solid var(--blue);
}

.ribbon {
  position: absolute;
  top: 22px;
  left: -38px;
  width: 150px;
  padding: 5px 0;
  transform: rotate(-45deg);
  color: var(--white);
  background: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.price-card .card-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-size: 1.1rem;
}

.price-card h3 {
  margin: 0;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
}

.price-value {
  margin: 10px 0 6px !important;
  color: var(--blue) !important;
  font-family: var(--serif);
  font-size: 3.7rem !important;
  font-weight: 700 !important;
  line-height: 1.15;
}

.price-value em {
  margin-right: 8px;
  font-size: 1.15rem;
  font-style: normal;
  vertical-align: middle;
}

.price-value span {
  font-size: 1.35rem;
}

.price-card .round-icon {
  width: 96px;
  height: 96px;
  padding: 0;
  margin: 10px auto 12px;
  background: none;
  border-radius: 0;
  object-fit: contain;
}

.price-card table {
  width: 100%;
  margin: 16px 0 14px;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.95rem;
}

.price-card th,
.price-card td {
  padding: 10px 10px;
  border: 1px solid #dde6f3;
  font-weight: 700;
}

.price-card th {
  width: 42%;
  background: #f2f6fc;
  color: #1d2747;
  text-align: center;
}

.price-card td {
  text-align: center;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.price-card .button {
  margin-top: auto;
  width: 100%;
  min-width: 0;
  padding: 0 10px;
  font-size: 0.92rem;
  white-space: nowrap;
}

.promise-box {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 130px auto;
  gap: 44px;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 34px auto 0;
  padding: 34px 64px;
}

.promise-box > img {
  width: 126px;
  height: auto;
}

.promise-box h3 {
  margin: 0;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
}

.promise-box p {
  margin-top: 10px;
}

/* ---------- audit day ---------- */

.audit-day {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #131b36, #1b2a52);
  color: #f4f7ff;
}

.audit-day-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.85);
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%);
  mask-image: linear-gradient(90deg, transparent, #000 55%);
}

.audit-day-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 20px 0;
}

.audit-day-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: #8fb3f5;
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.3em;
}

.audit-day-label::before {
  content: "";
  width: 36px;
  height: 1px;
  background: #8fb3f5;
}

.audit-day h2 {
  margin: 0 0 36px;
  color: #fff;
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.audit-day h2 span {
  color: #8fb3f5;
}

.audit-day-story p {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 2.15;
  letter-spacing: 0.04em;
  color: #dfe7f8;
}

.audit-day-story p.audit-day-close {
  margin: 38px 0 0;
  padding-top: 26px;
  border-top: 1px solid rgba(143, 179, 245, 0.45);
  color: #fff;
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.8;
}

/* ---------- flow ---------- */

.flow {
  background: linear-gradient(180deg, #f3f8fe, #fbfdff);
}

.flow-list {
  position: relative;
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0 0 0 118px;
  list-style: none;
}

.flow-list::before {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 44px;
  width: 3px;
  content: "";
  background: var(--blue);
}

.flow-list li {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 118px;
  padding: 20px 30px;
  background: var(--white);
  border: 1px solid #e3eaf6;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(18, 52, 118, 0.07);
}

.flow-list li::before {
  position: absolute;
  top: 50%;
  left: -46px;
  transform: translateY(-50%);
  width: 30px;
  height: 3px;
  content: "";
  background: var(--blue);
}

.flow-list li > span {
  position: absolute;
  left: -118px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-family: var(--latin);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  letter-spacing: 0.06em;
}

.flow-list li > span em {
  font-style: normal;
}

.flow-list li::after {
  position: absolute;
  top: 50%;
  left: -22px;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 50%;
  background: var(--blue);
}

.flow-list img {
  width: 74px;
  height: 74px;
  padding: 15px;
  background: var(--pale);
  border-radius: 50%;
  object-fit: contain;
}

.flow-list h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.4;
}

.flow-list h3 em {
  display: inline-flex;
  min-height: 30px;
  padding: 0 16px;
  align-items: center;
  color: var(--blue);
  background: var(--pale);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  font-style: normal;
}

.flow-list p {
  margin: 8px 0 0;
  color: #444f68;
  font-size: 1rem;
  font-weight: 500;
}

/* ---------- after ---------- */

.after {
  background: linear-gradient(180deg, #f6faff, #f3f8fe);
}

.after-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.after-grid article {
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  text-align: center;
}

.after-grid .pill {
  align-self: center;
  margin: 0 0 22px;
}

.after-grid h3 {
  margin: 0;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.34rem;
  font-weight: 700;
  line-height: 1.6;
}

.after-lead {
  margin-top: 14px !important;
  text-align: left;
  font-size: 0.96rem !important;
}

.after-grid ul {
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 500;
  color: #333d55;
}

.after-grid li {
  position: relative;
  padding: 9px 0 9px 34px;
  border-bottom: 1px solid #e7edf7;
}

.after-grid li::before {
  position: absolute;
  top: 0.85em;
  left: 0;
  width: 21px;
  height: 21px;
  content: "";
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.6 3.6L17.5 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px 15px no-repeat,
    var(--blue);
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto !important;
  padding: 16px 18px;
  color: #2b57c4 !important;
  background: #edf3fc;
  border-radius: 10px;
  font-size: 0.92rem !important;
  text-align: left;
  line-height: 1.75;
}

.notice svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 3px;
}

.choice {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 14px;
  margin-top: 16px;
  padding: 20px 16px 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: left;
}

.choice-no {
  position: absolute;
  top: -1px;
  left: -1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 26px;
  color: var(--white);
  background: var(--blue);
  border-radius: 10px 0 10px 0;
  font-family: var(--latin);
  font-size: 0.85rem;
  font-weight: 700;
}

.choice-icon {
  width: 60px;
  height: 60px;
  align-self: start;
  margin-top: 12px;
  padding: 12px;
  background: var(--pale);
  border-radius: 50%;
  object-fit: contain;
}

.choice b {
  color: var(--blue);
  font-size: 1.1rem;
}

.choice p {
  margin: 4px 0 0;
  font-size: 0.92rem !important;
}

.after-cta {
  display: grid;
  grid-template-columns: 250px 1fr 310px;
  gap: 34px;
  align-items: center;
  margin-top: 40px;
  padding: 32px 38px;
  border-radius: var(--radius);
  background: #e7f0fc;
}

.after-cta img {
  width: 250px;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
}

.after-cta h3 {
  margin: 0;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
}

.after-cta p {
  margin: 12px 0 0;
  color: #333d55;
  font-weight: 500;
}

.after-cta .button {
  min-height: 74px;
}

/* ---------- profile ---------- */

.profile {
  background: linear-gradient(180deg, #fdfdfd 0%, #f3f8fe 30%, #fff 68%);
}

.profile-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 84px;
}

.profile-card:first-of-type {
  margin-top: 0;
}

.profile-card.reverse {
  grid-template-columns: 1fr 380px;
}

.profile-card.reverse .profile-photo {
  order: 2;
}

.profile-photo {
  position: relative;
  aspect-ratio: 4 / 5;
}

.profile-photo::before {
  position: absolute;
  top: -30px;
  left: -34px;
  width: 150px;
  height: 150px;
  content: "";
  border-radius: 50%;
  background: var(--pale);
}

.profile-photo::after {
  position: absolute;
  right: -26px;
  bottom: -24px;
  width: 140px;
  height: 100px;
  content: "";
  background-image: radial-gradient(rgba(28, 78, 196, 0.28) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
}

.profile-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(18, 52, 118, 0.14);
}

.profile-lead {
  margin: 0 0 26px;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.88rem;
  font-weight: 700;
  line-height: 1.68;
  letter-spacing: 0.03em;
}

.profile-lead em {
  font-style: normal;
  padding: 0 2px;
  background: linear-gradient(transparent 64%, rgba(255, 214, 90, 0.55) 64%);
}

.profile-id {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-bottom: 18px;
  margin-bottom: 6px;
  border-bottom: 1px solid #dbe4f2;
}

.role-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  padding: 3px 12px;
  color: var(--white);
  background: var(--blue);
  border-radius: 5px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  vertical-align: 7px;
}

.profile-message {
  position: relative;
  margin-top: 26px;
  padding: 34px 36px 28px;
  background: #fffdf8;
  border: 1px solid #e6dcc4;
  border-radius: 6px;
  box-shadow: 0 14px 30px rgba(23, 30, 56, 0.08);
}

.profile-message::before {
  position: absolute;
  inset: 8px;
  content: "";
  border: 1px solid rgba(196, 178, 138, 0.45);
  border-radius: 3px;
  pointer-events: none;
}

.profile-message p {
  margin: 0 0 14px;
  color: #454f68;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 2.05;
  background-image: linear-gradient(180deg, transparent calc(2.05em - 1px), rgba(196, 178, 138, 0.4) calc(2.05em - 1px));
  background-size: 100% 2.05em;
}

.profile-message p:last-child {
  margin-bottom: 0;
}

.profile-message em {
  font-style: normal;
  font-weight: 700;
  color: #24304f;
  background: linear-gradient(transparent 66%, rgba(255, 214, 90, 0.5) 66%);
}

.profile-message .letter-sign {
  margin: 16px 0 0;
  background: none;
  color: #2c3653;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: right;
}

.profile-name {
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.registration {
  margin: 0;
  color: #7d879c;
  font-size: 0.88rem;
  font-weight: 500;
}

blockquote {
  position: relative;
  margin: 28px 0 0;
  padding: 26px 30px 26px 74px;
  border: 1px solid #e3eaf6;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(18, 52, 118, 0.06);
  color: #333d55;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 2;
}

blockquote::before {
  position: absolute;
  top: 18px;
  left: 22px;
  content: "“";
  color: var(--blue);
  font-family: var(--latin);
  font-size: 4.4rem;
  font-weight: 700;
  line-height: 1;
}


/* ---------- faq ---------- */

.faq {
  background:
    linear-gradient(180deg, #fbfdff 0, rgba(251, 253, 255, 0) 150px),
    linear-gradient(100deg, rgba(240, 246, 253, 0.98) 48%, rgba(240, 246, 253, 0.4) 78%, rgba(240, 246, 253, 0.25)),
    url("assets/pricing-desk.webp") top right / 640px auto no-repeat,
    #f0f6fd;
}

.faq-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.faq-col {
  display: grid;
  gap: 22px;
}

.faq details {
  overflow: hidden;
  border-radius: 12px;
}

.faq summary {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 4px;
  align-items: center;
  padding: 22px 24px 6px 20px;
  color: #1d2747;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.65;
  cursor: default;
  list-style: none;
  pointer-events: none;
}

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

.q-badge {
  align-self: start;
  color: var(--blue);
  font-family: var(--latin);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.q-badge i {
  margin-left: 6px;
  font-size: 0.92rem;
  font-style: normal;
  vertical-align: 2px;
}

.faq details p.faq-a {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: start;
  margin: 8px 20px 20px;
  padding: 16px 20px 16px 18px;
  background: #e9f1fc;
  border-radius: 10px;
  color: #22304f;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.85;
}

.a-badge {
  align-self: start;
  color: var(--red);
  font-family: var(--latin);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
}

/* ---------- contact ---------- */

.contact {
  background:
    radial-gradient(circle 180px at 5% 84%, rgba(28, 78, 196, 0.1) 0 99%, transparent 100%),
    linear-gradient(180deg, #f0f6fd 0%, #fff 20%, #f6faff 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 470px);
  gap: 56px;
  align-items: start;
}

.contact .section-heading h2 {
  font-size: 2.2rem;
}

.contact-copy {
  position: sticky;
  top: min(120px, calc(100vh - 620px));
}

.contact-benefits {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.contact-benefits li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 64px;
  padding: 10px 20px;
  color: var(--blue);
  background: var(--white);
  border: 1px solid #c9d8f0;
  border-radius: 10px;
  font-size: 1.02rem;
  font-weight: 700;
}

.contact-benefits img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.phone-box {
  display: block;
  padding: 20px 24px 22px;
  text-align: center;
  color: var(--blue);
  background: #fff;
  border: 1.5px solid var(--blue);
  border-radius: 12px;
}

.phone-lead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.02rem;
  font-weight: 700;
}

.phone-lead svg {
  width: 24px;
  height: 24px;
}

.phone-lead em {
  color: #3c465e;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 500;
}

.phone-box strong {
  display: block;
  margin-top: 6px;
  font-family: var(--latin);
  font-size: 3.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.contact-form {
  padding: 34px 36px 30px;
  background: #f7faff;
  border: 2px solid var(--blue);
  box-shadow: 0 18px 44px rgba(28, 78, 196, 0.16);
}

.contact-form h3 {
  margin: 0;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
}

.contact-form > p {
  margin: 8px 0 18px;
  color: #4c5872;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
}

.contact-form label,
.contact-form fieldset {
  display: block;
  margin: 16px 0 0;
  color: #1d2747;
  font-size: 0.96rem;
  font-weight: 700;
}

.contact-form label > span,
.contact-form legend span {
  color: #d02b2b;
  font-size: 0.78rem;
}

.contact-form label > span::before,
.contact-form legend span::before {
  content: "｜";
  margin: 0 2px;
  color: #c2cee2;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid #c6d3e8;
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}

.contact-form ::placeholder {
  color: #9aa6bc;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(28, 78, 196, 0.14);
  border-color: var(--blue);
}

.contact-form small {
  display: block;
  margin-top: 5px;
  color: #7b8499;
  font-size: 0.82rem;
  font-weight: 500;
}

.contact-form fieldset {
  padding: 0;
  border: 0;
}

.contact-form legend {
  margin-bottom: 8px;
  padding: 0;
}

.inline {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 4px 30px 0 0 !important;
  font-weight: 500 !important;
}

.inline input,
.agree input {
  width: auto;
  margin: 0;
  accent-color: var(--blue);
}

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

.agree {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 22px !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  line-height: 1.7;
}

.agree input {
  margin-top: 4px;
}

.agree > span {
  color: inherit;
  font-size: inherit;
}

.agree > span::before {
  content: none;
}

.agree a {
  color: var(--blue);
  font-style: normal;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.button.submit {
  width: 100%;
  margin-top: 22px;
}

.prototype-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 0;
  padding: 13px 16px;
  color: #2b57c4;
  background: #e7f0fc;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
}

.prototype-note svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.form-success {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f1f8ff;
}

.form-error {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #ead2d3;
  border-radius: 10px;
  background: #fdf3f3;
}

.form-error strong {
  display: block;
  color: var(--red);
  font-size: 1.05rem;
}

.form-error p {
  margin: 6px 0 0;
  text-align: left;
  font-size: 0.9rem;
}

/* ハニーポット(スパムbot対策のダミー項目)を視覚・操作上完全に隠す */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-success strong {
  display: block;
  color: var(--blue);
  font-size: 1.05rem;
}

.form-success p {
  margin: 6px 0 0;
  text-align: left;
  font-size: 0.9rem;
}

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 64px 0 70px;
  color: var(--white);
  background: linear-gradient(115deg, #123a9c 0%, #1c4ec4 55%, #2f63d8 100%);
}

.footer-map {
  position: absolute;
  top: 50%;
  right: -30px;
  width: 460px;
  transform: translateY(-50%);
  mix-blend-mode: screen;
  opacity: 0.45;
  pointer-events: none;
}

.footer-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px 80px;
  align-items: start;
}

.site-footer h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-footer p {
  margin: 6px 0;
  font-size: 1rem;
  font-weight: 500;
}

.footer-tel {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
}

.footer-tel small {
  font-size: 0.78em;
  font-weight: 500;
}

.copyright {
  display: block;
  margin-top: 28px;
  opacity: 0.85;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 16px 72px;
  align-content: start;
  padding-top: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-footer nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- mobile fixed cta ---------- */

.mobile-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 22px rgba(18, 52, 118, 0.12);
  transform: translateY(115%);
  transition: transform 0.35s ease;
}

body.header-fixed .mobile-cta {
  transform: translateY(0);
}

.mobile-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border: 1.5px solid var(--blue);
  border-radius: 10px;
  color: var(--blue);
  font-weight: 700;
}

.mobile-cta a:last-child {
  color: var(--white);
  background: var(--blue);
}

.mobile-cta svg {
  width: 24px;
  height: 24px;
}

/* ---------- responsive ---------- */

@media (max-width: 1280px) {
  .nav {
    gap: 20px;
  }

  .hero-title {
    font-size: 3.4rem;
  }

  .model-illust {
    height: 170px;
  }

  .model-card h4,
  .model-card ul {
    max-width: calc(100% - 180px);
  }
}

@media (max-width: 1200px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(78vw, 340px);
    padding: 96px 28px 28px;
    background: #fff;
    box-shadow: -14px 0 44px rgba(23, 30, 56, 0.18);
    font-size: 1.02rem;
    transform: translateX(105%);
    transition: transform 0.28s ease;
  }

  body.nav-open .nav {
    transform: translateX(0);
  }

  .nav a:not(.nav-cta) {
    padding: 15px 4px;
    border-bottom: 1px solid #e3e9f5;
  }

  .nav-cta {
    margin-top: 26px;
  }

  .hero {
    min-height: 0;
    padding: 112px 0 38vw;
    background: #fdfdfd url("assets/hero-bg-tablet.webp") center bottom / 100% auto no-repeat;
  }

  .hero-inner {
    padding-top: 0;
  }

  .hero::before,
  .hero::after {
    position: absolute;
    content: "";
    pointer-events: none;
    border-radius: 50%;
  }

  .hero::before {
    top: -90px;
    left: -60px;
    width: 250px;
    height: 250px;
    background: #e9f1fc;
  }

  .hero::after {
    top: 130px;
    right: -46px;
    width: 180px;
    height: 180px;
    background-image: radial-gradient(rgba(28, 78, 196, 0.25) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
  }
}

@media (max-width: 1080px) {
  .hero-inner {
    max-width: 760px;
  }

  .audit-day-photo {
    width: 70%;
    opacity: 0.4;
  }

  .photo-notice,
  .photo-support {
    opacity: 0.3;
  }

  .first-action .section-heading,
  .support .section-heading {
    min-height: 0;
  }

  .action-grid {
    margin-top: 0;
  }

  .case-grid,
  .price-grid,
  .consult-grid,
  .reason-grid,
  .after-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reason-grid article {
    margin-top: 46px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-grid article::before,
  .support-grid article::after {
    display: none;
  }

  .blue-cta,
  .after-cta,
  .promise-box,
  .stance-box,
  .contact-layout,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .profile-card,
  .profile-card.reverse {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .profile-card.reverse .profile-photo {
    order: 0;
  }

  .profile-photo {
    max-width: 420px;
    margin: 0 auto;
  }

  .blue-cta {
    margin-top: 80px;
    padding: 0 30px 30px;
    text-align: center;
  }

  .blue-cta img {
    position: relative;
    bottom: auto;
    left: auto;
    justify-self: center;
    width: auto;
    height: 260px;
    margin-top: -52px;
    margin-bottom: -4px;
    z-index: 1;
  }

  .blue-cta::before {
    top: -26px;
    bottom: auto;
    left: 50%;
    margin-left: -104px;
    width: 208px;
    height: 208px;
  }

  .blue-cta::after {
    display: none;
  }

  .contact-copy {
    position: static;
  }

  .footer-map {
    width: 320px;
    opacity: 0.28;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 76px;
  }

  .container {
    width: min(100% - 32px, 560px);
  }

  .audit-day-photo {
    inset: 0 0 auto 0;
    width: 100%;
    height: 250px;
    opacity: 0.75;
    -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent);
    mask-image: linear-gradient(180deg, #000 35%, transparent);
  }

  .audit-day-inner {
    padding-top: 190px;
  }

  .audit-day h2 {
    margin-bottom: 26px;
    font-size: 1.62rem;
  }

  .audit-day-story p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 2;
  }

  /* SP幅ではPC向けの改行位置が中途半端になるため自然な折り返しに任せる */
  .audit-day-story p:not(.audit-day-close) br {
    display: none;
  }

  .audit-day-story p.audit-day-close {
    margin-top: 28px;
    padding-top: 20px;
    font-size: 1.2rem;
  }

  .site-header {
    min-height: 64px;
    padding: 8px 6px 8px 16px;
  }

  .brand img {
    height: 34px;
  }

  .nav {
    font-size: 0.95rem;
  }

  .nav-cta {
    min-height: 46px;
    padding: 0 16px;
  }

  .section {
    padding: 64px 0;
  }

  .section-label {
    min-width: 190px;
    font-size: 0.95rem;
  }

  .section-heading,
  .section-heading.left {
    margin-bottom: 30px;
    text-align: center;
  }

  .section-heading.left .section-label {
    align-self: center;
  }

  .section-heading h2,
  .contact .section-heading h2 {
    font-size: 1.9rem;
    line-height: 1.6;
  }

  .section-heading p:not(.section-label) {
    font-size: 1rem;
  }

  /* 手動改行を解除して自然に折り返し、行を均等化（孤立行防止） */
  .section-heading h2 br,
  .after-grid h3 br,
  .message-band p br,
  .agree span br,
  .section-heading p:not(.section-label) br {
    display: none;
  }

  .section-heading h2,
  .after-grid h3 {
    text-wrap: balance;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 28px;
    background-image: url("assets/hero-bg-mobile.webp");
    background-position: right calc(-1 * min(13vw, 56px)) bottom;
    background-size: min(100%, 430px) auto;
  }

  .hero-inner {
    padding-top: 0;
    text-align: left;
  }

  .hero::before {
    width: 170px;
    height: 170px;
    top: -60px;
    left: -50px;
  }

  .hero::after {
    top: 90px;
    right: -60px;
    width: 140px;
    height: 140px;
  }

  .hero-kicker {
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    margin-bottom: 14px;
    padding-left: 15px;
    font-size: 1.1rem;
    text-align: left;
    background: linear-gradient(#1a3f9e, #1a3f9e) left top / 4px calc(100% - 25px) no-repeat;
  }

  .hero-kicker::after {
    width: 100%;
  }

  .hero-title {
    font-size: 2.15rem;
    line-height: 1.45;
  }

  .proof-list,
  .action-grid,
  .model-grid,
  .faq-grid,
  .consult-grid,
  .reason-grid,
  .case-grid,
  .price-grid,
  .after-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .proof-list {
    gap: 12px;
    margin: 18px 0;
  }

  .proof-list li {
    font-size: 0.96rem;
  }

  .proof-list svg {
    width: 25px;
    height: 25px;
    padding: 6px;
  }

  br.sp-only {
    display: inline;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-actions .button {
    width: min(250px, 74vw);
  }

  .button {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 0 18px;
    font-size: 1rem;
  }

  .photo-notice,
  .photo-support,
  .photo-price {
    display: none;
  }

  .action-grid .number-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .number-card {
    grid-template-columns: auto 1fr;
    padding: 20px;
  }

  .card-icon {
    grid-column: 1 / -1;
    justify-self: center;
    width: 72px;
    height: 72px;
  }

  .wide-cta {
    grid-template-columns: 1fr;
    padding: 26px 20px;
    text-align: center;
  }

  .wide-cta h3 {
    font-size: 1.5rem;
  }

  .cta-illust {
    width: 180px;
  }

  .note {
    text-align: left;
  }

  .support-head {
    gap: 16px;
  }

  .support-head span {
    font-size: 2rem;
    padding-right: 16px;
  }

  .support-head h3 {
    font-size: 1.15rem;
  }

  .support-body {
    align-items: flex-start;
  }

  .reason-grid article {
    margin-top: 52px;
  }

  .stance-box {
    padding: 26px 20px;
    text-align: center;
  }

  .stance-icon {
    justify-self: center;
  }

  .stance-head {
    flex-direction: column;
    align-items: center;
  }

  .message-band {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 20px;
  }

  .message-band p {
    padding-left: 0;
    border-left: 0;
    font-size: 1.1rem;
  }

  .case-card strong {
    min-height: 0;
  }

  .model-card {
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
  }

  .model-head {
    order: -2;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
  }

  .model-illust {
    order: -1;
    position: static;
    height: 150px;
    margin: 0 auto 10px;
  }

  .model-card h4,
  .model-card ul {
    max-width: none;
  }

  .before-after {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.1fr);
    gap: 6px;
    padding: 12px 10px;
    text-align: center;
  }

  .before-after small {
    padding: 0 8px;
    font-size: 0.72rem;
  }

  .before-after i {
    font-size: 0.74rem;
  }

  .before-after > div:first-child i {
    font-size: 0.7rem;
  }

  .before-after > div:first-child b {
    font-size: 1.02rem;
  }

  .before-after > div:last-child b {
    font-size: 1.12rem;
  }

  .before-after > div:first-child {
    padding: 8px 0;
  }

  .before-after > div:last-child {
    padding: 10px 6px 12px;
  }

  .before-after .cut-rate {
    font-size: 0.78rem;
  }

  .ba-arrow {
    width: 44px;
    height: 10px;
    background-size: 11px 10px;
  }

  .ba-arrow::after {
    border-left-width: 8px;
    border-top-width: 5px;
    border-bottom-width: 5px;
  }

  .blue-cta {
    padding: 0 20px 24px;
  }

  .promise-box {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 20px;
    text-align: center;
    justify-items: center;
  }

  .promise-box > img {
    justify-self: center;
  }

  .flow-list {
    padding-left: 0;
  }

  .flow-list::before,
  .flow-list li::before {
    display: none;
  }

  .flow-list li {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    text-align: center;
  }

  .flow-list li > span {
    position: static;
    transform: none;
    flex-direction: row;
    gap: 6px;
    justify-self: center;
    width: auto;
    height: auto;
    padding: 9px 22px;
    border-radius: 12px;
  }

  .flow-list img {
    justify-self: center;
  }

  .flow-list h3 {
    justify-content: center;
  }

  .after-cta {
    padding: 24px 20px;
    text-align: center;
  }

  .after-cta img {
    width: 100%;
    height: 170px;
  }

  .profile-name {
    font-size: 1.5rem;
  }

  .profile-lead {
    font-size: 1.34rem;
  }

  .profile-lead br {
    display: none;
  }

  .profile-message {
    padding: 26px 20px 22px;
  }

  .profile-message::before {
    inset: 6px;
  }

  .registration {
    text-align: center;
  }

  blockquote {
    padding: 56px 18px 20px;
  }

  blockquote::before {
    left: 50%;
    transform: translateX(-50%);
  }

  blockquote br {
    display: none;
  }

  .faq summary {
    grid-template-columns: 52px 1fr;
    padding: 18px 46px 6px 14px;
    font-size: 1rem;
  }

  .faq summary br {
    display: none;
  }

  .q-badge {
    font-size: 1.4rem;
  }

  .faq details p.faq-a {
    grid-template-columns: 38px 1fr;
    margin: 6px 14px 16px;
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .a-badge {
    font-size: 1.4rem;
  }

  .faq details p br {
    display: none;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .phone-box strong {
    font-size: 2.1rem;
  }

  .site-footer {
    padding-bottom: 100px;
  }

  .site-footer h2 {
    font-size: 1.5rem;
    white-space: nowrap;
  }

  .site-footer nav {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-map {
    display: none;
  }

  .mobile-cta {
    display: grid;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-heading h2,
  .contact .section-heading h2 {
    font-size: 1.66rem;
  }

  .number-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .number-card::before {
    display: none;
  }

  .number {
    justify-self: center;
  }

  .mobile-cta {
    gap: 8px;
    padding: 8px;
  }

  .mobile-cta a {
    min-height: 50px;
    font-size: 0.92rem;
  }
}

/* ---------- animations ---------- */

body.anim .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease;
}

body.anim .reveal.in {
  opacity: 1;
  transform: none;
}

body.anim .hero-kicker,
body.anim .hero-title,
body.anim .proof-list,
body.anim .hero-actions {
  animation: rise-in 0.55s ease-out both;
}

body.anim .hero-title {
  animation-delay: 0.1s;
}

body.anim .proof-list {
  animation-delay: 0.2s;
}

body.anim .hero-actions {
  animation-delay: 0.3s;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (hover: hover) {
  .case-card,
  .model-card,
  .price-card,
  .faq details {
    transition: box-shadow 0.3s ease;
  }

  .case-card:hover,
  .model-card:hover,
  .price-card:hover,
  .faq details:hover {
    box-shadow: 0 14px 32px rgba(18, 52, 118, 0.13);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.anim .reveal,
  body.anim .hero-kicker,
  body.anim .hero-title,
  body.anim .proof-list,
  body.anim .hero-actions {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .button:hover {
    transform: none;
  }
}
