/* =========================================
   Good Link - Common Stylesheet
   ========================================= */

:root {
  --blue-deep: #0a3a8c;
  --blue: #1352c4;
  --blue-bright: #1f6feb;
  --blue-soft: #e6f1fb;
  --green: #4cc290;
  --green-deep: #2fa074;
  --green-soft: #eaf3de;
  --red: #e84c3d;
  --red-deep: #c93828;
  --red-soft: #fcebeb;
  --ink: #1a2540;
  --gray-text: #4a5568;
  --gray-soft: #8a94a6;
  --line: #dfe5ee;
  --paper: #f6f8fc;
  --warning: #fef9e7;
  --warning-line: #f0d97a;
  --warning-text: #6b5a17;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-jp {
  font-size: 13px;
  color: var(--blue-deep);
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Footer logo color invert */
.footer-brand .logo-img {
  height: 32px;
  filter: brightness(0) invert(1);
}

.footer-brand .logo-jp {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--blue-deep);
  cursor: pointer;
  padding: 4px 8px;
}

.nav-list {
  display: flex;
  gap: 22px;
  list-style: none;
  align-items: center;
}

.nav-list a {
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.04em;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--blue);
}

.nav-list a.active {
  color: var(--blue);
  font-weight: 500;
}

.nav-list a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--blue);
}

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 4px;
  font-size: 12px !important;
  letter-spacing: 0.05em !important;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--blue-deep) !important;
}

.nav-cta::after {
  display: none !important;
}

/* ===== Page Hero ===== */
.page-hero {
  background: var(--blue);
  color: var(--white);
  padding: 140px 32px 60px;
  position: relative;
}

.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.page-hero-en {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  font-weight: 500;
}

.page-hero h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
}

.page-hero-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 10px;
}

.page-hero-line {
  width: 50px;
  height: 1px;
  background: var(--red);
  margin-top: 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  font-size: 13px;
  letter-spacing: 0.05em;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(10, 58, 140, 0.18);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--blue-soft);
}

.btn-arrow::after {
  content: "→";
  transition: transform 0.25s ease;
}

.btn:hover .btn-arrow::after,
.btn-arrow:hover::after {
  transform: translateX(3px);
}

/* ===== Section Common ===== */
.section {
  padding: 80px 32px;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-narrow {
  max-width: 920px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
  text-align: center;
}

.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--blue-deep);
  text-align: center;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

/* ===== CTA Band ===== */
.cta-band {
  background: var(--blue);
  color: var(--white);
  padding: 50px 32px;
  text-align: center;
}

.cta-band-inner {
  max-width: 720px;
  margin: 0 auto;
}

.cta-band h2 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.cta-band p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 22px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--blue-deep);
  color: var(--white);
  padding: 60px 32px 24px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.9;
  margin-top: 16px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.1em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a,
.footer-col span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  display: block;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.7s ease both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .header-inner {
    padding: 12px 16px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    align-items: stretch;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
  }

  .nav-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .nav-list a {
    display: block;
    text-align: left;
  }

  .nav-cta {
    display: inline-block;
    text-align: center;
  }
}

@media (max-width: 920px) {
  .section {
    padding: 60px 16px;
  }

  .page-hero {
    padding: 110px 16px 50px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .logo-img { height: 28px; }
  .logo-jp { font-size: 11px; }
}
