/* about/helpline 企業倫理ヘルプライン（通報窓口）のご案内 */
/* 文字の大きさ・行間（デジタル庁デザインシステムに合わせ、本文 16px・注記 14px） */
.helpline {
  color: #333333;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.7;
}
/* 見出しはサイト共通のまま（本文の行間 1.7 を見出しには効かせない） */
.helpline .heading01,
.helpline .heading02 {
  line-height: 1.5;
}
.helpline a {
  text-decoration: underline;
}
.helpline a:focus {
  outline: 2px solid #065e27;
  outline-offset: 2px;
}

/* 宛名 */
.helpline-to {
  margin-bottom: 8px;
  color: #307246;
  font-weight: bold;
}

/* 日付と社名（末尾。左に日付、右に社名） */
.helpline-sign {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #cccccc;
  color: #555555;
  font-size: 14px;
  font-size: 1.4rem;
}
.helpline-sign__name {
  text-align: right;
}

/* 「・」の箇条（2行目以降を本文の位置にそろえる） */
.helpline-list {
  margin-top: 1em;
}
.helpline-list > li {
  position: relative;
  padding-left: 1em;
}
.helpline-list > li + li {
  margin-top: 0.5em;
}
.helpline-list > li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

/* ※の注記 */
.helpline .helpline-note {
  margin-top: 0.5em;
}
.helpline .helpline-note > li {
  padding-left: 1em;
  font-size: 14px;
  font-size: 1.4rem;
}

/* 通報窓口（掲載イメージの載せ方。色はサイトの緑） */
.helpline-desk {
  margin-top: 1.5em;
  padding: 24px;
  border-radius: 8px;
  background-color: #eef5f0;
}
.helpline .helpline-desk__name {
  margin: 0 0 16px;
  color: #333333;
  font-size: 18px;
  font-size: 1.8rem;
  font-weight: bold;
}
.helpline-desk__tiles {
  display: flex;
  gap: 12px;
}
.helpline-tile {
  flex: 1 1 0;
  min-width: 0;
  padding: 14px 18px;
  border: 1px solid #949494;
  border-radius: 6px;
  background-color: #ffffff;
}
.helpline-tile__label {
  display: block;
  color: #555555;
  font-size: 14px;
  font-size: 1.4rem;
}
.helpline-tile__label .fa,
.helpline-formBtn__label .fa {
  width: 1.2em;
  margin-right: 6px;
  text-align: center;
}
.helpline .helpline-tile__value {
  display: inline-block;
  margin-top: 2px;
  color: #307246;
  font-size: 20px;
  font-size: 2.0rem;
  font-weight: bold;
  line-height: 1.5;
  word-break: break-all;
}
.helpline-desk__form {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 12px;
}
.helpline .helpline-formBtn {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  min-height: 64px;
  padding: 14px 18px;
  box-sizing: border-box;
  border-radius: 10px;
  background-color: #2D771F;
  color: #ffffff;
  text-decoration: none;
}
.helpline-formBtn__label {
  font-size: 14px;
  font-size: 1.4rem;
}
.helpline-formBtn__text {
  font-size: 18px;
  font-size: 1.8rem;
  font-weight: bold;
}
/* 外部リンクのアイコン（/business/wellbeing/ のサービスサイトリンクと同じ Font Awesome の external-link を右端に） */
.helpline .helpline-formBtn {
  position: relative;
  padding-right: 56px;
}
.helpline .helpline-formBtn::after {
  content: "\f08e";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "FontAwesome";
  font-size: 20px;
  font-size: 2.0rem;
  line-height: 1;
}
.helpline .helpline-formBtn:hover {
  background-color: #367f27;
}
.helpline .helpline-formBtn:hover .helpline-formBtn__text {
  text-decoration: underline;
}
.helpline-desk__time {
  display: flex;
  gap: 1em;
  margin-top: 16px;
}
.helpline-desk__time dt {
  font-weight: bold;
}
.helpline-desk__time dd {
  margin: 0;
}

/* スマートフォン */
@media (max-width: 767px) {
  .helpline {
    font-size: 16px;
    font-size: 1.6rem;
  }
  .helpline-desk {
    padding: 16px;
  }
  .helpline-desk__tiles {
    flex-direction: column;
  }
  .helpline .helpline-tile__value {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .helpline-desk__time {
    flex-wrap: wrap;
    gap: 0 1em;
  }
  /* 末尾の掲載日と社名は縦に並べて右寄せ（横並びだと1文字ずつ折り返すため） */
  .helpline-sign {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    text-align: right;
  }
}
