html { scroll-behavior: smooth; }
/* FAQ: access.php と同じ共通ヘッダー／フッター・背景を使用。 */
.page-faq .faq-content {
  width: min(1040px, calc(100% - 80px));
  margin: 0 auto;
  padding: 140px 0 100px;
  color: #4e4038;
  font-size: 16px;
}
.faq-content :is(h2, h3, p, a, span, strong, li) {
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  color: inherit;
  line-height: 1.9;
  word-spacing: normal;
}
.faq-content :is(a, summary):focus-visible {
  outline: 3px solid #9b410f;
  outline-offset: 5px;
}
.faq-intro { max-width: 900px; margin: 0 auto 38px; }
.page-faq .faq-intro p {
  color: #262626ff;
  display: flex;
  flex: none;
  font-family: var(--s-font-05b9f1c7);
  font-size: 16px;
  font-weight: 700;
  height: auto;
  line-height: 2.2;
  text-align: center;
  width: auto;
  max-width: 100%;
  justify-content: center;
}
.faq-intro p + p { margin-top: 14px; }
.faq-category-nav { margin-bottom: 72px; }
.faq-category-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.faq-category-nav a {
  display: flex; align-items: center; gap: 16px; min-height: 72px;
  padding: 14px 22px; border: 1px solid #ebc6aa; border-radius: 14px;
  background: #fff; font-weight: 700;
}
.faq-category-nav a:hover { background: #fff0dd; border-color: #ec681e; }
.faq-content .faq-category-nav__number { color: #b84c13; font-size: 19px; letter-spacing: .04em; }
.faq-category-nav__arrow {
  flex: 0 0 8px; width: 8px; height: 8px; margin-left: auto;
  border-right: 2px solid #b84c13; border-bottom: 2px solid #b84c13; transform: rotate(45deg);
}
.faq-category { margin-top: 60px; scroll-margin-top: 100px; }
.faq-category h2 { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; font-size: 26px; font-weight: 700; }
.faq-content .faq-category__number {
  flex-shrink: 0; display: grid; place-items: center; width: 66px; height: 66px;
  border-radius: 50%; background: #ec681e; color: #fff; font-size: 24px; line-height: 1;
}
.faq-list { display: grid; gap: 14px; }
.faq-item { border: 1px solid #efd9c3; border-radius: 16px; background: #fff; scroll-margin-top: 100px; }
.faq-item summary { display: flex; align-items: center; gap: 20px; min-height: 88px; padding: 20px 28px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: #fff6ec; border-radius: 16px; }
.faq-item summary h3 { display: flex; align-items: baseline; gap: 16px; flex: 1; margin: 0; font-size: 18px; font-weight: 700; line-height: 1.8; }
.faq-content .faq-question__mark { flex-shrink: 0; color: #b84c13; font-size: 25px; font-weight: 700; line-height: 1.4; }
.faq-item__toggle { position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: #fff0dc; }
.faq-item__toggle::before, .faq-item__toggle::after { content: ""; position: absolute; top: 13px; left: 8px; width: 12px; height: 2px; background: #b84c13; }
.faq-item__toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__toggle::after { transform: rotate(0); }
.faq-item[open] summary { border-bottom: 1px dashed #ebd5bf; border-radius: 16px 16px 0 0; }
.faq-answer { display: flex; align-items: baseline; gap: 16px; padding: 24px 28px 30px; }
.faq-content .faq-answer__mark { flex-shrink: 0; color: #568526; font-size: 25px; font-weight: 700; line-height: 1.4; }
.faq-answer__body { min-width: 0; overflow-wrap: anywhere; }
.faq-answer__body p + p, .faq-answer__body ul + p { margin-top: 14px; }
.faq-answer__body ul { padding-left: 1.4em; margin: 12px 0; }
.faq-answer__body li { list-style: disc; }
.faq-answer__body a { color: #a34210; text-decoration: underline; text-underline-offset: 4px; }
.faq-answer__body a:hover { text-decoration-thickness: 2px; }
.faq-contact { margin-top: 80px; padding: 48px 40px; border: 2px solid #edbf91; border-radius: 24px; background: #fff; text-align: center; }
.faq-content .faq-contact__eyebrow { color: #b84c13; font-size: 15px; font-weight: 700; letter-spacing: .15em; margin-bottom: 12px; }
.faq-contact h2 { max-width: 700px; margin: 0 auto 20px; font-size: 25px; font-weight: 700; }
.faq-contact__break-mobile { display: none; }
.faq-contact p + p { margin-top: 10px; }
.faq-content .faq-contact__tel { display: flex; flex-direction: column; align-items: center; width: min(420px, 100%); margin: 28px auto 16px; padding: 14px 20px; border-radius: 999px; background: #ec681e; color: #fff; }
.faq-contact__tel:hover { background: #bc4d13; }
.faq-contact__tel span { font-size: 14px; }
.faq-contact__tel strong { font-size: 32px; font-weight: 700; line-height: 1.5; }
.faq-content .faq-contact__hours { font-size: 14px; }
@media (max-width: 840px) {
  .page-faq .faq-content { width: calc(100% - 48px); padding-bottom: 70px; }
  .faq-category-nav a { gap: 10px; padding: 12px 16px; font-size: 15px; }
  .faq-category h2 { font-size: 23px; }
  .faq-contact { padding: 36px 24px; }
}
@media (max-width: 540px) {
  .page-faq .faq-content { width: calc(100% - 32px); padding-top: 58px; font-size: 15px; }
  .faq-intro { margin-bottom: 28px; }
  .faq-category-nav { margin-bottom: 44px; }
  .faq-category-nav ul { grid-template-columns: 1fr; gap: 9px; }
  .faq-category-nav a { min-height: 58px; border-radius: 12px; gap: 14px; }
  .faq-category { margin-top: 42px; }
  .faq-category h2 { gap: 12px; margin-bottom: 16px; font-size: 20px; line-height: 1.6; }
  .faq-content .faq-category__number { width: 48px; height: 48px; font-size: 19px; }
  .faq-list { gap: 10px; }
  .faq-item { border-radius: 12px; }
  .faq-item summary { min-height: 80px; padding: 18px 14px; gap: 10px; }
  .faq-item summary h3 { gap: 9px; font-size: 16px; }
  .faq-content .faq-question__mark, .faq-content .faq-answer__mark { font-size: 21px; }
  .faq-item__toggle { width: 26px; height: 26px; }
  .faq-item__toggle::before, .faq-item__toggle::after { top: 12px; left: 7px; }
  .faq-answer { padding: 20px 14px 24px; gap: 9px; }
  .faq-contact { margin-top: 52px; padding: 30px 18px; border-radius: 18px; }
  .faq-contact h2 { font-size: clamp(18px, 5.1vw, 21px); text-align: center; }
  .faq-contact__break-mobile { display: inline; }
  .faq-contact > p:not(.faq-contact__eyebrow):not(.faq-contact__hours) { text-align: left; }
  .faq-contact__tel strong { font-size: 28px; }
  .faq-content .faq-contact__hours { font-size: 12px; }
}
/* access.php と同じ、人のフェードイン・上下動と葉っぱの登場アニメーション。 */
.page-faq .page-hd .illust_1 {
  animation: faq-family-appear 1s ease-out both, faq-family-float 3s ease-in-out 1s infinite;
}
.page-faq .page-hd .leaf_left { animation: faq-leaf-left 1.2s ease-in-out both; }
.page-faq .page-hd .leaf_right { animation: faq-leaf-right 1.2s ease-in-out both; }
@keyframes faq-family-appear {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes faq-family-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
@keyframes faq-leaf-left {
  from { opacity: 0; transform: rotate(10deg); }
  to { opacity: 1; transform: rotate(0); }
}
@keyframes faq-leaf-right {
  from { opacity: 0; transform: rotate(-10deg); }
  to { opacity: 1; transform: rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page-faq *, .page-faq *::before, .page-faq *::after { transition: none !important; animation: none !important; }
  .page-faq .page-hd .leaf_left, .page-faq .page-hd .leaf_right { transform: none; }
}
