/*
Theme Name: Steel Belt Industrial
Theme URI: https://steelbelt-industrial.com
Author: (要記入)
Author URI: (要記入)
Description: Steel Belt Industrial (Duck Man Co., Ltd.) 用カスタムWordPressテーマ。ワンページ構成。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: steelbelt
*/

/* =========================================================
   以下、index_2.html の <style> ブロックをそのまま移植
   ========================================================= */

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

:root {
  --black: #0A0A0A;
  --card: #1A1A1A;
  --card2: #222222;
  --cream: #F5F0E8;
  --bronze: #C17E3A;
  --bronze-dark: #9B6228;
  --sub: #888888;
  --border: #2E2E2E;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── NAV ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: linear-gradient(to bottom, rgba(10,10,10,0.95), transparent);
  transition: background 0.3s;
}
#navbar.scrolled { background: rgba(10,10,10,0.97); }

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.15em;
  color: var(--cream);
  text-decoration: none;
}
.nav-logo span { color: var(--bronze); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--sub);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cream); }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.98);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--cream);
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 0.2em;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--bronze); }

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 鉄板テクスチャオーバーレイ */
.hero-texture {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.015) 2px,
      rgba(255,255,255,0.015) 4px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(0,0,0,0.08) 3px,
      rgba(0,0,0,0.08) 6px
    );
  pointer-events: none;
  transition: opacity 0.8s;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.92) 0%,
    rgba(10,10,10,0.4) 50%,
    rgba(10,10,10,0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px 60px;
  width: 100%;
}

.hero-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--bronze);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--bronze);
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 14vw, 88px);
  line-height: 0.92;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}
.hero-title em {
  font-style: normal;
  color: var(--bronze);
}

.hero-sub {
  font-size: 13px;
  color: rgba(245,240,232,0.65);
  letter-spacing: 0.05em;
  margin-bottom: 36px;
  max-width: 300px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bronze);
  color: var(--black);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 28px;
  transition: background 0.2s, gap 0.2s;
}
.hero-cta:hover { background: var(--bronze-dark); gap: 18px; }
.hero-cta svg { width: 16px; height: 16px; }

/* scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--sub);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--bronze), transparent);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── HERO アニメーションロゴ ─── */
.hero-logo-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,#111 0%,#1a1a1a 50%,#0d0d0d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
}
.hero-logo-wrap {
  width: min(80vw, 480px);
}
@media (min-width: 900px) {
  .hero-logo-bg { justify-content: flex-end; padding-right: 6%; }
  .hero-logo-wrap { width: min(50vw, 760px); }
}
@media (min-width: 1400px) {
  .hero-logo-wrap { width: min(42vw, 860px); }
}
.hero-logo-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* 背景でゆっくり回り続ける計器盤風の点線リング */
.hero-logo-rotor {
  transform-origin: 426px 290px;
  animation: heroLogoRotate 90s linear infinite;
}
.hero-logo-rotor circle {
  fill: none;
  stroke: var(--bronze);
  stroke-width: 1;
  stroke-dasharray: 3 11;
  opacity: 0.4;
}
@keyframes heroLogoRotate {
  to { transform: rotate(360deg); }
}

/* ロゴ本体(実データ)が段階的に組み上がる演出 */
.hero-logo-svg g {
  transform-box: fill-box;
  transform-origin: center;
}
.hero-logo-emblem,
.hero-logo-flourish-left,
.hero-logo-flourish-right,
.hero-logo-industrial,
.hero-logo-steelbelt,
.hero-logo-duckman,
.hero-logo-duckman-sub,
.hero-logo-crane {
  opacity: 0;
}

