:root {
  --navy: #001d4d;
  --navy-deep: #00143c;
  --yellow: #ffc51b;
  --yellow-soft: #fff5c4;
  --text: #071d49;
  --muted: #667085;
  --line: #d9dee8;
  --surface: #ffffff;
  --soft: #fafbfc;
  --cream: #fffaf0;
  --error: #c92d2d;
  --focus: #2f73e0;
  --shadow: 0 12px 32px rgb(0 29 77 / 9%);
  --radius: 18px;
  --page-width: 750px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  margin: 0;
  padding: 0 0 116px;
  background: #e8ebf1;
  color: var(--text);
  font-family:
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo,
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-break: strict;
  word-break: auto-phrase;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li,
summary {
  text-wrap: pretty;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-shell {
  width: min(100%, var(--page-width));
  margin-inline: auto;
  overflow: hidden;
  background: var(--surface);
}

.section {
  position: relative;
  padding: clamp(58px, 10vw, 80px) clamp(22px, 6vw, 48px);
  background: var(--surface);
}

.section--soft {
  background: var(--soft);
}

.section-heading {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 650px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading--center {
  text-align: center;
}

.section-label {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(15px, 4vw, 20px);
  font-weight: 900;
  letter-spacing: 0.16em;
}

.section-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 9vw, 52px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.015em;
}

.section-title span {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.section-title span::after {
  position: absolute;
  z-index: -1;
  right: -2px;
  bottom: 0.08em;
  left: -2px;
  height: 0.27em;
  border-radius: 2px;
  background: var(--yellow);
  content: "";
}

.section-title--with-triangle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.section-title--with-triangle > i {
  width: 0;
  height: 0;
  margin-left: 14px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 16px solid var(--yellow);
  transform: rotate(-8deg);
}

.section-lead {
  max-width: 620px;
  margin: 17px auto 0;
  color: var(--text);
  font-size: clamp(14px, 3.8vw, 18px);
  font-weight: 600;
  line-height: 1.85;
}

.campaign-chip {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  margin: 0 0 16px;
  padding: 7px 22px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: clamp(13px, 3.5vw, 17px);
  font-weight: 900;
}

.campaign-period {
  margin: 15px 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.cta-button,
.mobile-sticky-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 12px 14px 14px;
  border: 0;
  border-radius: 24px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgb(0 29 77 / 20%);
  transition: filter 160ms ease, transform 160ms ease;
}

.cta-button {
  margin-top: 26px;
  font-size: clamp(15px, 4.2vw, 20px);
}

.cta-button__microcopy {
  display: block;
  color: #fff;
  font-size: clamp(12px, 3.4vw, 17px);
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.45;
}

.cta-button__microcopy em {
  color: var(--yellow);
  font-style: normal;
  font-weight: 900;
}

.cta-button__action {
  display: grid;
  width: 100%;
  min-height: 66px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 24px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: inset 0 -2px 0 rgb(176 121 0 / 12%);
  color: var(--navy);
}

.cta-button__action strong {
  font-size: inherit;
  font-weight: 900;
  text-wrap: balance;
}

.cta-button__arrow {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.cta-button:hover,
.form-submit:hover,
.mobile-sticky-cta:hover,
.thanks-home:hover {
  filter: brightness(1.035);
  transform: translateY(-2px);
}

.cta-button:focus-visible,
.form-submit:focus-visible,
.mobile-sticky-cta:focus-visible,
.thanks-brand:focus-visible,
.thanks-home:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 4px solid rgb(47 115 224 / 25%);
  outline-offset: 3px;
}

.legal-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.legal-note p {
  margin: 5px 0;
}

/* First view */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #fff;
}

.hero__background {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.72;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 24px clamp(18px, 5vw, 42px) 46px;
}

.hero__logo {
  width: min(52vw, 340px);
  height: auto;
  margin: 0 auto 22px;
}

.hero__badge {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 8px 19px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: clamp(12px, 3.5vw, 18px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}

.hero__title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(23px, 6.5vw, 46px);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: 0.015em;
  text-align: center;
}

.hero__title strong {
  font-size: 1.32em;
  white-space: nowrap;
}

.hero__marker-line {
  position: relative;
  z-index: 0;
  display: inline-block;
  white-space: nowrap;
}

.hero__marker-line::after {
  position: absolute;
  z-index: -1;
  right: -1px;
  bottom: 0.02em;
  left: -1px;
  height: 0.36em;
  background: var(--yellow);
  content: "";
}

.hero__lead {
  margin: 17px 0 0;
  color: var(--text);
  font-size: clamp(13px, 3.6vw, 18px);
  font-weight: 700;
  line-height: 1.75;
  text-align: center;
}

.hero__visual {
  position: relative;
  height: clamp(410px, 118vw, 860px);
  margin: 6px -8px 0;
}

.hero__phone {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 50%;
  width: 67%;
  height: auto;
  transform: translateX(-50%);
}

.hero__stat {
  position: absolute;
  z-index: 2;
  width: 35%;
  height: auto;
  filter: drop-shadow(0 8px 15px rgb(0 29 77 / 12%));
}

.hero__stat--views { top: 25%; left: -1%; }
.hero__stat--retention { top: 59%; left: 1%; }
.hero__stat--comments { top: 28%; right: -2%; }
.hero__stat--likes { top: 61%; right: -1%; }

.hero__disclaimer {
  margin: 8px auto 22px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.hero__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 10px 5px 15px;
  border: 1px solid #e6e9ef;
  border-radius: 14px;
  background: rgb(255 255 255 / 85%);
  list-style: none;
  box-shadow: var(--shadow);
}

.hero__features li {
  display: grid;
  min-width: 0;
  place-items: center;
  align-content: end;
  gap: 2px;
  padding: 0 4px 5px;
  color: var(--navy);
  font-size: clamp(11px, 3vw, 15px);
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

.hero__features img {
  width: clamp(64px, 18vw, 104px);
  height: auto;
}

.hero__features span {
  min-height: 2.9em;
  display: grid;
  place-items: center;
}

.hero__features li + li {
  border-left: 1px solid var(--line);
}

/* Problem */
#problem .section-title {
  font-size: clamp(27px, 7.2vw, 48px);
}

.problem-list {
  display: grid;
  gap: 16px;
}

.problem-card {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 0;
  align-items: center;
  padding: 18px 17px;
  border: 1px solid #ebedf2;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.problem-card img {
  width: 100%;
  height: auto;
  padding-right: 16px;
  object-fit: contain;
}

.problem-card > div {
  min-width: 0;
  padding-left: 17px;
  border-left: 1px solid rgb(255 197 27 / 70%);
}

.number-badge {
  display: inline-grid;
  width: clamp(34px, 8vw, 42px);
  height: clamp(34px, 8vw, 42px);
  margin-bottom: 8px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
}

.problem-card h3,
.about-features h3,
.offer-features h3,
.process-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(16px, 4.3vw, 21px);
  font-weight: 900;
  line-height: 1.5;
}

.problem-card p,
.about-features p,
.offer-features p,
.process-card p {
  margin: 7px 0 0;
  font-size: clamp(13px, 3.45vw, 16px);
  font-weight: 600;
  line-height: 1.72;
}

.solution-panel {
  margin-top: 22px;
  padding: 20px 14px 17px;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  background: var(--cream);
}

.solution-panel h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.solution-panel h3::before,
.solution-panel h3::after {
  margin: 0 10px;
  color: var(--yellow);
  content: "／";
}

.solution-panel h3::before {
  content: "＼";
}

.solution-panel ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.solution-panel li {
  display: grid;
  min-width: 0;
  place-items: center;
  padding: 0 7px;
  color: var(--navy);
  font-size: clamp(10px, 2.8vw, 14px);
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.solution-panel li + li {
  border-left: 1px dotted #9aa4b5;
}

.solution-panel img {
  width: 62px;
  height: 62px;
  margin-bottom: 8px;
  object-fit: contain;
}

.solution-panel li:nth-child(2) img {
  width: 76px;
  height: 76px;
  margin: -7px 0 1px;
}

/* Pricing */
#pricing {
  padding: 27px clamp(22px, 6vw, 48px) 30px;
  background: #fff;
}

#pricing .pricing-heading {
  margin-bottom: 12px;
}

