/* ============================================
   Common CSS for Sub-pages
   Extracted from assets/css/style.css
   Contains: CSS variables, MV, Breadcrumb
   ============================================ */

body {
  overflow-x: hidden;
}

main {
  text-align: left;
  position: relative;
  isolation: isolate;
}

main > section,
main > div,
main > nav {
  position: relative;
}

/* ── Section background layering ──
   Section backgrounds are moved to ::before pseudo-elements
   so decorative circles can sit between background and content.
   Each page CSS sets --section-bg on the section element.
   ── */
main > section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--section-bg, transparent);
  z-index: 0;
}

/* Section content above decorative circles */
main > section > [class*="__inner"] {
  position: relative;
  z-index: 3;
}

/* ── Decorative gradient circles (all sub-pages) ── */
.deco-circle-pink,
.deco-circle-blue {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.deco-circle-pink img,
.deco-circle-blue img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.deco-circle-pink {
  top: -160px;
  right: -134px;
  width: 502px;
  height: 748px;
}

.deco-circle-blue {
  top: 110px;
  left: -302px;
  width: 1012px;
  height: 1490px;
}

@media (max-width: 768px) {
  .deco-circle-pink {
    width: 200px;
    height: 298px;
    top: -40px;
    right: -60px;
  }

  .deco-circle-blue {
    width: 400px;
    height: 589px;
    top: 60px;
    left: -200px;
  }
}

:root {
  /* Colors */
  --color-navy: #464b73;
  --color-blue: #2e3c98;
  --color-pink: #e66e96;
  --color-pink-bg: #fef2f3;
  --color-pink-light: #ffe6e9;
  --color-divider: #e5b8c7;
  --color-white: #ffffff;
  --color-sky: #0b9ddb;
  --color-sky-bright: #5bceff;
  --color-border-blue: #8797c9;

  /* Typography */
  --font-mincho: "Zen Old Mincho", serif;
  --font-gothic: "Zen Kaku Gothic New", sans-serif;

  /* Layout */
  --header-height-pc: 58px;
  --header-height-sp: 60px;
  --header-cta-width: 180px;
}

/* ============================================
   Header Spacer (for fixed header)
   ============================================ */
.header-spacer {
  height: var(--header-height-sp);
}

@media (min-width: 769px) {
  .header-spacer {
    height: var(--header-height-pc);
  }
}

/* ============================================
   MV (Sub-page Main Visual)
   ============================================ */
.mv {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #464B73;
  padding: 28px 20px;
  overflow: hidden;
}

.mv__img,
.mv__overlay {
  display: none;
}

.mv__title {
  position: relative;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-white);
  text-align: left;
}

.mv__en {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-white);
  opacity: 0.5;
  letter-spacing: 1.5px;
  text-align: left;
}

@media (min-width: 769px) {
  .mv {
    position: relative;
    background: none;
    padding: 0;
    height: 300px;
  }

  .mv__img,
  .mv__overlay {
    display: block;
  }

  .mv__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    filter: blur(1px);
  }

  .mv__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(70, 75, 115, 0.7) 0%, transparent 60%);
    mix-blend-mode: multiply;
  }

  .mv__title {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 120px;
    font-size: 40px;
    text-align: left;
  }

  .mv__en {
    display: block;
    position: absolute;
    bottom: 0;
    right: 70px;
    margin-top: 0;
    font-size: 128px;
    opacity: 0.4;
    letter-spacing: 6.4px;
    text-align: right;
  }
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 40px 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-navy);
}

.breadcrumb a {
  transition: opacity 0.3s;
}

.breadcrumb a:hover {
  opacity: 0.7;
}

.breadcrumb__separator {
  user-select: none;
}

@media (min-width: 769px) {
  .breadcrumb {
    padding: 24px 120px 0;
  }
}
