/* ===========================================
   Ms.Engineer Landing Page - Base Styles
   PC: 1200px / SP: 390px Responsive Design
   =========================================== */

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===========================================
   Variables
   =========================================== */
:root {
  /* Colors */
  --color-primary: #5B2D8C;
  --color-primary-light: #7B4FAD;
  --color-secondary: #F5F0FA;
  --color-accent: #E91E63;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-white: #ffffff;
  --color-gray-light: #F5F5F5;
  --color-gray: #E0E0E0;
  --color-border: #EEEEEE;

  /* Fonts */
  --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --font-serif: 'Noto Serif JP', 'FOT-UDMincho Pr6', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-gothic: 'Zen Kaku Gothic New', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-number: 'DIN 2014', 'Avenir Next', 'Helvetica Neue', sans-serif;

  /* Layout */
  --container-width: 1200px;
  --container-padding: 20px;

  /* Transition */
  --transition: 0.3s ease;
}

/* ===========================================
   Container
   =========================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ===========================================
   Section Header (Common Component)
   =========================================== */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.section-header__title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.section-header__subtitle {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* ===========================================
   Utility Classes
   =========================================== */
.hidden {
  display: none !important;
}

.js-scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

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