#pricing .pricing-heading::before {
  position: absolute;
  top: 63px;
  left: 50%;
  width: 134px;
  height: 8px;
  background: radial-gradient(circle, var(--yellow) 0 3px, transparent 3.3px) center / 22px 8px repeat-x;
  content: "";
  transform: translateX(-50%);
}

#pricing .campaign-chip {
  min-height: 43px;
  margin: 0 0 37px;
  padding: 7px 29px;
  font-size: clamp(14px, 2.85vw, 17px);
  line-height: 1.25;
}

#pricing .pricing-heading__campaign {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: clamp(14px, 3.35vw, 20px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

#pricing .section-title {
  font-size: clamp(38px, 9.72vw, 58px);
  line-height: 1.13;
  letter-spacing: 0.01em;
}

#pricing .campaign-period {
  display: table;
  margin: 7px auto 0;
  padding: 2px 8px;
  font-size: clamp(9px, 1.7vw, 10px);
  line-height: 1.4;
}

#pricing .pricing-list {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(93%, 488px);
  gap: 17px;
  margin-inline: auto;
}

#pricing .price-card {
  position: relative;
  padding: 18px 16px 13px;
  border: 1px solid #eceff3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 20px rgb(0 29 77 / 8%);
  text-align: center;
}

#pricing .price-card--recommended {
  border: 2px solid var(--yellow);
}

