@charset "UTF-8";

/* =========================================================================
   Why Cebu Way page (/why-cebuway/)
   Ported from why-cebuway.html mockup. Header/nav/footer markup is not
   included here — those are provided by header.php / footer.php.
   Section backgrounds reuse the shared .section-base--yellow / --white
   rules already loaded sitewide via style/front-page.css.
   ========================================================================= */

.wcw {
  --wcw-orange-accent: #FB7312;
  --wcw-orange-accent-dark: #e5650e;
  --wcw-grad-1: #F8B133;
  --wcw-grad-2: #F59F27;
  --wcw-pink: #FC75AE;
  --wcw-blue: #0385FE;
  --wcw-text-dark: #1A1A1A;
  --wcw-text-gray: #5B5B5B;
  --wcw-bg-page: #F8F8F8;
  --wcw-radius-lg: 20px;
  --wcw-radius-md: 14px;
  --wcw-shadow-card: 0 4px 18px rgba(0, 0, 0, .08);
  --wcw-font-en: "Jost", sans-serif;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--wcw-text-dark);
  line-height: 1.9;
  overflow-x: hidden;
}

.wcw *,
.wcw *::before,
.wcw *::after {
  box-sizing: border-box;
}

.wcw img {
  max-width: 100%;
  display: block;
}

.wcw a {
  text-decoration: none;
  color: inherit;
}

/* ---- hero -------------------------------------------------------------- */
.wcw-hero {
  position: relative;
  margin-top: 144px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--wcw-bg-page);
  padding: 88px 20px 72px;
  text-align: center;
  overflow: hidden;
}
.wcw-hero__overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 20, 30, .32), rgba(15, 20, 30, .44));
  z-index: 0;
}
.wcw-hero__inner { position: relative; z-index: 1; }
.wcw-hero__title {
  font-size: 54px;
  font-weight: 900;
  color: #fff;
  line-height: 1.5;
  letter-spacing: .01em;
  max-width: none;
  margin: 0 auto 20px;
}
.wcw-hero__mark {
  display: inline-flex;
  align-items: center;
  padding: 1px 14px 6px;
  border-radius: 8px;
  background: var(--wcw-orange-accent);
  color: #fff;
}
.wcw-hero__subtitle {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 20px;
}
.wcw-hero__lead {
  max-width: 660px;
  margin: 0 auto 34px;
  font-size: 16px;
  color: rgba(255, 255, 255, .9);
}

/* ---- section shell (paired with cebuway_render_base_section) ---------- */
.wcw-section { position: relative; overflow: hidden; }
.wcw-section__inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-base__watermark-text {
  display: inline-block;
  font-family: var(--wcw-font-en);
  font-weight: 800;
  font-size: clamp(58px, 9vw, 108px);
  letter-spacing: -.02em;
  white-space: nowrap;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  color: rgba(0, 0, 0, .055);
}
.section-base--yellow .section-base__watermark-text { color: rgba(255, 255, 255, .16); }

