@charset "utf-8";
/*
 * トップページ 追加セクション用スタイル (front page のみ enqueue)
 * 既存デザインに合わせる: teal #3f7375 / 濃teal #2f4f50 / 薄背景 #f6faf9 / 枠 #dbe8e7
 * 名前空間 hr-fp-* (既存 .hoiku-* とも分離)。
 */

.hr-fp {
  padding: 40px 0;
}
.hr-fp:nth-of-type(even) {
  background: #f6faf9;
}
.hr-fp__inner {
  /* l-inner は親テーマの最大幅コンテナ。padding は左右の余白確保 */
  padding-left: 20px;
  padding-right: 20px;
}
.hr-fp__title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #2f4f50;
  margin: 0 0 24px;
  line-height: 1.4;
}

/* ボタン */
.hr-fp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #3f7375;
  color: #3f7375;
  background: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  padding: 11px 22px;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.hr-fp-btn:hover {
  background: #f2f8f7;
}
.hr-fp-btn--primary {
  background: #3f7375;
  color: #fff;
}
.hr-fp-btn--primary:hover {
  background: #356163;
  color: #fff;
}

/* 導入 */
.hr-fp-intro {
  text-align: center;
  /* CTAボタンを廃止したため上下対称の余白にし、下部に不要な空きを残さない */
  padding: 32px 0;
}
.hr-fp-intro__lead {
  font-size: 20px;
  font-weight: 700;
  color: #2f4f50;
  margin: 0 0 12px;
  line-height: 1.5;
}
.hr-fp-intro__desc {
  font-size: 15px;
  color: #47605f;
  line-height: 1.9;
  max-width: 760px;
  margin: 0 auto 22px;
  text-align: left;
}
/* 説明文が導入セクションの最後の要素のとき、下マージンを消して余白を残さない */
.hr-fp-intro__desc--last {
  margin-bottom: 0;
}
/* メリット (カード3枚) */
.hr-fp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hr-fp-card {
  background: #fff;
  border: 1px solid #dbe8e7;
  border-radius: 10px;
  padding: 24px 20px;
}
.hr-fp-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #3f7375;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}
.hr-fp-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #2f4f50;
  margin: 0 0 8px;
  line-height: 1.5;
}
.hr-fp-card__desc {
  font-size: 13.5px;
  color: #5c7a7a;
  line-height: 1.8;
  margin: 0;
}

/* 使い方 (3ステップ) */
.hr-fp-steps {
  list-style: none;
  margin: 0 auto 24px;
  padding: 0;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hr-fp-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #dbe8e7;
  border-radius: 10px;
  padding: 18px 20px;
}
.hr-fp-step__num {
  flex: 0 0 auto;
  background: #eef4f3;
  color: #3f7375;
  font-weight: 700;
  font-size: 12px;
  border-radius: 6px;
  padding: 6px 10px;
  letter-spacing: .02em;
  min-width: 56px;
  text-align: center;
}
.hr-fp-step__body { min-width: 0; }
.hr-fp-step__title {
  font-size: 16px;
  font-weight: 700;
  color: #2f4f50;
  margin: 2px 0 6px;
  line-height: 1.5;
}
.hr-fp-step__desc {
  font-size: 13.5px;
  color: #5c7a7a;
  line-height: 1.8;
  margin: 0;
}
.hr-fp-howto__cta {
  text-align: center;
  margin: 0;
}

/* 信頼性 */
.hr-fp-trust__text {
  font-size: 14.5px;
  color: #47605f;
  line-height: 1.9;
  max-width: 820px;
  margin: 0 auto 14px;
}
.hr-fp-trust__links {
  list-style: none;
  padding: 0;
  margin: 18px auto 0;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hr-fp-trust__links a {
  color: #3f7375;
  text-decoration: underline;
  font-size: 14px;
  font-weight: 700;
}

/* FAQ (ネイティブ details) */
.hr-fp-faq__list {
  max-width: 820px;
  margin: 0 auto;
}
.hr-fp-faq__item {
  background: #fff;
  border: 1px solid #dbe8e7;
  border-radius: 8px;
  margin: 0 0 10px;
  overflow: hidden;
}
.hr-fp-faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 44px 14px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #2f4f50;
  line-height: 1.6;
  position: relative;
}
.hr-fp-faq__q::-webkit-details-marker { display: none; }
.hr-fp-faq__q-mark {
  flex: 0 0 auto;
  color: #3f7375;
  font-weight: 700;
}
/* 開閉インジケータ(+ / −) */
.hr-fp-faq__q::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background:
    linear-gradient(#3f7375, #3f7375) center/12px 2px no-repeat,
    linear-gradient(#3f7375, #3f7375) center/2px 12px no-repeat;
  transition: transform .2s ease;
}
.hr-fp-faq__item[open] .hr-fp-faq__q::after {
  background: linear-gradient(#3f7375, #3f7375) center/12px 2px no-repeat;
}
/* キーボードフォーカス表示(アクセシビリティ) */
.hr-fp-faq__q:focus-visible {
  outline: 2px solid #3f7375;
  outline-offset: -2px;
}
.hr-fp-faq__a {
  display: flex;
  gap: 10px;
  padding: 0 16px 16px;
  border-top: 1px solid #eef4f3;
}
.hr-fp-faq__a-mark {
  flex: 0 0 auto;
  color: #c98a3c;
  font-weight: 700;
  padding-top: 12px;
}
.hr-fp-faq__a-text {
  font-size: 14px;
  color: #5c7a7a;
  line-height: 1.9;
  margin: 12px 0 0;
}
.hr-fp-faq__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* タブレット */
@media (max-width: 900px) {
  .hr-fp-cards { grid-template-columns: 1fr; gap: 14px; }
}

/* スマホ */
@media (max-width: 600px) {
  .hr-fp { padding: 32px 0; }
  .hr-fp__title { font-size: 20px; margin-bottom: 18px; }
  .hr-fp-intro__lead { font-size: 17px; }
  .hr-fp-intro__desc { font-size: 14px; line-height: 1.85; }
  .hr-fp-faq__cta .hr-fp-btn { width: 100%; }
  .hr-fp-step { flex-direction: column; gap: 8px; }
  .hr-fp-step__num { min-width: 0; align-self: flex-start; }
  .hr-fp-faq__q { font-size: 14px; padding-right: 40px; }
  .hr-fp-faq__a-text { font-size: 13.5px; }
}
