/* ==========================================================================
  Custom CSS - カスタムスタイル（上書き用）
  このファイルは更新やビルドで上書きされない安全な場所です
  ========================================================================== */

/* sp-only: SPの時だけ表示（改行） */
.sp-only {
  display: none;
}

@media screen and (max-width: 999px) {
  .sp-only {
    display: inline;
  }
}

/* reserve-cta セクション */
 .reserve-cta {
  padding-top: 40px;
}

@media screen and (max-width: 999px) {
  .reserve-cta {
    padding-top: 55px;
  }
} 

.reserve-cta .inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 37px;
}

@media screen and (max-width: 999px) {
  .reserve-cta .inner {
    flex-direction: column;
    gap: 15px;
  }
} 

.reserve-cta__link {
  display: block;
  transition: opacity 0.3s;
}

.reserve-cta__link:hover {
  opacity: 0.8;
}

.reserve-cta__image {
  display: block;
  margin: 0;
}

.reserve-cta__image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

@media screen and (min-width: 1000px) {
  .reserve-cta__image {
    max-width: 350px;
    width: 100%;
  }
}


/* Q&Aセクション */

.faq {
  padding: 72px 0;
}

.faq .section-title {
  text-align: center;
  margin-bottom: 40px;
  color: #007e63;
}

.faq__box {
  border: 1px solid #007e63;
  margin-top: 50px;
}

.faq__item {
  border-top: 1px solid #007e63;
  font-size: 14px;
}

.faq__item:first-child {
  border-top: none;
}

.faq__question {
  display: grid;
  grid-template-columns: 26px 1fr 18px; 
  align-items: start;
  gap: 35px;
  padding: 18px 26px;
  cursor: pointer;
  list-style: none;
}

@media screen and (max-width: 999px) {
  .faq__question {
    gap: 18px;
  }
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__label {
  letter-spacing: 0.14em;
  color: #007e63;
}

.faq__question-text {
  letter-spacing: 0.06em;
  line-height: 1.8;
}

.faq__icon {
  position: relative;
  width: 18px;
  height: 18px;
  justify-self: end; 
  margin-right: 0;   
  overflow: hidden;
}

.faq__icon::before,
.faq__icon::after {
  position: absolute;
  content: "";
  display: block;
  left: 50%;
  top: 50%;
  width: 70%;
  height: 2px;
  background: #007e63;
  transform: translate(-50%, -50%);
  transition: all 0.4s;
}

.faq__icon::before {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__icon::before {
  transform: translate(-50%, -50%) rotate(-180deg);
}

.faq__answer {
  display: grid;
  grid-template-columns: 26px 1fr 18px; 
  gap: 18px;
  padding-block: 0 25px;
  padding-inline: 26px;
}

.faq__answer-body {
  line-height: 1.8;
} 
