/* ============================================================
   index.css — トップページ専用スタイル
   White-based Apple-style design with hero slideshow
============================================================ */

body { background: #fff; }

/* ---- HERO SECTION ---- */
.ix-hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: 80px 24px 72px;
  box-sizing: border-box;
  overflow: hidden;
  background: #E8F0F8; /* fallback */
}

/* ---- SLIDESHOW ---- */
.ix-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ix-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: ixSlide 18s ease-in-out infinite;
  will-change: opacity;
}
.ix-slide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ix-slide:nth-child(1) { animation-delay: 0s; }
.ix-slide:nth-child(2) { animation-delay: 6s; }
.ix-slide:nth-child(3) { animation-delay: 12s; }

@keyframes ixSlide {
  0%    { opacity: 0; }
  6%    { opacity: 1; }
  30%   { opacity: 1; }
  36%   { opacity: 0; }
  100%  { opacity: 0; }
}

/* Light overlay — lets images show through subtly */
.ix-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(235, 244, 255, 0.78) 50%,
    rgba(255, 255, 255, 0.88) 100%
  );
}

/* Inner content */
.ix-inner {
  position: relative;
  z-index: 10;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* ---- HERO TEXT BLOCK (centered) ---- */
.ix-text-block {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

/* Badge */
.ix-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(26,86,164,0.2);
  background: rgba(26,86,164,0.06);
  backdrop-filter: blur(8px);
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1A56A4;
  margin-bottom: 24px;
}
.ix-badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #1A56A4;
  box-shadow: 0 0 6px rgba(26,86,164,0.5);
  flex-shrink: 0;
  animation: ixPulse 2.5s ease-in-out infinite;
}
@keyframes ixPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Hero typography */
.ix-h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 900;
  color: #1E2A3B;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.ix-h1-grad {
  background: linear-gradient(130deg, #1A56A4 0%, #3B82F6 55%, #1A56A4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ix-eyebrow {
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 700;
  color: #4A5568;
  letter-spacing: 0.02em;
  margin: 0 0 18px;
}
.ix-body {
  font-size: clamp(14px, 1.3vw, 16px);
  color: #1d1d1f;
  line-height: 1.9;
  max-width: 540px;
  margin: 0 auto;
}

/* ---- 3-COLUMN CARDS ---- */
.ix-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  gap: 20px;
  justify-content: center;
}

.ix-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 8px 24px rgba(0,0,0,0.07);
  transition: box-shadow 0.4s ease,
              transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ix-card::before { display: none; }
.ix-card::after  { display: none; }

/* Circular thumbnail — top right */
.ix-card-thumb {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  border: 2px solid #fff;
}

.ix-card:hover {
  box-shadow:
    0 4px 8px rgba(0,0,0,0.06),
    0 20px 56px rgba(0,0,0,0.13);
  transform: translateY(-6px);
}

/* Label */
.ix-card-label {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1A56A4;
  margin-bottom: 14px;
}
.ix-card-label::before { display: none; }

/* Title */
.ix-card-title {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}

/* Desc */
.ix-card-desc {
  font-size: 16px;
  color: #6e6e73;
  line-height: 1.85;
  flex: 1;
}

/* Divider */
.ix-card-divider {
  width: 100%;
  height: 1px;
  background: #f0f0f5;
  margin: 24px 0 0;
}

/* CTA */
.ix-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #1A56A4;
  text-decoration: none;
  width: fit-content;
  transition: gap 0.2s ease, color 0.2s ease;
}
.ix-card-cta::after { display: none; }
.ix-card-cta:hover { color: #0040a0; gap: 8px; }

.ix-card-cta-arrow {
  font-size: 15px;
  display: inline-block;
  transition: transform 0.2s ease;
}
.ix-card-cta:hover .ix-card-cta-arrow {
  transform: translateX(3px);
}

/* ---- BACKGROUND SECTION ---- */
.ix-bg-section {
  background: #ffffff;
  padding: 96px 0;
}

.ix-bg-section .section-label,
.ix-bg-section .section-title,
.ix-bg-section .section-divider,
.ix-bg-section .section-lead {
  display: block;
  text-align: center;
}

.ix-bg-section .section-divider {
  margin-left: auto;
  margin-right: auto;
}

.ix-bg-section .section-lead {
  max-width: 100%;
  font-size: 16px;
}

/* 画像（左）＋ 縦並びアイテム（右） */
.ix-bg-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: center;
  margin-top: 56px;
}
.ix-bg-image img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.1);
  transform-origin: center center;
}

