/* ============================================================
   一般社団法人FAST協会 — Corporate Website Stylesheet
   Design: Civic-International | Deep Navy + Warm Gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700;800&family=Noto+Serif+JP:wght@400;600;700&display=swap');

/* ─── CSS Custom Properties ────────────────────────────────── */
:root {
  --navy:        #1a2d5a;
  --navy-dark:   #0d1f40;
  --navy-mid:    #1e3a73;
  --navy-light:  #2a52a0;
  --slate:       #4a5568;
  --slate-light: #718096;
  --slate-pale:  #e2e8f0;
  --white:       #ffffff;
  --off-white:   #f5f7fc;
  --accent:      #c8a96e;
  --accent-dark: #a8843e;
  --text-dark:   #1a202c;
  --text-mid:    #2d3748;
  --text-light:  #718096;
  --border:      #e2e8f0;
  --shadow-sm:   0 2px 8px rgba(13,31,64,0.08);
  --shadow-md:   0 8px 32px rgba(13,31,64,0.14);
  --shadow-lg:   0 20px 60px rgba(13,31,64,0.20);
  --radius:      8px;
  --radius-lg:   16px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: 'Noto Sans JP', sans-serif; color: var(--text-dark); background: var(--white); line-height: 1.7; overflow-x: hidden; }
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }

/* ─── Typography ────────────────────────────────────────────── */
.serif { font-family: 'Noto Serif JP', serif; }
h1, h2, h3, h4 { font-family: 'Noto Serif JP', serif; line-height: 1.4; font-weight: 700; }

/* ─── Section Labels ────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.section-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 540px;
}

/* ─── Layout ────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
section    { padding: 100px 0; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
#header.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text-block { display: flex; flex-direction: column; line-height: 1.25; }
.logo-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
}
.logo-top-tag {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  line-height: 1.1;
  margin-bottom: 2px;
}
.logo-en {
  font-size: 0.54rem;
  font-weight: 500;
  color: var(--slate-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.logo-accent { display: block; width: 100%; height: 0.5px; background: var(--navy-light); margin-top: 3px; }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
  letter-spacing: 0.04em;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* CTA */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius);
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--navy-mid) !important; transform: translateY(-1px); color: var(--white) !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); transition: var(--transition); border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav { display: none; flex-direction: column; background: var(--white); border-top: 1px solid var(--border); padding: 1rem 2rem 1.5rem; gap: 0.2rem; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--slate-pale); font-size: 0.95rem; color: var(--text-mid); font-weight: 500; letter-spacing: 0.04em; }
.mobile-nav a:last-child { border-bottom: none; }

/* ============================================================
   HERO
   ============================================================ */
#home {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 90px 0 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 24, 48, 0.65) 0%, rgba(26, 52, 100, 0.55) 55%, rgba(13, 32, 64, 0.70) 100%),
              url('images/hero_bg_shopping.png') no-repeat center center / cover;
  z-index: 0;
}

/* Subtle globe grid pattern */
.hero-globe-deco {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 72% 48%, rgba(200,169,110,0.10) 0%, transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(42,82,160,0.25) 0%, transparent 40%),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 44px 44px, 44px 44px;
  z-index: 1;
}

.hero-deco {
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  z-index: 1;
}
.hero-deco::before {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 100%; height: 120%;
  background: linear-gradient(135deg, transparent 49%, rgba(200,169,110,0.06) 50%);
}
.hero-deco::after {
  content: '';
  position: absolute;
  top: 15%; right: 8%;
  width: 1px; height: 55%;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.hero-inner { position: relative; z-index: 2; max-width: 720px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,169,110,0.14);
  border: 1px solid rgba(200,169,110,0.4);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 0.4s forwards;
}
.hero-title em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(0.875rem, 1.5vw, 0.98rem);
  color: rgba(255,255,255,0.76);
  line-height: 2;
  margin-bottom: 2rem;
  max-width: 520px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 0.8s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 11px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(200,169,110,0.4);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,169,110,0.5); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 11px 24px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.08); transform: translateY(-2px); }

/* Stats Bar */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stats-inner { display: flex; align-items: stretch; max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
.hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  animation: fadeUp 0.9s 1.0s forwards;
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num { font-family: 'Noto Serif JP', serif; font-size: 1.45rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 0.15rem; }
.hero-stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.60); letter-spacing: 0.05em; }

/* ============================================================
   COMPANY SECTION (協会概要)
   ============================================================ */
#company { 
  background: var(--off-white); 
  padding-top: 30px;
  padding-bottom: 30px;
}

.company-header { margin-bottom: 2.4rem; }
.section-title-rule { width: 100%; height: 2px; background: linear-gradient(to right, var(--accent), var(--navy-light), transparent); margin-top: 0.8rem; }

.company-sub-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

/* Two-col: table | mission */
.company-overview-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: start; margin-bottom: 3rem; }

