/*
Theme Name: Kotonoha Corporate
Theme URI: https://kotonoha.co.jp/
Author: Kotonoha Inc.
Description: 株式会社言の葉のコーポレートサイトテーマ。
Version: 1.0.0
Text Domain: kotonoha-corporate
*/

:root {
  color-scheme: light;
}

body {
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.font-serif {
  font-family: "Playfair Display", "Times New Roman", serif;
}

.kotonoha-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -10;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  overflow: hidden;
}

.kotonoha-hero-orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 9999px;
  filter: blur(40px);
  opacity: 0.35;
}

.kotonoha-hero-orb.orb-1 {
  background: #99f6e4;
  top: -15%;
  right: -10%;
}

.kotonoha-hero-orb.orb-2 {
  background: #bfdbfe;
  bottom: -20%;
  left: -10%;
}

.kotonoha-particle {
  position: absolute;
  width: var(--size, 14px);
  height: var(--size, 14px);
  left: var(--x, 10%);
  top: var(--y, 10%);
  background: rgba(13, 148, 136, 0.45);
  border-radius: 9999px;
  box-shadow: 0 0 16px rgba(13, 148, 136, 0.25);
  animation: kotonoha-float var(--dur, 12s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes kotonoha-float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate3d(0, -20px, 0) scale(1.1);
    opacity: 0.9;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.6;
  }
}

.line-clamp-1,
.line-clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-1 {
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  -webkit-line-clamp: 2;
}

.prose {
  color: #475569;
  line-height: 1.75;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  color: #1f2937;
  font-weight: 700;
  line-height: 1.4;
  margin: 2rem 0 0.75rem;
}

.prose h1 {
  font-size: 2rem;
}

.prose h2 {
  font-size: 1.5rem;
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.prose h4 {
  font-size: 1.125rem;
}

.prose h5,
.prose h6 {
  font-size: 1rem;
}

.prose p {
  margin-bottom: 1rem;
}

.prose strong {
  color: #1f2937;
  font-weight: 700;
}

.prose em {
  font-style: italic;
}

.prose ul {
  padding-left: 1.25rem;
  list-style: disc;
  margin-bottom: 1rem;
}

.prose ol {
  padding-left: 1.25rem;
  list-style: decimal;
  margin-bottom: 1rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.prose a {
  color: #0d9488;
  text-decoration: underline;
}

.prose blockquote {
  margin: 1.5rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid #0d9488;
  background: #f8fafc;
  color: #475569;
}

.prose hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 2rem 0;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
}

.prose figure {
  margin: 1.5rem 0;
}

.prose figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  text-align: center;
}

.prose code {
  padding: 0.15rem 0.35rem;
  background: #f1f5f9;
  border-radius: 6px;
  font-size: 0.95em;
  color: #0f172a;
}

.prose pre {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 12px;
  overflow-x: auto;
}

.prose pre code {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: 0.95em;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.prose th,
.prose td {
  border: 1px solid #e2e8f0;
  padding: 0.75rem;
}

.prose th {
  background: #f8fafc;
  text-align: left;
  color: #1f2937;
}

.prose dl {
  margin: 1.5rem 0;
}

.prose dt {
  font-weight: 700;
  color: #1f2937;
}

.prose dd {
  margin: 0.25rem 0 1rem;
}

.kotonoha-header-shadow {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.kotonoha-hidden {
  display: none;
}
