/*
Theme Name: Kato Tech Corporate
Theme URI: https://kato-tech.co.jp
Description: Corporate presentation layer for Kato Tech LLC.
Author: Codex
Template: twentytwentyfive
Version: 1.0.0
*/

:root {
  --kt-ink: #101728;
  --kt-muted: #566174;
  --kt-line: #dbe2ec;
  --kt-navy: #10254a;
  --kt-navy-2: #173a70;
  --kt-red: #d9222a;
  --kt-red-2: #ff4b55;
  --kt-bg: #f5f7fb;
}

body {
  color: var(--kt-ink);
}

a {
  text-underline-offset: 0.2em;
}

.wp-site-blocks {
  background: #ffffff;
}

.kt-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(16, 37, 74, 0.12);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.kt-header-inner {
  min-height: 82px;
  gap: 22px;
}

.kt-brand {
  align-items: center;
  gap: 14px;
  min-width: 220px;
}

.kt-brand-logo {
  flex: 0 0 auto;
  margin: 0;
}

.kt-brand-logo img {
  display: block;
  width: 118px;
  max-height: 34px;
  object-fit: contain;
  height: auto;
}

.kt-brand-name {
  margin: 0;
  color: var(--kt-navy);
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.kt-brand-name a {
  color: inherit;
  text-decoration: none;
}

.kt-main-nav {
  color: var(--kt-navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.kt-main-nav a {
  text-decoration: none;
}

.kt-main-nav a:hover {
  color: var(--kt-red);
}

.wp-site-blocks > main,
.wp-site-blocks > header,
.wp-site-blocks > footer,
.wp-block-post-content,
.wp-block-template-part,
.wp-block-group {
  --wp--style--global--content-size: min(1120px, calc(100vw - 64px));
  --wp--style--global--wide-size: min(1440px, calc(100vw - 64px));
}

.wp-block-post-content > .alignfull,
.wp-block-post-content > .kt-section,
.wp-block-post-content > .kt-section-tight {
  max-width: none;
}

.kt-section {
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(48px, 7vw, 88px);
}

.kt-section-tight {
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(32px, 5vw, 56px);
}

.kt-hero {
  position: relative;
  overflow: hidden;
  min-height: min(720px, calc(100vh - 80px));
  background: var(--kt-navy);
}

.kt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(217, 34, 42, 0.58), transparent 31%),
    radial-gradient(circle at 48% 72%, rgba(23, 58, 112, 0.68), transparent 34%),
    linear-gradient(90deg, rgba(16, 37, 74, 0.97) 0%, rgba(16, 37, 74, 0.82) 45%, rgba(16, 37, 74, 0.32) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 46px);
  z-index: 1;
}

.kt-hero .wp-block-cover__image-background {
  object-fit: contain;
  object-position: right center;
  object-fit: cover;
  object-position: right center;
  opacity: 0.62;
  filter: saturate(1.45) contrast(1.12);
}

.kt-hero .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
}

.kt-eyebrow {
  color: #ffb6ba;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kt-hero h1 {
  max-width: 820px;
  margin-top: 14px;
  color: #ffffff;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
}

.kt-hero-copy {
  max-width: 760px;
  color: #eef6ff;
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.85;
}

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

.kt-button a,
.kt-button-secondary a {
  border-radius: 4px;
  font-weight: 700;
}

.kt-button a {
  background: linear-gradient(135deg, var(--kt-red), var(--kt-red-2));
  color: #ffffff;
  box-shadow: 0 14px 36px rgba(217, 34, 42, 0.28);
}

.kt-button-secondary a {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.kt-band {
  background: var(--kt-bg);
}

.kt-heading {
  max-width: 980px;
}

.kt-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.18;
}

