@charset "UTF-8";

/* Compact service heroes shared by accounting and company setup. */
.p-acct .phead,
.p-setup .phead {
  position: relative;
  min-height: 524px;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  background: #061d38;
}

.p-acct .phead::before,
.p-setup .phead::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -2;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.008);
}

.p-acct .phead::before {
  background-image: url("../assets/accounting-hero-reference-v1.png");
  background-position: center 60%;
  filter: blur(1.5px);
}

.p-setup .phead::before {
  background-image: url("../assets/svc-setup.jpg");
  background-position: center 48%;
  filter: blur(.5px);
}

.p-acct .phead::after,
.p-setup .phead::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 21, 42, .95) 0%, rgba(4, 27, 51, .78) 48%, rgba(3, 21, 42, .48) 100%),
    linear-gradient(180deg, rgba(4, 24, 45, .14), rgba(2, 16, 33, .32));
}

.p-acct .phead > .container,
.p-setup .phead > .container {
  position: relative;
  width: min(calc(100% - 3rem), 1120px);
  max-width: 1120px;
  min-height: 524px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 74px 0 34px;
}

.p-acct .phead__crumb,
.p-setup .phead__crumb {
  position: absolute;
  top: 34px;
  left: 0;
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  line-height: 1.5;
}

.p-acct .phead__grid2,
.p-setup .phead__grid2,
.p-setup .phead__grid2:not(:has(.phead__fig)) {
  width: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 430px);
  align-items: center;
  gap: clamp(54px, 7vw, 92px);
}

.p-acct .phead__grid2 > div:first-child,
.p-setup .phead__grid2 > div:first-child {
  min-width: 0;
  transform: none;
}

.p-acct .service-hero__eyebrow,
.p-setup .setup-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
  color: #e8b944;
  font: 700 13px/1.5 var(--font-body);
  letter-spacing: .12em;
}

.p-acct .service-hero__eyebrow::after,
.p-setup .setup-hero__eyebrow::after {
  content: "";
  width: 34px;
  height: 2px;
  background: #d4a233;
}

.p-acct .phead h1,
.p-setup .phead h1 {
  max-width: none;
  margin: 0;
  padding: 0 0 24px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 4.5vw, 3.55rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0;
  white-space: normal;
}

.p-acct .phead h1::after,
.p-setup .phead h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 22px;
  background: #e8b944;
}

.p-acct .phead__lede,
.p-setup .phead__lede {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .94);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
}

.p-acct .phead__fig,
.p-setup .setup-package {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-width: 0;
  height: auto;
  min-height: 390px;
  align-self: center;
  justify-self: end;
  padding: 60px 30px 24px;
  color: #fff;
  border: 1.5px solid #d8a52b;
  border-radius: 10px;
  background: rgba(3, 24, 48, .88);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
  backdrop-filter: blur(3px);
  transform: none;
  text-align: left;
}

.p-acct .phead__ribbon,
.p-setup .setup-package__label {
  position: absolute;
  top: 0;
  left: 50%;
  width: max-content;
  min-width: 164px;
  margin: 0;
  padding: 11px 22px;
  transform: translate(-50%, -18%);
  color: #082341;
  background: #e5b443;
  border-radius: 5px;
  font: 700 15px/1.2 var(--font-body);
  text-align: center;
}

.p-acct .phead__price-title,
.p-setup .setup-package h2 {
  margin: 0 0 13px;
  color: #fff;
  font: 700 18px/1.6 var(--font-body);
  letter-spacing: 0;
  text-align: left;
}

.p-acct .phead__price-row,
.p-setup .setup-package__price {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 14px;
  margin: 0;
}

.p-acct .phead__num,
.p-setup .setup-package__price strong {
  color: #e8b944;
  font-family: var(--font-display);
  font-size: clamp(4rem, 5.5vw, 4.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.p-acct .phead__price-row small,
.p-setup .setup-package__price span {
  flex: none;
  margin: 0;
  color: #e8b944;
  font: 700 18px/1 var(--font-body);
  white-space: nowrap;
}

.p-acct .phead__promise,
.p-setup .setup-package__lead {
  margin: 16px 0 0;
  padding: 15px 0 0;
  color: rgba(255, 255, 255, .9);
  border-top: 1px solid rgba(255, 255, 255, .3);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.75;
  text-align: left;
}

.p-acct .service-hero__features,
.p-setup .setup-package ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 20px;
  margin: 18px 0 0;
  padding: 15px 0 17px; /* 2026-09-22: 上0だとチェック印（22px）が上の罫線に触れていた */
  border-bottom: 1px solid rgba(255, 255, 255, .24);
  list-style: none;
}

.p-acct .service-hero__features li,
.p-setup .setup-package li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, .94);
  font-size: 14px;
  line-height: 1.5;
}

