/* ============================================================
   SearchMania Inc. Official HP - shared.css
   デジタル・テック × クリーンモダン × Google Blue 基調
   ============================================================ */

:root {
  /* Brand */
  --blue:       #4285F4;       /* SearchMania Main */
  --blue-dark:  #1a73e8;       /* Hover / Active */
  --blue-deep:  #0a1a3a;       /* Dark BG */
  --blue-soft:  #e8f0fe;       /* Light bg accent */
  --blue-line:  rgba(66,133,244,.18);

  --ink:        #0f172a;
  --ink-soft:   #334155;
  --text:       #1f2937;
  --muted:      #64748b;
  --line:       #e2e8f0;

  --bg:         #ffffff;
  --bg-light:   #f8fafc;
  --bg-dark:    #0a1a3a;
  --bg-dark-2:  #0d2050;

  --gold:       #fbbc04;       /* accent (Google Yellow) */
  --green:      #34a853;
  --red:        #ea4335;

  /* Type */
  --sans:    'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif:   'Noto Serif JP', 'Times New Roman', serif;

  /* Motion */
  --ease:    cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --container: 1200px;
  --header-h:  72px;
  --radius:    12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

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

body.nav-open { overflow: hidden; }

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

a { color: var(--blue); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--blue-dark); }

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

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all .3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(66,133,244,.28);
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66,133,244,.42);
}

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn-disabled {
  background: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
  box-shadow: none;
}
.btn-disabled:hover {
  background: #cbd5e1;
  color: #64748b;
  transform: none;
}

.btn-large { padding: 16px 36px; font-size: 15px; }
.btn-block { width: 100%; }

/* ============================================================
   Header / Nav
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all .3s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(15,23,42,.04);
}

.nav-inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--sans);
}
.brand-icon { height: 34px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .jp {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink);
}
.brand-text .en {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .26em;
  color: var(--blue);
  margin-top: 4px;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}
.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: .04em;
  padding: 8px 0;
  position: relative;
  transition: color .25s var(--ease);
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width .3s var(--ease);
}
.nav-menu a:hover { color: var(--blue); }
.nav-menu a:hover::after { width: 100%; }

.nav-menu a.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 6px;
  letter-spacing: .08em;
  font-weight: 600;
}
.nav-menu a.nav-cta::after { display: none; }
.nav-menu a.nav-cta:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  position: relative;
  cursor: pointer;
  z-index: 1100;
}
.hamburger span {
  position: absolute;
  left: 6px;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.hamburger span:nth-child(1) { top: 11px; }
.hamburger span:nth-child(2) { top: 17px; }
.hamburger span:nth-child(3) { top: 23px; }
.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(14px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav ul { list-style: none; text-align: center; }
.mobile-nav li { margin: 22px 0; }
.mobile-nav a {
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .06em;
  padding: 4px 0;
  position: relative;
}
.mobile-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--blue);
  transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.mobile-nav a:hover::after { width: 100%; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  /* 上下対称のパディングで、コンテンツの視覚中心をビューポート中央に合わせる */
  padding: calc(var(--header-h) + 60px) 24px 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #0a1a3a 0%, #122d6b 50%, #0a1a3a 100%);
  color: #fff;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #4285F4 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: orbFloat 18s ease-in-out infinite;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #34a853 0%, transparent 70%);
  bottom: -80px; left: -80px;
  animation: orbFloat 22s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(40px,30px) scale(1.08); }
}

.hero-inner {
  position: relative;
  max-width: 880px;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .4em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
}
.hero-eyebrow .line {
  width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
}

.hero-title {
  font-family: var(--sans);
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .02em;
  margin-bottom: 28px;
  color: #fff;
}
.hero-title-main {
  color: #fff;
  text-shadow:
    0 2px 20px rgba(10,26,58,.85),
    0 4px 40px rgba(10,26,58,.6);
}

