/*
Theme Name: Gemina Innovation
Author: Gemina Innovation
Description: GEMINA INNOVATIONの1ページ企業サイト用WordPressテーマ。
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: gemina
*/

:root {
  --black: #050b18;
  --navy: #07142b;
  --ink: #10213e;
  --cyan: #1fd3ff;
  --violet: #8a63ff;
  --gray-900: #1d2940;
  --gray-700: #52627c;
  --gray-500: #8290a7;
  --gray-300: #c8d1df;
  --gray-200: #e1e7f0;
  --gray-100: #f3f6fb;
  --white: #fff;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: min(calc(100% - 80px), var(--content));
  margin: 0 auto;
}

.display,
.section-title,
.brand {
  font-family: "Arial Narrow", Impact, sans-serif;
  font-stretch: condensed;
}

.hero {
  min-height: 930px;
  color: var(--white);
  background: linear-gradient(145deg, var(--black), var(--navy) 58%, #10133a);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
}

.brand {
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--cyan);
}

.nav-list {
  display: flex;
  gap: clamp(30px, 5vw, 70px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-list a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  transition: color .18s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--cyan);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 1px;
  margin: 6px 0;
  background: var(--white);
}

.hero-copy {
  padding-top: 55px;
}

.display {
  max-width: 760px;
  margin: 0;
  font-size: clamp(90px, 11.5vw, 168px);
  font-weight: 700;
  line-height: .78;
  letter-spacing: .015em;
}

.hero-message {
  margin: 42px 0 0;
  font-size: clamp(24px, 2.3vw, 36px);
  font-weight: 700;
  letter-spacing: .04em;
}

.hero-en {
  margin: 12px 0 0;
  color: var(--gray-300);
  font-size: 14px;
}

.hero-visual {
  height: 330px;
  margin-top: 54px;
  overflow: hidden;
  border: 1px solid rgba(31, 211, 255, .28);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .36);
}

.hero-visual img,
.company-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 92px 0;
  scroll-margin-top: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.section-gray {
  background:
    linear-gradient(135deg, rgba(31, 211, 255, .04), rgba(138, 99, 255, .05)),
    var(--gray-100);
}
.section-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 72px;
}

.section-title {
  margin: 0;
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 700;
  line-height: 1;
}

.section-title::after {
  display: block;
  width: 54px;
  height: 1px;
  margin-top: 22px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.lead {
  margin: 4px 0 24px;
  font-size: clamp(22px, 2.2vw, 31px);
  font-weight: 700;
  line-height: 1.55;
}

.body-copy { max-width: 720px; margin: 0; }

.vision-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.vision-item {
  min-height: 220px;
  padding: 0 38px;
  border-left: 1px solid var(--gray-300);
}

.vision-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.number {
  display: block;
  margin-bottom: 24px;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 42px;
  line-height: 1;
  color: #1768d8;
}

.vision-item h3 { margin: 0 0 12px; font-size: 19px; }
.vision-item p { margin: 0; font-size: 14px; }

.group-intro {
  margin: 2px 0 46px;
  font-size: 19px;
  font-weight: 700;
}

.group-parent {
  position: relative;
  width: max-content;
  padding: 5px 16px;
  margin: 0 auto 62px;
  color: var(--white);
  background: linear-gradient(90deg, #0e5ed0, #673fd0);
  font-size: 13px;
  font-weight: 700;
}

.group-parent::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 42px;
  content: "";
  background: var(--gray-500);
}

.companies {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 76px;
}

.companies::before {
  position: absolute;
  top: -20px;
  left: 24%;
  width: 52%;
  height: 1px;
  content: "";
  background: var(--gray-500);
}

.company-card { position: relative; }
.company-card::before {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: 20px;
  content: "";
  background: var(--gray-500);
}

.company-card h3 {
  margin: 0 0 16px;
  text-align: center;
  font-size: 20px;
}

.company-visual {
  height: 220px;
  overflow: hidden;
  background: var(--navy);
  border-bottom: 4px solid var(--cyan);
}
.company-card p { margin: 20px 0; }
.external-link {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
  color: #145bbd;
}
.external-link::after { content: " ↗"; }

.profile {
  width: 100%;
  border-collapse: collapse;
}
.profile th,
.profile td {
  padding: 22px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--gray-300);
  text-align: left;
}
.profile th { width: 28%; font-size: 14px; }

.site-footer {
  padding: 42px 20px;
  color: var(--white);
  background: linear-gradient(90deg, var(--black), var(--navy));
  text-align: center;
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 820px) {
  .shell { width: calc(100% - 40px); }
  .hero { min-height: 760px; }
  .site-header { min-height: 76px; }
  .menu-toggle { position: relative; z-index: 22; display: block; }
  .site-nav {
    position: fixed;
    z-index: 21;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(16,16,16,.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }
  .menu-open .site-nav { opacity: 1; pointer-events: auto; }
  .nav-list { flex-direction: column; text-align: center; }
  .nav-list a { font-size: 18px; }
  .display { font-size: clamp(70px, 20vw, 110px); }
  .hero-copy { padding-top: 52px; }
  .hero-visual { height: 230px; }
  .section { padding: 72px 0; }
  .section-grid { grid-template-columns: 1fr; gap: 42px; }
  .vision-list { grid-template-columns: 1fr; }
  .vision-item,
  .vision-item:first-child {
    min-height: auto;
    padding: 30px 0;
    border-left: 0;
    border-top: 1px solid var(--gray-300);
  }
  .companies { grid-template-columns: 1fr; gap: 62px; }
  .companies::before,
  .company-card::before,
  .group-parent::after { display: none; }
  .group-parent { margin-bottom: 36px; }
}

@media (max-width: 480px) {
  .brand { font-size: 22px; }
  .display { font-size: 18vw; }
  .hero-message { font-size: 20px; }
  .section-title { font-size: 50px; }
  .profile th,
  .profile td { display: block; width: 100%; }
  .profile th { padding-bottom: 0; border-bottom: 0; }
}
