/* Vithme Corporate Site v2 */

:root {
  --color-primary: #1ab7ea;
  --color-primary-dark: #0d8fbf;
  --color-primary-light: #e8f7fd;
  --color-accent: #4fc3f7;
  --color-dark: #0c1616;
  --color-text: #1a2424;
  --color-text-muted: #5f7171;
  --color-bg: #fafbfb;
  --color-white: #ffffff;
  --color-border: #d9e8e8;
  --font-sans: "DM Sans", "Noto Sans JP", sans-serif;
  --font-en: "DM Sans", sans-serif;
  --shadow-sm: 0 2px 12px rgba(12, 22, 22, 0.06);
  --shadow-md: 0 8px 32px rgba(12, 22, 22, 0.08);
  --radius: 8px;
  --radius-lg: 16px;
  --header-height: 76px;
  --max-width: 1080px;
  --transition: 0.25s ease;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(250, 251, 251, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--color-border);
  background: rgba(255, 255, 255, 0.95);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo img { height: 28px; width: auto; }

.nav { display: flex; gap: 36px; }

.nav__link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

.nav__link:hover { color: var(--color-primary); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--header-height);
}

.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px 80px max(28px, calc((100vw - var(--max-width)) / 2 + 28px));
  background: var(--color-white);
}

.hero__logo {
  width: min(300px, 70%);
  margin-bottom: 48px;
}

.hero__tagline {
  font-family: var(--font-en);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  margin-bottom: 24px;
}

.hero__tagline em {
  font-style: normal;
  color: var(--color-primary);
}

.hero__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  max-width: 400px;
  margin-bottom: 40px;
  line-height: 2;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  transition: gap var(--transition);
}

.hero__cta::after {
  content: "→";
  transition: transform var(--transition);
}

.hero__cta:hover { gap: 14px; }
.hero__cta:hover::after { transform: translateX(4px); }

.hero__right {
  position: relative;
  overflow: hidden;
  background: #081214;
}

/* Abstract: Vision × me の交差点 */
.hero__visual {
  position: absolute;
  inset: 0;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.85;
}

.hero__orb--vision {
  width: 55%;
  height: 55%;
  top: 10%;
  left: 5%;
  background: radial-gradient(circle, #1ab7ea 0%, #0d8fbf 50%, transparent 70%);
  animation: drift-vision 12s ease-in-out infinite;
}

.hero__orb--me {
  width: 50%;
  height: 50%;
  bottom: 5%;
  right: 5%;
  background: radial-gradient(circle, #f4a9b8 0%, #e87890 40%, transparent 70%);
  animation: drift-me 14s ease-in-out infinite;
}

.hero__intersection {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38%;
  height: 38%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(62, 207, 192, 0.4) 40%, transparent 70%);
  filter: blur(24px);
  animation: pulse-glow 6s ease-in-out infinite;
}

.hero__lens {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(280px, 50vw);
  height: min(280px, 50vw);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 24px rgba(26, 183, 234, 0.06),
    0 0 0 48px rgba(26, 183, 234, 0.03),
    inset 0 0 60px rgba(26, 183, 234, 0.08);
}

.hero__lens::before,
.hero__lens::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__lens::before {
  inset: 18%;
}

.hero__lens::after {
  inset: 36%;
}

.hero__rays {
  position: absolute;
  inset: 0;
  background:
    repeating-conic-gradient(
      from 0deg at 50% 50%,
      transparent 0deg 8deg,
      rgba(26, 183, 234, 0.03) 8deg 9deg
    );
  mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 65%);
}

@keyframes drift-vision {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(6%, 8%); }
}

@keyframes drift-me {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8%, -6%); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.hero__right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8, 18, 20, 0.2) 0%, rgba(8, 18, 20, 0.55) 100%);
  pointer-events: none;
}

.hero__right-text {
  position: absolute;
  bottom: 48px;
  left: 48px;
  right: 48px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-en);
}

/* Philosophy */
.philosophy {
  padding: 120px 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.philosophy__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.philosophy__label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 40px;
}

.philosophy__text {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 2.2;
  color: var(--color-text);
  margin-bottom: 32px;
}

.philosophy__text strong {
  font-weight: 600;
  color: var(--color-primary-dark);
}

.philosophy__text--second {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Pillars */
.pillars {
  padding: 100px 0;
}

.pillars__header {
  text-align: center;
  margin-bottom: 64px;
}

.pillars__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin-bottom: 20px;
}

.pillars__lead {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 2;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pillar {
  background: var(--color-white);
  padding: 48px 36px;
  transition: background var(--transition);
}

.pillar:hover { background: var(--color-primary-light); }

.pillar__en {
  font-family: var(--font-en);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.pillar__ja {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.pillar__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.9;
}

/* Section common */
.section { padding: 100px 0; }
.section--alt { background: var(--color-white); }

.section__label {
  font-family: var(--font-en);
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 20px;
}

.section__lead {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: 2;
}

.section__header { margin-bottom: 56px; }
.section__header--center { text-align: center; }
.section__header--center .section__lead { margin: 0 auto; }

/* Business */
.business__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.business__item {
  display: grid;
  grid-template-columns: 64px 1fr 200px;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.business__item:hover { background: var(--color-primary-light); }

.business__num {
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.business__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.business__desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.business__thumb {
  width: 200px;
  height: 120px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-primary-light);
}

.business__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter var(--transition);
}

.business__item:hover .business__thumb img { filter: grayscale(0%); }

/* Company */
.company__table { width: 100%; border-collapse: collapse; }

.company__table tr { border-bottom: 1px solid var(--color-border); }

.company__table th,
.company__table td {
  padding: 24px 0;
  text-align: left;
  vertical-align: top;
  font-size: 0.9rem;
}

.company__table th {
  width: 140px;
  font-weight: 600;
  color: var(--color-primary-dark);
  padding-right: 40px;
}

.company__table td { color: var(--color-text-muted); line-height: 1.9; }

/* Access */
.access__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.access__name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.access__address {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 2;
  margin-bottom: 20px;
}

.access__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--color-border);
}

.access__map iframe { width: 100%; height: 100%; border: 0; }

/* CTA */
.cta {
  padding: 100px 0;
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.cta__tagline {
  font-family: var(--font-en);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 20px;
}

.cta__tagline em {
  font-style: normal;
  color: var(--color-accent);
}

.cta__text {
  font-size: 0.9rem;
  opacity: 0.7;
  max-width: 480px;
  margin: 0 auto;
  line-height: 2;
}

/* Footer */
.footer {
  background: #060d0d;
  color: rgba(255, 255, 255, 0.55);
  padding: 64px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__logo img {
  height: 28px;
  margin-bottom: 20px;
  opacity: 0.95;
}

.footer__tagline {
  font-family: var(--font-en);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

.footer__desc {
  font-size: 0.8125rem;
  line-height: 1.9;
}

.footer__heading {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
}

.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 0.8125rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--color-accent); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__left { padding: 100px 28px 60px; }
  .hero__right { min-height: 320px; }
  .pillars__grid { grid-template-columns: 1fr; }
  .business__item { grid-template-columns: 48px 1fr; }
  .business__thumb { display: none; }
  .access__grid, .footer__grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 28px;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  .nav.open { display: flex; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--color-border); width: 100%; }
  .nav__toggle { display: flex; }
  .section, .philosophy { padding: 72px 0; }
  .pillar { padding: 36px 28px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}
