@charset "utf-8";

/* Keep the FAQ compact and readable within the other detail pages' palette. */
.faqDesigned {
  --fq-accent: var(--brand-accent);
  --fq-ink: #503e32;
  --fq-muted: #766759;
  --fq-paper: var(--brand-paper);
  --fq-line: var(--brand-line);
  color: var(--fq-ink);
  background: #fff;
  overflow: visible;
}
.faqDesigned .fqInner { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.faqDesigned [id] { scroll-margin-top: 108px; }
.faqDesigned :is(h1,h2) { color: var(--fq-ink); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-weight: 600; line-break: strict; }
.faqDesigned a:focus-visible { outline: 3px solid var(--fq-accent); outline-offset: 5px; }
.faqDesigned .fqEyebrow { margin: 0 0 17px; color: var(--fq-accent); font-size: 12px; font-weight: 700; letter-spacing: .08em; line-height: 1.7; }

.faqDesigned .faqHero { width: 100%; margin: 0; padding: 25px 0 44px; background: var(--fq-paper); }
.fqHeroLayout { display: grid; grid-template-columns: 1fr 270px; align-items: center; gap: 56px; width: min(960px, 100%); margin: 36px auto 0; }
.faqDesigned .faqHero h1 { margin: 0; font-size: clamp(36px,4vw,48px); line-height: 1.5; letter-spacing: .03em; }
.fqHeroLead { margin: 20px 0 0; color: var(--fq-accent); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 23px; font-weight: 600; line-height: 1.65; }
.fqHeroDescription { margin: 14px 0 0; color: var(--fq-muted); font-size: 15px; line-height: 2; }
.fqHeroIllustration { display: block; width: 240px; max-width: 100%; height: auto; justify-self: center; }

.faqDesigned .faqList { width: min(960px, calc(100% - 96px)); margin: 0 auto; padding: 0; border: 1px solid var(--fq-line); border-radius: 16px; background: #fff; }
.faqDesigned .faqList details { margin: 0; border: 0; border-bottom: 1px solid var(--fq-line); overflow: visible; }
.faqDesigned .faqList details:last-child { border-bottom: 0; }
.faqDesigned .faqList summary { display: grid; grid-template-columns: 28px minmax(0,1fr) 28px; align-items: center; gap: 20px; min-height: 88px; padding: 24px 28px; color: var(--fq-ink); font-size: 17px; font-weight: 600; line-height: 1.85; cursor: pointer; list-style: none; }
.faqDesigned .faqList summary::-webkit-details-marker { display: none; }
.faqDesigned .faqList summary::marker { content: ""; }
.faqDesigned .faqList summary::after,
.faqDesigned .faqList details[open] summary::after { content: none; }
.faqDesigned .faqList summary:hover { color: var(--fq-accent); }
.faqDesigned .faqList summary:focus-visible { outline: 2px solid var(--fq-accent); outline-offset: -6px; border-radius: 8px; }
.fqQuestionMark, .fqAnswerMark { color: var(--fq-accent); font-family: Georgia,serif; font-size: 26px; font-weight: 400; line-height: 1.25; }
.fqQuestionMark { align-self: start; padding-top: 2px; }
.fqToggle { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #cfbaa3; border-radius: 50%; color: var(--fq-accent); }
.fqToggle::before, .fqToggle::after { content: ""; position: absolute; width: 10px; height: 1px; background: currentColor; }
.fqToggle::after { transform: rotate(90deg); transition: transform 240ms ease; }
.faqList details[open]:not([data-expanded]) .fqToggle::after,
.faqList details[data-expanded="true"] .fqToggle::after { transform: rotate(0); }
.faqDesigned .faqList details[open]:not([data-expanded]) summary,
.faqDesigned .faqList details[data-expanded="true"] summary { color: var(--fq-accent); }
.fqAnswer { display: grid; grid-template-columns: 28px minmax(0,1fr); align-items: start; gap: 20px; margin: 0 18px 20px; padding: 24px 10px 25px; border-radius: 8px; background: var(--brand-paper); }
.fqAnswerMark { color: var(--brand-accent); }
.fqAnswerCopy { min-width: 0; padding-right: 18px; }
.faqDesigned .faqList .fqAnswerCopy p { max-width: 44em; margin: 0; padding: 0; color: #5d584e; font-size: 15px; line-height: 2; }
.faqDesigned .faqList .fqAnswerCopy p + p { margin-top: 13px; }
.fqRelatedLink { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 44px; max-width: 100%; margin-top: 17px; border-bottom: 1px solid var(--brand-line); color: var(--brown); font-size: 13px; font-weight: 600; line-height: 1.8; text-decoration: none; }
.fqRelatedLink > span { flex-shrink: 0; font-size: 18px; font-weight: 400; }
.fqRelatedLink:hover { color: var(--fq-accent); border-color: currentColor; }
/* Questions remain readable immediately, without staggered entrance fades. */
.faqDesigned .faqList .motionReveal { opacity: 1; transform: none; transition: none; }

.faqDesigned .fqConsult { display: grid; grid-template-columns: 1fr 270px; align-items: center; gap: 45px; width: min(960px, calc(100% - 96px)); margin: 52px auto 80px; padding: 38px 40px; border: 1px solid var(--closing-line); border-radius: 16px; background: var(--closing-surface); }
.faqDesigned .fqConsult h2 { margin: 0; font-size: 27px; line-height: 1.7; letter-spacing: .01em; }
.fqConsult h2 > span { display: inline-block; }
.fqConsultCopy > p:last-child { margin: 17px 0 0; color: var(--fq-muted); font-size: 13px; line-height: 1.95; }
.fqConsultButton { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 58px; padding: 16px 21px; border: 1px solid var(--closing-button); border-radius: 4px; background: var(--closing-button); color: #fffaf1; font-size: 13px; font-weight: 700; line-height: 1.7; text-decoration: none; }
.fqConsultButton > span { font-size: 22px; font-weight: 400; }
.fqConsultButton:hover { background: var(--closing-hover); }
.fqPhone { display: block; width: fit-content; margin: 19px auto 0; color: var(--fq-ink); font-size: 25px; font-weight: 600; line-height: 1.6; font-variant-numeric: tabular-nums; text-align: center; text-decoration: none; }
.fqPhone > small { display: block; margin-bottom: 3px; color: var(--fq-muted); font-size: 11px; font-weight: 400; }

@media (max-width: 1100px) {
  .faqDesigned .fqInner, .faqDesigned .faqList, .faqDesigned .fqConsult { width: calc(100% - 64px); }
  .fqHeroLayout { gap: 36px; }
  .faqDesigned .fqConsult { gap: 30px; padding: 34px; }
}
@media (max-width: 800px) {
  .fqHeroLayout { grid-template-columns: 1fr 200px; gap: 28px; }
  .fqHeroIllustration { width: 200px; }
  .fqHeroLead { font-size: 21px; }
  .fqHeroDescription { font-size: 14px; }
  .fqDesktopBreak { display: none; }
  .faqDesigned .faqList summary { padding-inline: 24px; gap: 16px; font-size: 16px; }
  .fqAnswer { margin-inline: 14px; gap: 16px; }
  .faqDesigned .fqConsult { grid-template-columns: 1fr; gap: 27px; }
  .fqConsultActions { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; }
  .fqPhone { margin: 0 auto; font-size: 24px; }
}
@media (max-width: 600px) {
  .faqDesigned .fqInner, .faqDesigned .faqList, .faqDesigned .fqConsult { width: calc(100% - 44px); }
  .faqDesigned [id] { scroll-margin-top: 82px; }
  .faqDesigned .faqHero { padding: 20px 0 30px; }
  .fqHeroLayout { grid-template-columns: 1fr; gap: 20px; margin-top: 27px; }
  .faqDesigned .fqEyebrow { font-size: 11px; margin-bottom: 12px; }
  .faqDesigned .faqHero h1 { font-size: clamp(32px,9vw,38px); }
  .fqHeroLead { margin-top: 16px; font-size: 21px; }
  .fqHeroDescription { margin-top: 11px; font-size: 14px; }
  .fqHeroIllustration { width: 160px; }
  .faqDesigned .faqList { border-radius: 12px; }
  .faqDesigned .faqList summary { grid-template-columns: 20px minmax(0,1fr) 24px; align-items: start; gap: 11px; min-height: 83px; padding: 22px 16px; font-size: 15px; line-height: 1.85; }
  .fqQuestionMark, .fqAnswerMark { font-size: 23px; }
  .fqQuestionMark { padding-top: 0; }
  .fqToggle { width: 24px; height: 24px; margin-top: 2px; }
  .fqAnswer { grid-template-columns: 20px minmax(0,1fr); gap: 11px; margin: 0 9px 13px; padding: 20px 7px; }
  .fqAnswerCopy { padding-right: 7px; }
  .faqDesigned .faqList .fqAnswerCopy p { font-size: 14px; line-height: 2; }
  .fqRelatedLink { margin-top: 14px; gap: 12px; font-size: 12px; }
  .faqDesigned .fqConsult { padding: 28px 23px; margin-top: 32px; margin-bottom: 52px; gap: 24px; border-radius: 12px; }
  .faqDesigned .fqConsult h2 { font-size: clamp(22px,6.1vw,27px); }
  .fqConsultCopy > p:last-child { font-size: 13px; margin-top: 15px; }
  .fqConsultActions { grid-template-columns: 1fr; gap: 18px; }
  .fqConsultButton { min-height: 55px; padding-inline: 16px; font-size: 12px; }
  .fqPhone { font-size: 25px; }
  .faqDesigned .footerInfo, .faqDesigned .footerIdentity > div { min-width: 0; }
  .faqDesigned .footerLogo { flex: 0 0 46px; width: 46px; height: 46px; }
  .faqDesigned .footerIdentity strong { font-size: 18px; white-space: normal; word-break: keep-all; }
}
@media (max-width: 360px) {
  .faqDesigned .faqList summary { padding-inline: 12px; gap: 9px; }
  .fqAnswer { margin-inline: 6px; gap: 8px; padding-inline: 6px; }
  .faqDesigned .fqConsult { padding-inline: 20px; }
  .fqHeroLead { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .faqDesigned *, .faqDesigned *::before, .faqDesigned *::after { scroll-behavior: auto; transition: none; }
}
