/* ========================================
   PROUD LAKE - common.css
   全ページ共通スタイル
   ======================================== */

/* ========== RESET & ROOT ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #1a56db;
  --blue-dark:  #1341b0;
  --blue-mid:   #3b82f6;
  --blue-light: #e8f1fd;
  --blue-pale:  #f0f7ff;
  --navy:       #0f1f4b;
  --yellow:     #fbbf24;
  --yellow-mid: #f59e0b;
  --white:      #ffffff;
  --gray:       #f5f7fb;
  --text:       #1e2d4e;
  --text-mid:   #4b5c7a;
  --text-light: #7a8ba8;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt" 1;
  text-rendering: optimizeLegibility;
}

/* ========== SCROLL PROGRESS BAR ========== */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-mid), var(--yellow));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ========== HEADER ========== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
  transition: box-shadow 0.4s, background 0.4s;
}
header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 28px rgba(26,86,219,0.12);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 34px; height: 34px;
  background: var(--blue);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.05em;
  transition: transform 0.3s, box-shadow 0.3s;
}
.logo:hover .logo-mark {
  transform: rotate(-8deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(26,86,219,0.35);
}
.logo-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.logo:hover .logo-text { color: var(--blue); }

nav { display: flex; gap: 4px; align-items: center; }
nav a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.25s;
  letter-spacing: 0.02em;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
nav a:hover { color: var(--blue); background: var(--blue-light); }
nav a:hover::after { transform: scaleX(1); }
nav a.active { background: var(--blue-light); color: var(--blue); }
.nav-entry {
  background: var(--yellow) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  margin-left: 4px;
  overflow: hidden;
}
.nav-entry::after { display: none; }
.nav-entry:hover { background: var(--yellow-mid) !important; transform: translateY(-1px); }
.nav-contact {
  background: var(--blue) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  margin-left: 4px;
  overflow: hidden;
}
.nav-contact::after { display: none; }
.nav-contact:hover { background: var(--blue-dark) !important; transform: translateY(-1px); }

/* ========== FOOTER ========== */
footer {
  background: var(--navy);
  padding: 48px 40px 24px;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-mid), var(--yellow));
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
  flex-wrap: wrap; gap: 32px;
}
.footer-logo-text {
  font-size: 20px; font-weight: 900; color: var(--white); letter-spacing: 0.06em;
  transition: opacity 0.2s;
}
.footer-logo-text:hover { opacity: 0.8; }
.footer-logo-text span { color: var(--yellow); }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 6px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a {
  font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.footer-nav a:hover { color: var(--yellow); transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-company { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ========== BUTTONS ========== */
.btn-blue {
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 36px;
  border-radius: 100px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(26,86,219,0.2), 0 8px 24px rgba(26,86,219,0.2);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}
.btn-blue::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.btn-blue:hover::before { left: 100%; }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-3px); box-shadow: 0 4px 12px rgba(26,86,219,0.2), 0 16px 36px rgba(26,86,219,0.3); }

.btn-white {
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 32px;
  border-radius: 100px;
  border: 1.5px solid rgba(26,86,219,0.4);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}
.btn-white::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 0;
}
.btn-white span, .btn-white { position: relative; z-index: 1; }
.btn-white:hover::before { transform: scaleX(1); }
.btn-white:hover { color: var(--white); transform: translateY(-3px); }

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700; font-size: 16px;
  padding: 18px 44px;
  border-radius: 100px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(251,191,36,0.25), 0 8px 28px rgba(251,191,36,0.35);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}
.btn-yellow::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}
.btn-yellow:hover::before { left: 100%; }
.btn-yellow:hover { background: var(--yellow-mid); transform: translateY(-3px); box-shadow: 0 4px 12px rgba(251,191,36,0.3), 0 16px 40px rgba(251,191,36,0.4); }

/* ========== SECTION BASE ========== */
section { padding: 80px 40px; }
.container { max-width: 1100px; margin: 0 auto; }
.sec-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sec-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--blue);
  border-radius: 1px;
  flex-shrink: 0;
}
.sec-heading {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}
.sec-body {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-mid);
  max-width: 560px;
}
.sec-divider {
  display: none;
}

/* ========== PAGE HERO ========== */
.page-hero {
  background: linear-gradient(150deg, #0c1a3e 0%, #1341b0 50%, #1a56db 100%);
  padding-top: 70px;
  min-height: 300px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 85% 40%, rgba(59,130,246,0.35) 0%, transparent 55%),
    radial-gradient(ellipse 50% 70% at 15% 70%, rgba(251,191,36,0.07) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 50% 0%, rgba(255,255,255,0.04) 0%, transparent 50%);
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero-tri1 {
  position: absolute;
  width: 0; height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 175px solid rgba(255,255,255,0.04);
  right: 120px; top: -30px;
  transform: rotate(10deg);
  animation: float 8s ease-in-out infinite;
}
.page-hero-tri2 {
  position: absolute;
  width: 0; height: 0;
  border-left: 55px solid transparent;
  border-right: 55px solid transparent;
  border-bottom: 95px solid rgba(251,191,36,0.12);
  right: 60px; bottom: -20px;
  transform: rotate(-10deg);
  animation: float 6s ease-in-out infinite reverse;
}
.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 40px;
  width: 100%;
  position: relative;
  z-index: 2;
}
.page-hero-sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-hero-sub::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--yellow);
  border-radius: 1px;
}
.page-hero-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 12px;
}
.breadcrumb a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.25); }