/* 縦並びアイテムリスト */
.ix-bg-issues {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ix-issue-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #D1D9E6;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  padding: 20px 24px 24px;
}
.ix-issue-header {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.ix-issue-num {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #1A56A4;
  flex-shrink: 0;
  line-height: 1;
}
.ix-issue-title {
  font-size: 16px;
  font-weight: 700;
  color: #1E2A3B;
  margin: 0;
  line-height: 1.4;
}
.ix-issue-body {
  font-size: 16px;
  color: #4A5568;
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 1023px) {
  .ix-bg-body { grid-template-columns: 1fr; gap: 40px; }
}

/* ---- CTA / FORM SECTION ---- */
.ix-cta-section {
  background: #1E2A3B;
  padding: 96px 24px;
}
.ix-cta-card {
  position: relative;
  background: transparent;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}
.ix-cta-orb-a {
  position: absolute;
  width: 500px; height: 500px;
  top: -150px; right: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,86,164,0.35) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
}
.ix-cta-orb-b {
  position: absolute;
  width: 300px; height: 300px;
  bottom: -80px; left: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,144,217,0.2) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}
.ix-cta-layout {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.ix-cta-label {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}
.ix-cta-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.ix-cta-sub {
  font-size: 16px;
  color: #fff;
  line-height: 1.75;
  margin: 0;
}
.ix-cta-hint {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  margin-top: 32px;
}

/* Form */
.ix-form { display: flex; flex-direction: column; gap: 14px; }
.ix-form-group label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 7px;
  font-family: 'Noto Sans JP', sans-serif;
  text-transform: none;
}
.ix-form-group input {
  width: 100%;
  padding: 13px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}
.ix-form-group input:focus {
  background: rgba(255,255,255,0.11);
  border-color: rgba(26,86,164,0.6);
  box-shadow: 0 0 0 3px rgba(26,86,164,0.15);
}
.ix-form-group input::placeholder { color: rgba(255,255,255,0.2); }
.ix-form-group textarea {
  width: 100%;
  padding: 13px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
  resize: vertical;
}
.ix-form-group textarea:focus {
  background: rgba(255,255,255,0.11);
  border-color: rgba(26,86,164,0.6);
  box-shadow: 0 0 0 3px rgba(26,86,164,0.15);
}
.ix-form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.ix-optional {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
}
.ix-submit {
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  background: #1A56A4;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  border: none;
  cursor: pointer;
  margin-top: 6px;
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.ix-submit:hover {
  background: #1443A0;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(26,86,164,0.5);
}
.ix-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.ix-submit:hover::after { transform: translateX(100%); }

/* ---- FOOTER ---- */
.ix-footer {
  background: #fff;
  border-top: 1px solid #F0F0F0;
  padding: 48px 24px 32px;
  text-align: center;
}
.ix-footer-logo {
  height: 30px; width: auto;
  margin: 0 auto 16px;
  opacity: 0.6;
}
.ix-footer-tagline {
  font-size: 12px;
  color: #9CA3AF;
  margin-bottom: 24px;
}
.ix-footer-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 28px;
}
.ix-footer-nav a {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.2s;
}
.ix-footer-nav a:hover { color: #1A56A4; }
.ix-footer-copy {
  font-family: 'Outfit', sans-serif;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #D1D5DB;
  border-top: 1px solid #F0F0F0;
  padding-top: 20px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1023px) {
  .ix-hero { padding: 64px 20px 56px; min-height: auto; }
  .ix-inner { gap: 40px; }
  .ix-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ix-cta-layout { grid-template-columns: 1fr; gap: 40px; }
  .ix-cta-card { padding: 40px 28px; }
}
