/*
Theme Name: SHINGEN Theme
Theme URI: https://shingen.inc
Author: SHINGEN.inc
Author URI: https://shingen.inc
Description: 株式会社しんげん コーポレートサイト テーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shingen-theme
*/

/* ==============================
   CSS Custom Properties
============================== */
:root {
  --bg:          #0f0f0f;
  --bg2:         #161616;
  --bg3:         #1e1e1e;
  --accent:      #7C2D3B;
  --accent-h:    #9D3E50;
  --accent-light:#C85070;
  --white:       #ffffff;
  --muted:       #888888;
  --muted2:      #555555;
  --border:      #2a2a2a;
  --border2:     #333333;
  --radius:      4px;
  --radius-lg:   8px;
  --max-w:       1200px;
  --header-h:    72px;
  --transition:  0.3s ease;
  --ff-ja:       'Noto Sans JP', sans-serif;
  --ff-en:       'Inter', sans-serif;
}

/* ==============================
   Reset & Base
============================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--ff-ja);
  line-height: 1.75;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol { list-style: none; }

/* ==============================
   Layout Utilities
============================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.section {
  padding: 110px 0;
}
.section--dark {
  background: var(--bg2);
}

/* ==============================
   Section Labels & Headings
============================== */
.section-label {
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-light);
  display: block;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  margin-bottom: 20px;
}
.section-title em {
  font-style: normal;
  color: var(--accent-light);
}
.section-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  max-width: 580px;
}

/* ==============================
   Buttons
============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-family: var(--ff-ja);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.btn:hover {
  background: var(--accent-h);
  border-color: var(--accent-h);
  color: var(--white);
}
.btn--outline {
  background: transparent;
}
.btn--outline:hover {
  background: var(--accent);
}
.btn--sm {
  padding: 10px 24px;
  font-size: 13px;
}

/* ==============================
   Divider
============================== */
.divider {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 20px 0 32px;
}

/* ==============================
   Scroll Animations
============================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ==============================
   Responsive
============================== */
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }
}
