/*
Theme Name: Cheerz
Theme URI: https://cheerz.co.jp/
Author: Cheerz
Description: 株式会社チアーズのコーポレートサイト用テーマ
Version: 0.1.0
Text Domain: cheerz
*/

:root {
  --orange: #ff5a00;
  --orange-dark: #df4300;
  --ink: #161616;
  --muted: #666;
  --line: #e8e4df;
  --paper: #fffaf5;
  --white: #fff;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(22, 22, 22, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  min-height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 24px;
}

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

.brand-logo {
  width: 178px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-lines::before {
  top: -7px;
}

.menu-toggle-lines::after {
  top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  transform: translateY(7px) rotate(90deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  opacity: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #333;
  font-size: 14px;
  font-weight: 700;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
  line-height: 1;
  box-shadow: 5px 5px 0 var(--orange);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-cta:hover,
.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--orange);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(255, 90, 0, 0.2);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 380px;
  height: 380px;
  border: 26px solid rgba(255, 90, 0, 0.13);
  border-radius: 50%;
  animation: cheerz-pulse 5.8s ease-in-out infinite;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  max-width: var(--max);
  min-height: 640px;
  margin: 0 auto;
  padding: 72px 24px;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 900;
}

.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin: 0;
  color: #333;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 22px 0 0;
  padding: 0;
  color: #444;
  font-size: 14px;
  font-weight: 800;
  list-style: none;
}

.hero-note li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-note li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.hero-card {
  position: relative;
  padding: 30px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 12px 12px 0 var(--orange);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 15px 15px 0 var(--orange);
}

.hero-card h2 {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.35;
}

.axis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.axis-item {
  min-height: 130px;
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.axis-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-dark);
  font-size: 24px;
  line-height: 1;
}

.axis-item span {
  color: #333;
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: 86px 24px;
}

.section.alt {
  background: var(--paper);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.sub-hero {
  padding: 86px 24px 76px;
  background: var(--paper);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: #555;
  font-size: 13px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--orange-dark);
}

.breadcrumb a::after {
  content: "/";
  margin-left: 8px;
  color: #999;
}

.sub-hero h1 {
  max-width: 860px;
  margin: 22px 0 20px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.08;
}

.sub-hero p:not(.eyebrow) {
  max-width: 820px;
  margin: 0;
  color: #333;
  font-size: 18px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.detail-card {
  padding: 28px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 8px 8px 0 rgba(255, 90, 0, 0.16);
}

.detail-card h2 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.25;
}

.check-list,
.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: #333;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  counter-reset: process;
}

.process-list li {
  min-height: 132px;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  counter-increment: process;
  font-weight: 800;
}

.process-list li::before {
  content: "STEP " counter(process);
  display: block;
  margin-bottom: 12px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 22px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.4;
}

.faq-item p {
  margin: 0;
  color: #444;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.scene-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 6px 6px 0 rgba(255, 90, 0, 0.14);
}

.scene-label {
  width: fit-content;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 900;
}

.scene-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
}

.scene-card p:last-child {
  margin: 0;
  color: #444;
}

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

.case-card {
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 90, 0, 0.42);
  box-shadow: 0 10px 26px rgba(22, 22, 22, 0.06);
}

.case-label {
  width: fit-content;
  margin: 0 0 12px;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--white);
  background: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.case-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.35;
}

.case-card h3 a {
  text-decoration: none;
}

.case-card h3 a:hover {
  color: var(--orange-dark);
}

.case-card p:last-child {
  margin: 0;
  color: #444;
}

.narrow-content {
  max-width: 860px;
}

.entry-content {
  font-size: 18px;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 34px;
  line-height: 1.35;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  color: #333;
}

.entry-content a {
  color: var(--orange-dark);
  font-weight: 900;
}

.company-table {
  margin: 0;
  border-top: 2px solid var(--ink);
}

.company-table div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  font-weight: 900;
}

.company-table dd {
  margin: 0;
  color: #333;
}

.contact-panel {
  padding: 28px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 8px 8px 0 rgba(255, 90, 0, 0.16);
}

.contact-placeholder {
  color: #444;
}

.contact-placeholder p {
  margin: 0;
}

.contact-placeholder .button {
  margin-top: 18px;
}

.contact-placeholder p + p {
  margin-top: 8px;
}

.price-link-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.price-link-card,
.pricing-card {
  display: block;
  padding: 26px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 8px 8px 0 rgba(255, 90, 0, 0.16);
}

.price-link-card {
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.price-link-card:hover {
  transform: translate(2px, 2px);
  box-shadow: 5px 5px 0 rgba(255, 90, 0, 0.26);
}

.price-link-card span,
.pricing-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-link-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.35;
}

