@charset "utf-8";

/* for kdf-company.html kdf-faq.html (S) CSS
---------------------------------------------------------------------------*/
.history-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  border-left: 3px solid #ccc;
}

.history-list li {
  padding: 0.8rem 1rem;
  margin-left: 1rem;
  position: relative;
}

.history-list li::before {
  content: "";
  width: 12px;
  height: 12px;
  background: #d00000;
  border-radius: 50%;
  position: absolute;
  left: -1.1rem;
  top: 1.1rem;
}

.history-list .year {
  font-weight: 700;
  display: inline-block;
  width: 120px;
}

.history-list .event {
  display: inline-block;
}

.company-info {
  margin: 2rem 0;
  border-top: 1px solid #e5e5e5;
}

.info-item {
  padding: 1.4rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.info-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}

.info-item p {
  margin: 0;
  line-height: 1.7;
  color: #555;
  font-size: 0.95rem;
}

/* ===========================
   FAQカード：影付き＋ふわっと浮く
   =========================== */

.faq-item {
  background: #ffffff;
  padding: 1.6rem 1.4rem;
  margin-bottom: 1.2rem;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  will-change: transform, box-shadow;
}

/* ホバー＆フォーカス時の浮遊アニメーション */
.faq-item:hover,
.faq-item:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  background: #fcfcfc; /* ほんの少しだけ明るくして浮遊感を強調 */
}

/* 質問（Q） */
.faq-q {
  font-size: 1.05rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.6rem;
  line-height: 1.5;
  transition: opacity 0.35s ease;
}

/* 回答（A） */
.faq-a {
  margin: 0;
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ホバー時に質問文を少しフェードさせる（上品な演出） */
.faq-item:hover .faq-q,
.faq-item:focus-within .faq-q {
  opacity: 0.85;
}

/* リンク */
.faq a {
/*  color: #004080;*/
  color: #1f7f5f;
  text-decoration: none;
  transition: color 0.25s ease;
}

.faq a:hover {
  color: #1f7f5f;
  text-decoration: underline;
}

.faq a:focus {
  outline: none;
}


/* for kdf-company.html kdf-faq.html (E) CSS
---------------------------------------------------------------------------*/