/* ============================================================
   トリプル遠赤冷暖 — Shared Stylesheet
   triple-enseki.net
   ============================================================ */

/* ===== VARIABLES ===== */
:root {
  --blue:       #29ABE2;
  --blue-dark:  #1a8bbf;
  --blue-light: rgba(41,171,226,0.08);
  --green:      #8DC63F;
  --green-dark: #6a9f2a;
  --green-light:rgba(141,198,63,0.1);
  --yellow:     #F7941D;
  --yellow-light:rgba(247,148,29,0.1);

  --white:    #ffffff;
  --gray-50:  #f8f9fa;
  --gray-100: #f0f1f3;
  --gray-200: #e4e6ea;
  --gray-400: #9ca3af;
  --gray-800: #1f2937;

  --text-mid:   #374151;
  --text-light: #6b7280;

  --max-w: 1200px;
  --nav-h: 72px;
  --section-pad: 80px 48px;

  --sans:  'Outfit', 'Noto Sans JP', sans-serif;
  --serif: 'Noto Serif JP', 'Georgia', serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text-mid);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: inherit; }

/* ===== NAV ===== */
.stripe-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--green) 50%, var(--yellow) 100%);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-800);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.nav-logo-sub {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.08em;
  display: block;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); border-bottom: 2px solid var(--blue); padding-bottom: 2px; }

.nav-cta-btn {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta-btn:hover { background: var(--blue-dark) !important; }

/* ===== SECTIONS ===== */
.section {
  padding: var(--section-pad);
}
.bg-white { background: var(--white); }
.bg-gray  { background: var(--gray-50); }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--blue);
  border-radius: 1px;
  display: block;
}
.section-label.green { color: var(--green); }
.section-label.green::before { background: var(--green); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 34px);
  color: var(--gray-800);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.85;
  max-width: 640px;
  margin-bottom: 8px;
}

.text-center { text-align: center; }
.text-center.section-label { justify-content: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); }

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }

.btn-outline-gray {
  background: transparent;
  color: var(--gray-800);
  border-color: var(--gray-200);
}
.btn-outline-gray:hover { border-color: var(--gray-400); }

.btn-lg { padding: 15px 34px; font-size: 17px; }

/* ===== TAGS / BADGES ===== */
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tag-blue   { background: var(--blue-light);  color: var(--blue-dark); }
.tag-green  { background: var(--green-light); color: var(--green-dark); }
.tag-yellow { background: var(--yellow-light);color: #b56a00; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--gray-800);
  color: rgba(255,255,255,0.7);
  padding: 56px 48px 32px;
}

.footer-inner { max-width: var(--max-w); margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer-contact {
  font-size: 12px;
  line-height: 2;
  color: rgba(255,255,255,0.55);
}
.footer-contact a { color: var(--blue); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 17px; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s ease forwards;
}
.fade-up-2 {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s 0.18s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

/* ===== UTILITY ===== */
.mt-40 { margin-top: 40px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .site-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .section { padding: 60px 20px; }
  .stats-strip { padding: 24px 20px; }
  .stats-strip-inner { gap: 28px; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .site-footer { padding: 40px 20px 24px; }
}
