:root {
  --navy: #0f1e3d;
  --slate: #272e3e;
  --paper: #f7f3ea;
  --card: #ffffff;
  --ink: #0f1e3d;
  --text: #2b3143;
  --muted: #6b6f7a;
  --line: #e2dccd;
  --line-soft: #ece7da;
  --gold: #c9a861;
  --gold-deep: #b18e4e;
  --gold-text: #a8843f;
  --gold-light: #e7d2a3;
  --gold-dim: #6f6450;
  --on-navy: #f4ecdc;
  --on-navy-muted: #b9b8b6;
  --font-display: "Cormorant Garamond", serif;
  --font-mincho: "Shippori Mincho", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}

p,
h1,
h2,
h3,
ol,
ul {
  margin: 0;
}

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

em {
  font-style: normal;
}

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

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.sheet {
  display: grid;
  grid-template-columns: 460px minmax(0, 1fr);
  max-width: 1600px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 22px 44px;
  background: var(--navy);
  color: var(--on-navy);
  text-align: center;
}

.brand-emblem {
  width: 80px;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
  padding-left: 44px;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1;
}

.brand-logo-main {
  color: var(--on-navy);
  font-size: 62px;
  letter-spacing: 0.3em;
}

.brand-logo-with {
  color: var(--gold);
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  white-space: nowrap;
}

.brand-logo-version {
  font-size: 11px;
  font-style: normal;
}

.brand-acronym {
  margin-top: 10px;
  margin-right: 44px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
}

.brand-name {
  margin-top: 2px;
  margin-right: 44px;
  font-family: var(--font-mincho);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.55em;
}

