/* ============================================
   株式会社クリック コーポレートサイト
   Design Concept: Corporate Trust（信頼の可視化）
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors (shared with recruitment site) */
  --primary: #1B2A4A;
  --secondary: #2E8B9A;
  --accent: #E8923E;

  /* Corporate Site Specific */
  --bg-main: #FFFFFF;
  --bg-section: #F4F6F8;
  --bg-dark: #0F1A2E;
  --text-primary: #1A1A1A;
  --text-secondary: #5A6370;
  --text-on-dark: #FFFFFF;
  --border: #E2E6EA;

  /* Typography */
  --font-heading: 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-data: 'DM Sans', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-main);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--primary);
}

ul, ol {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.4;
  color: var(--primary);
}

.section-label {
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
}

/* --- Sections --- */
.section {
  padding: var(--section-padding);
}

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

.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section--dark h2,
.section--dark h3,
.section--dark .section-label {
  color: var(--text-on-dark);
}

.section--dark .section-label {
  color: var(--accent);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 80px;
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

.header--transparent {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
}

.header--solid {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
}

.header__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-data);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.header--transparent .header__logo {
  color: var(--primary);
}

.header__logo img {
  height: 36px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

.header--transparent .header__nav a {
  color: var(--text-primary);
}

.header__nav a:hover {
  color: var(--secondary);
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width var(--transition);
}

.header__nav a:hover::after {
  width: 100%;
}

/* --- Header Dropdown --- */
.header__dropdown {
  position: relative;
}

.header__dropdown > a {
  cursor: pointer;
}

.header__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  min-width: 220px;
  padding: 20px 0 8px;
  z-index: 1001;
}

.header__dropdown-menu::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
  box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.04);
}

.header__dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.header__dropdown-menu a:hover {
  background: var(--bg-section);
  color: var(--secondary);
}

.header__dropdown-menu a::after {
  display: none !important;
}

.header__dropdown:hover .header__dropdown-menu {
  display: block;
}

.header__nav-external {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary);
  color: #fff !important;
  border: 2px solid var(--primary);
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 700;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.header__nav-external:hover {
  background: #fff;
  color: var(--primary) !important;
  border-color: var(--primary);
}

.header__nav-external::after {
  display: none !important;
}

.header__nav-external svg {
  width: 12px;
  height: 12px;
}

.header__cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.header__cta:hover {
  background: #d47e2e;
  color: #fff !important;
  transform: scale(1.02);
}

.header__cta::after {
  display: none !important;
}

/* Hamburger Menu (Mobile) */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: transform var(--transition), opacity var(--transition);
}

.header--transparent .header__hamburger span {
  background: var(--primary);
}

.header__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.header__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 999;
  padding: 40px 24px;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}

.mobile-nav .header__cta {
  display: block;
  text-align: center;
  margin-top: 24px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  margin-top: 80px;
  overflow: hidden;
  background: #fff;
}

/* Slider */
.hero__slider {
  position: relative;
  z-index: 1;
  height: 75vh;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero__slide.active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Dots navigation */
.hero__dots {
  position: absolute;
  bottom: 24px;
  right: 48px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.hero__dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

.hero__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.3) 60%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  max-width: var(--container-width);
  width: 100%;
  margin: 0 auto;
  padding: 40px 48px 60px;
  right: 0;
}

.hero__catch-en {
  font-family: var(--font-data);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.3s forwards;
}

.hero__catch-en .accent {
  color: var(--accent);
}

.hero__catch-ja {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.5s forwards;
}

.hero__sub {
  display: none;
}