.price-link-card small {
  display: block;
  color: #444;
  font-size: 15px;
  line-height: 1.7;
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-card.featured {
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--orange);
}

.pricing-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.25;
}

.pricing-card p {
  color: #444;
}

.pricing-card .pricing-price {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
}

.plan-list {
  display: grid;
  gap: 24px;
}

.plan-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) 1fr;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 10px 10px 0 rgba(255, 90, 0, 0.18);
}

.plan-card.featured {
  border-color: var(--orange);
  box-shadow: 12px 12px 0 var(--ink);
}

.plan-head {
  padding: 28px;
  background: var(--ink);
  color: var(--white);
}

.plan-card.featured .plan-head {
  background: var(--orange);
  color: var(--white);
}

.plan-head h2 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.25;
}

.plan-head .pricing-price {
  margin: 0;
  color: var(--white);
  font-size: 38px;
}

.plan-head .pricing-kicker {
  color: inherit;
  opacity: 0.82;
}

.plan-details {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 10px 28px;
}

.plan-details div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.plan-details div:last-child {
  border-bottom: 0;
}

.plan-details dt {
  color: var(--orange-dark);
  font-weight: 900;
}

.plan-details dd {
  margin: 0;
  color: #333;
  line-height: 1.65;
}

.pricing-table-wrap {
  overflow-x: auto;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 8px 8px 0 rgba(255, 90, 0, 0.16);
}

.pricing-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.pricing-table th:last-child,
.pricing-table td:last-child {
  border-right: 0;
}

.pricing-table tr:last-child th,
.pricing-table tr:last-child td {
  border-bottom: 0;
}

.pricing-table thead th {
  position: sticky;
  top: 0;
  background: var(--ink);
  color: var(--white);
  font-size: 17px;
  line-height: 1.45;
  z-index: 1;
}

.pricing-table tbody th {
  width: 150px;
  background: var(--paper);
  font-weight: 900;
}

.pricing-table td {
  color: #333;
  line-height: 1.65;
}

.pricing-table .price-row td {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
}

.pricing-table .price-row td strong {
  display: inline-block;
  border-bottom: 4px solid var(--orange);
}

.contact-panel .wpcf7 {
  max-width: 860px;
  margin: 0 auto;
}

.contact-panel .wpcf7-form {
  display: grid;
  gap: 22px;
}

.contact-panel .wpcf7 p,
.contact-panel .form-group {
  margin: 0;
}

.contact-panel .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.contact-panel label,
.contact-panel .form-group > label {
  display: block;
  color: #222;
  font-weight: 900;
  line-height: 1.5;
}

.contact-panel .required {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  line-height: 1.4;
  vertical-align: 2px;
}

.contact-panel .wpcf7 input[type="text"],
.contact-panel .wpcf7 input[type="email"],
.contact-panel .wpcf7 input[type="tel"],
.contact-panel .wpcf7 select,
.contact-panel .wpcf7 textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  border: 2px solid #d8d2cc;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
  box-shadow: none;
  appearance: auto;
}

.contact-panel .wpcf7 select {
  max-width: 100%;
  background-color: var(--white);
}

.contact-panel .wpcf7 textarea {
  min-height: 190px;
  resize: vertical;
}

.contact-panel .wpcf7 input:focus,
.contact-panel .wpcf7 select:focus,
.contact-panel .wpcf7 textarea:focus {
  border-color: var(--orange);
  outline: 3px solid rgba(255, 90, 0, 0.18);
  outline-offset: 1px;
}

.contact-panel .wpcf7-list-item {
  margin: 0;
}

.contact-panel .form-privacy {
  margin: 4px 0 2px;
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  font-weight: 700;
}

.contact-panel .form-privacy label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700;
}

.contact-panel .wpcf7 input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 5px;
  accent-color: var(--orange);
}

.contact-panel .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #c72a00;
  font-size: 14px;
  font-weight: 700;
}

.contact-panel .wpcf7-response-output {
  margin: 22px 0 0;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  font-weight: 700;
}

.contact-panel .wpcf7 form.invalid .wpcf7-response-output,
.contact-panel .wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: #c72a00;
}

.contact-panel .wpcf7 form.sent .wpcf7-response-output {
  border-color: #16803a;
}

.contact-panel .form-submit {
  margin-top: 4px;
}

.contact-panel .wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 180px;
  padding: 15px 32px;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 5px 5px 0 var(--orange);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  line-height: 1;
}

.contact-panel .wpcf7 input[type="submit"]:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--orange);
}

.contact-panel .wpcf7-spinner {
  margin-left: 16px;
}

.trust-strip {
  padding: 26px 24px;
  border-top: 1px solid rgba(22, 22, 22, 0.08);
  border-bottom: 1px solid rgba(22, 22, 22, 0.08);
  background: var(--white);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}

