:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --soft-green: #eff8f7;
  --deep-green: #00655f;
  --accent: rgb(0, 133, 126);
  --accent-dark: rgb(0, 108, 103);
  --ink: #17211d;
  --text: #28332d;
  --muted: #5d6862;
  --line: rgba(23, 33, 29, 0.1);
  --shadow: 0 18px 40px rgba(0, 133, 126, 0.08);
  --container: 1120px;
  --font-sans:
    "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Meiryo", system-ui,
    sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

body.article-page {
  background: var(--surface);
}

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

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

.container {
  width: min(100%, calc(var(--container) + 40px));
  margin: 0 auto;
  padding-inline: 20px;
}

.site-header {
  background: transparent;
}

.header-row {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 31px;
  height: 31px;
  flex: none;
}

.brand-name {
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.nav-toggle {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle-button {
  display: none;
  margin-left: auto;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px 0;
  background: var(--muted);
  border-radius: 999px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-panel {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-left: 36px;
}

.site-nav {
  display: flex;
  gap: 6px;
  margin: 0 auto 0 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
  background: rgba(0, 133, 126, 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  background: var(--accent);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  background: var(--accent-dark);
}

.button-secondary {
  color: var(--ink);
  background: transparent;
  border-color: rgba(23, 33, 29, 0.16);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(23, 33, 29, 0.28);
}

.button-small {
  min-height: 46px;
  padding-block: 12px;
  font-weight: 500;
}

.button-light {
  color: var(--ink);
  background: #ffffff;
}

.button-light:hover,
.button-light:focus-visible {
  background: #f2f7f4;
}

.button-outline-light {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.58);
}

.text-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--accent-dark);
  transition: color 0.2s ease;
}

.text-link::after {
  content: "→";
  margin-left: 8px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent);
}

.text-link-light {
  color: rgba(255, 255, 255, 0.86);
}

.text-link-light:hover,
.text-link-light:focus-visible {
  color: #ffffff;
}

.hero,
.use-section,
.proof-section,
.consult-section,
.trust-section {
  padding: 88px 0;
}

.hero {
  padding-top: 28px;
}

.hero-shell {
  max-width: 960px;
  text-align: center;
}

.hero h1,
.section-heading h2,
.proof-copy h2,
.consult-copy h2,
.final-shell h2,
.article-title,
.article-content h2,
.article-content h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--ink);
}

.hero h1 {
  font-size: clamp(2.7rem, 5.8vw, 4.8rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero-lead {
  max-width: 42rem;
  margin: 20px auto 0;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--muted);
}

.proof-tags,
.consult-points,
.social-links,
.footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-actions,
.final-actions,
.final-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  justify-content: center;
  margin-top: 28px;
}

.hero-frame,
.consult-screen {
  margin: 0;
}

.hero-frame {
  margin-top: 52px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-frame img,
.consult-screen img,
.article-image {
  width: 100%;
  border-radius: 18px;
}

.split-shell,
.consult-shell {
  display: grid;
  gap: 56px;
}

.showcase-shell {
  display: grid;
  gap: 32px;
  max-width: 760px;
  margin-inline: auto;
}

.split-shell {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

.consult-shell {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.section-heading h2,
.proof-copy h2,
.consult-copy h2,
.final-shell h2 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.18;
}

.section-heading p,
.proof-copy p,
.consult-copy p,
.final-shell p {
  margin: 20px 0 0;
  max-width: 38rem;
  color: var(--muted);
}

.use-stack {
  display: grid;
  gap: 28px;
}

.use-list,
.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.use-list li,
.step-list li {
  display: grid;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.use-list li {
  grid-template-columns: 64px minmax(0, 1fr);
}

.use-index {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: rgba(0, 133, 126, 0.45);
}

.use-list h3,
.device-copy h3,
.trust-item h3,
.step-list h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink);
}

.use-list p,
.device-copy p,
.step-list p,
.trust-item p {
  margin: 0;
  color: var(--muted);
}

.device-block {
  display: grid;
  gap: 12px;
  max-width: 34rem;
}

.proof-section {
  background: transparent;
}

.proof-copy {
  max-width: none;
}

.proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.proof-tags li {
  padding: 7px 12px;
  border: 1px solid rgba(0, 133, 126, 0.14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.62);
}

.step-list li {
  grid-template-columns: 52px minmax(0, 1fr);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-dark);
  background: rgba(0, 133, 126, 0.12);
}

.consult-section {
  color: rgba(255, 255, 255, 0.86);
  background: var(--deep-green);
}