.hero__buttons {
  display: none;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Geometric Decorations (Freude-style) --- */
.deco-shapes {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 280px;
  height: 280px;
  z-index: 2;
  pointer-events: none;
}

.deco-circle {
  position: absolute;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0.5;
}

.deco-circle--lg {
  width: 180px;
  height: 180px;
  right: 0;
  top: 0;
}

.deco-circle--md {
  width: 120px;
  height: 120px;
  right: 120px;
  top: -20px;
}

.deco-half {
  position: absolute;
  width: 100px;
  height: 50px;
  border: 2px solid var(--accent);
  border-radius: 0 0 100px 100px;
  border-top: none;
  right: 60px;
  top: 140px;
  opacity: 0.4;
}

/* --- About Section (Freude-style intro) --- */
.about-intro {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.about-intro .container {
  max-width: 900px;
}

.about-intro__label {
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.about-intro__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.about-intro__text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 32px;
}

.about-intro__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 60px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}

.about-intro__btn:hover {
  background: #0f1a2e;
  color: #fff;
  transform: translateX(4px);
}

.about-intro .deco-shapes {
  right: -60px;
  top: -40px;
  bottom: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}

.btn--primary:hover {
  background: #d47e2e;
  border-color: #d47e2e;
  color: #fff;
  transform: scale(1.02);
}

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

.btn--secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.02);
}

.cta-band .btn--secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.cta-band .btn--secondary:hover {
  background: #fff;
  color: var(--primary);
}

.btn--rounded {
  border-radius: 60px;
  padding: 14px 40px;
}

.btn--dark {
  background: var(--primary);
  color: #fff;
  border-radius: 60px;
}

.btn--dark:hover {
  background: #0f1a2e;
  color: #fff;
}

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

.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

/* --- Facts Section --- */
.facts {
  background: var(--bg-section);
  padding: 80px 0;
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.facts__item {
  padding: 24px;
}

.facts__number {
  font-family: var(--font-data);
  font-size: 56px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.facts__unit {
  font-family: var(--font-data);
  font-size: 20px;
  color: var(--accent);
}

.facts__label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
}

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

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card__image {
  height: 200px;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.card:hover .card__image img {
  transform: scale(1.05);
}

.card__body {
  padding: 28px;
}

.card__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(46, 139, 154, 0.1);
  color: var(--secondary);
  margin-bottom: 12px;
}

.card__title {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--primary);
}

.card__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
}

.card__link:hover {
  gap: 10px;
}

/* --- Service Icon Cards (Freude-style) --- */
.service-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 48px;
  text-align: center;
}

.service-icon-card {
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition);
}

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

.service-icon-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.service-icon-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.service-icon-card__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-icon-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}

.service-icon-card__more::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

/* --- Strengths --- */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.strength-item {
  text-align: center;
  padding: 40px 24px;
}

.strength-item__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 139, 154, 0.1);
  border-radius: 16px;
  color: var(--secondary);
}

.strength-item__title {
  font-size: 18px;
  margin-bottom: 12px;
}

.strength-item__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Contract Cards (契約形態) --- */
.contract-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.contract-card {
  background: var(--bg-section);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
}

.contract-card__icon {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 139, 154, 0.1);
  border-radius: 20px;
  color: var(--secondary);
  margin: 0 auto 28px;
}

.contract-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.contract-card__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.contract-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block;
  text-align: left;
}

.contract-card__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 2;
}

.contract-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .contract-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contract-card {
    padding: 32px 24px;
  }
}

/* --- CSR / Margin --- */
.csr-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.csr-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--text-primary);
  line-height: 2.2;
}

.csr-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--secondary);
  border-radius: 50%;
}

.csr-activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.csr-activity-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
}

.csr-activity-card__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 139, 154, 0.1);
  border-radius: 20px;
  color: var(--secondary);
  margin: 0 auto 20px;
}

.csr-activity-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.csr-activity-card__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.margin-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.margin-breakdown-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
}

.margin-breakdown-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 139, 154, 0.1);
  border-radius: 16px;
  color: var(--secondary);
  margin: 0 auto 16px;
}

.margin-breakdown-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.margin-breakdown-card__text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.margin-rate {
  font-family: var(--font-data);
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
}

@media (max-width: 768px) {
  .csr-activity-grid,
  .margin-breakdown-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* --- Process Flow (開発プロセス) --- */
.process-flow {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 150px;
  max-width: 180px;
  text-align: center;
  padding: 32px 16px;
  background: var(--bg-section);
  border-radius: 12px;
  position: relative;
}

.process-step__number {
  font-family: var(--font-data);
  font-size: 32px;
  font-weight: 700;
  color: rgba(46, 139, 154, 0.15);
  line-height: 1;
  margin-bottom: 8px;
}

.process-step__icon {
  color: var(--secondary);
  margin-bottom: 12px;
}

.process-step__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.process-step__text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .process-flow {
    flex-direction: column;
    align-items: center;
  }

  .process-step {
    max-width: 100%;
    width: 100%;
  }
}