.hero-sub {
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.9;
  color: rgba(255,255,255,.78);
  margin-bottom: 44px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-actions .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.hero-actions .btn-outline:hover {
  background: #fff;
  color: var(--blue-deep);
  border-color: #fff;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 18px 32px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.meta-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.meta-label {
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
}
.meta-value {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .02em;
}
.meta-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,.15);
}

/* ============================================================
   Section common
   ============================================================ */
.section {
  padding: 110px 0;
  position: relative;
}
.section.bg-light { background: var(--bg-light); }
.section.bg-dark {
  background: linear-gradient(135deg, #0a1a3a, #122d6b);
  color: #fff;
}

.sec-head {
  text-align: center;
  margin-bottom: 64px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--blue);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.eyebrow.light { color: #93b8ff; }
.section-title {
  font-family: var(--sans);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink);
  margin-bottom: 18px;
  line-height: 1.4;
}
.section-title.light { color: #fff; }
.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--blue);
  margin: 22px auto 0;
  border-radius: 2px;
}
.section-subtitle {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.95;
  max-width: 680px;
  margin: 0 auto;
}
.section-subtitle.light { color: rgba(255,255,255,.7); }

/* ============================================================
   Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal-stagger > *.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger > *:nth-child(6) { transition-delay: .40s; }

/* ============================================================
   Services
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all .35s var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-soft) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue);
  box-shadow: 0 20px 40px rgba(66,133,244,.15);
}
.service-card:hover::before { opacity: 1; }

.service-num {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--blue);
  opacity: .5;
}
.service-img {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.service-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.service-img.placeholder i { font-size: 28px; }

.service-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.service-body { position: relative; z-index: 1; }
.service-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.5;
  letter-spacing: .02em;
}
.service-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.service-desc {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* リンク付きサービスカード */
a.service-card { cursor: pointer; }
.service-link-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .25s, transform .25s;
}
a.service-card:hover .service-link-hint {
  opacity: 1;
  transform: translateX(0);
}

.service-skel {
  min-height: 260px;
  background: var(--bg-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.service-skel::after,
.feature-skel::after,
.foryou-skel::after,
.review-skel::after,
.partner-skel::after,
.blog-skel::after,
.recruit-skel::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(66,133,244,.06) 40%, rgba(66,133,244,.12) 50%, rgba(66,133,244,.06) 60%, transparent 100%);
  background-size: 250% 100%;
  animation: skel-shimmer 2s ease-in-out infinite;
}
@keyframes skel-shimmer {
  0% { background-position: 250% 0; }
  100% { background-position: -250% 0; }
}

/* ============================================================
   Greeting (代表挨拶)
   ============================================================ */
.greeting-content {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.greeting-photo-wrap {
  position: relative;
}
.greeting-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 50px rgba(15,23,42,.18);
}
.greeting-photo-deco {
  position: absolute;
  top: 30px; left: 30px;
  width: 280px;
  height: 280px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  z-index: 0;
  opacity: .35;
}

.greeting-text {
  position: relative;
}
.greeting-quote-mark {
  font-family: Georgia, serif;
  font-size: 80px;
  line-height: 1;
  color: var(--blue);
  opacity: .25;
  position: absolute;
  top: -30px;
  left: -10px;
  font-weight: 700;
}
.greeting-text p {
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--text);
  margin-bottom: 18px;
}
.greeting-sign {
  margin-top: 28px;
  text-align: right;
  font-family: var(--serif);
}
.greeting-sign .sign-role {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .14em;
  margin-bottom: 4px;
}
.greeting-sign .sign-name {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .12em;
}

/* ============================================================
   Features
   ============================================================ */
.features-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  border-top: 3px solid var(--blue);
  box-shadow: 0 2px 12px rgba(15,23,42,.04);
  transition: all .35s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(15,23,42,.08);
}
.feature-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .06em;
  margin-bottom: 14px;
  display: block;
}
.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: .04em;
  line-height: 1.6;
}
.feature-desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.feature-skel {
  min-height: 200px;
  background: #fff;
  border-radius: var(--radius);
  border-top: 3px solid var(--line);
  position: relative;
  overflow: hidden;
}