.trust-link {
  max-width: var(--max);
  margin: 16px auto 0;
  text-align: right;
}

.trust-link a {
  color: var(--orange-dark);
  font-weight: 900;
}

.trust-item {
  min-height: 92px;
  padding: 16px;
  border-left: 4px solid var(--orange);
  background: var(--paper);
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 1.35;
}

.trust-item span {
  color: #555;
  font-size: 13px;
  font-weight: 700;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 900;
}

.section-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-text {
  margin: 0;
  color: #333;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  min-height: 100%;
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card.emphasis {
  border-color: var(--ink);
  box-shadow: 8px 8px 0 rgba(255, 90, 0, 0.18);
}

.card.emphasis:hover,
.solution:hover,
.product:hover,
.flow-step:hover {
  transform: translateY(-3px);
}

.card.emphasis:hover {
  border-color: var(--orange);
  box-shadow: 8px 12px 0 rgba(255, 90, 0, 0.22);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.35;
}

.card p {
  margin: 0;
  color: #444;
}

.card-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--orange-dark);
  font-weight: 900;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 800;
}

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

.solution {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.solution:hover {
  border-color: rgba(255, 90, 0, 0.42);
  box-shadow: 0 10px 26px rgba(22, 22, 22, 0.06);
}

.solution b {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-dark);
}

.solution p {
  margin: 0;
}

.solution div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.solution div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.product {
  padding: 28px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product:hover {
  box-shadow: 8px 8px 0 rgba(255, 90, 0, 0.16);
}

.product-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.product-name h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.product-badge {
  display: inline-flex;
  flex: none;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--white);
  background: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.product-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--orange-dark);
  font-weight: 900;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  counter-reset: flow;
}

.flow-step {
  position: relative;
  min-height: 128px;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  counter-increment: flow;
  transition: transform 180ms ease, background-color 180ms ease;
}

.flow-step:hover {
  background: var(--paper);
}

.flow-step::before {
  content: counter(flow, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 900;
}

.flow-step strong {
  display: block;
  font-size: 18px;
}

.flow-step span {
  display: block;
  margin-top: 8px;
  color: #444;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.cta-section {
  color: var(--white);
  background: var(--ink);
}

.cta-section .section-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.cta-section .section-title,
.cta-section .section-text {
  color: var(--white);
}

.site-footer {
  padding: 34px 24px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: var(--max);
  margin: 0 auto;
  gap: 24px;
  color: #555;
  font-size: 13px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
  font-weight: 800;
}

.footer-nav a {
  color: #444;
}

.footer-nav a:hover {
  color: var(--orange-dark);
}

.policy-content {
  max-width: 860px;
}

.policy-content h2 {
  margin: 34px 0 10px;
  font-size: 26px;
  line-height: 1.35;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p,
.policy-content li {
  color: #333;
}

.form-note {
  margin: 18px 0 0;
  color: #444;
  font-size: 14px;
  font-weight: 700;
}

.form-note a {
  color: var(--orange-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes cheerz-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.04);
    opacity: 0.72;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px;
    border: 2px solid var(--ink);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 8px 8px 0 rgba(255, 90, 0, 0.22);
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 10px;
    border-radius: 6px;
  }

  .nav a:hover {
    background: var(--paper);
  }

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

  .hero-inner,
  .section-head,
  .cta-section .section-inner,
  .detail-layout,
  .company-table div {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 54px;
  }

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

  .solution-list,
  .scene-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .flow,
  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .trust-items {
    grid-template-columns: 1fr 1fr;
  }

  .trust-link {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .header-inner {
    min-height: 64px;
    padding: 0 16px;
  }

  .brand-logo {
    width: 136px;
    max-height: 48px;
  }

  .section {
    padding: 64px 18px;
  }

  .hero-inner {
    padding: 44px 18px 64px;
    gap: 34px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .axis,
  .flow,
  .process-list,
  .price-link-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .plan-card,
  .plan-details div {
    grid-template-columns: 1fr;
  }

  .plan-head,
  .plan-details {
    padding: 22px;
  }

  .plan-details div {
    gap: 8px;
  }

  .trust-items {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 22px 18px;
    box-shadow: 6px 6px 0 rgba(255, 90, 0, 0.16);
  }

  .contact-panel select {
    max-width: 100%;
  }

  .contact-panel input[type="submit"] {
    width: 100%;
  }

  .pricing-table-wrap {
    margin-right: -18px;
    border-right: 0;
    border-radius: 8px 0 0 8px;
  }

  .hero-card,
  .product {
    padding: 22px;
    box-shadow: 7px 7px 0 var(--orange);
  }

  .footer-inner {
    flex-direction: column;
  }
}
