/*
 * スマホファースト設計
 * - ベーススタイル = モバイル（〜767px）
 * - 768px〜 = タブレット
 * - 1024px〜 = PC
 * - 1280px〜 = 大画面PC
 */

/* リセット & ベース */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

main {
  overflow-x: hidden;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  overflow-x: hidden;
}

/* スクリーンリーダー用（SEO・アクセシビリティ） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 16px;
  background: transparent;
}

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

/* ロゴ */
.logo {
  display: block;
  max-width: 98px;
}

.logo img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .logo {
    max-width: 50px;
  }
}

/* ハンバーガーメニューボタン */
.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0px;
  background: #051538;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.menu-btn-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-btn[aria-expanded="true"] .menu-btn-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-btn-bar:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] .menu-btn-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-btn .menu-btn-bar {
  transform: none;
}

.menu-btn[aria-expanded="true"] .menu-btn-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-btn-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
  .menu-btn[aria-expanded="true"] .menu-btn-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-btn[aria-expanded="true"] .menu-btn-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* メニューオーバーレイ */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: #051538;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.menu-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.menu-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.2s ease;
}

.menu-close-icon {
  color: #fff;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}

.menu-close-btn:hover {
  opacity: 0.8;
}

.menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 80px 24px 24px;
}

.menu-list {
  list-style: none;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.menu-list li {
  margin-bottom: 20px;
}

.menu-list a {
  display: inline-block;
  color: #fff;
  font-size: 1.125rem;
  text-decoration: none;
  padding: 4px 0;
  transition: opacity 0.2s ease;
}

.menu-list a:hover {
  opacity: 0.8;
}

.menu-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* CTAボタンセクション（フッター） */
.cta-section {
  padding: 40px 20px 60px;
  background: #051538;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.cta-btn-consult,
.cta-btn-line {
  display: block;
  text-align: center;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.cta-btn-consult {
  background: #c9a227;
  color: #051538;
}

.cta-btn-consult:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cta-btn-line {
  background: #06c755;
  color: #fff;
}

.cta-btn-line:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
    max-width: 560px;
  }

  .cta-btn-consult,
  .cta-btn-line {
    flex: 1 1 0;
    min-width: 0;
  }
}

.pgs-amelia-form-inner{margin-top:0px !important;}



