@import url("./style.css");

body.page-faq {
  padding-top: 88px;
  background: #fff;
}

.page-faq .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.page-faq .btn-header {
  padding: 13px 16px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  white-space: nowrap;
}

.breadcrumb {
  position: absolute;
    padding: 16px 0 0;
    font-family: var(--gb-sans);
    font-size: 12px;
    color: var(--muted);
    top: 0;
}


.breadcrumb a:hover {
  color: var(--navy);
}

.breadcrumb span {
  margin: 0 8px;
  color: #ccc;
}

/* Hero */
.faq-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.faq-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: clamp(320px, 36vw, 460px);
  padding: 18px 0 34px;
}

.faq-hero-copy {
  max-width: 520px;
  padding-right: 24px;
}

.faq-title {
  margin: 14px 0 12px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(36px, 4.6vw, 52px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: 0.06em;
}

.faq-title small {
  display: block;
  margin-top: 8px;
  font-family: "Petit Formal Script", cursive;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.faq-lead {
  margin: 0;
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: 13px;
  line-height: 2;
  color: #3a4558;
}

.faq-hero-visual {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 42%;
  right: calc(50% - 50vw);
  z-index: 1;
  overflow: hidden;
}

.faq-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 30%;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.9) 40%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.faq-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* FAQ list */
.faq-section {
  padding: 40px 0 56px;
  /* background: #f7f6f4; */
}

.faq-panel {
  padding: 20px 28px 24px;
  background: #fff;
  border: 1px solid #ebe6df;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(14, 35, 70, 0.08);
}

.faq-list {
  margin: 0;
  padding: 0;
}

.faq-item {
  border-bottom: 1px solid #ebe6df;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px 18px 4px;
  cursor: pointer;
  list-style: none;
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  line-height: 1.55;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-q {
  flex-shrink: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.faq-item summary::after {
  content: "∨";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--gold);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "∧";
}

.faq-answer {
  margin: 0;
  padding: 0 4px 18px 28px;
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: 13px;
  line-height: 1.9;
  color: #3a4558;
}

.faq-note {
  margin: 20px 0 0;
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  text-align: center;
}

/* CTA banner — see cta-banner.css (via style.css) */

/* Footer */
.page-faq .site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 34px 0 18px;
  position: relative;
}

.page-faq .footer-main {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr 1.5fr;
  gap: 32px;
  align-items: start;
}

.page-faq .footer-logo img {
  width: 170px;
  height: auto;
}

.page-faq .footer-lead {
  margin: 12px 0 0;
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.page-faq .footer-address {
  margin: 0 0 8px;
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}

.page-faq .footer-tel {
  margin: 0 0 16px;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.06em;
}

.page-faq .footer-tel span {
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: 12px;
  margin-right: 6px;
  color: rgba(255, 255, 255, 0.75);
}

.page-faq .footer-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.page-faq .footer-buttons .btn-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 4px;
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  min-height: 38px;
  min-width: 168px;
}

.page-faq .btn-footer-line {
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: rgba(255, 255, 255, 0.92);
}

.page-faq .btn-footer-counsel {
  background: linear-gradient(135deg, #b07a32 0%, #d4a85f 50%, #c3934c 100%);
  color: #fff;
  border: 1px solid transparent;
}

.page-faq .footer-navs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.page-faq .footer-nav-col {
  display: grid;
  gap: 10px;
}

.page-faq .footer-nav-col a {
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.page-faq .footer-nav-col a:hover {
  color: #fff;
}

.page-faq .footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.page-faq .copyright {
  margin: 0;
  font-family: var(--gb-sans, "Noto Sans JP", sans-serif);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

.page-faq .back-to-top {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  text-decoration: none;
  line-height: 1;
}

.page-faq .back-to-top:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* —— SP: faq page —— */
@media (max-width: 900px) {
  body.page-faq {
    padding-top: 0;
  }

  .faq-section {
    padding: 32px 0 44px;
  }

  .faq-panel {
    padding: 8px 18px 20px;
    border-radius: 8px;
  }

  .faq-item summary {
    padding: 16px 32px 16px 2px;
    font-size: 13px;
    gap: 8px;
  }

  .faq-q {
    font-size: 13px;
  }

  .faq-item summary::after {
    right: 2px;
    font-size: 13px;
  }

  .faq-answer {
    padding: 0 2px 16px 22px;
    font-size: 12px;
    line-height: 1.85;
  }

  .faq-note {
    margin-top: 16px;
    font-size: 11px;
    line-height: 1.75;
    text-align: left;
  }

  .page-faq .faq-cta-copy p br {
    display: none;
  }
}

@media (max-width: 767px) {
  .faq-section {
    padding: 28px 0 40px;
  }

  .faq-section > .container {
    width: min(1312px, 92vw);
  }

  .faq-panel {
    padding: 4px 14px 18px;
  }

  .faq-item summary {
    align-items: flex-start;
    padding: 14px 28px 14px 0;
    font-size: 12px;
    line-height: 1.6;
  }

  .faq-q {
    font-size: 12px;
    margin-top: 1px;
  }

  .faq-item summary::after {
    top: 16px;
    transform: none;
    font-size: 12px;
  }

  .faq-answer {
    padding: 0 0 14px 20px;
    font-size: 11px;
    line-height: 1.8;
  }

  .faq-note {
    font-size: 10px;
  }
}

@media (max-width: 560px) {
  .faq-section {
    padding: 24px 0 36px;
  }

  .faq-panel {
    padding: 2px 12px 16px;
    box-shadow: 0 8px 22px rgba(14, 35, 70, 0.06);
  }

  .faq-hero-inner > .breadcrumb {
    top: 80px;
    font-size: 10px;
  }

  .faq-title {
    margin: clamp(120px, 34vw, 156px) 0 10px;
    font-size: 26px;
  }

  .faq-title small {
    font-size: clamp(14px, 3.8vw, 20px);
  }

  .faq-lead {
    font-size: 12px;
    line-height: 1.75;
  }

  .faq-item summary {
    padding: 12px 26px 12px 0;
    font-size: 11px;
  }

  .faq-q {
    font-size: 11px;
  }

  .faq-item summary::after {
    top: 14px;
    font-size: 11px;
  }

  .faq-answer {
    padding: 0 0 12px 18px;
    font-size: 10px;
    line-height: 1.75;
  }

  .faq-note {
    margin-top: 14px;
    font-size: 9px;
  }

  .faq-hero-visual {
    left: 0;
    right: 0;
  }

  .faq-hero-visual::after {
    width: 100%;
    background: linear-gradient(
      180deg,
      #fff 0%,
      rgba(255, 255, 255, 0.9) 7%,
      transparent 28%
    );
  }
}