.wcw-heading {
  text-align: center;
  font-size: 30px;
  font-weight: 900;
  color: var(--wcw-text-dark);
  line-height: 1.6;
  margin-bottom: 24px;
}
.section-base--yellow .wcw-heading { color: #fff; }
.wcw-lead {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 52px;
  font-size: 15.5px;
  color: var(--wcw-text-gray);
}
.section-base--yellow .wcw-lead { color: rgba(255, 255, 255, .92); }

/* ---- life (two-column image + text) ------------------------------------ */
.wcw-life { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; text-align: left; }
.wcw-life__img {
  aspect-ratio: 4/3;
  border-radius: var(--wcw-radius-lg);
  box-shadow: var(--wcw-shadow-card);
  overflow: hidden;
}
.wcw-life__img img { width: 100%; height: 100%; object-fit: cover; }
.wcw-life__text h3 {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  margin: 26px 0 8px;
  padding-left: 12px;
  border-left: 4px solid #fff;
}
.wcw-life__text > p { font-size: 15px; color: rgba(255, 255, 255, .92); }

/* ---- cards (fieldwork) -------------------------------------------------- */
.wcw-cards { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.wcw-card {
  background: #fff;
  border-radius: var(--wcw-radius-lg);
  box-shadow: var(--wcw-shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.wcw-card__img { aspect-ratio: 16/10; overflow: hidden; }
.wcw-card__img img { width: 100%; height: 100%; object-fit: cover; }
.wcw-card__body { padding: 24px 24px 28px; flex: 1; }
.wcw-card h3 { font-size: 17px; font-weight: 900; color: var(--wcw-text-dark); line-height: 1.6; margin-bottom: 10px; }
.wcw-card p { font-size: 14.5px; color: var(--wcw-text-gray); }

.wcw-coordinator {
  margin-top: 36px;
  background: #fff;
  border-radius: var(--wcw-radius-lg);
  box-shadow: var(--wcw-shadow-card);
  display: grid;
  grid-template-columns: 160px 1fr;
  overflow: hidden;
}
.wcw-coordinator__img { aspect-ratio: 3/4; overflow: hidden; }
.wcw-coordinator__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.wcw-coordinator__body { padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; }
.wcw-coordinator__body h3 { font-size: 19px; font-weight: 900; color: var(--wcw-text-dark); margin-bottom: 10px; }
.wcw-coordinator__body p { font-size: 14.5px; color: var(--wcw-text-gray); }

/* ---- grade split (pink / blue) ------------------------------------------ */
.wcw-grade-cards { display: grid; gap: 26px; grid-template-columns: 1fr 1fr; }
.wcw-grade-card {
  display: block;
  background: #fff;
  border-radius: var(--wcw-radius-lg);
  padding: 34px 30px;
  border: 2px solid var(--wcw-pink);
  transition: box-shadow .2s ease, transform .2s ease;
}
.wcw-grade-card:hover { box-shadow: var(--wcw-shadow-card); transform: translateY(-2px); }
.wcw-grade-card--blue { border-color: var(--wcw-blue); }
.wcw-grade-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--wcw-pink);
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 16px;
}
.wcw-grade-card--blue .wcw-grade-card__tag { background: var(--wcw-blue); }
.wcw-grade-card h3 { font-size: 19px; font-weight: 900; color: var(--wcw-pink); line-height: 1.6; margin-bottom: 14px; }
.wcw-grade-card--blue h3 { color: var(--wcw-blue); }
.wcw-grade-card p { font-size: 15px; color: var(--wcw-text-dark); }

/* ---- mentors ------------------------------------------------------------ */
.wcw-mentor {
  background: #fff;
  border-radius: var(--wcw-radius-lg);
  box-shadow: var(--wcw-shadow-card);
  padding: 30px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 22px;
  align-items: start;
  text-align: left;
}
.wcw-mentor + .wcw-mentor { margin-top: 22px; }
.wcw-mentor__avatar { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.wcw-mentor__avatar img { width: 100%; height: 100%; object-fit: cover; }
.wcw-mentor h3 { font-size: 18px; font-weight: 900; color: var(--wcw-text-dark); margin-bottom: 4px; }
.wcw-mentor__univ { font-size: 13px; font-weight: 700; color: var(--wcw-orange-accent); margin-bottom: 12px; }
.wcw-mentor p { font-size: 14.5px; color: var(--wcw-text-gray); }

/* ---- safety: white bg, black-bordered icon cards ------------------------ */
.wcw-safety-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.wcw-safety-card {
  background: #fff;
  border: 2px solid var(--wcw-text-dark);
  border-radius: var(--wcw-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.wcw-safety-card__img { width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.wcw-safety-card__img img { width: 100%; height: 100%; object-fit: cover; }
.wcw-safety-card__body { padding: 24px 26px 28px; }
.wcw-safety-card h3 { font-size: 16px; font-weight: 900; color: var(--wcw-orange-accent-dark); line-height: 1.5; margin-bottom: 10px; }
.wcw-safety-card p { font-size: 14.5px; color: var(--wcw-text-dark); }

/* ---- FAQ: white cards with black border ----------------------------------- */
.wcw-faq { max-width: 820px; margin: 0 auto; }
.wcw-faq details {
  background: #fff;
  border: 2px solid var(--wcw-text-dark);
  border-radius: var(--wcw-radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
}
.wcw-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 54px 20px 22px;
  font-weight: 700;
  color: var(--wcw-text-dark);
  font-size: 15px;
  line-height: 1.6;
  position: relative;
}
.wcw-faq summary::-webkit-details-marker { display: none; }
.wcw-faq summary::before {
  content: "Q";
  font-family: var(--wcw-font-en);
  font-weight: 800;
  color: #fff;
  background: var(--wcw-orange-accent);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.wcw-faq summary::after {
  content: "＋";
  color: var(--wcw-orange-accent);
  font-weight: 700;
  font-size: 20px;
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform .25s ease;
}
.wcw-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.wcw-faq__answer {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 0 22px 22px 22px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--wcw-text-dark);
}
.wcw-faq__answer::before {
  content: "A";
  font-family: var(--wcw-font-en);
  font-weight: 800;
  color: #fff;
  background: var(--wcw-text-dark);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

/* ---- final CTA ------------------------------------------------------------ */
.wcw-final-cta {
  background: linear-gradient(135deg, var(--wcw-grad-1), var(--wcw-grad-2));
  padding: 90px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.wcw-final-cta__title { font-size: 27px; font-weight: 900; line-height: 1.7; margin-bottom: 18px; color: #fff; position: relative; z-index: 1; }
.wcw-final-cta__text { max-width: 620px; margin: 0 auto 36px; font-size: 15.5px; position: relative; z-index: 1; color: rgba(255, 255, 255, .92); }
.wcw-final-cta .online-consult-section__cta { position: relative; z-index: 1; }
.wcw-final-cta .section-base__watermark-text { color: rgba(255, 255, 255, .16); }

/* ---- responsive ------------------------------------------------------------ */
@media (max-width: 768px) {
  .wcw-hero { margin-top: 110px; }
  .wcw-hero__title { font-size: 34px; }
  .wcw-hero__subtitle { font-size: 16px; }
  .wcw-heading { font-size: 21px; }
  .wcw-life { grid-template-columns: 1fr; gap: 26px; }
  .wcw-grade-cards { grid-template-columns: 1fr; }
  .wcw-coordinator { grid-template-columns: 1fr; }
  .wcw-coordinator__img { aspect-ratio: 16/10; }
  .wcw-mentor { grid-template-columns: 70px 1fr; gap: 16px; padding: 24px 20px; }
  .wcw-mentor__avatar { width: 70px; height: 70px; }
  .section-base__watermark-text { font-size: 44px; }
}
