:root {
  --ink: #111111;
  --muted: #666666;
  --line: #e6e6e6;
  --soft: #f8f8f8;
  --white: #ffffff;
  --accent: #a70f45;
  --accent-dark: #860b37;
  --max-width: 1160px;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.94);
}

.header-inner {
  width: min(calc(100% - 64px), var(--max-width));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo,
.footer-logo {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.global-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  color: #444444;
  font-weight: 600;
}

.global-nav a {
  position: relative;
  padding: 8px 0;
}

.global-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  min-height: 58px;
  padding: 15px 30px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(167, 15, 69, 0.18);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  box-shadow: 0 14px 34px rgba(167, 15, 69, 0.25);
  transform: translateY(-2px);
}

.button:focus-visible,
.global-nav a:focus-visible,
.logo:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(167, 15, 69, 0.25);
  outline-offset: 3px;
}

.button-small {
  min-height: 46px;
  padding: 10px 22px;
  font-size: 0.9rem;
}

.hero {
  min-height: 820px;
  padding: 150px 0 90px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(480px, 0.8fr);
  align-items: center;
  gap: 40px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(3rem, 4vw, 3.75rem);
  line-height: 1.28;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.hero-copy p {
  max-width: 600px;
  margin: 34px 0 42px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
  line-height: 1.8;
}

.hero-visual {
  width: min(100%, 560px);
  margin-left: auto;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.phone {
  position: absolute;
  top: 24px;
  right: 10px;
  width: 330px;
  height: 590px;
  border: 7px solid #151515;
  border-radius: 48px;
  background: #222222;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2), inset 0 0 0 2px #666666;
  transform: rotate(2deg);
}

.phone::before {
  position: absolute;
  top: 100px;
  right: -11px;
  width: 5px;
  height: 88px;
  border-radius: 0 4px 4px 0;
  background: #222222;
  content: "";
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 50%;
  width: 82px;
  height: 22px;
  border-radius: 999px;
  background: #111111;
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  padding: 62px 27px 34px;
  border-radius: 40px;
  background: var(--white);
  overflow: hidden;
}

.threads-mark {
  margin-bottom: 45px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.mock-profile {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
}

.mock-avatar {
  width: 42px;
  height: 42px;
  border: 1px solid #d7d7d7;
  border-radius: 50%;
  background: #eeeeee;
}

.mock-name,
.mock-copy span,
.mock-more {
  display: block;
  border-radius: 999px;
  background: #151515;
}

.mock-name {
  width: 116px;
  height: 10px;
}

.mock-more {
  width: 22px;
  height: 5px;
}

.mock-copy {
  margin: 26px 0;
  display: grid;
  gap: 12px;
}

.mock-copy span {
  height: 8px;
  background: #dedede;
}

.mock-copy span:nth-child(2) {
  width: 92%;
}

.mock-copy span:nth-child(3) {
  width: 78%;
}

.mock-copy span:nth-child(4) {
  width: 48%;
}

.mock-media {
  height: 155px;
  padding: 24px;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  background: #fafafa;
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.mock-media span {
  width: 33.333%;
  border-radius: 8px 8px 3px 3px;
  background: #dfdfdf;
}

.mock-media span:nth-child(1) {
  height: 36%;
}

.mock-media span:nth-child(2) {
  height: 65%;
}

.mock-media span:nth-child(3) {
  height: 92%;
  background: var(--accent);
}

.mock-actions {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  font-family: Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1;
}

.metric-card {
  position: absolute;
  z-index: 3;
  width: 270px;
  padding: 26px 26px 18px;
  border: 1px solid #ececec;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.metric-card-followers {
  top: -18px;
  left: -8px;
  transform: rotate(-2deg);
}

.metric-card-views {
  right: 176px;
  bottom: -20px;
  transform: rotate(2deg);
}

.metric-label {
  display: block;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.metric-card svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 18px;
  overflow: visible;
}

.chart-grid {
  fill: none;
  stroke: #eeeeee;
  stroke-width: 1;
}

.chart-line,
.chart-arrow {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.section {
  padding: 144px 0;
  scroll-margin-top: 40px;
}

.section:nth-of-type(odd) {
  background: var(--soft);
}

.section-inner.narrow {
  max-width: 900px;
}

.section h2 {
  margin: 0 0 64px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.35;
  letter-spacing: -0.035em;
  text-align: center;
}

.check-list,
.service-card ul,
.price-card ul,
.policy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  border-top: 1px solid var(--line);
}

.check-list li {
  position: relative;
  padding: 24px 20px 24px 50px;
  border-bottom: 1px solid var(--line);
  font-size: 1.08rem;
  font-weight: 600;
}

.check-list li::before {
  position: absolute;
  top: 26px;
  left: 14px;
  width: 18px;
  height: 10px;
  border-bottom: 3px solid var(--accent);
  border-left: 3px solid var(--accent);
  content: "";
  transform: rotate(-45deg);
}

.service-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 54px 62px;
  border-top: 5px solid var(--accent);
  background: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.service-card h3 {
  margin: 0 0 26px;
  font-size: 1.25rem;
}

.service-card li,
.price-card li,
.policy li {
  position: relative;
  padding-left: 1.5em;
}

.service-card li + li,
.price-card li + li,
.policy li + li {
  margin-top: 14px;
}

.service-card li::before,
.price-card li::before,
.policy li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  content: "—";
  font-weight: 800;
}

.service-meta {
  margin: 38px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: #444444;
  font-weight: 600;
}

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

.price-card {
  padding: 46px 42px 48px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
}

.price-card-accent {
  border-top: 5px solid var(--accent);
  padding-top: 42px;
}

.price-card h3 {
  margin: 0 0 34px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.note {
  max-width: 900px;
  margin: 42px auto 0;
  color: #444444;
  text-align: center;
}

.flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow-list li {
  position: relative;
  min-height: 96px;
  padding: 24px 18px 24px 92px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  counter-increment: flow;
  font-weight: 600;
}

.flow-list li:first-child {
  border-top: 1px solid var(--line);
}

.flow-list li::before {
  position: absolute;
  left: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  content: counter(flow);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.policy-lead {
  margin: 0 0 42px;
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 2;
}

.policy ul {
  padding: 34px 38px;
  border-left: 4px solid var(--accent);
  background: var(--white);
}

.contact {
  background: var(--ink) !important;
  color: var(--white);
}

.contact-inner {
  max-width: 900px;
}

.contact-form {
  padding: 56px;
  background: var(--white);
  color: var(--ink);
}

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

.contact-form label > span {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="url"],
.contact-form textarea {
  width: 100%;
  border: 1px solid #cccccc;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="url"] {
  height: 56px;
  padding: 10px 14px;
}

.contact-form textarea {
  min-height: 180px;
  padding: 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.contact-form input:user-invalid,
.contact-form textarea:user-invalid {
  border-color: var(--accent);
}

.field-wide {
  margin-top: 28px;
  display: block;
}

.consent {
  margin: 30px 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.consent input {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--accent);
}

.consent span {
  margin: 0 !important;
}

.submit-button {
  width: min(100%, 360px);
  margin: 0 auto;
  display: flex;
}

.site-footer {
  padding: 52px 0;
  border-top: 1px solid #2f2f2f;
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner small {
  color: #cccccc;
  font-size: 0.78rem;
}

@media (max-width: 1050px) {
  .header-inner {
    min-height: 84px;
  }

  .global-nav {
    justify-content: center;
  }

  .hero {
    padding-top: 150px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
    gap: 30px;
  }

  .phone {
    right: -20px;
    width: 300px;
    height: 550px;
  }

  .metric-card {
    width: 235px;
  }

  .metric-card-views {
    right: 140px;
  }
}

@media (max-width: 800px) {
  .header-inner,
  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(calc(100% - 40px), var(--max-width));
  }

  .header-inner {
    min-height: 76px;
  }

  .global-nav {
    width: 100%;
    padding: 0;
    justify-content: center;
    gap: 24px;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0.9rem;
    scrollbar-width: none;
  }

  .global-nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 132px 0 92px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1,
  .hero-copy p {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-visual {
    width: min(100%, 550px);
    margin: 0 auto;
  }

  .phone {
    right: 6%;
  }

  .metric-card-followers {
    left: 1%;
  }

  .metric-card-views {
    right: 37%;
  }

  .section {
    padding: 108px 0;
  }

  .section h2 {
    margin-bottom: 48px;
  }

  .pricing-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 42px 32px;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 16px;
  }

  .site-header {
    position: absolute;
  }

  .header-inner {
    width: calc(100% - 32px);
  }

  .global-nav {
    gap: 18px;
    font-size: 0.82rem;
  }

  .hero-inner,
  .section-inner,
  .footer-inner {
    width: calc(100% - 40px);
  }

  .hero {
    padding-top: 118px;
    padding-bottom: 76px;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.35;
  }

  .hero-copy p {
    margin-top: 26px;
    margin-bottom: 32px;
    font-size: 1rem;
  }

  .hero-visual {
    width: min(100%, 420px);
  }

  .phone {
    top: 34px;
    right: -22px;
    width: 245px;
    height: 465px;
    border-width: 6px;
    border-radius: 40px;
  }

  .phone-screen {
    padding: 52px 21px 28px;
    border-radius: 32px;
  }

  .threads-mark {
    margin-bottom: 28px;
    font-size: 2.8rem;
  }

  .mock-media {
    height: 118px;
    padding: 18px;
  }

  .metric-card {
    width: 190px;
    padding: 20px 20px 14px;
    border-radius: 19px;
  }

  .metric-card-followers {
    top: 0;
    left: -8px;
  }

  .metric-card-views {
    right: 34%;
    bottom: 0;
  }

  .metric-label {
    font-size: 0.9rem;
  }

  .metric-card svg {
    margin-top: 10px;
  }

  .section {
    padding: 88px 0;
  }

  .section h2 {
    margin-bottom: 40px;
    font-size: 2rem;
  }

  .check-list li {
    padding: 21px 4px 21px 38px;
  }

  .check-list li::before {
    top: 24px;
    left: 4px;
  }

  .service-card,
  .price-card,
  .contact-form {
    padding: 34px 24px;
  }

  .service-meta {
    line-height: 1.8;
  }

  .note {
    text-align: left;
  }

  .flow-list li {
    min-height: 112px;
    padding: 22px 4px 22px 70px;
  }

  .flow-list li::before {
    left: 4px;
  }

  .policy ul {
    padding: 28px 22px;
  }

  .contact-form {
    margin-right: -4px;
    margin-left: -4px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