.p-acct .service-hero__features li::before,
.p-setup .setup-package li::before {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: #e8b944;
  border: 1.5px solid #d8a52b;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
}

.p-acct .phead__figlabel,
.p-setup .setup-package__note {
  position: static;
  margin: 14px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, .7) !important;
  border: 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  opacity: 1;
}

.p-acct .phead__figlabel::before { content: none; }
.p-setup .setup-hero__actions,
.p-setup .setup-hero__proof,
.p-setup .setup-package__days { display: none; }

@media (max-width: 68rem) {
  .p-acct .phead > .container,
  .p-setup .phead > .container { width: min(calc(100% - 2.5rem), 960px); }

  .p-acct .phead__grid2,
  .p-setup .phead__grid2,
  .p-setup .phead__grid2:not(:has(.phead__fig)) {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 390px);
    gap: 42px;
  }

  .p-acct .phead h1,
  .p-setup .phead h1 { font-size: 2.65rem; }
}

@media (max-width: 52rem) {
  .p-acct .phead,
  .p-setup .phead,
  .p-acct .phead > .container,
  .p-setup .phead > .container { min-height: auto; }

  .p-acct .phead::before { background-position: 57% center; }
  .p-setup .phead::before { background-position: 62% center; }

  .p-acct .phead::after,
  .p-setup .phead::after {
    background: linear-gradient(180deg, rgba(3, 21, 42, .94), rgba(3, 21, 42, .82));
  }

  .p-acct .phead > .container,
  .p-setup .phead > .container {
    width: min(calc(100% - 2rem), 680px);
    padding: 68px 0 34px;
  }

  .p-acct .phead__crumb,
  .p-setup .phead__crumb {
    top: 24px;
    display: block;
    font-size: 11px;
  }

  .p-acct .phead__grid2,
  .p-setup .phead__grid2,
  .p-setup .phead__grid2:not(:has(.phead__fig)) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .p-acct .phead__grid2 > div:first-child { display: block; }

  .p-acct .service-hero__eyebrow,
  .p-setup .setup-hero__eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .p-acct .phead h1,
  .p-setup .phead h1 {
    max-width: 100%;
    padding-bottom: 18px;
    font-size: clamp(2rem, 9.5vw, 2.65rem);
    line-height: 1.35;
  }

  .p-acct .phead h1::after,
  .p-setup .phead h1::after { width: 40px; height: 3px; margin-top: 16px; }

  .p-acct .phead__lede,
  .p-setup .phead__lede { margin: 0; font-size: 13px; line-height: 1.85; }

  .p-acct .phead__fig,
  .p-setup .setup-package {
    justify-self: stretch;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 49px 20px 20px;
    border-radius: 8px;
  }

  .p-acct .phead__ribbon,
  .p-setup .setup-package__label {
    min-width: 148px;
    padding: 9px 18px;
    font-size: 13px;
  }

  .p-acct .phead__price-title,
  .p-setup .setup-package h2 { margin-bottom: 10px; font-size: 16px; line-height: 1.6; }

  .p-acct .phead__num,
  .p-setup .setup-package__price strong { font-size: clamp(3.65rem, 18vw, 4.4rem); }

  .p-acct .phead__price-row small,
  .p-setup .setup-package__price span { font-size: 15px; }

  .p-acct .phead__promise,
  .p-setup .setup-package__lead { margin-top: 13px; padding-top: 13px; font-size: 12px; }

  .p-acct .service-hero__features,
  .p-setup .setup-package ul { gap: 11px 14px; margin-top: 15px; padding-top: 12px; padding-bottom: 15px; }

  .p-acct .service-hero__features li,
  .p-setup .setup-package li { padding-left: 27px; font-size: 12px; }

  .p-acct .service-hero__features li::before,
  .p-setup .setup-package li::before { width: 20px; height: 20px; font-size: 11px; }

  .p-acct .phead__figlabel,
  .p-setup .setup-package__note { margin-top: 12px; font-size: 11px; }
}

@media (max-width: 23rem) {
  .p-acct .phead > .container,
  .p-setup .phead > .container { width: calc(100% - 1.5rem); }

  .p-acct .phead h1,
  .p-setup .phead h1 { font-size: 1.9rem; }

  .p-acct .phead__num,
  .p-setup .setup-package__price strong { font-size: 3.35rem; }

  .p-acct .service-hero__features,
  .p-setup .setup-package ul { grid-template-columns: minmax(0, 1fr); }
}
