/* ============================================
   Accessible - 株式会社 Accessible ホームページ
   フォント＆カラー規約準拠
   コーポレートカラー: インクブルー #1E3A5F
   ベース: クリームホワイト #F7F4EE
   アクセント: ディープテール #2A7B6F / テラコッタ #C0664A / ゴールド #B8962E
   WCAG AAA 準拠
   ============================================ */

:root {
  /* Brand Colors */
  --ink-blue: #1E3A5F;
  --cream-white: #F7F4EE;
  --deep-teal: #2A7B6F;
  --terracotta: #C0664A;
  --gold: #B8962E;
  
  /* Neutrals */
  --white: #FFFFFF;
  --text-dark: #1E3A5F;
  --text-muted: #4A5F7F;
  
  /* Typography - フォント＆カラー規約準拠 */
  --font-logo: 'Cormorant Garamond', serif;
  --font-heading-lg: 'Outfit', 'Noto Sans JP', sans-serif;
  --font-heading-sm: 'Outfit', 'Noto Sans JP', sans-serif;
  --font-body: 'Inter', 'Noto Sans JP', sans-serif;
  --font-caption: 'Inter', 'Noto Sans JP', sans-serif;
  
  /* Spacing */
  --container-max: 1200px;
  --section-padding: 80px;
  --header-height: 72px;
  
  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--cream-white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ink-blue);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  opacity: 0.8;
}

a:focus-visible {
  outline: 2px solid var(--ink-blue);
  outline-offset: 2px;
}

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

/* Skip Link - アクセシビリティ */
.skip-link {
  font-family: var(--font-heading-sm);
  position: absolute;
  top: -100px;
  left: 24px;
  padding: 12px 24px;
  background: var(--ink-blue);
  color: var(--white);
  font-weight: 500;
  z-index: 10000;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 24px;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Header
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(30, 58, 95, 0.08);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(30, 58, 95, 0.1);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-logo);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink-blue);
  letter-spacing: 0.05em;
}

.logo:hover {
  opacity: 1;
  color: var(--ink-blue);
}

.nav-main {
  display: none;
}

@media (min-width: 768px) {
  .nav-main {
    display: block;
  }
  
  .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
  }
  
  .nav-list a {
    font-family: var(--font-heading-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
  }
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: opacity var(--transition);
}

.menu-toggle:hover {
  opacity: 0.7;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--ink-blue);
  outline-offset: 2px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink-blue);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream-white);
  padding: 40px 24px;
  z-index: 999;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
}

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

.mobile-nav ul {
  list-style: none;
}

.mobile-nav li {
  border-bottom: 1px solid rgba(30, 58, 95, 0.1);
}

.mobile-nav a {
  display: block;
  padding: 20px 0;
  font-family: var(--font-heading-sm);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: calc(var(--header-height) + 60px) 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ink-blue) 0%, #2d4a6f 50%, var(--deep-teal) 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
}

.hero-tagline {
  font-family: var(--font-logo);
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading-lg);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-family: var(--font-heading-sm);
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.hero-cta {
  display: inline-block;
  padding: 16px 40px;
  background: var(--white);
  color: var(--ink-blue);
  font-family: var(--font-heading-sm);
  font-weight: 500;
  border-radius: 4px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  opacity: 1;
}

.hero-scroll {
  font-family: var(--font-caption);
  font-weight: 300;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

/* ============================================
   Mission Section
   ============================================ */

.mission {
  padding: var(--section-padding) 0;
  background: var(--cream-white);
}

.section-title {
  font-family: var(--font-heading-lg);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink-blue);
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.mission-statement {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-dark);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.mission-pillars {
  display: grid;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .mission-pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar {
  padding: 32px 24px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(30, 58, 95, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(30, 58, 95, 0.1);
}

.pillar-icon {
  font-family: var(--font-heading-sm);
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--deep-teal);
  margin-bottom: 16px;
}

.pillar h3 {
  font-family: var(--font-heading-sm);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink-blue);
  margin-bottom: 12px;
}

.pillar p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   Services Section
   ============================================ */

.services {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.section-lead {
  font-family: var(--font-heading-sm);
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 48px;
  font-size: 0.95rem;
  font-weight: 500;
}

.service-cards {
  display: grid;
  gap: 24px;
  margin-bottom: 64px;
}

@media (min-width: 768px) {
  .service-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 320px;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card-inner {
  position: relative;
  height: 100%;
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.service-jat {
  background: linear-gradient(180deg, rgba(42, 123, 111, 0.95) 0%, rgba(42, 123, 111, 0.85) 100%);
}

.service-jatr {
  background: linear-gradient(180deg, rgba(184, 150, 46, 0.95) 0%, rgba(184, 150, 46, 0.85) 100%);
}

.service-jaws {
  background: linear-gradient(180deg, rgba(192, 102, 74, 0.95) 0%, rgba(192, 102, 74, 0.85) 100%);
}

.service-category {
  font-family: var(--font-heading-sm);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.service-name {
  font-family: var(--font-heading-lg);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.service-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.service-detail {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 24px;
}

.service-link {
  font-family: var(--font-heading-sm);
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  padding-bottom: 2px;
  align-self: flex-start;
}

.service-link:hover {
  border-bottom-color: var(--white);
  opacity: 1;
}

/* Regions */
.regions {
  padding-top: 48px;
  border-top: 1px solid rgba(30, 58, 95, 0.1);
}

.subsection-title {
  font-family: var(--font-heading-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-blue);
  margin-bottom: 24px;
  text-align: center;
}

.region-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 4px;
}

.region-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

.region-links a:hover {
  color: var(--ink-blue);
}

.separator {
  color: rgba(30, 58, 95, 0.3);
  font-size: 0.8rem;
  margin: 0 4px;
}

/* ============================================
   Newsletter Section
   ============================================ */

.newsletter {
  padding: 64px 0;
  background: var(--ink-blue);
  text-align: center;
}

.newsletter-title {
  font-family: var(--font-heading-lg);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.newsletter-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-cta {
  font-family: var(--font-heading-sm);
  display: inline-block;
  padding: 14px 32px;
  background: var(--white);
  color: var(--ink-blue);
  font-weight: 500;
  border-radius: 4px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.newsletter-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

/* ============================================
   About Section
   ============================================ */

.about {
  padding: var(--section-padding) 0;
  background: var(--cream-white);
}

.about-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-lead {
  font-family: var(--font-heading-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.about-philosophy {
  font-family: var(--font-heading-lg);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-blue);
  margin-bottom: 24px;
}

.about-list {
  list-style: none;
  margin-bottom: 40px;
}

.about-list li {
  font-family: var(--font-body);
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--deep-teal);
  border-radius: 50%;
}

.wcag-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 32px;
  background: var(--white);
  border: 2px solid var(--deep-teal);
  border-radius: 8px;
}

.badge-text {
  font-family: var(--font-heading-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--deep-teal);
  margin-bottom: 4px;
}

.badge-desc {
  font-family: var(--font-caption);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-muted);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 48px 0 24px;
  background: var(--ink-blue);
  color: var(--white);
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-main {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-logo {
  font-family: var(--font-logo);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.05em;
}

.footer-logo:hover {
  color: var(--white);
  opacity: 0.9;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  gap: 24px;
}

.footer-nav a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-caption);
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}
