:root {
  --primary-color: #90d168;
  --secondary-color: #e8f4d9;
  --accent-color: #7ab84e;
  --gradient-start: #a7e088;
  --gradient-end: #90d168;
  --text-color: #4a4a4a;
  --border-radius: 12px;
}

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

@font-face {
  font-family: "LINESeed";
  src: url("/assets/fonts/LINESeedJP_OTF_Rg.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  height: 100%;
}

body {
  font-family: "LINESeed", "M PLUS 1p", "Noto Sans JP", "Zen Maru Gothic",
    sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background: linear-gradient(135deg, #f0f9e5 0%, #e8f4d9 100%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background: linear-gradient(
    45deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: white;
  text-align: center;
  box-shadow: 0 2px 10px rgba(144, 209, 104, 0.2);
}

.header-logo {
  height: 100px;
  width: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-logo {
    height: auto;
    width: 100px;
  }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  position: relative;
}

.header-subtitle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  opacity: 0.9;
  white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-subtitle {
    position: static;
    transform: none;
    margin-top: 0.5rem;
    text-align: center;
    flex: 1;
    padding: 0 1rem;
  }
}

/* ハンバーガーメニューボタン */
.hamburger-menu {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1000;
}

.hamburger-menu span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #333;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* グローバルナビゲーション */
.global-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100vh;
  background-color: white;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 999;
}

.global-nav.active {
  right: 0;
}

.global-nav ul {
  flex-direction: column;
  padding: 80px 20px;
  list-style: none;
  margin: 0;
}

.global-nav li {
  margin: 1rem 0;
}

.global-nav a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.global-nav a:hover {
  color: #007bff;
}

/* ハンバーガーメニューのアニメーション */
.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  flex: 1 0 auto;
}

footer {
  background: linear-gradient(
    45deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(144, 209, 104, 0.1);
  flex-shrink: 0;
  margin-top: auto;
}

/* 共通ボタンスタイル */
.button {
  background-color: var(--accent-color);
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin: 0.5rem 0;
  display: inline-block;
}

.button:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}
