/* ========================================
  Subpages Common Styles
  Note: This stylesheet is enqueued only on non-front pages via functions.php
======================================== */

/* ========================================
   Page Title Section
======================================== */
.page-title-section {
  padding: 80px 0;
  background: #FCFCFC;
}

.page-title {
  text-align: left;
  line-height: 1;
  margin-bottom: 30px;
}

.page-title .title-ja {
  display: block;
  font-size: 52px;
  font-weight: 600;
  color: #222222;
  margin-bottom: 10px;
}

.page-title .title-en {
  display: block;
  font-size: 40px;
  font-weight: 600;
  color: #cccccc;
}

/* ========================================
   Title Underline (title-overline)
======================================== */
.title-overline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 40px;
  height: 2px;
}

.underline-base {
  width: 100%;
  height: 2px;
  background: #CCCCCC;
}

.underline-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(180px, 35vw, 420px);
  height: 2px;
  background: linear-gradient(to right, #11A851, #074220);
}

/* ========================================
   Heading Styles (h2)
======================================== */
h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 30px;
  line-height: 1.5;
}

/* ========================================
   Heading Styles (h4)
======================================== */
h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 16px;
}

/* ========================================
   Heading Styles (h3)
======================================== */
h3 {
  text-align: left;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 60px;
}

/* h3 文頭の円装飾（10x10、線3px #11A851、塗り無し） */
h3::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 3px solid #11A851;
  margin-right: 12px;
  vertical-align: middle;
}

/* ========================================
   Responsive Design
======================================== */

/* タブレット: 769px〜1024px */
@media (max-width: 1024px) {
  .page-title .title-ja {
    font-size: 52px;
  }

  .page-title .title-en {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }
}

/* タブレット縦: 481px〜768px */
@media (min-width: 481px) and (max-width: 768px) {
  .page-title .title-ja {
    font-size: 46px;
  }

  .page-title .title-en {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 28px;
    margin-bottom: 40px;
  }
}

/* スマホ: 480px以下 */
@media (max-width: 480px) {
  .page-title-section {
    padding: 60px 20px 40px;
  }

  .page-title .title-ja {
    font-size: 30px;
  }

  .page-title .title-en {
    font-size: 24px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .container {
    padding-left: 0;
    padding-right: 0;
  }
}