.hero-logo-emblem {
  fill: var(--bronze);
  animation: heroLogoEmblemIn 1s cubic-bezier(.2,.8,.2,1) 0.1s forwards;
}
.hero-logo-flourish-left {
  fill: var(--bronze);
  animation: heroLogoFlourishLeftIn 0.9s ease-out 0.6s forwards;
}
.hero-logo-flourish-right {
  fill: var(--bronze);
  animation: heroLogoFlourishRightIn 0.9s ease-out 0.6s forwards;
}
.hero-logo-industrial {
  fill: var(--bronze);
  animation: heroLogoPieceIn 0.9s ease-out 1.15s forwards;
}
.hero-logo-steelbelt {
  fill: #FFFCF7;
  filter: drop-shadow(0 0 16px rgba(193,126,58,0.4)) drop-shadow(0 0 3px rgba(0,0,0,0.5));
  animation: heroLogoPieceIn 1.1s ease-out 1.55s forwards;
}
.hero-logo-duckman {
  fill: var(--cream);
  animation: heroLogoPieceIn 0.8s ease-out 2.15s forwards;
}
.hero-logo-duckman-sub {
  fill: var(--sub);
  animation: heroLogoPieceIn 0.8s ease-out 2.35s forwards;
}
.hero-logo-crane {
  fill: var(--cream);
  animation: heroLogoPieceIn 0.8s ease-out 2.15s forwards;
}

@keyframes heroLogoEmblemIn {
  from { opacity: 0; transform: scale(0.5) rotate(-15deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes heroLogoFlourishLeftIn {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes heroLogoFlourishRightIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes heroLogoPieceIn {
  from { opacity: 0; transform: translateY(14px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-rotor { animation: none; }
  .hero-logo-emblem,
  .hero-logo-flourish-left,
  .hero-logo-flourish-right,
  .hero-logo-industrial,
  .hero-logo-steelbelt,
  .hero-logo-duckman,
  .hero-logo-duckman-sub,
  .hero-logo-crane {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ─── SECTIONS ─── */
section { padding: 80px 24px; }
@media (min-width: 768px) { section { padding: 100px 48px; } }
@media (min-width: 1200px) { section { padding: 120px 80px; } }

.section-label {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--bronze);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::after {
  content: '';
  flex: 1;
  max-width: 48px;
  height: 1px;
  background: var(--bronze);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 8vw, 56px);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 24px;
}

/* ─── ABOUT ─── */
#about { background: var(--card); }

.about-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
}

.about-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform 0.6s ease;
}
.about-image-wrap:hover img { transform: scale(1.03); }
.about-image-frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(193,126,58,0.3);
  pointer-events: none;
}

/* ABOUT写真スライドショー(4枚・自動切り替え・CSSのみ) */
.about-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}
.about-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  opacity: 0;
  animation: aboutSlideFade 16s infinite;
}
.about-slide:nth-child(1) { animation-delay: 0s; }
.about-slide:nth-child(2) { animation-delay: 4s; }
.about-slide:nth-child(3) { animation-delay: 8s; }
.about-slide:nth-child(4) { animation-delay: 12s; }
@keyframes aboutSlideFade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  25%  { opacity: 1; }
  29%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .about-slide { animation: none; opacity: 0; }
  .about-slide:first-child { opacity: 1; }
}

.about-text p {
  font-size: 14px;
  color: rgba(245,240,232,0.75);
  margin-bottom: 20px;
  line-height: 1.9;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  font-size: 13px;
}
.company-table tr {
  border-bottom: 1px solid var(--border);
}
.company-table td {
  padding: 14px 0;
  vertical-align: top;
  line-height: 1.8;
}
.company-table td:first-child {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--bronze);
  text-transform: uppercase;
  width: 100px;
  padding-right: 16px;
  padding-top: 16px;
}
.company-table td:last-child {
  color: rgba(245,240,232,0.7);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  color: var(--bronze);
  line-height: 1;
}
.stat-label {
  font-size: 10px;
  color: var(--sub);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ─── PROCESS ─── */
#process { background: var(--black); }

.process-steps {
  display: grid;
  gap: 0;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .process-steps { grid-template-columns: repeat(4, 1fr); }
}

.process-step {
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  position: relative;
}
@media (min-width: 768px) {
  .process-step {
    border-top: none;
    border-left: 1px solid var(--border);
  }
  .process-step:first-child { border-left: none; }
}

.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: rgba(193,126,58,0.2);
  line-height: 1;
  margin-bottom: 16px;
}
.step-title {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  color: var(--cream);
}
.step-desc {
  font-size: 12px;
  color: var(--sub);
  line-height: 1.8;
}

