/* SERVICE Section */

body {
    background-color: #fff;
    color: #4A4E69;
    padding: 0;
    margin: 0;
}

.color-section{
    background-color: #f0e7ba;
    color: #4A4E69;
    margin: 0;
    padding: 20px;
    margin-top: -20px;
}

.common-buttons a.active {
    background-color: #f0e7ba;
    border-bottom: none; /* 下辺をなくす */
    color: #4A4E69;
    margin-bottom: -3px; /* ボタンが浮かないように調整 */
}

.service-content-title {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 3px solid #4A4E69;
    padding-bottom: 10px;
}

.service-section {
    padding: 10px;
    /* border: 3px solid #4A4E69; */
    margin: 20px auto;
    width: 90%;
}

/* service-box の中の .service-card を1つだけ表示する場合、幅を広げる */
.service-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.service-card {
    flex: 1 1 100%;
    max-width: 900px; /* お好みで調整 */
    margin: 0 auto 40px auto;
    padding: 40px;
    border: 3px solid #4A4E69;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}


.service-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #4A4E69;
    text-align: center; /* ← 中央揃えに変更 */
}

.service-card p {
    text-align: center;       /* テキストを中央揃え */
    margin: 0 auto;           /* ブロック要素自体を中央揃え */
    max-width: 90%;           /* 横幅制限して読みやすく */
    padding: 20px;
    line-height: 1.7;
    word-break: break-word;
}

.highlight {
  background-color: #f0e7ba;
  font-weight: bold;
}

/* 営業支援先企業セクション */
.service-partners {
    margin: 30px auto;
    width: 80%;
    text-align: center;
    font-size: 1em; /* ← 小さめに */
    font-weight: normal; /* ← 太字をやめる */
    border: 1px dashed #4A4E69; /* ← 点線＋薄色に */
    border-radius: 30px;
    padding: 15px;
    background-color: #fff; /* ← グレーで柔らかく */
    color: #4A4E69; /* ← 文字色もやや薄く */
}


.service-partners h3 {
    font-size: 1em;
    margin-bottom: 20px;
    border-bottom: 1px dashed #4A4E69;
    padding-bottom: 10px;
}

.service-partners a {
    color: #4A4E69;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: normal;
}

.service-partners a:hover {
    color: #555;
    text-decoration: underline;
}

/* RECRUITのh3と同じタイトルスタイル（事業内容用） */
.recruit-content-title {
    font-size: 2.8em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #4A4E69;
    padding-bottom: 10px;
}

.mobile-br {
  display: none;
}

/* PC表示のみ改行 */
@media (min-width: 769px) {
  .pc-br {
    display: inline;
  }

  .mobile-br {
  display: none;
  }

  .service-text {
    max-width: 80%;
    margin: 0 auto;
    text-align: left;
    font-size: 1em;
    line-height: 1.8;
    padding: 0 10px;
  }

  .service-card p {
    text-align: left;          /* 左揃え */
    margin: 0 auto;            /* 中央寄せ */
    padding-left: 20px;        /* 左に少し余白を持たせる */
    max-width: 90%;            /* 横幅を制限して読みやすく */
    line-height: 1.8;
  }

  .service-card {
      flex: 1 1 100%;
      max-width: 900px; /* お好みで調整 */
      margin: 0 auto 40px auto;
      padding: 40px;
      border: 3px solid #4A4E69;
      background-color: #fff;
      border-radius: 20px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      text-align: center;
  }

}


@media (max-width: 768px) {
  .service-content-title{
    margin: 0;
  }
  .service-box {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 350px;
    max-width: 310px;
    padding: 10px;
    margin-top: 40px;
    box-sizing: border-box;
  }

  .service-card p {
    text-align: center;     /* モバイルでも中央揃え */
    font-size: 0.95em;
    line-height: 1.8;
    padding: 0 10px;
    max-width: 100%;
  }

  .mobile-br {
    display: inline;
  }

  .service-card p {
    text-align: left;
    line-height: 1.8;
    font-size: 0.95em;
    padding: 30px 30px 30px 30px;
  }
}

