/* ==========================================================================
   Company MVV (Mission / Vision / Values) Page
   ========================================================================== */

.p-company-mvv-page {
  background: #fb9516;
}

.cmvv-mvv {
  overflow: hidden;
}

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

/* --------------------------------------------------------------------------
   Hero — Orange band + white arch (single element, top + bottom curves)
   -------------------------------------------------------------------------- */

.cmvv-hero {
  position: relative;
  z-index: 3;
  background: #fb9516;
  padding-top: 86px;
}

.cmvv-hero__arch {
  width: 100%;
  padding: clamp(70px, 7.1vw, 102px) clamp(30px, 12vw, 172px) clamp(120px, 14vw, 200px);
  background: linear-gradient(to bottom, #ffffff 0%, #f2f8f7 100%);
  border-top-left-radius: 50% clamp(300px, 40vw, 580px);
  border-top-right-radius: 50% clamp(300px, 40vw, 580px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Illustration */
.cmvv-hero__illust {
  margin: 0 auto 40px;
  width: min(280px, 25vw);
}

.cmvv-hero__illust-img {
  width: 100%;
}

/* Title block */
.cmvv-hero__title-block {
  text-align: center;
  margin-bottom: 60px;
}

.cmvv-hero__title {
  margin: 0;
}

.cmvv-hero__title-en {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 800;
  color: #fbb03b;
  letter-spacing: 0.04em;
}

.cmvv-hero__title-img {
  display: block;
  width: min(480px, 42vw);
  height: auto;
  margin: 0 auto;
}

.cmvv-hero__subtitle {
  margin: 4px 0 0;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  color: #fbb03b;
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   Content area — white/gradient bg for philosophy sections
   -------------------------------------------------------------------------- */

.cmvv-mvv .p-philosophy,
.cmvv-mvv .p-core-values {
  background: linear-gradient(to bottom, #f2f8f7 0%, #ffffff 50%, #f2f8f7 100%) !important;
}

.cmvv-mvv .p-philosophy:first-of-type {
  background: linear-gradient(to bottom, #f2f8f7 0%, #ffffff 100%) !important;
}

/* Override js-fadein initial hidden state — make content visible immediately
   (except hero elements, which should animate in) */
.cmvv-mvv .js-fadein:not(.cmvv-hero__illust, .cmvv-hero__title-block) {
  opacity: 1 !important;
  transform: none !important;
}

/* --------------------------------------------------------------------------
   Inner container
   -------------------------------------------------------------------------- */

.cmvv-inner {
  width: min(1066px, 100%);
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   MISSION section
   -------------------------------------------------------------------------- */

.cmvv-mission {
  margin-bottom: 80px;
}

.cmvv-mission__text {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 700;
  color: #333333;
  line-height: 1.8;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Navigation Cards — PROFIEL + MESSAGE (inside arch)
   -------------------------------------------------------------------------- */

.cmvv-nav-cards__inner {
  width: 100%;
  margin: 0 auto;
  padding: 60px 0;
  display: flex;
  justify-content: center;
  gap: clamp(30px, 5.2vw, 75px);
  background: #ffffff;
}

.cmvv-nav-cards__card {
  display: block;
  width: clamp(180px, 15.8vw, 228px);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.cmvv-nav-cards__card:hover {
  transform: translateY(-6px);
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.12));
}

.cmvv-nav-cards__card-img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   CTA — buttons on orange bg, white arch spacer below
   -------------------------------------------------------------------------- */

.cmvv-cta {
  position: relative;
  z-index: 1;
  background: #fb9516;
}

.cmvv-cta__buttons {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3.2vw, 48px);
  padding: 0 24px;
}

.cmvv-cta__button {
  display: block;
  width: clamp(200px, 23.82vw, 343px);
  aspect-ratio: 366 / 116;
  height: auto;
  line-height: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cmvv-cta__button:hover {
  transform: translateY(-3px);
  opacity: 0.88;
}

.cmvv-cta__button img {
  width: 100%;
  aspect-ratio: 366 / 116;
  height: auto;
  object-fit: contain;
}

.cmvv-cta__arch {
  width: 100%;
  background: linear-gradient(to bottom, #f2f8f7 0%, #ffffff 25%);
  height: clamp(400px, 42vw, 620px);
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: clamp(120px, 13.5vw, 192px);
}

/* --------------------------------------------------------------------------
   Footer — curve fill color only (override handled by .has-footer-arch)
   -------------------------------------------------------------------------- */

.has-footer-arch.cmvv-mvv + .l-footer .l-footer__curve-path {
  fill: #fb9516;
}

/* --------------------------------------------------------------------------
   Responsive — 1200px: Vision section overlap fix
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  .cmvv-mvv .p-philosophy--vision .p-philosophy__label-img {
    height: clamp(64px, 7.5vw, 100px);
    max-width: 100%;
  }

  .cmvv-mvv .p-philosophy--vision .p-philosophy__content {
    margin-right: -40px;
  }

  .cmvv-mvv .p-philosophy__illustration {
    overflow: hidden;
  }

  .cmvv-mvv .p-philosophy--vision .p-philosophy__illustration img {
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Responsive — 1024px
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .cmvv-hero {
    padding-top: 80px;
  }

  .cmvv-hero__arch {
    padding: 70px 40px clamp(50px, 6vw, 80px);
  }

  .cmvv-nav-cards__inner {
    margin-top: 60px;
  }

  .cmvv-cta__buttons {
    margin-top: 80px;
  }
}

/* --------------------------------------------------------------------------
   Responsive — 767px
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  .cmvv-hero {
    padding-top: 64px;
  }

  .cmvv-hero__arch {
    padding: 60px 24px 48px;
    border-top-left-radius: 50% 320px;
    border-top-right-radius: 50% 320px;
  }

  .cmvv-hero__illust {
    width: 130px;
  }

  .cmvv-hero__title-en {
    font-size: 22px;
  }

  .cmvv-hero__title-block {
    margin-bottom: 40px;
  }

  .cmvv-mission {
    margin-bottom: 48px;
  }

  .cmvv-mission__text {
    font-size: 18px;
  }

  .cmvv-nav-cards__inner {
    margin-top: 40px;
    gap: 20px;
  }

  .cmvv-nav-cards__card {
    width: clamp(150px, 42vw, 200px);
  }

  .cmvv-cta__buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 0;
  }

  .cmvv-cta__button {
    width: clamp(180px, 52vw, 260px);
  }

  .cmvv-cta__arch {
    height: 500px;
    padding-top: 60px;
  }
}

/* --------------------------------------------------------------------------
   Responsive — 480px
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {
  .cmvv-hero {
    padding-top: 56px;
  }

  .cmvv-hero__arch {
    padding: 50px 16px 40px;
    border-top-left-radius: 50% 240px;
    border-top-right-radius: 50% 240px;
  }

  .cmvv-hero__illust {
    width: 110px;
  }

  .cmvv-hero__title-en {
    font-size: 18px;
  }

  .cmvv-hero__subtitle {
    font-size: 20px;
  }

  .cmvv-mission__text {
    font-size: 16px;
  }

  .cmvv-nav-cards__inner {
    margin-top: 32px;
  }

  .cmvv-nav-cards__card {
    width: clamp(130px, 40vw, 170px);
  }

  .cmvv-cta__button {
    width: min(220px, 65vw);
  }

  .cmvv-cta__arch {
    height: 420px;
    padding-top: 50px;
  }
}