/* ─── WORKS (未使用/別ドラフトのCSS。元ファイルに存在したためそのまま残置) ─── */
.works-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  margin-top: 32px;
}
.filter-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--sub);
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}
.filter-btn.active, .filter-btn:hover {
  border-color: var(--bronze);
  color: var(--bronze);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
@media (min-width: 768px) {
  .works-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .works-grid { grid-template-columns: repeat(4, 1fr); }
}

.work-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--card2);
}
.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(15%);
}
.work-item:hover img { transform: scale(1.06); }
.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.75);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}
.work-item:hover .work-overlay { opacity: 1; }
.work-name {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--cream);
}
.work-cat {
  font-size: 10px;
  color: var(--bronze);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* placeholder works */
.work-placeholder {
  width: 100%;
  height: 100%;
  background: var(--card2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-placeholder svg { opacity: 0.15; }

/* ─── CONSTRUCTION（実際に#worksセクションで使われているのはこちら） ─── */
#construction { background: var(--black); }

.construction-projects {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-top: 48px;
}

.construction-project {}

.project-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.project-name {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--cream);
}
.project-type {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--bronze);
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
}

.project-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
@media (min-width: 768px) {
  .project-photos { grid-template-columns: repeat(4, 1fr); }
}

.project-photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--card2);
}
.project-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
  transition: transform 0.5s ease, filter 0.3s;
}
.project-photo:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.project-desc {
  margin-top: 16px;
  font-size: 12px;
  color: var(--sub);
  line-height: 1.8;
}

/* ─── PRODUCTS ─── */
#products { background: var(--black); }

.products-intro {
  font-size: 13px;
  color: var(--sub);
  max-width: 480px;
  margin-bottom: 48px;
  line-height: 1.9;
}

.products-grid {
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  background: var(--card);
  overflow: hidden;
  transition: background 0.2s;
}
.product-card:hover { background: var(--card2); }

.product-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--card2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  filter: grayscale(10%);
}
.product-card:hover .product-img img { transform: scale(1.04); }

.product-info {
  padding: 16px;
}
.product-cat {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--bronze);
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  margin-bottom: 6px;
}
.product-name {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  color: var(--cream);
}
.product-price {
  font-size: 13px;
  color: var(--sub);
}
.product-price strong {
  color: var(--cream);
  font-size: 16px;
  font-weight: 400;
}

.products-cta-wrap {
  margin-top: 48px;
  text-align: center;
}

.product-new-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: var(--bronze);
  color: var(--black);
  font-family: 'Oswald', sans-serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 8px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bronze);
  color: var(--black);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 36px;
  transition: background 0.2s, gap 0.2s;
}
.btn-primary:hover { background: var(--bronze-dark); gap: 16px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  color: var(--sub);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 36px;
  transition: all 0.2s;
  margin-left: 12px;
}
.btn-outline:hover { border-color: var(--bronze); color: var(--bronze); }

/* ─── TIKTOK ─── */
#tiktok { background: var(--card); }

.tiktok-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 40px;
}
@media (min-width: 768px) { .tiktok-grid { grid-template-columns: repeat(4, 1fr); } }

.tiktok-item {
  aspect-ratio: 9/16;
  background: var(--card2);
  overflow: hidden;
  position: relative;
}
.tiktok-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tiktok-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,10,0.4);
  transition: background 0.2s;
}
.tiktok-item:hover .tiktok-play { background: rgba(10,10,10,0.2); }
.tiktok-play svg { opacity: 0.85; }

/* TikTok公式埋め込み(実データ)は、固定グリッドではなく
   カード自体の自然な縦長サイズに合わせて並べる */