#pricing .price-card__recommend {
  display: table;
  margin: 2px auto 6px;
  padding: 2px 30px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-size: clamp(13px, 2.85vw, 17px);
  font-weight: 900;
  line-height: 1.3;
}

#pricing .price-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 6.7vw, 40px);
  line-height: 1.15;
  letter-spacing: 0.03em;
}

#pricing .price-card__audience {
  margin: 2px 0 8px;
  color: var(--navy);
  font-size: clamp(13px, 3.35vw, 20px);
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}

#pricing .price-card__label {
  display: inline-block;
  margin: 0;
  padding: 2px 14px;
  border-radius: 999px;
  background: #eeeef3;
  color: var(--navy);
  font-size: clamp(11px, 2.5vw, 15px);
  font-weight: 800;
  line-height: 1.3;
}

#pricing .price-card__regular-price,
#pricing .price-card__price {
  white-space: nowrap;
}

#pricing .price-card__regular-price {
  margin: 5px 0 0;
  color: var(--navy);
  line-height: 1;
  text-decoration-line: line-through;
  text-decoration-color: rgb(0 29 77 / 72%);
  text-decoration-thickness: 2px;
}

#pricing .price-card__regular-price strong {
  font-size: clamp(29px, 5.7vw, 34px);
  font-weight: 900;
  letter-spacing: 0.01em;
}

#pricing .price-card__regular-price span {
  margin-left: 3px;
  font-size: clamp(14px, 3vw, 18px);
  font-weight: 900;
}

#pricing .price-card__arrow {
  display: block;
  width: 0;
  height: 0;
  margin: 6px auto 7px;
  border-top: clamp(11px, 2.6vw, 15px) solid var(--navy);
  border-right: clamp(10px, 2.35vw, 14px) solid transparent;
  border-left: clamp(10px, 2.35vw, 14px) solid transparent;
}

#pricing .price-card__price {
  margin: 0;
  color: #c90e18;
  line-height: 1;
}

#pricing .price-card__price strong {
  font-size: clamp(40px, 9.22vw, 55px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

#pricing .price-card__price span {
  margin-left: 3px;
  font-size: clamp(15px, 3vw, 18px);
  font-weight: 900;
}

#pricing .price-card__tax {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: clamp(13px, 2.85vw, 17px);
  font-weight: 700;
  line-height: 1.3;
}

#pricing .feature-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: min(93%, 488px);
  margin: 20px auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  list-style: none;
}

#pricing .feature-grid li {
  display: grid;
  min-width: 0;
  min-height: clamp(125px, 23.45vw, 140px);
  place-items: center;
  align-content: center;
  padding: 9px 5px;
  color: var(--navy);
  font-size: clamp(12px, 2.85vw, 17px);
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

#pricing .feature-grid li:nth-child(even) { border-left: 1px solid var(--line); }
#pricing .feature-grid li:nth-child(n + 3) { border-top: 1px solid var(--line); }

#pricing .feature-grid img {
  width: auto;
  height: clamp(56px, 12.1vw, 72px);
  max-width: 95px;
  margin-bottom: 5px;
  object-fit: contain;
}

#pricing .legal-note {
  position: relative;
  z-index: 1;
  width: min(93%, 488px);
  margin: 16px auto 0;
  color: #526078;
  font-size: clamp(9px, 1.85vw, 11px);
  line-height: 1.65;
}

#pricing .pricing-decor {
  position: absolute;
  z-index: 0;
  display: block;
  pointer-events: none;
}

