@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,500,700");

/* faq-header */
.faq-header-title{
  background: no-repeat center 35% url("../images/faq/banner-faq.png");
  background-size: cover; aspect-ratio: 16 / 3; /* 横縦比で高さを確保 */ 

  text-align: center;
  padding: 80px 80px;
  /*opacity: none;*/
  position: relative;
  margin: 0;
}
.faq-header-title::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.05));
  pointer-events: none;
}
.faq-header-title .en,
.faq-header-title .ja{
  position: relative;
  z-index: 1;
  color: #ffffff;
}
.faq-header-title .en{ display: block; font-size: 40px;}
.faq-header-title .ja{ display: block; font-size: 14px;}

/* 1024px以下：少しコンパクトに */
@media (max-width: 1024px) {
  .faq-header-title {
    padding: 40px 40px;
    background-position: center center;
  }
  .faq-header-title .en { font-size: 32px; }
  .faq-header-title .ja { font-size: 13px; }
}

/* 768px以下：スマホ・タブレット用 */
@media (max-width: 768px) {
  .faq-header-title {
    aspect-ratio: auto;          /* 高さを固定せず中身優先に */
    padding: 32px 16px;
    background-position: center center;
  }
  .faq-header-title .en { font-size: 26px; }
  .faq-header-title .ja { font-size: 12px; }
}

/* faq-header */
.faq-wrapper{
  margin-bottom: 20px;
}
.faq-wrapper .lead{
  padding: 20px;
}
.faq-list {
  display: grid;
  gap: 12px;
}
details.faq {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  padding: 0;
  overflow: hidden;
}
summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
summary::-webkit-details-marker { display: none; }
.qmark {
  display: inline-grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 999px;
  background: #eef2ff;
  color: #0748b7;
  font-size: 14px;
  flex: 0 0 24px;
}
details[open] summary { background: #f6f8fb; }
.answer {
  border-top: 1px solid var(--line);
  padding: 16px 18px 18px;
  color: #1f2937;
  font-size: 15px;
}
.meta {
  margin-top: 16px;
  color: #0748b7;
  font-size: 13px;
}