/*
Theme Name: AeroVador
Theme URI: https://example.com/
Author: AeroVador
Author URI: https://example.com/
Description: AeroVador corporate theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aerovador
*/

:root {
  color-scheme: light;
}
body {
  font-family: "Manrope", ui-sans-serif, system-ui;
  background-color: #f8fafc;
}
html {
  scroll-behavior: smooth;
}
body.intro-lock {
  overflow: hidden;
}
body.mobile-menu-lock {
  overflow: hidden;
}
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(10, 28, 58, 0.98), rgba(16, 38, 77, 0.95));
  color: #f8fbff;
  opacity: 1;
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.intro-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 20%, rgba(30, 201, 164, 0.2), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(168, 213, 255, 0.35), transparent 50%);
  opacity: 0.9;
}
.intro-content {
  position: relative;
  text-align: center;
}
.intro-mark {
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 2s ease, transform 2s ease;
  animation: introPulse 1.6s ease-in-out infinite;
}
.intro-mark img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.intro-title {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  letter-spacing: 0.18em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 2s ease, transform 2s ease;
}
.intro-sub {
  margin-top: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.75);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 2s ease, transform 2s ease;
}
.intro-screen.is-logo-visible .intro-mark,
.intro-screen.is-logo-visible .intro-title,
.intro-screen.is-logo-visible .intro-sub {
  opacity: 1;
  transform: translateY(0);
}
.intro-screen.is-hidden {
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
}
.grid-overlay {
  background-image: linear-gradient(to right, rgba(15, 35, 64, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 35, 64, 0.06) 1px, transparent 1px);
  background-size: 120px 120px;
}
.grid-overlay-fine {
  background-image: linear-gradient(to right, rgba(15, 35, 64, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 35, 64, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-orbit {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-orbit span {
  position: absolute;
  border: 1px solid rgba(168, 213, 255, 0.35);
  border-radius: 50%;
  animation: orbit 18s linear infinite;
}
.hero-orbit span:nth-child(1) {
  width: 520px;
  height: 520px;
  top: -160px;
  left: -120px;
  animation-duration: 28s;
}
.hero-orbit span:nth-child(2) {
  width: 380px;
  height: 380px;
  top: 20%;
  right: -120px;
  animation-duration: 22s;
}
.hero-orbit span:nth-child(3) {
  width: 240px;
  height: 240px;
  bottom: -80px;
  left: 30%;
  animation-duration: 18s;
}
.service-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  mix-blend-mode: normal;
  filter: saturate(1.05) contrast(1.1);
  mask-image: radial-gradient(circle at 85% 12%, rgba(0, 0, 0, 0.95), transparent 62%);
  -webkit-mask-image: radial-gradient(circle at 85% 12%, rgba(0, 0, 0, 0.95), transparent 62%);
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.6), transparent 55%);
  z-index: 1;
  pointer-events: none;
}
.service-card--entre::before {
  background-image: url("assets/Service01トリミング.JPG");
}
.service-card--intra::before {
  background-image: url("assets/Service02トリミング.JPG");
}
.service-card--edu::before {
  background-image: url("assets/Service03.jpg");
}
.service-card > * {
  position: relative;
  z-index: 2;
}
@keyframes orbit {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: rotate(180deg) scale(1.04);
    opacity: 0.7;
  }
  100% {
    transform: rotate(360deg) scale(1);
    opacity: 0.4;
  }
}
@keyframes introPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(30, 201, 164, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 16px rgba(30, 201, 164, 0);
  }
}

.page-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 8% 12%, rgba(30, 201, 164, 0.16), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(23, 52, 99, 0.14), transparent 36%);
}

.spotlight-card {
  position: relative;
  background: linear-gradient(145deg, #ffffff, #f7fbff);
  box-shadow: 0 18px 40px -36px rgba(10, 28, 58, 0.9);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 86% 12%, rgba(30, 201, 164, 0.18), transparent 48%);
  pointer-events: none;
}

.spotlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 38, 77, 0.22);
  box-shadow: 0 34px 70px -46px rgba(10, 28, 58, 0.75);
}

.case-study {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.case-study:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 75px -48px rgba(10, 28, 58, 0.78);
}

.reveal[data-reveal-delay="1"] {
  transition-delay: 0.1s;
}

.reveal[data-reveal-delay="2"] {
  transition-delay: 0.2s;
}

.reveal[data-reveal-delay="3"] {
  transition-delay: 0.3s;
}

.nav-flow-link {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-flow-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, #1ec9a4, #8fd4ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.nav-flow-link:hover::after,
.nav-flow-link:focus-visible::after {
  transform: scaleX(1);
}

.hero-sheen {
  position: absolute;
  inset: -30% -40%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.24) 50%, transparent 65%);
  transform: translateX(-35%);
  animation: heroSheen 8.5s ease-in-out infinite;
}

.hero-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-kicker::after {
  content: "";
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, rgba(241, 248, 255, 0.9), rgba(241, 248, 255, 0.1));
}

.hero-glass-card {
  transition: transform 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}

.hero-glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.35);
  background-color: rgba(255, 255, 255, 0.16);
}

.section-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(16, 38, 77, 0.45);
}

.feature-tile {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature-tile::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 201, 164, 0.16), transparent 70%);
  pointer-events: none;
}

.feature-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 38, 77, 0.2);
  box-shadow: 0 20px 45px -35px rgba(10, 28, 58, 0.72);
}

.news-row {
  transition: padding-left 0.3s ease, background-color 0.3s ease;
}

.news-row:hover {
  padding-left: 10px;
  background-color: rgba(241, 248, 255, 0.55);
}

.news-link i {
  transition: transform 0.3s ease;
}

.news-link:hover i {
  transform: translateX(4px);
}

.service-title-decor {
  position: relative;
  padding-left: 14px;
}

.service-title-decor::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 2px;
  height: 1.15em;
  border-radius: 99px;
  background: linear-gradient(180deg, rgba(30, 201, 164, 0.95), rgba(16, 38, 77, 0.85));
}

@keyframes heroSheen {
  0%,
  15% {
    transform: translateX(-35%);
    opacity: 0;
  }
  35%,
  55% {
    transform: translateX(15%);
    opacity: 1;
  }
  100% {
    transform: translateX(55%);
    opacity: 0;
  }
}
