@charset "UTF-8";
/******************************************************************************/
@import url(base.css);

/* ==========================================================================
	h1 タイトル
========================================================================== */
.faq-mv{
  position: relative;
}
.faq-mv span{
  display: block;
  position: absolute;
  top:50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background: rgba(51,51,51,0.7);
  color: #fff;
  padding: 8px 30px;
  font-weight: normal;
  font-size: var(--fz45);
  white-space: nowrap;
}
.faq-mv img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 767px) {
  .faq-mv{
  aspect-ratio: 3 / 4;
  overflow: hidden;
  }
}

/* ==========================================================================
	コンテンツ共通
========================================================================== */
.faq h2{
  font-size: clamp(20px, 2.3vw, 32px);
  margin-bottom:var(--spacing-30);
  text-align: center;
  color: #636363;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.faq h2::before,.faq h2::after{
  content: "";
  width: 5%;
  height: 1px;
  background: #636363;
  display: block;
}

/* ==========================================================================
	faq-section
========================================================================== */
#faq-section{
  width: 100%;
  text-align: center;
  background:#f3f2ef;
  padding:var(--spacing-70) 0 var(--spacing-30);
 }
.faq__inner{
  width: min(1100px, 94%);
  margin: 0 auto;
}
.faq-category{
  margin-bottom: var(--spacing-70)
}
.faq-item {
  margin-bottom:20px;
  font-size: var(--fz17);
}
.faq-item__question,
.faq-item__answer .content_inner{
  position: relative;
  background: #fff;
  display: grid;
  grid-template-columns:32px auto;
  align-items:flex-start;
  gap: 15px; 
  cursor: pointer;
  list-style: none;
  margin-top: 4px;
  text-align: left;
  transition: all .5s ease;
  padding: 20px 60px 20px 20px;
}
.faq-item__answer {
  overflow: hidden;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::before,
.faq-item summary::after{
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 20px;
  height: 2px;
  background: #aaa;
  transition: transform .3s ease;
}
.faq-item summary::before{
  transform: translateY(-50%);
}
.faq-item summary::after{
  transform: translateY(-50%) rotate(90deg);
}
/* 開いたら90度回転して横線に重なる */
.faq-item[open] summary::after{
  transform: translateY(-50%) rotate(180deg);
}
.faq-item__q,
.faq-item__a{
  width: 32px;
  height: 32px;
  border: 1px solid #333;
  border-radius: 50%;
  display: flex;
  justify-content: center; 
  align-items: center;
}
 .faq-item__a{
  background: #333;
  color: #fff;
}
