:root {
  --base-color: rgb(189, 218, 200);
  --accent-color: rgb(120, 180, 155);
  --dark-green: rgb(12, 102, 50);
  --text-color: #333;
  --bg-color: #f9fbfa;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

main {
  padding-top: 100px;
}
header {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 32px;
  background-color: rgb(189, 218, 200);
  justify-content: flex-start; 
}

.logo {
  width: 150px;
  height: auto;
}

/* =====================
   メニュー（PC）
===================== */
.menu {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.menu li a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  position: relative;
}

.menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: var(--dark-green);
  transition: width 0.3s ease;
}

.menu li a:hover::after {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .menu {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background-color: rgba(12, 102, 50, 0.95);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .menu.active {
    max-height: 400px;
    padding: 20px 0;
  }

  .menu li {
    margin: 14px 0;
  }

  .menu li a {
    color: #fff;
    font-size: 16px;
  }
}


/* --- ページタイトル --- */
.page-header {
  background: transparent;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
}

.title { font-size:clamp(28px,4vw,44px); letter-spacing:.08em; font-weight:800; color:#1b2a41; text-shadow:0 2px 0 rgba(255,255,255,.6); }


.page-header .sub {
  font-size: 14px;
  color: #5a6772;
  margin: 4px 0 0 0;
}
/* --- ビジネスカード --- */
.business-grid {
  display:grid;
  gap:24px;
  grid-template-columns:1fr;
}
@media(min-width:860px){ .business-grid{ grid-template-columns:repeat(2,1fr); } }

.card {
  position:relative;
  border-radius: var(--radius);
  padding:24px;
  background:#fff;
  box-shadow: var(--shadow);
  transform: translateY(30px) scale(0.98);
  opacity:0;
  filter:blur(2px);
  transition: transform 0.8s cubic-bezier(.21,.9,.24,1), opacity 0.8s ease, filter 0.8s ease;
}
.card.in {
  transform: translateY(0) scale(1);
  opacity:1;
  filter:blur(0);
  animation: float 6s ease-in-out 0.6s infinite alternate;
}
@keyframes float { from{transform:translateY(0);} to{transform:translateY(-6px);} }

/* --- 丸番号 --- */
.card h2 {
  position: relative;
  padding-left:50px;
  margin-bottom:1.5rem; /* 余白増やした */
  font-size:1.5rem;
}
.card h2::before {
  content: attr(data-num);
  position:absolute; left:0; top:50%;
  transform: translateY(-50%);
  width:36px; height:36px; line-height:36px;
  text-align:center;
  border-radius:50%;
  font-weight:bold;
  font-size:1rem;
  color:#fff;
  background:#2d7a36;
}
.b-card h2::before { background: linear-gradient(135deg,#6da0eb,#4a7fcc); }
.o-card h2::before { background: linear-gradient(135deg,#f8a25c,#f08b38); }
.g-card h2::before { background: linear-gradient(135deg,#80d36b,#55b146); }

/* --- アコーディオン --- */
.accordion-item h3 {
  margin:0;
  padding:10px 16px;
  background:#eee;
  cursor:pointer;
  border-radius:12px;
  transition: background 0.3s;
}
.accordion-item h3:hover { background:#ddd; }
.accordion-item p { margin:0; padding:10px 16px; display:none; line-height:1.6; }
.accordion-item.active p { display:block; }

/* --- フェードイン --- */
.fade-in { opacity:0; transform:translateY(20px); transition: all 0.8s ease; }
.fade-in.show { opacity:1; transform:translateY(0); }

/* --- ボタン --- */
.btn-company {
  display:inline-block;
  padding:12px 20px;
  margin-top:24px;
  background:var(--b);
  color:#fff;
  text-decoration:none;
  border-radius:8px;
}
.btn-company:hover { background:#3d6eb5; }


