/* =================================
   ヘッダー
   ================================= */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 24px;
}

.logo span {
  font-size: 16px;
  font-weight: bold;
  transform: translateY(2px);
}

.nav-buttons a {
  margin-left: 16px;
  padding: 8px 20px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 14px;
}

.nav-buttons a:first-child {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.nav-buttons a:last-child {
  background-color: var(--primary-color);
  color: white;
}

/* =================================
   ハンバーガーメニュー（デスクトップでは非表示）
   ================================= */

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 24px;
  height: 24px;
  cursor: pointer;
  position: relative;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  margin: 2px 0;
  transition: all 0.3s ease;
}

/* =================================
   モバイルメニュー（デフォルトで非表示）
   ================================= */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1100;
  display: none;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: rgba(68, 181, 205, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 50px 15px 15px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.active .mobile-menu-content {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.mobile-menu-close::before,
.mobile-menu-close::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background: white;
}

.mobile-menu-close::before {
  transform: rotate(45deg);
}

.mobile-menu-close::after {
  transform: rotate(-45deg);
}

.mobile-menu-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-items li {
  margin-bottom: 5px;
}

.mobile-menu-items a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: normal;
  padding: 8px 12px;
}

.mobile-menu-items a strong {
  font-weight: bold;
}

.mobile-menu-items .separator {
  height: 1px;
  background: #ddd;
  margin: 20px 0;
  list-style: none;
}

.mobile-menu-items a.contact-style {
  background: transparent;
  color: white;
  border: 2px solid white;
  border-radius: 8px;
  text-align: center;
  margin-top: 5px;
  font-weight: bold;
  padding: 10px 12px;
}

.mobile-menu-items a.cta-style {
  background: var(--secondary-color);
  color: white;
  border-radius: 8px;
  text-align: center;
  border: none;
  margin-top: 5px;
  font-weight: bold;
  padding: 10px 12px;
  box-shadow: 2px 2px 0 #CC143E;
}

/* =================================
   固定バナー
   ================================= */

.fixed-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px;
  text-align: center;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.hero-note {
  text-align: center;
  font-size: 14px;
  margin-bottom: 10px;
}

.fixed-banner-legal-link {
  display: none;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  opacity: 1;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.fixed-banner-legal-link:hover {
  color: rgba(255, 255, 255, 0.68);
  opacity: 1;
}

.fixed-banner.is-docked {
  background: transparent;
  color: white;
  box-shadow: none;
}

.fixed-banner.is-docked .hero-note {
  color: white;
}

.fixed-banner.is-docked .fixed-banner-legal-link {
  display: block;
}

/* =================================
   フッター
   ================================= */

footer {
  background: var(--footer-blue);
  color: white;
  padding: 40px 20px;
  text-align: center;
}

footer > div {
  max-width: calc(100vw - 40px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer img {
  height: 24px;
}