/* 
  Project: Calme - Back-end Service LP
  Design System: Ivory, Navy, Gold, Rounded 16px
*/

:root {
  --primary-color: #1B264F; /* Navy - Intellectual/Trust */
  --accent-color: #C5A059;  /* Gold - Premium/Success */
  --bg-color: #F9F7F2;      /* Ivory - Elegance/Softness */
  --text-color: #333333;
  --white: #ffffff;
  --radius: 16px;
  --container-width: 1000px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Shippori Mincho", "Noto Sans JP", serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.4;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  margin: 1rem auto 0;
}

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.nav-list {
  display: flex;
  gap: 20px;
}

.nav-list a:hover {
  color: var(--accent-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50px;
  font-weight: bold;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(27, 38, 79, 0.2);
  color: var(--white);
}

.btn-accent {
  background: var(--accent-color);
}

/* Cards & Components */
.card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  height: 100%;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #F9F7F2 0%, #E8E2D6 100%);
  padding: 120px 0;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 40px auto;
}

/* Sections */
.solution-grid, .offer-grid {
  margin-top: 40px;
}

/* Responsive Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}
.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .hero-title { font-size: 2rem; }
  .solution-grid, .offer-grid {
    grid-template-columns: 1fr !important;
  }
  .nav-list {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 1000;
  }
  .nav-list.active { display: flex; }
  .nav-list li { margin: 20px 0; }
  
  /* ハンバーガーアニメーション */
  .menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 60px 0 20px;
  text-align: center;
}

.footer-nav {
  margin-bottom: 30px;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Utilities */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.rounded { border-radius: var(--radius); }
