:root {
  color-scheme: light;
  --paper: #f6f5f0;
  --surface: #ffffff;
  --ink: #202a33;
  --muted: #66727c;
  --accent: #16766f;
  --accent-dark: #115f5a;
  --accent-soft: #e3f2ef;
  --line: #e5e5de;
  --danger: #d9584f;
  --shadow: 0 18px 50px rgba(32, 42, 51, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
}

a {
  color: var(--accent-dark);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(229, 229, 222, 0.9);
  background: rgba(246, 245, 240, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(100% - 32px, 920px);
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.language-switch button {
  min-width: 52px;
  min-height: 34px;
  padding: 5px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
}

main {
  width: min(100% - 32px, 920px);
  margin: 0 auto;
  padding: 56px 0 80px;
}

.page-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.updated {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.content-card {
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.content-card section + section {
  margin-top: 38px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.5;
}

h3 {
  margin: 24px 0 8px;
  font-size: 17px;
  line-height: 1.5;
}

p,
ul,
ol {
  margin-top: 10px;
  margin-bottom: 0;
}

ul,
ol {
  padding-left: 1.45em;
}

li + li {
  margin-top: 8px;
}

.summary {
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--accent-soft);
}

.summary p {
  margin: 0;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 18px 34px 18px 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  position: relative;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  top: 17px;
  right: 4px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details > div {
  padding: 0 0 20px;
  color: var(--muted);
}

.faq details > div p:first-child {
  margin-top: 0;
}

.contact-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.contact-panel h2 {
  font-size: 19px;
}

.site-footer {
  padding: 30px 16px 42px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 10px;
}

[data-language-panel][hidden] {
  display: none !important;
}

[data-language-copy][hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid rgba(22, 118, 111, 0.35);
  outline-offset: 3px;
}

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

  .brand span {
    display: none;
  }

  main {
    padding-top: 40px;
  }

  .content-card {
    border-radius: 14px;
  }
}

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

/* Company site */
.company-page {
  --paper: #f4f7f6;
  --surface: #ffffff;
  --ink: #142725;
  --muted: #596d69;
  --accent: #087f75;
  --accent-dark: #075f59;
  --accent-soft: #dff3ef;
  --line: #dce8e5;
  background:
    radial-gradient(circle at 82% 4%, rgba(8, 127, 117, 0.12), transparent 30rem),
    var(--paper);
}

.company-header-inner {
  width: min(100% - 40px, 1120px);
}

.company-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.company-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px 3px 10px 3px;
  background: var(--ink);
  color: white;
  font-size: 16px;
  letter-spacing: 0;
}

.company-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.company-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.company-nav a:hover {
  color: var(--accent-dark);
}

.subpage-identity {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.subpage-product {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.subpage-product::before {
  content: "/";
  margin-right: 12px;
  color: var(--line);
}

.company-main {
  width: min(100% - 40px, 1120px);
  padding: 0 0 104px;
}

.company-hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
  padding: 84px 0 96px;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.hero-lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.9;
}

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

.primary-link,
.secondary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.primary-link {
  background: var(--ink);
  color: white;
}

.primary-link:hover {
  background: var(--accent-dark);
  color: white;
}

.secondary-link {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.hero-statement {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border-radius: 44px 10px 44px 10px;
  background: var(--accent);
  box-shadow: 0 28px 70px rgba(8, 95, 89, 0.22);
  color: white;
  transform: rotate(2deg);
}

.hero-statement span,
.hero-statement small {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero-statement strong {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.company-section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.product-copy h2,
.contact-section h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 18px;
}

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

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
}

.service-card > span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.service-card h3 {
  margin-top: 42px;
  font-size: 21px;
}

.service-card p {
  color: var(--muted);
}

.product-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
}

.product-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 14px 0 26px;
}

.product-title > img {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(20, 39, 37, 0.14);
}

.product-title h2 {
  margin: 5px 0 0;
}

.status-badge {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 750;
}

.product-copy > p {
  color: var(--muted);
  font-size: 17px;
}

.feature-list {
  margin-top: 24px;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 28px;
  font-weight: 700;
}

.product-visual {
  display: grid;
  place-items: center;
  min-height: 530px;
  padding: 34px 34px 0;
  overflow: hidden;
  border-radius: 44px 14px 44px 14px;
  background: linear-gradient(150deg, #d9efeb, #b7ded7);
}

.product-visual img {
  width: min(100%, 300px);
  border: 1px solid rgba(20, 39, 37, 0.12);
  border-radius: 34px 34px 0 0;
  box-shadow: 0 28px 60px rgba(20, 39, 37, 0.2);
}

.company-profile {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
  gap: 64px;
}

.company-data {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-data > div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.company-data dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.company-data dd {
  margin: 0;
  font-weight: 600;
}

.contact-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.contact-section > div {
  max-width: 650px;
}

.contact-section p:last-child {
  color: var(--muted);
}

.contact-email {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.contact-email:hover {
  background: var(--accent-dark);
  color: white;
}

.company-footer {
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .company-nav {
    display: none;
  }

  .company-hero,
  .product-section,
  .company-profile {
    grid-template-columns: 1fr;
  }

  .company-hero {
    min-height: 0;
    padding-top: 64px;
  }

  .hero-statement {
    min-height: 260px;
  }

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

  .service-card {
    min-height: 0;
  }

  .service-card h3 {
    margin-top: 24px;
  }
}

@media (max-width: 620px) {
  .company-header-inner,
  .company-main {
    width: min(100% - 28px, 1120px);
  }

  .company-brand > span:last-child {
    display: none;
  }

  .subpage-product::before {
    display: none;
  }

  .company-hero {
    gap: 42px;
    padding-bottom: 72px;
  }

  .hero-copy h1 {
    font-size: clamp(27px, 7.6vw, 32px);
    line-height: 1.18;
    letter-spacing: -0.04em;
  }

  .company-section {
    padding: 68px 0;
  }

  .hero-statement {
    padding: 26px;
  }

  .product-visual {
    min-height: 440px;
    padding-inline: 22px;
  }

  .company-profile {
    gap: 30px;
  }

  .company-data > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact-section {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-email {
    justify-content: center;
    white-space: normal;
  }
}
