/* ===========================================
   株式会社Extery — Corporate Website Styles
   Brand Color: #081ba6 (名刺統一)
   Modern Redesign 2026
   =========================================== */

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

:root {
  --color-brand: #081ba6;
  --color-brand-dark: #0a1628;
  --color-brand-light: #4f6ef7;
  --color-brand-bg: #e8edf8;
  --color-text: #1a1a2e;
  --color-text-sub: #64748b;
  --color-bg: #f8fafc;
  --color-white: #fff;
  --color-border: #e2e8f0;
  --max-width: 1000px;
  --font-stack: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-stack);
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-brand);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-brand-light);
}

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

/* ---- Header / Navigation ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition: background-color var(--transition), box-shadow var(--transition);
}

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

.site-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-logo:hover {
  text-decoration: none;
  color: var(--color-brand);
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-list a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-sub);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition);
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
  border-radius: 1px;
  transition: width var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--color-brand);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---- Sections ---- */
.section {
  padding: 88px 24px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-white {
  background-color: var(--color-white);
}

.section-gray {
  background-color: var(--color-bg);
}

/* ---- Hero ---- */
.hero {
  padding: 100px 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--color-brand-dark) 0%, var(--color-brand) 50%, #1a3ab5 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(79, 110, 247, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(79, 110, 247, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.hero .tagline {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
  font-weight: 400;
}

.hero .mission {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(8, 27, 166, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(8, 27, 166, 0.35);
  color: var(--color-white);
}

.btn-outline {
  border: 2px solid var(--color-brand);
  color: var(--color-brand);
  background: transparent;
}

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

/* ---- Section Titles ---- */
.section-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.section-subtitle {
  font-size: 15px;
  color: var(--color-text-sub);
  margin-bottom: 48px;
  line-height: 1.8;
}

/* ---- Cards (3-column) ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background-color: var(--color-white);
  border: none;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
}

.card-icon {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-bottom: 16px;
  line-height: 1.8;
}

.card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand);
  transition: color var(--transition);
}

.card-link:hover {
  color: var(--color-brand-light);
}

/* ---- Feature list (2-column) ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-item {
  padding: 28px;
  border-radius: 16px;
  background: var(--color-white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all var(--transition);
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.feature-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-brand);
}

.feature-item p {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

/* ---- Highlight Box ---- */
.highlight-box {
  background: linear-gradient(135deg, var(--color-brand-bg), #f0f4ff);
  border-left: 4px solid var(--color-brand);
  border-radius: 12px;
  padding: 32px 36px;
  margin: 24px 0;
}

.highlight-box p {
  font-size: 15px;
  line-height: 1.8;
}

.highlight-box strong {
  color: var(--color-brand);
}

/* ---- Service Detail ---- */
.service-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border);
}

.service-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-section h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  color: var(--color-text);
  padding-left: 16px;
  border-left: 3px solid var(--color-brand);
}

.service-section p {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.8;
}

.service-section ul {
  padding-left: 20px;
  margin: 12px 0 20px;
}

.service-section li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.8;
}

/* ---- Steps Flow ---- */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 48px 0;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 200px;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
  color: var(--color-white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(8, 27, 166, 0.2);
}

.step h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.step p {
  font-size: 12px;
  color: var(--color-text-sub);
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 10px;
  color: var(--color-brand-light);
  font-size: 20px;
  font-weight: bold;
  opacity: 0.5;
}

/* ---- Profile ---- */
.profile-section {
  margin-bottom: 40px;
}

.profile-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.profile-section dl {
  margin-top: 20px;
}

.profile-section dt {
  font-weight: 600;
  margin-top: 20px;
  font-size: 14px;
  color: var(--color-brand);
}

.profile-section dd {
  margin-left: 0;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.8;
}

/* ---- Stats ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 24px;
  background-color: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all var(--transition);
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.6;
}

/* ---- Table ---- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.info-table th,
.info-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
}

.info-table th {
  width: 30%;
  background-color: var(--color-bg);
  font-weight: 500;
  color: var(--color-text-sub);
  border-radius: 4px 0 0 4px;
}

/* ---- Contact Form ---- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-stack);
  line-height: 1.6;
  background: var(--color-white);
  transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(8, 27, 166, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 13px;
  color: var(--color-text-sub);
  margin-top: 20px;
}

/* ---- Footer ---- */
.site-footer {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 32px 24px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-links {
  margin-bottom: 16px;
}

.footer-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-sub);
  margin: 0 16px;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-brand);
}

.footer-copy {
  font-size: 12px;
  color: #94a3b8;
}

/* ---- CTA Banner ---- */
.cta-banner {
  text-align: center;
  padding: 64px 24px;
  background: linear-gradient(135deg, var(--color-brand-dark) 0%, var(--color-brand) 50%, #1a3ab5 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 70% 30%, rgba(79, 110, 247, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  border: none;
  padding: 0;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.cta-banner p {
  font-size: 15px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.8);
}

.cta-banner .btn {
  background-color: var(--color-white);
  color: var(--color-brand);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.cta-banner .btn:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: var(--color-brand);
}

/* ---- Fade-in Animation ---- */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
  }

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

  .hero {
    padding: 64px 24px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero .tagline {
    font-size: 15px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }

  .section {
    padding: 56px 20px;
  }

  .section-title {
    font-size: 22px;
  }

  .info-table th {
    width: 35%;
  }

  .cta-banner {
    padding: 48px 20px;
  }
}
