/*
Theme Name: 佐野溶接所
Theme URI: https://sanoyousetsusyo.com
Author: Sano Yousetsusyo
Description: 株式会社佐野溶接所 コーポレートサイト用オリジナルテーマ。TECHNICAL PRECISION をコンセプトに、溶接・洗浄・配管の技術力を伝えるデザイン。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sano-yousetsusyo
*/

:root {
  --color-bg: #0b0b0b;
  --color-bg-raised: #131313;
  --color-fg: #f5f5f3;
  --color-sub: #9a9a97;
  --color-line: rgba(245, 245, 243, 0.12);
  --color-accent: #ff5a1f;
  --color-accent-dim: #b23e14;
  --color-spark: #ffc24d;

  --font-display: "Anton", "Noto Sans JP", sans-serif;
  --font-heading: "Space Grotesk", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", "Space Grotesk", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --container-pad: clamp(20px, 5vw, 64px);
  --header-h: 84px;

  color-scheme: dark;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--color-bg);
}

body {
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input[type="submit"],
input[type="button"] {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  border-radius: 0;
  color: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.15;
}

::selection {
  background: var(--color-accent);
  color: #0b0b0b;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--color-accent);
  color: #0b0b0b;
  padding: 12px 20px;
  z-index: 1000;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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