#pricing .pricing-decor--lines,
#pricing .pricing-decor--circle {
  inset: 0;
}

#pricing .pricing-decor--lines::before,
#pricing .pricing-decor--lines::after {
  position: absolute;
  width: 58px;
  height: 48px;
  background: repeating-linear-gradient(135deg, transparent 0 7px, #dfe3e9 7px 9px, transparent 9px 14px);
  content: "";
}

#pricing .pricing-decor--lines::before {
  top: 20px;
  left: 18px;
}

#pricing .pricing-decor--lines::after {
  top: 32%;
  right: 0;
}

#pricing .pricing-decor--dots {
  top: 20px;
  right: 18px;
  width: 72px;
  height: 72px;
  background: radial-gradient(circle, #abb3c0 0 1.2px, transparent 1.5px) 0 0 / 12px 12px;
}

#pricing .pricing-decor--triangle-left,
#pricing .pricing-decor--triangle-right {
  width: 22px;
  height: 22px;
  background: var(--yellow);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

#pricing .pricing-decor--triangle-left {
  top: 126px;
  left: clamp(22px, 6.7vw, 40px);
  transform: rotate(12deg);
}

#pricing .pricing-decor--triangle-right {
  top: 143px;
  right: clamp(18px, 4.2vw, 25px);
  transform: rotate(-5deg);
}

#pricing .pricing-decor--circle::before,
#pricing .pricing-decor--circle::after {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.5px solid #b8bec9;
  border-radius: 50%;
  content: "";
}

#pricing .pricing-decor--circle::before {
  top: 55px;
  left: clamp(70px, 15.4vw, 92px);
}

#pricing .pricing-decor--circle::after {
  top: 57%;
  left: 18px;
}

/* Process */
.process-list {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-card {
  --process-rail-x: 32px;
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 158px;
  grid-template-columns: 48px minmax(100px, 31%) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 19px 15px 19px 8px;
  border: 1px solid #ebedf2;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.process-card:not(:last-child)::before {
  position: absolute;
  z-index: 0;
  top: 52px;
  bottom: -16px;
  left: var(--process-rail-x);
  border-left: 2px dashed #c8cfda;
  content: "";
  pointer-events: none;
}

.process-card:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  bottom: -12px;
  left: calc(var(--process-rail-x) - 5px);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px #fff;
  content: "";
  pointer-events: none;
}

.process-card > * {
  position: relative;
  z-index: 1;
}

.process-card__number {
  display: grid;
  width: 48px;
  height: 48px;
  align-self: start;
  margin-top: -5px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 5px 12px rgb(0 29 77 / 20%);
}

.process-card img {
  width: 100%;
  height: auto;
  max-height: 132px;
  object-fit: contain;
}

.support-panel {
  margin-top: 26px;
  padding: 22px 9px 18px;
  border: 1px solid #e5ebf5;
  border-radius: 22px;
  background: linear-gradient(145deg, #f7faff, #edf3ff);
}

.support-panel h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(18px, 4.5vw, 24px);
  font-weight: 900;
  text-align: center;
}

.support-panel h3::before {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 50%;
  color: var(--navy);
  content: "✓";
  font-size: 16px;
  line-height: 1;
}

.support-panel ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-panel li {
  display: grid;
  min-width: 0;
  min-height: 130px;
  place-items: center;
  align-content: center;
  padding: 8px 5px;
  color: var(--navy);
  font-size: clamp(9px, 2.3vw, 13px);
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
}

.support-panel li + li {
  border-left: 1px solid #d6deeb;
}

.support-panel img {
  width: clamp(52px, 13vw, 76px);
  height: clamp(52px, 13vw, 76px);
  margin-bottom: 8px;
  object-fit: contain;
}

/* Works */
.works-list {
  display: grid;
  gap: 18px;
}

.work-card {
  overflow: hidden;
  border: 1px solid #e8ebf0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.work-card__visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9edf3;
}

.work-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.work-card__visual span {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgb(0 29 77 / 88%);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.work-card__body {
  padding: 18px;
}

.work-card__category {
  display: inline-block;
  margin: 0 0 7px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
}

.work-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
}

.work-card__body > p:last-child {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

/* Offer */
#offer .section-title {
  font-size: clamp(30px, 8.4vw, 50px);
}