/* ============================================================
   For You
   ============================================================ */
.foryou-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.foryou-card {
  display: flex;
  gap: 20px;
  background: var(--bg-light);
  padding: 24px;
  border-radius: var(--radius);
  align-items: center;
  border-left: 3px solid var(--blue);
  transition: all .3s var(--ease);
}
.foryou-card:hover {
  background: #fff;
  box-shadow: 0 8px 24px rgba(66,133,244,.10);
  transform: translateX(4px);
}
.foryou-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.foryou-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.foryou-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .18em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.foryou-cap {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.foryou-skel {
  min-height: 110px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--line);
  position: relative;
  overflow: hidden;
}

/* ============================================================
   Partners
   ============================================================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.partner-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  aspect-ratio: 3 / 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  position: relative;
  transition: all .3s var(--ease);
  backdrop-filter: blur(6px);
}
.partner-card:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.3);
  transform: translateY(-3px);
}
.partner-card img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .85;
  transition: opacity .3s var(--ease);
}
.partner-card:hover img { opacity: 1; }
.partner-name-fallback {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: .04em;
}
.partner-name {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
}

.partner-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, rgba(66,133,244,.15), rgba(255,255,255,.05));
  border-color: rgba(66,133,244,.45);
}
.partner-card.featured img {
  max-height: 110px;
}
.partner-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--blue);
  background: rgba(255,255,255,.95);
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
}

.partner-skel {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  aspect-ratio: 3/2;
  position: relative;
  overflow: hidden;
}
.partner-skel:nth-child(1) { grid-column: span 2; grid-row: span 2; }

.partners-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  letter-spacing: .08em;
  margin-top: 28px;
}

/* ============================================================
   Reviews
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;            /* 全行を同じ高さに揃える */
  gap: 24px;
  align-items: stretch;            /* グリッドアイテムをセル全体に伸ばす */
}
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;                    /* セルの高さに合わせる */
  min-height: 280px;               /* 最低高さで均一感を出す */
  transition: all .3s var(--ease);
}
.review:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 30px rgba(66,133,244,.10);
}
.review .stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: .14em;
  margin-bottom: 14px;
}
.review .body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 18px;
  flex: 1;
  /* 長文クチコミを最大8行で切り詰めて「…」表示し、カード高さを統一 */
  display: -webkit-box;
  -webkit-line-clamp: 8;
  line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
.review .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.review .name { font-weight: 600; }

.review.review-cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  border: none;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.review.review-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(66,133,244,.4);
}
.review-cta-stars {
  font-size: 22px;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 16px;
}
.review-cta-msg {
  font-size: 14px;
  line-height: 1.8;
  font-weight: 500;
  margin-bottom: 18px;
}
.review-cta-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 3px;
}

.review-skel {
  min-height: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

/* ============================================================
   Blog
   ============================================================ */
.wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 12px rgba(15,23,42,.06);
  transition: all .35s var(--ease);
  color: inherit;
  text-decoration: none;
  display: block;
  cursor: pointer;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15,23,42,.12);
}
.blog-card .image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-light);
}
.blog-card .image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.blog-card:hover .image img { transform: scale(1.05); }
.blog-card .tape {
  position: absolute;
  top: 8px; left: 8px;
  width: 40px; height: 14px;
  background: rgba(66,133,244,.5);
  transform: rotate(-3deg);
  border-radius: 1px;
  z-index: 2;
}
.blog-card .body { padding: 20px 22px 24px; }
.blog-card .date {
  display: block;
  font-size: 11px;
  color: var(--blue);
  letter-spacing: .2em;
  font-weight: 600;
  margin-bottom: 10px;
}
.blog-card .cap {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 14px;
}
.blog-card:hover .cap { color: var(--blue); }
.blog-card .cta-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .08em;
}
.blog-skel {
  min-height: 320px;
  background: #fff;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  background: #fff;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 15px;
  border: 1px dashed var(--line);
}

