/*
Theme Name: EARLY CROSS
Version: 1.0.0
Template: oltana-005
Author: CROOVER inc.
Author URI: https://croover.co.jp
*/

/* ======================================
   EARLY CROSS Brand Font System v1
   Inter + Noto Sans JP | weight 500
   ====================================== */

/* -- Base (parent uses body:not(.wp-admin)) -- */
body:not(.wp-admin),
body:not(.wp-admin) input,
body:not(.wp-admin) textarea,
body:not(.wp-admin) select,
body:not(.wp-admin) button {
  font-family: "Inter", "Noto Sans JP", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* -- OLTANA English font override -- */
body:not(.wp-admin).ol-frank-ruhl-libre .ol-font-en,
.ol-font-en {
  font-family: "Inter", "Noto Sans JP", sans-serif !important;
}

/* -- Headings -- */
h1, h2, h3, h4, h5, h6,
.ol-heading,
.ol-section__title,
.ol-section__subtitle,
.ol-concept__maincopy,
.ol-firstview__title-maincopy1,
.ol-firstview__title-maincopy2,
.ol-firstview__title-maincopy3,
.ol-firstview__title-maincopy4,
h2.wp-block-heading,
h3.wp-block-heading,
h4.wp-block-heading {
  font-family: "Inter", "Noto Sans JP", sans-serif !important;
  font-weight: 500;
  letter-spacing: 0.12em;
}

/* -- Body Text -- */
p, li, span, a, td, th, dd, dt, label,
.ol-heading-desc,
.ol-list-title,
.ol-list-text,
.ol-voice__name,
.ol-voice__item-title,
.ol-access__info-item dt,
.ol-faq__item-head,
.ol-btn-text,
.ol-btn-large,
.ol-btn-large-2,
.ol-btn-medium,
.ol-btn-medium-2,
.ol-btn-small,
.ol-btn-regular,
.ol-cvbutton__maintext,
.ol-contact__nav-anchor-title {
  font-family: "Inter", "Noto Sans JP", sans-serif !important;
}

/* -- Footer -- */
.ol-footer,
.ol-footer * {
  font-family: "Inter", "Noto Sans JP", sans-serif !important;
}

/* -- Text Color (Brand Standard) -- */
body:not(.wp-admin) {
  color: #333333;
}

/* -- SERVICE Detail Pages: Hide theme default title -- */
.page-child .ol-article__title {
  display: none !important;
}

/* ===== CONSULTING PAGE IMAGES ===== */

/* FV Hero background image */
.ec-c-hero__bg {
  background-image: url('/wp-content/uploads/2026/04/Gemini_Generated_Image_hph24dhph24dhph2.jpg') !important;
  background-size: cover;
  background-position: center;
}

/* Philosophy section - replace placeholder with whiteboard image */
.ec-c-img-placeholder {
  background-image: url('/wp-content/uploads/2026/04/Gemini_Generated_Image_kyxo0jkyxo0jkyxo.jpg');
  background-size: cover;
  background-position: center;
  min-height: 400px;
  border-radius: 8px;
}
.ec-c-img-placeholder::after {
  content: none !important;
}

/* CTA section background */
.ec-c-cta-section {
  background-image: linear-gradient(rgba(2,46,81,0.85), rgba(2,46,81,0.85)), url('/wp-content/uploads/2026/04/Gemini_Generated_Image_teczglteczgltecz.jpg');
  background-size: cover;
  background-position: center;
}

/* ===== CONSULTING PAGE: Hide OLTANA contact/breadcrumb overlay ===== */
.page-id-262 .ol-contact__image,
.page-id-262 .ol-single__breadcrumb-section,
.page-id-262 .ol-contact__section {
  display: none !important;
}


/* ===== CREATIVE PAGE: Hide OLTANA contact/breadcrumb overlay ===== */
.page-id-248 .ol-contact__image,
.page-id-248 .ol-single__breadcrumb-section,
.page-id-248 .ol-contact__section {
  display: none;
}

/* ===== SNS & PR PAGE: Hide OLTANA contact/breadcrumb overlay ===== */
.page-id-277 .ol-contact__image,
.page-id-277 .ol-single__breadcrumb-section,
.page-id-277 .ol-contact__section,
.page-id-250 .ol-contact__image,
.page-id-250 .ol-single__breadcrumb-section,
.page-id-250 .ol-contact__section {
  display: none;
}

/* ===== CREATIVE PAGE: Hide OLTANA contact/breadcrumb overlay ===== */
.page-id-248 .ol-contact__image,
.page-id-248 .ol-single__breadcrumb-section,
.page-id-248 .ol-contact__section {
  display: none;
}

/* ===== SNS & PR PAGE: Hide OLTANA contact/breadcrumb overlay ===== */
.page-id-277 .ol-contact__image,
.page-id-277 .ol-single__breadcrumb-section,
.page-id-277 .ol-contact__section,
.page-id-250 .ol-contact__image,
.page-id-250 .ol-single__breadcrumb-section,
.page-id-250 .ol-contact__section {
  display: none;
}
/* Footer COMPANY heading link */
.ec-ft-nav__heading a {
  color: #fff !important;
  text-decoration: none;
}
.ec-ft-nav__heading a:hover {
  opacity: 0.7;
}