/* ========== FORM ========== */
.form-group { margin-bottom: 22px; }
.form-label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--navy); margin-bottom: 8px; letter-spacing: 0.03em;
}
.form-label span { color: var(--blue); margin-left: 4px; font-size: 11px; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #d4ddef;
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26,86,219,0.1);
  transform: translateY(-1px);
}
.form-textarea { height: 140px; resize: vertical; line-height: 1.8; }
.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: '▾'; position: absolute;
  right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-light); pointer-events: none; font-size: 12px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  width: 100%; background: var(--blue); color: var(--white);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700; font-size: 16px;
  padding: 18px; border: none; border-radius: 8px;
  cursor: pointer; letter-spacing: 0.06em;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(26,86,219,0.3);
  position: relative; overflow: hidden;
}
.form-submit::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.form-submit:hover::before { left: 100%; }
.form-submit:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,86,219,0.4); }

/* ========== ANIMATIONS ========== */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-18px) rotate(var(--rot, 0deg)); }
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-10px) rotate(var(--rot, 0deg)); }
}
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26,86,219,0.3); }
  50% { box-shadow: 0 0 0 12px rgba(26,86,219,0); }
}
@keyframes gradient-x {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes dash {
  to { stroke-dashoffset: 0; }
}
@keyframes count { from { opacity: 0; } to { opacity: 1; } }

/* スクロール連動アニメーション */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

.zoom-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.zoom-in.visible { opacity: 1; transform: scale(1); }

/* stagger delay */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }
.stagger > *:nth-child(5) { transition-delay: 0.4s; }
.stagger > *:nth-child(6) { transition-delay: 0.5s; }

/* ========== CTA SECTION（共通） ========== */
.page-cta {
  background: linear-gradient(160deg, #080e24 0%, #0f1f4b 50%, #131e45 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(26,86,219,0.25), transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 20%, rgba(59,130,246,0.12), transparent 50%);
}
.page-cta-deco1 {
  position: absolute;
  width: 0; height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 140px solid rgba(26,86,219,0.12);
  left: 40px; bottom: -30px;
  transform: rotate(20deg);
  animation: float 10s ease-in-out infinite;
}
.page-cta-deco2 {
  position: absolute;
  width: 0; height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid rgba(251,191,36,0.15);
  right: 80px; top: 30px;
  transform: rotate(-15deg);
  animation: float 7s ease-in-out infinite reverse;
}
.page-cta-content { position: relative; z-index: 1; }
.page-cta-heading {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 16px;
  font-family: 'Noto Serif JP', serif;
}
.page-cta-heading span { color: var(--yellow); }
.page-cta-sub { font-size: 15px; color: rgba(255,255,255,0.6); margin-bottom: 36px; line-height: 1.9; }
.page-cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ========== HAMBURGER BUTTON ========== */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
  position: relative;
  z-index: 1100;
}
.menu-btn:hover { background: var(--blue-light); }
.menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.25s, width 0.3s;
  transform-origin: center;
}
/* X に変形 */
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; width: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== MOBILE NAV OVERLAY ========== */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(15,31,75,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-inner {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--white);
  padding: 90px 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  box-shadow: -12px 0 60px rgba(0,0,0,0.15);
}
.mobile-nav.open .mobile-nav-inner {
  transform: translateX(0);
}
.mobile-nav-inner a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  border-radius: 10px;
  letter-spacing: 0.06em;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  position: relative;
}
.mobile-nav-inner a::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.mobile-nav-inner a:hover {
  background: var(--blue-light);
  color: var(--blue);
  transform: translateX(4px);
}
.mobile-nav-inner a:hover::before { opacity: 1; }
.mobile-nav-inner a.active { color: var(--blue); background: var(--blue-light); }
.mobile-nav-inner a.active::before { opacity: 1; }
.mobile-nav-cta {
  margin-top: 20px !important;
  background: var(--blue) !important;
  color: var(--white) !important;
  justify-content: center;
  border-radius: 10px !important;
  font-size: 14px !important;
}
.mobile-nav-cta:hover {
  background: var(--blue-dark) !important;
  color: var(--white) !important;
  transform: translateY(-2px) !important;
}
.mobile-nav-cta::before { display: none !important; }

/* スクロールロック */
body.nav-lock { overflow: hidden; }

/* ========== RESPONSIVE（共通） ========== */
@media (max-width: 960px) {
  section { padding: 60px 24px; }
  header { padding: 0 20px; }
  /* ナビリンク・ボタンをすべて非表示 → ハンバーガーのみ表示 */
  nav .hide-sp { display: none; }
  nav .nav-entry { display: none; }
  nav .nav-contact { display: none; }
  .menu-btn { display: flex; }
  .mobile-nav { display: block; }
  /* ロゴ */
  .logo-text { font-size: 14px; white-space: nowrap; letter-spacing: 0.02em; }
  .logo-mark { width: 28px; height: 28px; font-size: 12px; border-radius: 5px; flex-shrink: 0; }
  .logo { gap: 8px; }
  .footer-top { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero-inner { padding: 50px 24px; }
}
@media (max-width: 600px) {
  section { padding: 48px 18px; }
  header { height: 60px; padding: 0 16px; }
  .page-cta-btns { flex-direction: column; align-items: center; }
  .sec-heading { font-size: clamp(22px, 6vw, 32px); }
  .sec-body { line-height: 1.8; font-size: 14px; }
  .page-hero-inner { padding: 40px 18px; }
  .page-hero-title { font-size: clamp(24px, 7vw, 40px); }
  /* フッターナビ折り返し */
  .footer-nav { flex-direction: column; gap: 10px; }
  .footer-nav a { font-size: 14px; }
}
@media (max-width: 400px) {
  section { padding: 48px 16px; }
}
