/* ========================================
   下層ページ共通ヘッダー（sub_main）
   ======================================== */

/* --- ページヒーローバナー --- */
.sub-main {
  background: linear-gradient(135deg, #d4f5c8 0%, #8fe07a 50%, #32c417 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.sub-main::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(255,255,255,0.15) 0%, transparent 100%);
  pointer-events: none;
}

.sub-main::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 40px;
  background: #f5f5f5;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.sub-main-inner {
  position: relative;
  z-index: 1;
  padding: 100px 20px 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.sub-main-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  margin: 0;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
  line-height: 1.4;
}

.sub-main-title-en {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 8px;
  text-shadow: none;
}

/* --- パンくずリスト --- */
.sub-breadcrumb {
  background: #f5f5f5;
  padding: 12px 20px;
  font-size: 0.82rem;
  color: #999;
}

.sub-breadcrumb-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.sub-breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.sub-breadcrumb a:hover {
  color: #32c417;
}

.sub-breadcrumb .sep {
  margin: 0 8px;
  color: #ccc;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
  .sub-main-inner {
    padding: 80px 16px 50px;
  }

  .sub-main-title {
    font-size: 1.8rem;
  }

  .sub-main::after {
    height: 30px;
  }
}

@media (max-width: 640px) {
  .sub-main-inner {
    padding: 70px 14px 44px;
  }

  .sub-main-title {
    font-size: 1.6rem;
  }

  .sub-main-title-en {
    font-size: 0.72rem;
  }

  .sub-breadcrumb {
    padding: 10px 14px;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .sub-main-inner {
    padding: 60px 12px 40px;
  }

  .sub-main-title {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
  }

  .sub-main-title-en {
    font-size: 0.68rem;
    margin-top: 6px;
  }

  .sub-breadcrumb {
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  .sub-main::after {
    height: 24px;
  }
}

@media (max-width: 375px) {
  .sub-main-inner {
    padding: 52px 10px 36px;
  }

  .sub-main-title {
    font-size: 1.25rem;
  }

  .sub-main-title-en {
    font-size: 0.65rem;
  }

  .sub-breadcrumb {
    padding: 6px 10px;
    font-size: 0.7rem;
  }

  .sub-main::after {
    height: 20px;
  }
}