.consult-copy h2 {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.consult-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.consult-points {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.consult-points li {
  position: relative;
  padding-left: 20px;
}

.consult-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.consult-screen {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  border-top: 1px solid var(--line);
}

.trust-item {
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--line);
}

.final-section {
  padding: 0 0 112px;
}

.final-shell {
  padding: clamp(36px, 5vw, 60px);
  border-radius: 32px;
  background: var(--deep-green);
  text-align: center;
}

.final-shell h2,
.final-shell p {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.final-shell h2 {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.final-shell p {
  color: rgba(255, 255, 255, 0.76);
}

.final-actions,
.final-links {
  justify-content: center;
}

.final-actions {
  margin-top: 30px;
}

.final-links {
  gap: 18px 32px;
  margin-top: 24px;
}

.article-section {
  padding: 64px 0 104px;
}

.article-shell {
  max-width: 780px;
  margin: 0 auto;
}

.article-image {
  margin-bottom: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(23, 33, 29, 0.08);
}

.article-image-plain {
  border: 0;
  box-shadow: none;
}

.article-title {
  margin: 0 0 24px;
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  line-height: 1.22;
}

.article-content {
  color: var(--text);
}

.article-content p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.9;
}

.article-content h2,
.article-content h3 {
  margin: 0 0 15px;
  line-height: 1.24;
}

.article-content h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.05rem);
}

.article-content h3 {
  font-size: clamp(1.18rem, 2.3vw, 1.42rem);
}

.article-page-creative .article-content h2 {
  margin-top: 38px;
}

.article-content a {
  color: var(--accent);
}

.article-content strong {
  font-weight: 600;
  color: var(--accent-dark);
}

.article-separator {
  margin: 34px 0;
}

.article-separator hr {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.site-footer {
  padding: 72px 0 22px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 18px 28px;
}

.footer-links,
.footer-brand,
.footer-meta {
  margin: 0;
}

.footer-links ul,
.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.footer-links {
  margin-left: 36px;
}

.footer-links a,
.footer-meta a {
  transition: color 0.2s ease;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--accent);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  background: rgba(0, 133, 126, 0.08);
}

.footer-brand-link {
  margin: 0;
}

.footer-brand p {
  max-width: none;
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--muted);
  white-space: nowrap;
}

.footer-meta {
  margin-left: auto;
  text-align: left;
}

.footer-meta small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}

.footer-meta a {
  color: var(--accent-dark);
}

.footer-meta-avatar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-meta-avatar {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

@media (max-width: 1080px) {
  .split-shell,
  .consult-shell {
    grid-template-columns: 1fr;
  }

  .footer-main {
    justify-content: center;
  }

  .footer-links,
  .footer-meta {
    margin-left: 0;
  }
}

@media (max-width: 991px) {
  .nav-toggle-button {
    display: block;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% - 4px);
    right: 20px;
    left: 20px;
    display: grid;
    gap: 12px;
    margin-left: 0;
    padding: 18px 20px 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .nav-toggle:checked + .nav-toggle-button span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-button span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-toggle-button span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-toggle:checked ~ .nav-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav {
    display: grid;
    gap: 4px;
    margin: 0;
  }

  .site-nav a {
    justify-content: center;
  }

  .button-small {
    width: 100%;
  }

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

@media (max-width: 767px) {
  .container {
    padding-inline: 16px;
  }

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

  .brand-name {
    font-size: 18px;
  }

  .hero,
  .use-section,
  .proof-section,
  .consult-section,
  .trust-section {
    padding: 68px 0;
  }

  .hero {
    padding-top: 12px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.6rem);
  }

  .hero-lead,
  .section-heading p,
  .proof-copy p,
  .consult-copy p,
  .final-shell p {
    font-size: 15px;
  }

  .hero-actions,
  .final-actions,
  .final-links {
    flex-direction: column;
  }

  .hero-actions .button,
  .final-actions .button {
    width: 100%;
  }

  .hero-frame,
  .consult-screen {
    padding: 12px;
    border-radius: 22px;
  }

  .hero-frame img,
  .consult-screen img,
  .article-image {
    border-radius: 14px;
  }

  .use-list li {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .use-index {
    font-size: 30px;
  }

  .use-list h3,
  .device-copy h3,
  .trust-item h3,
  .step-list h3 {
    font-size: 19px;
  }

  .step-list li {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .final-section {
    padding-bottom: 88px;
  }

  .final-shell {
    text-align: left;
  }

  .final-shell h2,
  .final-shell p {
    margin-left: 0;
    margin-right: 0;
  }

  .footer-main {
    text-align: center;
    justify-content: center;
  }

  .footer-links,
  .footer-brand,
  .footer-meta {
    justify-content: center;
  }

  .footer-brand-link {
    justify-content: center;
  }

  .footer-brand p {
    white-space: normal;
  }

  .footer-meta {
    text-align: center;
  }

  .footer-meta small {
    justify-content: center;
  }

  .article-section {
    padding: 52px 0 88px;
  }

  .article-title {
    font-size: 27px;
  }
}
