:root {
  --main-color: #5B6EAB;
  /* --main-color: #28329a; */
  /* --main-color: green; */
  --text-color: #333;
  --section-gap: 3rem;
  --header-height: 70px;
}
section {
  margin-bottom: var(--section-gap);
}

* {
  /* outline: 1px solid red !important; */
}


body {
  /* font-family:  "ヒラギノ角ゴ ProN W3", HiraKakuProN-W3, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, Verdana, Helvetica, Arial, sans-serif; */
  font-family: Arial, sans-serif;
  background: white;
  margin: 0;
  color: var(--text-color);
  margin-top: var(--header-height);
  line-height: 1.8;
}

h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  letter-spacing: 0.1rem;
}

.mb-sm { margin: 0 0 0.5rem 0; }
.mb-md { margin: 0 0 1rem 0; }
.mb-lg { margin: 0 0 1.5rem 0; }


section[id] {
  scroll-margin-top: 40px;
}


/* サブページ共通Hero */
.sub-hero {
  position: relative;
  width: 100%;
  height: 333px;
  overflow: hidden;
  margin-bottom: 0;
}

.sub-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sub-hero-text {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #fff;
  text-shadow: 3px 3px 5px #333;
}

.sub-hero-text h2 {
  font-size: 4rem;
  line-height: 0.5;
}

.sub-hero-text span {
  font-size: 1.5rem;
}


/* サブページ共通ナビゲーション */
.sub-nav {
  background: var(--main-color);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  padding: 0.7rem 3rem 0.7rem;
  line-height: 2;
  gap: 0 2.5rem;
  font-size: 0.9rem;
}

.sub-nav__link {
  color: #fff;
  text-decoration: none;
  font-weight: 300;
}

.sub-nav__link:hover {
  font-weight: bold;
}

.breadcrumb {
  font-size: 0.9rem;
  padding: 1rem 0;
}

.breadcrumb ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  color: #555;
  position: relative;
}

.breadcrumb li:not(:last-child)::after {
  content: "／";
  margin-left: 8px;
  color: #aaa;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--main-color);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  font-weight: bold;
}


/* サブセクション共通 */
.sec-padding {
  margin: 0;
  padding: 3rem 0 6rem;
}

.sec-title {
  position: relative;
  margin: 0 0 2rem 0;
  padding-bottom: 0.2rem;
  font-size: 2.8rem;
  font-weight: 600;
}
.sec-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(
    to right,
    var(--main-color) 0 30px,
    #ccc 30px 100%
  );
}

.sec-subtitle {
  text-align: center;
  position: relative;
  margin: 0 0 2rem 0;
  padding: 0;
  font-size: 1.6rem;
  font-weight: 600;
}
.sec-subtitle::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 2px;  
  width: 300px;
  height: 1px;
  background-color: #ccc;
}

.sec-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 10%;
  box-sizing: border-box;
}
.recruit-hero .sec-container {
  max-width: 100%;
  padding: 0;
}

.sec-bg {
  background-color: #F1F2F8
}



@media (max-width: 768px) {
  .sub-nav {
    gap: 0 1rem;
    padding: 0.7rem 10px 0.7rem;
  }
  .sub-hero-text h2 {
    font-size: 2.5rem;
    line-height: 0.8;
  }
  .sub-hero-text span {
    font-size: 1.2rem;
  }
  .sub-hero-text {
    left: 0%;
    width: 100%;
    text-align: center;
  }
  .sec-title {
    font-size: 1.7rem;
    text-align: center;
  }
}