/* Profile Table */
.profile-table-wrap { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.profile-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.profile-table th { width: 28%; background: #eef2f7; color: var(--navy); font-weight: 700; font-family: 'Noto Sans JP', sans-serif; padding: 1rem 1.2rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); letter-spacing: 0.03em; white-space: nowrap; }
.profile-table td { background: var(--white); color: var(--text-mid); padding: 1rem 1.4rem; vertical-align: top; border-bottom: 1px solid var(--border); line-height: 1.7; }
.profile-table tr:last-child th,
.profile-table tr:last-child td { border-bottom: none; }
.profile-td-sub { display: block; font-size: 0.78rem; color: var(--text-light); margin-top: 0.25rem; }

/* Mission Cards */
.mission-wrap { padding-top: 0.2rem; }

.mission-card {
  display: flex;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.mission-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent); transform: translateY(-2px); }

.mission-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 1.35rem;
}
.mission-content {}
.mission-title { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.mission-text  { font-size: 0.82rem; color: var(--text-light); line-height: 1.7; }

/* Members Section */
.members-section { padding-top: 1.4rem; }

.member-cards-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.member-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}
.member-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--accent); }

.member-photo-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  margin: 1.5rem auto 0.5rem;
}
.member-photo-wrap--placeholder {
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.member-avatar-icon {
  color: var(--navy);
  opacity: 0.35;
  transition: transform var(--transition);
}
.member-card:hover .member-avatar-icon {
  transform: scale(1.05);
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}
.member-card:hover .member-photo { transform: scale(1.03); }

.member-info {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.member-role { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; color: var(--accent); text-transform: uppercase; margin-bottom: 0.3rem; }
.member-name { font-family: 'Noto Serif JP', serif; font-size: 1.1rem; color: var(--navy); font-weight: 700; }
.member-name-sub { font-size: 0.74rem; color: var(--text-light); margin-top: 0.2rem; margin-bottom: 0.8rem; }
.member-bio { font-size: 0.82rem; color: var(--text-mid); line-height: 1.8; text-align: left; }
.member-bio + .member-bio { margin-top: 0.8rem; }

/* Desktop layout for Member Profiles */
@media (min-width: 769px) {
  .member-card {
    flex-direction: row;
    align-items: flex-start;
    padding: 2rem;
  }
  .member-photo-wrap {
    margin: 0 2rem 0 0;
  }
  .member-info {
    padding: 0;
    text-align: left;
  }
}

/* ============================================================
   ACTIVITIES SECTION (活動実績)
   ============================================================ */
#activities {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
  padding-top: 30px;
  padding-bottom: 30px;
}
#activities::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,82,160,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.activities-header { text-align: center; margin-bottom: 3.5rem; }
.activities-header .section-label { justify-content: center; color: var(--accent); }
.activities-header .section-label::before { display: none; }
.activities-header .section-title { color: var(--white); }
.activities-header .section-subtitle { color: rgba(255,255,255,0.58); margin: 0 auto; }

.activities-year-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.year-column {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.year-column.visible { opacity: 1; transform: translateY(0); }

.year-badge {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.4rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(200,169,110,0.28);
  letter-spacing: 0.02em;
}

.year-timeline { display: flex; flex-direction: column; gap: 1.05rem; }

.act-item { display: flex; gap: 0.75rem; align-items: flex-start; }

.act-date {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  min-width: 30px;
  margin-top: 3px;
  flex-shrink: 0;
}

.act-title { font-size: 0.84rem; font-weight: 600; color: rgba(255,255,255,0.82); margin-bottom: 0.2rem; line-height: 1.45; }
.act-title.act-highlight { color: var(--white); font-weight: 700; }
.act-desc { font-size: 0.74rem; color: rgba(255,255,255,0.46); line-height: 1.65; }

.activities-ongoing-badge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.6rem;
  padding: 1rem 1.1rem;
  background: rgba(200,169,110,0.1);
  border: 1px solid rgba(200,169,110,0.28);
  border-radius: var(--radius);
}
.activities-ongoing-badge strong { display: block; font-size: 0.85rem; color: var(--white); margin-bottom: 0.15rem; }
.activities-ongoing-badge span  { font-size: 0.74rem; color: rgba(255,255,255,0.5); }

/* ============================================================
   NEWS SECTION (お知らせ)
   ============================================================ */
#news {
  background: var(--off-white);
  padding: 40px 0 20px;
}
.news-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.3rem;
}
.news-header-text .section-label { 
  margin-bottom: 0.3rem; 
  font-size: 0.65rem;
}
.news-header-text .section-title { 
  margin-bottom: 0; 
  font-size: 1.25rem; /* Specially made smaller for news section */
}

.news-list {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.news-item {
  display: flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  text-decoration: none;
}
.news-item:last-child {
  border-bottom: none;
}
.news-item:hover {
  background: var(--off-white);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 150px;
  flex-shrink: 0;
}

.news-date {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.05em;
  min-width: 66px;
  text-align: left;
}

.news-cat {
  font-size: 0.55rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  color: var(--white);
}
.cat-cert { background: var(--navy-light); }
.cat-info { background: var(--accent); }
.cat-vegan { background: #48bb78; }

.news-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.3;
  transition: color var(--transition);
}
.news-item:hover .news-title {
  color: var(--navy-light);
}

@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.5rem 0.6rem;
  }
  .news-meta {
    min-width: auto;
  }
}