/* ============================================================
   Recruit
   ============================================================ */
.recruit-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}
.recruit-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 30px 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  transition: all .3s var(--ease);
}
.recruit-card:hover {
  box-shadow: 0 10px 30px rgba(15,23,42,.08);
  transform: translateY(-2px);
}
.recruit-type {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-soft);
  letter-spacing: .16em;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.recruit-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: .02em;
}
.recruit-dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px 16px;
  font-size: 14px;
}
.recruit-dl dt {
  color: var(--muted);
  font-weight: 500;
}
.recruit-dl dd { color: var(--ink-soft); }

.recruit-empty {
  text-align: center;
  padding: 60px 24px;
  font-size: 15px;
  color: var(--muted);
  background: var(--bg-light);
  border-radius: var(--radius);
}
.recruit-skel {
  min-height: 140px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

/* ============================================================
   About / Company
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .06em;
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 3px solid var(--blue);
}
.about-h3:not(:first-child) { margin-top: 36px; }
.about-list {
  list-style: none;
  padding: 0;
  margin-bottom: 8px;
}
.about-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.85;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.about-list li strong {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .2em;
  align-self: center;
}
.about-dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px 16px;
  font-size: 14.5px;
}
.about-dl dt {
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  padding-top: 2px;
}
.about-dl dd { color: var(--ink); line-height: 1.7; }
.about-p {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink-soft);
}

.about-map-wrap iframe {
  width: 100%;
  height: 460px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15,23,42,.08);
}

/* ============================================================
   Contact
   ============================================================ */
.contact-card {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(15,23,42,.06);
  border: 1px solid var(--line);
  overflow: hidden;
}
.contact-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
}
.tab-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-light);
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.tab-link i { font-size: 16px; }
.tab-link:hover { color: var(--blue); }
.tab-link.active {
  background: #fff;
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.tab-pane {
  display: none;
  padding: 40px;
}
.tab-pane.active { display: block; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: .04em;
}
.form-group label .req {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 8px;
  letter-spacing: .08em;
}
.form-group label .opt {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg-light);
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 8px;
  letter-spacing: .08em;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 14.5px;
  font-family: var(--sans);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(66,133,244,.15);
}
.form-group textarea { resize: vertical; }

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-light);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500 !important;
  color: var(--ink) !important;
  cursor: pointer;
  margin-bottom: 0 !important;
  transition: all .2s var(--ease);
}
.check input { width: 16px; height: 16px; accent-color: var(--blue); }
.check:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}
.check:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue);
}

.form-agree {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}
.form-agree .check { background: transparent; border: none; padding: 8px 0; }
.form-agree .check:hover { background: transparent; }