.brand-catch {
  margin-top: 14px;
  color: var(--gold-light);
  font-family: var(--font-mincho);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.task {
  align-self: stretch;
  margin-top: 26px;
  padding: 14px 7px 12px;
  border: 1.5px solid var(--gold-dim);
}

.task-eyebrow {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.5em;
}

.task-title {
  margin-top: 2px;
  font-family: var(--font-mincho);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

.task-steps {
  margin-top: 8px;
  border-top: 1.5px solid var(--gold-dim);
  text-align: left;
}

.task-step {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 5px 10px 6px;
  border-bottom: 1.5px solid var(--gold-dim);
}

.task-step:last-child {
  border-bottom: 0;
}

.task-step-only {
  margin-top: 4px;
  background: var(--slate);
}

.task-step-only + .task-step:not(.task-step-only) {
  margin-top: 4px;
  border-top: 1.5px solid var(--gold-dim);
}

.task-num {
  align-self: flex-start;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
}

.task-body {
  flex: 1;
}

.task-step-title {
  font-family: var(--font-mincho);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.6;
}

.task-step-text {
  color: var(--on-navy-muted);
  font-size: 12px;
  line-height: 1.5;
}

.task-chip {
  padding: 1px 7px;
  border: 1.5px solid var(--gold);
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.task-note {
  margin-top: 6px;
  padding-left: 8px;
  color: var(--on-navy-muted);
  font-size: 11px;
  text-align: left;
}

.offer {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 15px 24px 18px;
}

.recruit,
.limited {
  background: var(--navy);
  color: var(--on-navy);
  text-align: center;
}

.recruit {
  padding: 14px 20px 10px;
}

.recruit-title {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mincho);
  font-weight: 800;
  line-height: 1.2;
}

.recruit-tag {
  padding: 3px 16px;
  background: var(--gold);
  color: var(--navy);
  font-size: 21px;
  letter-spacing: 0.15em;
}

.recruit-main {
  font-size: 30px;
  letter-spacing: 0.02em;
}

.recruit-count {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
}

.recruit-deadline {
  padding: 3px 10px;
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.recruit-text {
  margin-top: 8px;
  color: var(--on-navy-muted);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.limited {
  padding: 10px 20px 6px;
}

.limited-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  align-items: center;
  justify-content: center;
}

.limited-label {
  padding-right: 20px;
  margin-right: 20px;
  border-right: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.6em;
}

.limited-text {
  color: var(--gold-light);
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 800;
}

.limited-free {
  color: var(--on-navy);
  font-size: 25px;
}

.limited-zero {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 32px;
  font-style: italic;
  font-weight: 500;
}

.limited-note {
  color: var(--on-navy-muted);
  font-size: 11px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 10px;
}

.plan {
  position: relative;
  padding: 12px 10px 8px;
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--text);
  text-align: center;
}

.plan-vip {
  border: 3px solid var(--gold-deep);
}

.plan-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  padding: 1px 12px;
  background: var(--navy);
  color: var(--on-navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transform: translateX(-50%);
}

.plan-name {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
}

.plan-vip .plan-name {
  color: var(--gold-text);
}

.plan-kana {
  margin-left: 4px;
  color: var(--text);
  font-family: var(--font-mincho);
  font-size: 11px;
  letter-spacing: 0.3em;
}

.plan-label {
  font-size: 11.5px;
}

.plan-price {
  margin-top: 2px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}

.plan-vip .plan-price {
  color: var(--gold-text);
}

.plan-unit {
  margin-left: 2px;
  color: var(--ink);
  font-family: var(--font-mincho);
  font-size: 13px;
  font-weight: 700;
}

.plan-tax,
.plan-later {
  font-size: 11.5px;
}

.plan-tax {
  margin-top: 2px;
  color: var(--muted);
}

.plan-later strong {
  font-weight: 700;
}

.plan-result {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  align-items: baseline;
  justify-content: center;
  padding-top: 4px;
  margin-top: 6px;
  border-top: 1.5px solid var(--line-soft);
}

.plan-result-label {
  font-size: 11.5px;
}

.plan-result-value {
  color: var(--ink);
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 700;
}

.plan-vip .plan-result-value {
  color: var(--gold-text);
}

.bottom {
  display: grid;
  grid-template-columns: minmax(0, 833fr) minmax(0, 514fr);
  gap: 15px;
}

.estimate {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 7px;
  padding: 18px 20px 16px;
  outline: 2px solid var(--gold);
  outline-offset: 6px;
  background: var(--navy);
  color: var(--on-navy);
}

.estimate-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1.5px dashed var(--gold-dim);
}

.estimate-eyebrow {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5em;
}

.estimate-eyebrow-ja {
  margin-left: 0.6em;
  font-family: var(--font-mincho);
  letter-spacing: 0.3em;
}

.estimate-title {
  font-family: var(--font-mincho);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.6;
}

.estimate-sub {
  font-size: 12px;
}

.estimate-amount {
  display: flex;
  gap: 18px;
  align-items: center;
  font-family: var(--font-mincho);
  font-weight: 700;
  line-height: 1;
}

.estimate-approx {
  font-size: 20px;
}

.estimate-num {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 82px;
  font-weight: 500;
}

.estimate-unit {
  font-size: 22px;
}

.estimate-formula {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.55;
}

.estimate-formula:first-of-type {
  margin-top: 8px;
}

.estimate-formula + .estimate-formula {
  margin-top: 0;
}

.estimate-formula strong {
  font-weight: 700;
}

.estimate-total {
  color: var(--gold-light);
}

.estimate-disclaimer {
  color: var(--on-navy-muted);
  font-size: 15.5px;
  line-height: 1.5;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  background: var(--card);
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 12px;
  border-right: 1.5px solid var(--line);
}

.contact-label {
  color: var(--gold-text);
  font-family: var(--font-mincho);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.contact-group {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.contact-group em {
  color: var(--gold-text);
  font-style: italic;
  white-space: nowrap;
}

.contact-company {
  color: var(--ink);
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 700;
}

.contact-company-en,
.footer-copy-en {
  letter-spacing: 0.25em;
}

.contact-call {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
}

.contact-tel {
  padding-right: 12px;
  border-right: 1.5px solid var(--gold);
  color: var(--ink);
  font-family: var(--font-mincho);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.contact-tel:hover {
  color: var(--gold-text);
}

.contact-emblem {
  width: 60px;
  height: auto;
}

.contact-person {
  margin-top: 4px;
  font-size: 11.5px;
}

.contact-qrs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  padding-left: 12px;
}

.contact-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.contact-qr img {
  width: 82px;
  height: 82px;
  image-rendering: pixelated;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: -4px;
}

.footer-terms {
  color: var(--text);
  font-size: 13px;
}

.footer-credit {
  margin-left: 1.5em;
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
}

.footer-copy {
  color: var(--gold-text);
  font-family: var(--font-mincho);
  font-size: 14px;
  text-align: right;
}

@media (width <= 1280px) {
  .sheet {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand {
    padding: 40px 24px;
  }

  .task {
    align-self: center;
    width: min(100%, 480px);
  }
}

@media (width <= 900px) {
  .plans,
  .bottom {
    grid-template-columns: minmax(0, 1fr);
  }

  .plans {
    gap: 30px;
  }

  .plan-badge {
    top: -22px;
  }
}

@media (width <= 600px) {
  .brand {
    padding: 32px 16px;
  }

  .brand-logo {
    padding-left: 0;
  }

  .brand-logo-main {
    font-size: 46px;
    letter-spacing: 0.2em;
  }

  .brand-logo-with {
    font-size: 16px;
  }

  .brand-acronym,
  .brand-name {
    margin-right: 0;
  }

  .task-step {
    padding-inline: 8px;
    gap: 10px;
  }

  .offer {
    padding: 16px 16px 24px;
  }

  .recruit,
  .limited {
    padding-inline: 12px;
  }

  .recruit-main {
    font-size: 24px;
  }

  .recruit-count {
    font-size: 32px;
  }

  .recruit-text {
    letter-spacing: 0.04em;
  }

  .limited-text {
    font-size: 16px;
  }

  .limited-free {
    font-size: 22px;
  }

  .limited-label {
    flex-basis: 100%;
    padding-right: 0;
    margin-right: 0;
    border-right: 0;
  }

  .estimate {
    padding: 16px;
  }

  .estimate-amount {
    gap: 12px;
  }

  .estimate-num {
    font-size: 64px;
  }

  .estimate-disclaimer {
    font-size: 14px;
  }

  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-info {
    padding: 0 0 12px;
    border-right: 0;
    border-bottom: 1.5px solid var(--line);
  }

  .contact-qrs {
    flex-direction: row;
    justify-content: space-around;
    padding: 12px 0 0;
  }

  .footer-credit {
    display: block;
    margin-left: 0;
  }
}
