/* ============================================================
   PAGE.CSS — 下層ページ共通スタイル
   Pasir Putih HP
============================================================ */

/* ============================================
   PAGE HERO（ページ上部バナー）
============================================ */
.page-hero {
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.page-hero-overlay {
  display: none;
}

/* 写真なし（グラデーション）バージョン */
.page-hero.no-image {
  background: linear-gradient(135deg, var(--sand) 0%, var(--sand-dark) 100%);
  min-height: 240px;
}

.page-hero.no-image .page-hero-content {
  color: var(--deep);
}

.page-hero.no-image .page-hero-label,
.page-hero.no-image .page-hero-title {
  color: var(--deep);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 48px 24px 52px;
  color: var(--white);
}

.page-hero-label {
  display: none;
}

.page-hero-title {
  display: none;
}

.page-hero.no-image .page-hero-label {
  color: var(--earth);
}

/* ============================================
   BREADCRUMB
============================================ */
.breadcrumb {
  background: var(--sand);
  border-bottom: 1px solid var(--border);
}

.breadcrumb-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-light);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--earth);
}

.breadcrumb-sep {
  color: var(--border);
  font-size: 10px;
}

/* ============================================
   PAGE LEAD TEXT
============================================ */
.page-lead {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 14px;
  color: var(--text-light);
  line-height: 2.2;
}

/* ============================================
   SECTION DIVIDER
============================================ */
.section-divider {
  width: 40px;
  height: 1px;
  background: var(--earth-light);
  margin: 0 auto 40px;
  opacity: 0.6;
}

/* ============================================
   TWO-COLUMN LAYOUT（テキスト＋画像）
============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

.two-col-img {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sand-dark);
}

.two-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.two-col-text h3 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  color: var(--deep);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.two-col-text p {
  font-size: 14px;
  color: var(--text);
  line-height: 2.3;
  margin-bottom: 16px;
}

.two-col-text p:last-of-type {
  margin-bottom: 0;
}

/* ============================================
   RESPONSIVE — PAGE COMMONS
============================================ */
@media (max-width: 768px) {
  .page-hero {
    min-height: 240px;
  }

  .page-hero-content {
    padding: 40px 24px 44px;
  }

  .two-col,
  .two-col.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    direction: ltr;
    margin-bottom: 48px;
  }

  .two-col-img {
    aspect-ratio: 16 / 9;
  }
}