/* --- News List --- */
.news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-primary);
  transition: color var(--transition);
}

.news-item:hover {
  color: var(--secondary);
}

.news-item__date {
  font-family: var(--font-data);
  font-size: 14px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.news-item__tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(46, 139, 154, 0.1);
  color: var(--secondary);
  white-space: nowrap;
}

.news-item__title {
  font-size: 15px;
  font-weight: 500;
}

/* --- CTA Band --- */
.cta-band {
  background: var(--primary);
  padding: 64px 0;
  text-align: center;
}

.cta-band__title {
  font-size: 28px;
  color: var(--text-on-dark);
  margin-bottom: 24px;
}

.cta-band__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__company-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 16px;
}

.footer__address {
  font-size: 13px;
  line-height: 1.8;
}

.footer__nav-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 16px;
}

.footer__nav a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  padding: 6px 0;
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--text-on-dark);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 12px;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.5);
  margin-left: 24px;
}

.footer__bottom a:hover {
  color: var(--text-on-dark);
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 100px 0 0;
  font-size: 13px;
}

.breadcrumb__list {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb__list li::after {
  content: '>';
  margin-left: 8px;
  color: var(--text-secondary);
}

.breadcrumb__list li:last-child::after {
  display: none;
}

.breadcrumb__list a {
  color: var(--text-secondary);
}

.breadcrumb__list a:hover {
  color: var(--secondary);
}

.breadcrumb__list li:last-child {
  color: var(--text-primary);
  font-weight: 500;
}

/* --- Page Header --- */
.page-header {
  background: var(--bg-dark);
  padding: 140px 0 60px;
  text-align: center;
}

.page-header__label {
  font-family: var(--font-data);
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.page-header__title {
  font-size: 36px;
  color: var(--text-on-dark);
}

/* --- Tables --- */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

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

.data-table th {
  width: 180px;
  font-weight: 600;
  color: var(--primary);
  background: var(--bg-section);
  white-space: nowrap;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline__item {
  position: relative;
  padding-bottom: 32px;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary);
  border: 3px solid var(--bg-main);
}

.timeline__year {
  font-family: var(--font-data);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.timeline__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-label .required {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  background: #E53935;
  color: #fff;
  margin-left: 8px;
}

.form-label .optional {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-section);
  color: var(--text-secondary);
  margin-left: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: #fff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(46, 139, 154, 0.15);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}

.form-checkbox input {
  margin-top: 4px;
  accent-color: var(--secondary);
}

/* Form error */
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #E53935;
}

.form-error {
  font-size: 12px;
  color: #E53935;
  margin-top: 4px;
  display: none;
}

/* --- Tags --- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  background: var(--bg-section);
  color: var(--text-secondary);
  margin: 4px 4px 4px 0;
}

.tag--infrastructure {
  background: rgba(46, 139, 154, 0.1);
  color: var(--secondary);
}

.tag--business {
  background: rgba(27, 42, 74, 0.1);
  color: var(--primary);
}

.tag--network {
  background: rgba(232, 146, 62, 0.1);
  color: var(--accent);
}

/* --- Qualification Grid --- */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.qual-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--bg-section);
  border-radius: 8px;
}

.qual-item__name {
  font-size: 14px;
  font-weight: 500;
}

.qual-item__count {
  font-family: var(--font-data);
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
}

.qual-item__unit {
  font-size: 14px;
  color: var(--text-secondary);
  margin-left: 4px;
}

/* --- Award --- */
.award-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: rgba(46, 139, 154, 0.05);
  border-left: 4px solid var(--secondary);
  border-radius: 0 8px 8px 0;
  margin-bottom: 16px;
}

.award-card__year {
  font-family: var(--font-data);
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  white-space: nowrap;
}