.offer-panel {
  padding: 22px 18px 20px;
  border: 3px double #fff;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--navy), var(--navy-deep));
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.offer-panel__ribbon {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 22px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  clip-path: polygon(7% 0, 93% 0, 100% 50%, 93% 100%, 7% 100%, 0 50%);
}

.offer-panel__period {
  width: fit-content;
  margin: 0 auto 9px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.offer-panel h3 {
  margin: 0;
  font-size: 35px;
  letter-spacing: 0.04em;
}

.offer-panel__price {
  margin: 4px 0 0;
  color: var(--yellow);
  line-height: 1;
}

.offer-panel__price strong {
  font-size: clamp(50px, 14vw, 78px);
  letter-spacing: -0.045em;
}

.offer-panel__price span {
  margin-left: 5px;
  font-size: 21px;
  font-weight: 900;
}

.offer-panel__tax {
  margin: 8px 0 10px;
  font-size: 12px;
  font-weight: 700;
}

.offer-panel > p:last-of-type {
  margin: 0;
  font-weight: 800;
}

.offer-panel dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 18px 0 0;
  padding-top: 15px;
  border-top: 1px solid rgb(255 255 255 / 50%);
}

.offer-panel dl div + div {
  border-left: 1px solid rgb(255 255 255 / 45%);
}

.offer-panel dt {
  font-size: 13px;
  font-weight: 800;
}

.offer-panel dd {
  margin: 4px 0 0;
  color: var(--yellow);
  font-size: 18px;
  font-weight: 900;
}

.offer-features {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.offer-features article {
  display: grid;
  grid-template-columns: 27% 1fr;
  gap: 15px;
  align-items: center;
  padding: 17px;
  border: 1px solid #e9ecf1;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.offer-features img {
  width: 100%;
  max-height: 100px;
  object-fit: contain;
}

.offer-features span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0 0;
  padding: 14px 6px;
  border-radius: var(--radius);
  background: var(--cream);
  list-style: none;
}

.trust-strip li {
  display: grid;
  min-width: 0;
  place-items: center;
  padding: 4px 8px;
  color: var(--navy);
  font-size: clamp(10px, 2.8vw, 13px);
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.trust-strip li + li {
  border-left: 1px dotted #9aa4b5;
}

.trust-strip img {
  width: 52px;
  height: 52px;
  margin-bottom: 6px;
  object-fit: contain;
}

/* About */
.about-visual {
  margin: 0 0 23px;
  padding: 12px 8px 7px;
  border: 1px solid #eceff3;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fffdf8, var(--cream));
  box-shadow: var(--shadow);
}

.about-visual img {
  width: 100%;
  height: auto;
}

.about-features {
  overflow: hidden;
  border: 1px solid #ebedf2;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.about-features article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  padding: 19px 16px;
}

.about-features article + article {
  border-top: 1px dashed #c5cbd5;
}

.about-features article > span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  font-weight: 900;
  box-shadow: inset 0 -4px 0 rgb(255 197 27 / 28%);
}

.privacy-check a {
  color: #075fc8;
  text-underline-offset: 3px;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid #e7eaf0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.faq-item.is-animating {
  will-change: height;
}

.faq-item summary {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 14px;
  gap: 10px;
  align-items: center;
  padding: 17px 14px;
  color: var(--navy);
  cursor: pointer;
  font-size: clamp(15px, 4vw, 19px);
  font-weight: 900;
  line-height: 1.5;
  list-style: none;
  transition: background-color 220ms ease;
}

.faq-item summary > span:nth-child(2) {
  min-width: 0;
  word-break: auto-phrase;
}

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

.faq-q,
.faq-answer > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
}

.faq-item summary > i {
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--navy);
  border-bottom: 3px solid var(--navy);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 180ms ease;
}

.faq-item[open] summary {
  background: #fffcf3;
}

.faq-item[open] summary > i {
  transform: translateY(3px) rotate(225deg);
}

.faq-answer {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  margin: 0 14px;
  padding: 16px 0 18px;
  border-top: 1px dashed #bdc4d0;
  will-change: opacity, transform;
}

.faq-answer > span {
  background: var(--navy);
  color: #fff;
}

.faq-answer p {
  margin: 1px 0 0;
  font-size: clamp(14px, 3.4vw, 17px);
  font-weight: 600;
  line-height: 1.8;
  word-break: auto-phrase;
}