/* ============================================================
   SERVICES SECTION (事業内容)
   ============================================================ */
#services { 
  background: var(--white); 
  padding-top: 16px;
  padding-bottom: 30px;
}

.services-header { text-align: center; margin-bottom: 4rem; }
.services-header .section-label { justify-content: center; }
.services-header .section-label::before { display: none; }
.services-header .section-subtitle { margin: 0 auto; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(30px);
}
.service-card.visible { opacity: 1; transform: translateY(0); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Service Image */
.service-img-wrap {
  overflow: hidden;
  position: relative;
}
.service-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(13,31,64,0.35), transparent);
}
.service-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.service-card:hover .service-img { transform: scale(1.04); }

.service-num { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; color: var(--accent); margin-bottom: 0.6rem; }
.service-body { padding: 1.7rem; }
.service-title { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.8rem; line-height: 1.5; }
.service-desc { font-size: 0.84rem; color: var(--text-light); line-height: 1.85; margin-bottom: 1.1rem; }

.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.service-tag { font-size: 0.68rem; font-weight: 600; background: var(--off-white); color: var(--slate); padding: 3px 10px; border-radius: 100px; border: 1px solid var(--border); letter-spacing: 0.04em; }

/* ============================================================
   CONTACT SECTION (お問い合わせ)
   ============================================================ */
#contact {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
  padding-top: 30px;
}
#contact::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-header { text-align: center; margin-bottom: 4rem; }
.contact-header .section-label { justify-content: center; color: var(--accent); }
.contact-header .section-label::before { display: none; }
.contact-header .section-title { color: var(--white); }
.contact-header .section-subtitle { color: rgba(255,255,255,0.58); margin: 0 auto; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }

.info-block { margin-bottom: 2rem; }
.info-block-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; color: var(--accent); margin-bottom: 0.5rem; text-transform: uppercase; }
.info-block-value { font-size: 0.95rem; color: rgba(255,255,255,0.82); line-height: 1.8; font-weight: 400; }
.info-block-value strong { color: var(--white); font-weight: 700; display: block; font-size: 1.05rem; }

.info-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.09); margin: 1.8rem 0; }

/* Form */
.contact-form-wrap { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 2.4rem; backdrop-filter: blur(8px); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }

.form-label { display: block; font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.68); margin-bottom: 0.4rem; letter-spacing: 0.04em; }
.form-label .required { color: #fc8181; margin-left: 3px; font-size: 0.7rem; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.3); font-size: 0.85rem; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); background: rgba(255,255,255,0.09); }

.form-select {
  cursor: pointer;
  color: rgba(255,255,255,0.82);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c8a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  background-color: rgba(255,255,255,0.06);
}
.form-select option { background: var(--navy-dark); color: var(--white); }
.form-textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 14px 28px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(200,169,110,0.3);
}
.form-submit:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,169,110,0.45); }
.form-submit:active { transform: translateY(0); }

.form-success { display: none; text-align: center; padding: 2rem; color: var(--white); }
.form-success-icon { width: 56px; height: 56px; background: rgba(72,187,120,0.15); border: 2px solid rgba(72,187,120,0.5); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: #68d391; }
.form-success h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 0.5rem; }
.form-success p { font-size: 0.85rem; color: rgba(255,255,255,0.58); }

/* ============================================================
   FOOTER
   ============================================================ */
#footer { background: var(--navy-dark); border-top: 1px solid rgba(255,255,255,0.08); padding: 3.2rem 0 0; }

.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 0.7fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }

.footer-logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-logo-img { width: 40px; height: 40px; object-fit: contain; }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.48); line-height: 1.85; }

.footer-block-heading { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }

.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.82rem; color: rgba(255,255,255,0.58); line-height: 1.7; margin-bottom: 0.8rem; }

.footer-links-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links-col a { font-size: 0.82rem; color: rgba(255,255,255,0.48); transition: color var(--transition); letter-spacing: 0.04em; }
.footer-links-col a:hover { color: var(--accent); }

.footer-bottom { padding: 1.2rem 0; text-align: center; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); letter-spacing: 0.04em; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 999;
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--navy-mid); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .company-overview-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .member-cards-row      { gap: 1.5rem; }
  .activities-year-grid  { grid-template-columns: 1fr; }
  .services-grid         { grid-template-columns: 1fr 1fr; }
  .footer-main           { grid-template-columns: 1fr 1fr; }
  .nav-links             { display: none; }
  .hamburger             { display: flex; }
}

@media (max-width: 600px) {
  section { padding: 72px 0; }
  .services-grid    { grid-template-columns: 1fr; }
  .contact-grid     { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-stats-inner { flex-direction: column; }
  .hero-stat        { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 1rem 0; }
  .hero-stat:last-child { border-bottom: none; }
  .form-row         { grid-template-columns: 1fr; }
  .footer-main      { grid-template-columns: 1fr; gap: 2rem; }
  .logo-en          { display: none; }
}