.award-card__text {
  font-size: 14px;
  color: var(--text-primary);
}

/* --- Pagination --- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.pagination__item:hover,
.pagination__item--active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* --- Thank You Page --- */
.thankyou {
  text-align: center;
  padding: 160px 0 100px;
}

.thankyou__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 139, 154, 0.1);
  border-radius: 50%;
  color: var(--secondary);
}

/* --- Access Grid --- */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.access-photo {
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
}

.access-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* --- Google Map --- */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 24px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Scroll Fade In --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Counter Animation --- */
.count-up {
  font-variant-numeric: tabular-nums;
}

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.two-col--reverse {
  direction: rtl;
}

.two-col--reverse > * {
  direction: ltr;
}

.two-col__image {
  border-radius: 12px;
  overflow: hidden;
}

.two-col__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* --- Privacy Policy --- */
.privacy-content h3 {
  font-size: 18px;
  margin: 32px 0 12px;
}

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

.privacy-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.privacy-content ul li {
  font-size: 14px;
  color: var(--text-secondary);
  list-style: disc;
  margin-bottom: 8px;
  line-height: 1.7;
}

/* --- Placeholder Image --- */
.placeholder-image {
  background: linear-gradient(135deg, var(--bg-section) 0%, #dde2e8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 14px;
  min-height: 200px;
}

/* ===========================================
   Responsive Design
   =========================================== */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 0;
  }

  .card-grid,
  .strength-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-icon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .facts__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

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

  .two-col {
    gap: 40px;
  }

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

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .header__nav {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .hero__content {
    padding: 24px 20px 32px;
  }

  .hero__catch-en {
    font-size: 32px;
  }

  .hero__catch-ja {
    font-size: 16px;
  }

  .deco-shapes {
    display: none;
  }

  .about-intro__title {
    font-size: 24px;
  }

  .service-icon-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .facts__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .facts__number {
    font-size: 40px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .two-col--reverse {
    direction: ltr;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer__bottom a {
    margin-left: 12px;
  }

  .data-table th {
    width: 120px;
    font-size: 13px;
  }

  .data-table td {
    font-size: 13px;
  }

  .news-item {
    flex-direction: column;
    gap: 8px;
  }

  .news-item__meta {
    display: flex;
    gap: 12px;
    align-items: center;
  }

  .page-header {
    padding: 120px 0 40px;
  }

  .page-header__title {
    font-size: 28px;
  }

  .breadcrumb {
    padding-top: 88px;
  }

  .cta-band__title {
    font-size: 22px;
  }

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

  .award-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .map-container {
    height: 280px;
  }

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

  .access-photo {
    height: 250px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .facts__grid {
    grid-template-columns: 1fr 1fr;
  }

  .facts__number {
    font-size: 32px;
  }

  .hero__slider {
    height: 50vh;
  }

  .hero__dots {
    right: 20px;
    bottom: 16px;
  }
}

/* ============================================
   Auth Gate (招待制アクセス)
   ============================================ */
#auth-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark, #0F1A2E);
}

.auth-gate__box {
  background: #fff;
  border-radius: 12px;
  padding: 48px 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-gate__title {
  font-family: var(--font-heading, sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary, #1B2A4A);
  margin: 0 0 8px;
}

.auth-gate__text {
  font-size: 0.875rem;
  color: var(--text-secondary, #5A6370);
  margin: 0 0 24px;
}

.auth-gate__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-gate__input {
  padding: 12px 16px;
  border: 1px solid var(--border, #E2E6EA);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-body, sans-serif);
  outline: none;
  transition: border-color 0.2s;
}

.auth-gate__input:focus {
  border-color: var(--secondary, #2E8B9A);
}

.auth-gate__btn {
  padding: 12px;
  background: var(--secondary, #2E8B9A);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-body, sans-serif);
  cursor: pointer;
  transition: opacity 0.2s;
}

.auth-gate__btn:hover {
  opacity: 0.85;
}

.auth-gate__error {
  color: #d9534f;
  font-size: 0.85rem;
  margin: 4px 0 0;
}