/* Contact */
#contact .section-title {
  font-size: clamp(30px, 7.6vw, 46px);
  line-height: 1.45;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.form-field {
  margin-bottom: 24px;
}

.form-field label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
}

.form-field label span,
.form-field label em {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.form-field label em {
  background: #e6e9ef;
  color: #41506e;
}

.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  min-height: 62px;
  padding: 14px 16px;
  border: 1.5px solid #cbd1db;
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgb(201 45 45 / 10%);
}

.form-error,
.form-status {
  min-height: 0;
  margin: 6px 0 0;
  color: var(--error);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.form-error:empty {
  display: none;
}

.privacy-check {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: flex-start;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.privacy-check input {
  width: 21px;
  height: 21px;
  margin: 0;
  accent-color: var(--navy);
}

.form-error--privacy {
  text-align: center;
}

.form-submit {
  display: grid;
  width: 100%;
  min-height: 68px;
  margin-top: 17px;
  place-items: center;
  padding: 14px 24px;
  border: 0;
  border-radius: 14px;
  background: var(--navy);
  box-shadow: 0 10px 24px rgb(0 29 77 / 18%);
  color: #fff;
  font-size: clamp(15px, 4.1vw, 20px);
  font-weight: 900;
  line-height: 1.4;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.form-submit:disabled {
  cursor: wait;
  filter: grayscale(0.3);
  opacity: 0.7;
}

.form-status {
  min-height: 0;
  margin-top: 12px;
  text-align: center;
}

.privacy-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
  text-align: center;
}

/* Thank-you page */
body:has(.thanks-page) {
  padding: 0;
  background: var(--navy-deep);
}

.thanks-shell {
  position: relative;
  width: min(100%, var(--page-width));
  min-height: 100svh;
  margin-inline: auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgb(255 197 27 / 24%), transparent 34%),
    linear-gradient(155deg, #fffdf7 0%, #f6f8fc 58%, #eef2f9 100%);
}

.thanks-page {
  position: relative;
  z-index: 0;
  display: flex;
  min-height: calc(100svh - 64px);
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 7vw, 54px) clamp(20px, 6vw, 48px) clamp(44px, 9vw, 72px);
}

.thanks-brand {
  position: relative;
  z-index: 2;
  display: block;
  width: min(52%, 236px);
  margin: 0 auto clamp(24px, 6vw, 42px);
  border-radius: 7px;
}

.thanks-brand img {
  width: 100%;
  height: auto;
}

.thanks-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 610px;
  margin-inline: auto;
  padding: clamp(30px, 7vw, 52px) clamp(20px, 6vw, 44px) clamp(26px, 7vw, 44px);
  border: 1px solid rgb(0 29 77 / 8%);
  border-radius: clamp(22px, 5vw, 32px);
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 24px 60px rgb(0 29 77 / 14%);
  text-align: center;
}

.thanks-check {
  display: grid;
  width: clamp(68px, 18vw, 92px);
  height: clamp(68px, 18vw, 92px);
  margin: 0 auto 17px;
  place-items: center;
  border: 5px solid var(--navy);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 10px 24px rgb(255 197 27 / 30%);
}

.thanks-check span {
  width: 40%;
  height: 23%;
  border-bottom: 5px solid var(--navy);
  border-left: 5px solid var(--navy);
  transform: translateY(-8%) rotate(-45deg);
}

.thanks-label {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: clamp(12px, 3vw, 15px);
  font-weight: 900;
  letter-spacing: 0.18em;
}

.thanks-card h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 8vw, 48px);
  font-weight: 900;
  line-height: 1.42;
}

.thanks-card h1 span {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.thanks-card h1 span::after {
  position: absolute;
  z-index: -1;
  right: -2px;
  bottom: 0.06em;
  left: -2px;
  height: 0.27em;
  border-radius: 2px;
  background: var(--yellow);
  content: "";
}

.thanks-lead {
  margin: 18px 0 0;
  font-size: clamp(13px, 3.5vw, 17px);
  font-weight: 650;
  line-height: 1.85;
}

.thanks-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr) 14px minmax(0, 1fr);
  align-items: center;
  margin: clamp(24px, 6vw, 36px) 0 0;
  padding: 17px 10px;
  border-radius: 16px;
  background: var(--cream);
}

.thanks-flow div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.thanks-flow b {
  color: var(--navy);
  font-size: clamp(15px, 4vw, 20px);
  font-weight: 900;
}