.kt-heading p {
  color: var(--kt-muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

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

.kt-feature {
  border: 1px solid rgba(16, 37, 74, 0.16);
  border-top: 5px solid var(--kt-red);
  background: #ffffff;
  padding: 26px;
  box-shadow: 0 18px 45px rgba(16, 37, 74, 0.12);
}

.kt-feature:nth-child(2) {
  border-top-color: var(--kt-navy-2);
}

.kt-feature:nth-child(3) {
  border-top-color: #7b8798;
}

.kt-feature h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.kt-feature p {
  margin: 0;
  color: var(--kt-muted);
  line-height: 1.75;
}

.kt-split {
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.kt-split figure img,
.kt-product img {
  border: 1px solid var(--kt-line);
  background: #ffffff;
}

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

.kt-product {
  background: #ffffff;
  border: 1px solid var(--kt-line);
  padding: 18px;
  box-shadow: 0 16px 40px rgba(16, 37, 74, 0.10);
}

.kt-product h3 {
  margin-top: 14px;
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.kt-product p {
  margin: 0;
  color: var(--kt-muted);
  line-height: 1.7;
}

.kt-company-table table {
  width: 100%;
  border-collapse: collapse;
}

.kt-company-table td,
.kt-company-table th {
  border-bottom: 1px solid var(--kt-line);
  padding: 16px 10px;
  text-align: left;
  vertical-align: top;
}

.kt-company-table td:first-child,
.kt-company-table th:first-child {
  width: 180px;
  color: var(--kt-blue);
  font-weight: 700;
}

.kt-cta {
  background:
    radial-gradient(circle at 12% 20%, rgba(217, 34, 42, 0.34), transparent 28%),
    radial-gradient(circle at 86% 0%, rgba(255, 75, 85, 0.28), transparent 32%),
    linear-gradient(135deg, var(--kt-navy), var(--kt-navy-2));
  color: #ffffff;
}

.kt-cta p {
  color: #dcebf3;
}

.wpcf7 {
  max-width: 760px;
  margin: 32px auto 0;
  padding: clamp(22px, 4vw, 40px);
  border-top: 5px solid var(--kt-red);
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(16, 37, 74, 0.12);
}

.wpcf7 form {
  display: grid;
  gap: 18px;
}

.wpcf7 label {
  display: grid;
  gap: 8px;
  color: var(--kt-navy);
  font-weight: 700;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--kt-line);
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--kt-ink);
  font: inherit;
  background: #f9fbff;
}

.wpcf7 textarea {
  min-height: 180px;
}

.wpcf7 input[type="submit"] {
  justify-self: start;
  border: 0;
  border-radius: 4px;
  padding: 14px 34px;
  background: linear-gradient(135deg, var(--kt-red), var(--kt-red-2));
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.page-id-113 .wp-block-post-content > .wp-block-group,
.page-id-113 .wp-block-post-content > p {
  max-width: min(900px, calc(100vw - 64px));
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 860px) {
  .wp-site-blocks > main,
  .wp-site-blocks > header,
  .wp-site-blocks > footer,
  .wp-block-post-content,
  .wp-block-template-part,
  .wp-block-group {
    --wp--style--global--content-size: min(100%, calc(100vw - 28px));
    --wp--style--global--wide-size: min(100%, calc(100vw - 28px));
  }

  .kt-hero {
    min-height: auto;
  }

  .kt-site-header {
    position: relative;
  }

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

  .kt-brand {
    min-width: 0;
    gap: 11px;
  }

  .kt-brand-logo img {
    width: 108px;
    max-height: 32px;
  }

  .kt-brand-name {
    font-size: 0.9rem;
    line-height: 1;
  }

  .kt-hero .wp-block-cover__inner-container {
    width: min(100% - 28px, 1180px);
  }

  .kt-feature-grid,
  .kt-product-grid {
    grid-template-columns: 1fr;
  }

  .kt-feature,
  .kt-product {
    padding: 20px;
  }

  .kt-company-table td,
  .kt-company-table th {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  .kt-company-table td:first-child,
  .kt-company-table th:first-child {
    border-bottom: 0;
    padding-top: 18px;
  }
}