.form-submit { margin-top: 8px; }
.form-status {
  margin: 0 40px 40px;
  padding: 18px 22px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.form-status i { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.form-status.success { background: rgba(52,168,83,.08); color: #1e8e3e; border: 1px solid rgba(52,168,83,.3); }
.form-status.error   { background: rgba(234,67,53,.08);  color: #c5221f; border: 1px solid rgba(234,67,53,.3); }
.form-status.loading { background: var(--blue-soft); color: var(--blue); border: 1px solid var(--blue-line); }

/* ============================================================
   CTA
   ============================================================ */
.cta { background: linear-gradient(135deg, #0a1a3a, #122d6b); }
.cta-box {
  text-align: center;
  padding: 80px 40px;
  position: relative;
}
.cta-headline {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 700;
  color: #fff;
  letter-spacing: .08em;
  margin-bottom: 18px;
  line-height: 1.5;
}
.cta-sub {
  font-size: 15.5px;
  color: rgba(255,255,255,.78);
  margin-bottom: 38px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-actions .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.cta-actions .btn-outline:hover {
  background: #fff;
  color: var(--blue-deep);
  border-color: #fff;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #0a1a3a;
  color: rgba(255,255,255,.7);
  padding: 80px 0 40px;
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.footer-logo-icon {
  height: 36px;
  filter: brightness(0) invert(1);
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: 18px;
}
.footer-social a {
  color: rgba(255,255,255,.55);
  font-size: 20px;
  margin-right: 18px;
  transition: color .25s var(--ease);
}
.footer-social a:hover { color: var(--blue); }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .26em;
  color: #fff;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,.6);
  font-size: 13.5px;
  transition: color .2s var(--ease);
}
.footer-col ul a:hover { color: #fff; }
.footer-addr {
  font-size: 12.5px;
  line-height: 1.9;
  color: rgba(255,255,255,.55);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  letter-spacing: .08em;
}
.produced-by {
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.produced-by a {
  color: rgba(66,133,244,.7);
  transition: color .25s var(--ease);
}
.produced-by a:hover { color: var(--blue); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .features-list { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .wall { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .greeting-content { grid-template-columns: 1fr; text-align: center; max-width: 600px; }
  .greeting-photo-wrap { margin: 0 auto; }
  .greeting-quote-mark { position: static; text-align: center; margin-bottom: -20px; }
  .greeting-sign { text-align: center; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .nav-menu { display: none; }
  .hamburger { display: block; }
  .brand-text .en { display: none; }
  .brand-icon { height: 28px; }
  .brand-text .jp { font-size: 16px; }

  .section { padding: 70px 0; }
  .container { padding: 0 18px; }
  .sec-head { margin-bottom: 44px; }

  .hero { padding: calc(var(--header-h) + 50px) 16px 60px; min-height: auto; }
  .hero-title { font-size: clamp(28px, 8vw, 38px); }
  .hero-sub { font-size: 14px; margin-bottom: 32px; }
  .hero-actions { flex-direction: column; gap: 12px; width: 100%; max-width: 320px; margin: 0 auto 40px; }
  .hero-actions .btn { width: 100%; }
  .hero-meta {
    flex-direction: column;
    gap: 14px;
    padding: 20px 24px;
    border-radius: 14px;
  }
  .meta-divider { width: 32px; height: 1px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: .26em; }
  .hero-eyebrow .line { width: 18px; }

  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card { padding: 28px 24px; }

  .features-list { grid-template-columns: 1fr; }
  .foryou-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; gap: 16px; }
  .wall { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .partner-card.featured { grid-column: span 2; grid-row: auto; aspect-ratio: 16/9; }
  .partner-skel:nth-child(1) { grid-column: span 2; grid-row: auto; }

  .greeting-photo, .greeting-photo-deco { width: 220px; height: 220px; }
  .greeting-photo-deco { top: 20px; left: 50%; transform: translateX(-50%); }

  .recruit-card { flex-direction: column; align-items: stretch; gap: 20px; padding: 24px; }
  .recruit-dl { grid-template-columns: 90px 1fr; font-size: 13px; }
  .recruit-cta .btn { width: 100%; }

  .about-list li { grid-template-columns: 90px 1fr; font-size: 13.5px; }
  .about-dl { grid-template-columns: 90px 1fr; font-size: 13.5px; }
  .about-map-wrap iframe { height: 320px; }

  .contact-tabs { flex-direction: column; }
  .tab-link { border-bottom: 1px solid var(--line); }
  .tab-link.active { border-bottom: 3px solid var(--blue); }
  .tab-pane { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .form-status { margin: 0 22px 28px; }

  .cta-box { padding: 56px 22px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 600px) {
  .section-title { font-size: 22px; letter-spacing: .08em; }
  .section-subtitle { font-size: 13.5px; }
  .eyebrow { font-size: 10px; letter-spacing: .24em; }
}

/* ============================================================
   ⭐ ENHANCEMENT BLOCK ⭐
   Hero photo + advanced animations + Works section + Tilt
   ============================================================ */

/* ---------- Hero background photo ---------- */
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  filter: saturate(0.8) brightness(0.4);
  animation: kenBurns 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenBurns {
  0%   { transform: scale(1.08) translate(0, 0); }
  100% { transform: scale(1.18) translate(-2%, -1.5%); }
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 28% 42%, rgba(10,26,58,.7) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 85%, rgba(52,168,83,.14) 0%, transparent 55%),
    linear-gradient(120deg, rgba(8,20,46,.95) 0%, rgba(13,32,75,.82) 45%, rgba(10,26,58,.9) 100%);
}

/* ---------- 3rd orb + parallax track ---------- */
.hero-orb-3 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #fbbc04 0%, transparent 70%);
  top: 40%; left: 38%;
  filter: blur(110px);
  opacity: .25;
  animation: orbFloat 26s ease-in-out infinite;
}
.hero-orb-1,
.hero-orb-2,
.hero-orb-3 {
  transform: translate(var(--parallax-x, 0), var(--parallax-y, 0));
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}

/* ---------- Hero particles (floating dots) ---------- */
.hero-particles {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-particles span {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  box-shadow: 0 0 12px rgba(147,184,255,.85);
  animation: particleFloat linear infinite;
}
.hero-particles span:nth-child(1)  { left:  8%; top:  20%; animation-duration: 18s; animation-delay: 0s;  }
.hero-particles span:nth-child(2)  { left: 18%; top:  68%; animation-duration: 22s; animation-delay: -3s; }
.hero-particles span:nth-child(3)  { left: 28%; top:  35%; animation-duration: 16s; animation-delay: -7s; opacity: .7; }
.hero-particles span:nth-child(4)  { left: 38%; top:  82%; animation-duration: 24s; animation-delay: -1s; }
.hero-particles span:nth-child(5)  { left: 48%; top:  12%; animation-duration: 19s; animation-delay: -5s; opacity: .6; }
.hero-particles span:nth-child(6)  { left: 58%; top:  45%; animation-duration: 21s; animation-delay: -8s; }
.hero-particles span:nth-child(7)  { left: 68%; top:  78%; animation-duration: 17s; animation-delay: -2s; }
.hero-particles span:nth-child(8)  { left: 78%; top:  22%; animation-duration: 23s; animation-delay: -6s; opacity: .8; }
.hero-particles span:nth-child(9)  { left: 88%; top:  58%; animation-duration: 20s; animation-delay: -4s; }
.hero-particles span:nth-child(10) { left: 12%; top:  88%; animation-duration: 25s; animation-delay: -9s; opacity: .5; }
.hero-particles span:nth-child(11) { left: 42%; top:  30%; animation-duration: 18s; animation-delay: -2s; }
.hero-particles span:nth-child(12) { left: 92%; top:  10%; animation-duration: 22s; animation-delay: -6s; }
.hero-particles span:nth-child(13) { left:  4%; top:  50%; animation-duration: 19s; animation-delay: -3s; opacity: .7; }
.hero-particles span:nth-child(14) { left: 64%; top:  92%; animation-duration: 21s; animation-delay: -7s; }
.hero-particles span:nth-child(15) { left: 74%; top:  62%; animation-duration: 24s; animation-delay: -4s; opacity: .6; }

@keyframes particleFloat {
  0%   { transform: translate(0,0) scale(1);   opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translate(40px,-80px) scale(1.3); }
  90%  { opacity: 1; }
  100% { transform: translate(0,-160px) scale(.8);   opacity: 0; }
}

/* ---------- Character cascade animation (hero title) ---------- */
.hero-title .char {
  display: inline-block;
  opacity: 0;
  color: #fff;
  transform: translateY(40px) rotateX(-30deg);
  animation: charIn .8s cubic-bezier(.16,1,.3,1) forwards;
  will-change: transform, opacity;
}
@keyframes charIn {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

/* Eyebrow fade down */
.anim-fade-down {
  opacity: 0;
  animation: fadeDown 1s .2s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Subtitle + actions + meta cascading fade up */
.anim-fade-up-delay {
  opacity: 0;
  animation: fadeUp 1s 1.5s cubic-bezier(.16,1,.3,1) forwards;
}
.anim-fade-up-delay-2 {
  opacity: 0;
  animation: fadeUp 1s 1.8s cubic-bezier(.16,1,.3,1) forwards;
}
.anim-fade-up-delay-3 {
  opacity: 0;
  animation: fadeUp 1s 2.1s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Button shine effect ---------- */
.btn-shine {
  position: relative;
  overflow: hidden;
}
.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 60%;
  height: 200%;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%);
  transform: skewX(-20deg);
  transition: left .9s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.btn-shine:hover::after { left: 130%; }

/* ---------- Scroll indicator ---------- */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: max-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.65);
  font-size: 10px;
  text-decoration: none;
  z-index: 5;
  opacity: 0;
  animation: fadeUp 1s 2.6s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-scroll .scroll-text {
  display: block;
  letter-spacing: .4em;
  /* letter-spacingで右にできる空白を相殺してテキスト幾何中心を合わせる */
  margin-right: -.4em;
}
.hero-scroll:hover { color: #fff; }
.hero-scroll .scroll-line {
  width: 1.5px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,.8) 0%, rgba(255,255,255,0) 100%);
  position: relative;
  overflow: hidden;
}
.hero-scroll .scroll-line::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, transparent 0%, #4285F4 100%);
  animation: scrollFlow 2s linear infinite;
}
@keyframes scrollFlow {
  0%   { top: -50%; }
  100% { top: 100%; }
}

/* ---------- 3 Pillars strip ---------- */
.pillars-strip {
  background: linear-gradient(120deg, #0a1a3a 0%, #122d6b 50%, #0a1a3a 100%);
  padding: 38px 0;
  border-top: 1px solid rgba(66,133,244,.2);
  border-bottom: 1px solid rgba(66,133,244,.2);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border-radius: 12px;
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.pillar:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,.08);
}
.pillar:hover {
  background: rgba(255,255,255,.04);
  transform: translateY(-3px);
}
.pillar-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(66,133,244,.25), rgba(66,133,244,.08));
  border: 1px solid rgba(66,133,244,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93b8ff;
  font-size: 22px;
  transition: all .35s var(--ease);
}
.pillar:hover .pillar-icon {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  transform: scale(1.06);
}
.pillar-text { display: flex; flex-direction: column; gap: 4px; }
.pillar-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
}
.pillar-desc {
  font-size: 12.5px;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}

/* ---------- Section title underline draw animation ---------- */
.section-title::after {
  width: 0;
  transition: width .9s .15s cubic-bezier(.16,1,.3,1);
}
.section-title.is-visible::after,
.reveal.is-visible .section-title::after,
.sec-head.is-visible .section-title::after {
  width: 56px;
}
/* Fallback for already-visible titles inside sec-head */
.is-visible.sec-head .section-title::after,
.sec-head .section-title { /* triggered by parent reveal */ }

/* ---------- 3D Tilt cards ---------- */
.tilt {
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s cubic-bezier(.16,1,.3,1);
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card.tilt:hover {
  box-shadow: 0 30px 60px rgba(66,133,244,.22);
}

/* ---------- Service card image zoom + glow ---------- */
.service-card {
  position: relative;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(66,133,244,.6) 50%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.service-card:hover::after { opacity: 1; }

/* ---------- Works section ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.work-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s cubic-bezier(.16,1,.3,1);
  cursor: pointer;
  transform-style: preserve-3d;
}
.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(15,23,42,.18);
}
.work-image {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--blue-soft), #fff);
  overflow: hidden;
}
.work-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.16,1,.3,1), filter .5s var(--ease);
}
.work-card:hover .work-image img {
  transform: scale(1.08);
  filter: saturate(1.15);
}
.work-image-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 40px;
  opacity: .5;
}
.work-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,26,58,.4) 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.work-card:hover .work-image-overlay { opacity: 1; }

.work-body {
  padding: 24px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.work-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding: 4px 10px;
  background: var(--blue-soft);
  border-radius: 3px;
  align-self: flex-start;
}
.work-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.55;
  letter-spacing: .02em;
}
.work-desc {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 16px;
  flex: 1;
}
.work-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .14em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  transition: gap .25s var(--ease);
}
.work-card:hover .work-link { gap: 14px; }

.work-skel {
  min-height: 380px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.work-skel::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(66,133,244,.06) 40%, rgba(66,133,244,.12) 50%, rgba(66,133,244,.06) 60%, transparent 100%);
  background-size: 250% 100%;
  animation: skel-shimmer 2s ease-in-out infinite;
}

/* ---------- Greeting photo: subtle ken burns ---------- */
.greeting-photo {
  transition: transform .8s cubic-bezier(.16,1,.3,1), box-shadow .5s var(--ease);
}
.greeting-photo:hover {
  transform: scale(1.04) rotate(1deg);
  box-shadow: 0 30px 70px rgba(66,133,244,.3);
}
.greeting-photo-deco {
  animation: rotateSlow 60s linear infinite;
}
@keyframes rotateSlow {
  to { transform: rotate(360deg); }
}

/* ---------- Reveal enhanced (more dramatic) ---------- */
.reveal {
  transform: translateY(40px) scale(0.98);
}
.reveal.is-visible {
  transform: translateY(0) scale(1);
}

/* Critical safety: is-visible always wins, regardless of cascade conflicts */
.reveal.is-visible,
.reveal-stagger > *.is-visible,
.is-visible.reveal,
.reveal-stagger > .is-visible {
  opacity: 1 !important;
}
.reveal.is-visible:not(.foryou-card),
.reveal-stagger > *.is-visible:not(.foryou-card) {
  transform: translateY(0) scale(1) !important;
}
.foryou-card.reveal.is-visible {
  transform: translateX(0) !important;
}

/* ---------- For You card slide-in from left ---------- */
.foryou-card.reveal { transform: translateX(-30px); }
.foryou-card.reveal.is-visible { transform: translateX(0); }

/* ---------- Feature card pop animation ---------- */
.feature-card {
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), #93b8ff);
  transition: width .6s cubic-bezier(.16,1,.3,1);
}
.feature-card:hover::before { width: 100%; }
.feature-card:hover .feature-num {
  background: linear-gradient(135deg, var(--blue), #93b8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: scale(1.1);
}
.feature-num { transition: transform .4s var(--ease); display: inline-block; }

/* ---------- Partner card hover glow ---------- */
.partner-card {
  position: relative;
  overflow: hidden;
}
.partner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(66,133,244,.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.partner-card:hover::before { opacity: 1; }

/* ---------- Blog card tape animation ---------- */
.blog-card .tape {
  transition: transform .35s cubic-bezier(.16,1,.3,1), background .35s var(--ease);
}
.blog-card:hover .tape {
  transform: rotate(-6deg) scale(1.15);
  background: rgba(66,133,244,.8);
}

/* ---------- Mobile responsive for new elements ---------- */
@media (max-width: 1024px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .works-grid { grid-template-columns: 1fr; gap: 20px; }
  .work-body { padding: 22px 22px 26px; }
  .hero-scroll { display: none; }
  .pillars-grid { grid-template-columns: 1fr; gap: 4px; }
  .pillar { padding: 16px 18px; }
  .pillar:not(:last-child) { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .hero-particles span { transform: scale(.7); }
  .greeting-photo-deco { display: none; }
}

/* ---------- Reduced motion respect ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-image,
  .hero-orb,
  .hero-particles span,
  .marquee-track,
  .greeting-photo-deco,
  .hero-scroll .scroll-line::after {
    animation: none !important;
  }
  .hero-title .char {
    animation-duration: .01s !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