.thanks-flow span {
  color: var(--navy);
  font-size: clamp(10px, 2.7vw, 13px);
  font-weight: 800;
  line-height: 1.4;
}

.thanks-flow i {
  color: var(--yellow);
  font-size: 26px;
  font-style: normal;
  font-weight: 900;
}

.thanks-note {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: clamp(11px, 2.9vw, 13px);
  font-weight: 650;
  line-height: 1.7;
}

.thanks-home {
  display: grid;
  width: min(100%, 430px);
  min-height: 68px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: clamp(22px, 6vw, 34px) auto 0;
  padding: 12px 20px 12px 28px;
  border-radius: 999px;
  background: var(--navy);
  box-shadow: 0 12px 26px rgb(0 29 77 / 20%);
  color: #fff;
  font-size: clamp(15px, 4vw, 18px);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease;
}

.thanks-home i {
  color: var(--yellow);
  font-size: 30px;
  font-style: normal;
  line-height: 1;
}

.thanks-footer {
  min-height: 64px;
  padding: 22px 20px;
  background: var(--navy-deep);
  color: rgb(255 255 255 / 72%);
  font-size: 11px;
  text-align: center;
}

.thanks-decor {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.thanks-decor--circle {
  top: -64px;
  right: -72px;
  width: 190px;
  height: 190px;
  border: 28px solid rgb(255 197 27 / 32%);
  border-radius: 50%;
}

.thanks-decor--dots {
  bottom: 7%;
  left: 16px;
  width: 82px;
  height: 82px;
  background-image: radial-gradient(var(--navy) 2px, transparent 2.5px);
  background-size: 14px 14px;
  opacity: 0.12;
}

.thanks-decor--line {
  top: 29%;
  left: -38px;
  width: 150px;
  height: 14px;
  border-top: 3px solid rgb(0 29 77 / 11%);
  border-bottom: 3px solid rgb(0 29 77 / 11%);
  transform: rotate(-32deg);
}

/* Footer and temporary mobile CTA */
.site-footer {
  padding: 38px 24px 42px;
  background: var(--navy-deep);
  color: #fff;
  text-align: center;
}

.site-footer img {
  width: 210px;
  margin: 0 auto 17px;
  filter: brightness(0) invert(1);
}

.site-footer p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 18px 0;
  font-size: 12px;
}

.site-footer a {
  text-underline-offset: 3px;
}

.site-footer small {
  color: rgb(255 255 255 / 72%);
  font-size: 11px;
}

.mobile-sticky-cta {
  position: fixed;
  z-index: 1000;
  right: 14px;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 14px;
  gap: 4px;
  padding: 7px 9px 9px;
  border-radius: 20px;
  font-size: 15px;
}

.mobile-sticky-cta .cta-button__microcopy {
  font-size: 10px;
  line-height: 1.35;
}

.mobile-sticky-cta .cta-button__action {
  min-height: 50px;
  padding: 7px 14px 7px 18px;
}

.mobile-sticky-cta .cta-button__arrow {
  font-size: 27px;
}

/*
  PC版の本格デザインはここへ後から追加します。
  現時点ではSP版を中央表示するだけで、レイアウト自体は変更しません。
*/
@media (min-width: 900px) {
  body {
    padding: 28px 0 132px;
  }

  .site-shell {
    border-radius: 24px;
    box-shadow: 0 20px 60px rgb(0 29 77 / 16%);
  }

  .mobile-sticky-cta {
    right: auto;
    left: 50%;
    width: min(calc(100% - 32px), 690px);
    transform: translateX(-50%);
  }

  .mobile-sticky-cta:hover {
    transform: translateX(-50%) translateY(-2px);
  }
}

@media (max-width: 430px) {
  .section-lead br {
    display: none;
  }

  .problem-card {
    grid-template-columns: 40% 1fr;
    gap: 0;
    padding: 15px 13px;
  }

  .problem-card img {
    padding-right: 12px;
  }

  .problem-card > div {
    padding-left: 13px;
  }

  .process-card {
    --process-rail-x: 27px;
    min-height: 148px;
    grid-template-columns: 42px minmax(88px, 30%) minmax(0, 1fr);
    gap: 8px;
    padding: 16px 10px 16px 6px;
  }

  .process-card__number {
    width: 42px;
    height: 42px;
    font-size: 13px;
  }

  .process-card h3 {
    font-size: 15px;
  }

  .process-card p {
    font-size: 12px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
