/* ==========================================================================
   faq-pc.css — よくあるご質問ページ (faq.html) の PC・横長画面用
   <link media="(min-width: 1024px)"> で読み込む。方針は common-pc.css の冒頭を参照。

   - ヒーロー … 写真を横長の角丸に。緑のタイトルは左下に重ねたまま拡大
   - カテゴリ … 3段 → 横1列
   - 質問一覧 … 読みやすい幅（最大900px）で中央に。文字を大きく
   ========================================================================== */

/* スマホ版の背景の塊（390px幅のPNG）は、横に広げると形が崩れるので PC では出さない */
.faq-decor { display: none; }

/* =============== ヒーロー =============== */
.faq-hero {
  width: min(1100px, calc(100% - 2 * var(--pc-gutter)));
  height: auto;
  margin: 50px auto 0;
}
.faq-hero__photo {
  display: block;
  width: 100%;
  height: clamp(300px, 30vw, 420px);
  border-radius: 32px;
  /* 横長に切り抜くと顔が上で切れるので、上寄りを見せる */
  object-position: 50% 12%;
}
.faq-hero__decor {
  left: auto;
  right: -30px;
  top: -26px;
  width: 110px;
  height: 112px;
}
.faq-hero__badge {
  left: -40px;
  top: auto;
  bottom: -90px;
  zoom: 1.5;
}

/* =============== カテゴリの絞り込み =============== */
.faq-cat {
  margin-top: 150px;
}
.faq-cat__label { font-size: 28px; }

#faqCats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 44px;
  width: min(1100px, calc(100% - 2 * var(--pc-gutter)));
  margin: 34px auto 0;
}
/* 段の入れ物を無くして、ボタンを1列に並べる */
.faq-cat__row { display: contents; }
.faq-cat__row li { list-style: none; }

.faq-cat__btn {
  gap: 9px;
  font-size: 17px;
  cursor: pointer;
}
.faq-cat__btn::before { width: 20px; height: 20px; }
.faq-cat__btn.is-current::before {
  background: radial-gradient(circle, var(--bg-color) 0 5px, #539158 5px);
}
.faq-cat__btn:hover { color: #539158; }

/* =============== 質問一覧 =============== */
.faq-list {
  width: min(900px, calc(100% - 2 * var(--pc-gutter)));
  margin: 80px auto 0;
}
.faq-group + .faq-group { margin-top: 80px; }

.faq-group__title {
  max-width: none;
  height: 64px;
  margin-left: 0;
  padding: 0 36px 2px;
  border-radius: 0 32px 0 0;
  font-size: 20px;
  letter-spacing: 1px;
}

.faq-item {
  width: 100%;
  margin-top: 28px;
}
.faq-group__title + .faq-item { margin-top: 40px; }

.faq-item__q {
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 0 24px;
  cursor: pointer;
}
.faq-item__mark { font-size: 44px; }
.faq-item__text {
  padding-top: 8px;
  font-size: 19px;
}
.faq-item__q:hover .faq-item__text { color: #539158; }
.faq-item__arrow {
  width: 22px;
  height: 11px;
  margin-top: 14px;
}

.faq-item__a {
  padding: 0 56px;
  border-radius: 28px;
}
.faq-item.is-open .faq-item__a { margin-top: 18px; }
.faq-item__a-inner > :first-child { margin-top: 40px; }
.faq-item__a-inner > :last-child  { margin-bottom: 44px; }
.faq-item__a p {
  font-size: 16px;
  line-height: 1.95;
}
.faq-item__a p + p { margin-top: 8px; }

/* =============== 解決しないとき =============== */
.faq-contact { margin-top: 110px; }
.faq-contact__lead {
  font-size: 18px;
  line-height: 2;
}
.faq-contact__line { margin-top: 26px; }
.faq-contact__line img { width: 64px; height: 64px; }

.faq-contact__line:hover span { color: var(--brown); }

.faq-page .footer {
  margin-top: 150px;
}