.tiktok-grid--real {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.tiktok-item--embed {
  aspect-ratio: unset;
  background: transparent;
  width: auto;
  max-width: 325px;
  display: flex;
  justify-content: center;
}
.tiktok-item--embed .tiktok-embed {
  margin: 0 !important;
}
.tiktok-embed-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 260px;
  aspect-ratio: 9/16;
  background: var(--card2);
  color: var(--cream);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.tiktok-embed-fallback:hover { background: #2a2a2a; }

.tiktok-follow {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.tiktok-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--bronze);
  color: var(--bronze);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 28px;
  transition: all 0.2s;
}
.tiktok-btn:hover { background: var(--bronze); color: var(--black); }

/* ─── CONTACT ─── */
#contact { background: var(--black); }

.contact-grid {
  display: grid;
  gap: 48px;
  margin-top: 48px;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

.contact-info p {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.9;
  margin-bottom: 32px;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item-label {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--bronze);
  text-transform: uppercase;
  min-width: 80px;
  padding-top: 2px;
}
.contact-item-val {
  font-size: 13px;
  color: var(--sub);
}

/* form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--sub);
  text-transform: uppercase;
}
.form-input, .form-select, .form-textarea {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--cream);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--bronze);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { cursor: pointer; }

.form-submit {
  background: var(--bronze);
  color: var(--black);
  border: none;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 36px;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  margin-top: 8px;
}
.form-submit:hover { background: var(--bronze-dark); }

.form-note {
  font-size: 11px;
  color: var(--sub);
  text-align: center;
}

/* ─── WPForms(問い合わせフォーム)をサイトのテーマに合わせる ─── */
.contact-form-wrap .wpforms-container {
  margin: 0;
}
.contact-form-wrap .wpforms-field {
  padding: 0;
  margin-bottom: 16px;
}
.contact-form-wrap.contact-form-wrap .wpforms-field-label,
.contact-form-wrap.contact-form-wrap .wpforms-field-sublabel {
  font-family: 'Oswald', sans-serif !important;
  font-size: 10px !important;
  letter-spacing: 0.2em !important;
  color: rgba(245, 240, 232, 0.8) !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
  display: block !important;
}
.contact-form-wrap.contact-form-wrap .wpforms-field-label .wpforms-required-label {
  color: var(--bronze) !important;
}
.contact-form-wrap.contact-form-wrap input[type="text"],
.contact-form-wrap.contact-form-wrap input[type="email"],
.contact-form-wrap.contact-form-wrap input[type="tel"],
.contact-form-wrap.contact-form-wrap select,
.contact-form-wrap.contact-form-wrap textarea {
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  color: var(--cream) !important;
  -webkit-text-fill-color: var(--cream) !important;
  font-family: 'Noto Sans JP', sans-serif !important;
  font-size: 13px !important;
  padding: 14px 16px !important;
  border-radius: 0 !important;
  width: 100% !important;
  box-shadow: none !important;
}
.contact-form-wrap select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C17E3A' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 16px !important;
  padding-right: 44px !important;
}
.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
  border-color: var(--bronze) !important;
  outline: none;
}
.contact-form-wrap textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form-wrap .wpforms-field-description {
  color: var(--sub);
  font-size: 11px;
  margin-top: 6px;
}
.contact-form-wrap .wpforms-submit-container {
  margin-top: 8px;
}
.contact-form-wrap button.wpforms-submit {
  background: var(--bronze) !important;
  color: var(--black) !important;
  border: none !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: 13px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  padding: 16px 36px !important;
  width: 100%;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 0 !important;
}
.contact-form-wrap button.wpforms-submit:hover {
  background: var(--bronze-dark) !important;
}
.contact-form-wrap .wpforms-error {
  color: #e07a5f !important;
  font-size: 11px;
}
.contact-form-wrap .wpforms-confirmation-container {
  background: transparent !important;
  border: 1px solid var(--border) !important;
  color: var(--cream) !important;
  padding: 24px !important;
  font-size: 13px;
}

/* ─── FOOTER ─── */
footer {
  background: #050505;
  padding: 48px 24px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.1em;
  color: var(--cream);
}
.footer-logo span { color: var(--bronze); }
.footer-tagline {
  font-size: 11px;
  color: var(--sub);
  margin-top: 8px;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: var(--sub);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  font-family: 'Oswald', sans-serif;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--bronze); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 10px; color: var(--sub); letter-spacing: 0.1em; }

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── MOBILE NAV ─── */
@media (max-width: 767px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* =========================================================
   ここから下は、CPT連携・詳細ページなど新規追加分の最小限のスタイル
   ========================================================= */

/* single-works / single-product 詳細ページ用（元HTMLに無いため新規） */
.single-hero-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 32px;
}
.single-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.single-content-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.single-content-wrap .section-title {
  margin-bottom: 8px;
}
.single-meta {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--bronze);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.single-body {
  font-size: 14px;
  color: rgba(245,240,232,0.8);
  line-height: 1.9;
}
.single-back-link {
  display: inline-block;
  margin-top: 40px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--sub);
  text-decoration: none;
}
.single-back-link:hover { color: var(--bronze); }
