@charset "UTF-8";

/* ==========================================================================
   ご利用ガイド／よくあるご質問 共通パーツ

   対象ページ：
     ・ご利用ガイド   … .aby-page.aby-page-support
     ・よくあるご質問 … .aby-page.aby-page-faq

   元ページ（本番サイト）：
     https://www.abeyoando.co.jp/customer-support/support
     https://www.abeyoando.co.jp/customer-support/faq
   の見た目（フォント・配色・レイアウト・アイコン）を、実際にブラウザで開いて
   計測したうえで再現しています。アイコンは本番サイトと同じ Google の
   「Material Symbols」アイコン（favorite / shopping_bag / credit_card /
   local_shipping / cancel / person_add / badge / star / mail / laptop_mac）
   を使用し、インラインSVGとして埋め込んでいます（外部フォント・外部画像への
   依存なし）。

   ・すべての指定は .aby-page の中だけに効きます（category.css / history.css
     とはクラス名が重複しません）。
   ・本文の内容そのものはWebFetch経由で取得したため、細かな言い回しは本番と
     完全一致しない場合があります（HTML側の作成メモをご参照ください）。
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* デザイントークンは :root に定義（.aby-page の外にある要素、例：ページ最上部の
   FVヒーローなど）からも参照できるようにするため） */
:root {
  --abyp-serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --abyp-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --abyp-text: #333333;
  --abyp-gold: #ca9200;
  --abyp-line: #333333;
  --abyp-line-soft: #d9d9d9;
  --abyp-q-bg: #efefef;
  --abyp-a-bg: #4b0001;
}

.aby-page {
  position: relative;
  color: var(--abyp-text);
  font-family: var(--abyp-sans);
  font-size: 16px;
  line-height: 1.75;
  max-width: 1000px;
  margin: 0 auto;
  padding: 70px 40px 140px;
  overflow: hidden;
}

.aby-page * { box-sizing: border-box; }
.aby-page img { max-width: 100%; height: auto; display: block; }
.aby-page a { color: inherit; }

/* --------------------------------------------------------------------------
   ページ見出し（左揃え。中央寄せにはしません）
   -------------------------------------------------------------------------- */

.aby-page-hero { margin-bottom: 56px; }
.aby-page-title { font-family: var(--abyp-serif); font-size: 28px; font-weight: 600; letter-spacing: .02em; margin: 0 0 22px; color: var(--abyp-text); }
.aby-page-lead { font-size: 16px; line-height: 1.75; color: var(--abyp-text); margin: 0; max-width: 760px; }

/* --------------------------------------------------------------------------
   アイコン付きメニュー／目次（10項目、5列×2行）
   -------------------------------------------------------------------------- */

/* 5列×2行に固定：最終行の項目数が5の倍数に満たない場合でも、
   横並びの折り返しで左に偏って見えないよう、flex-wrapではなくグリッドで揃えています。 */
.aby-page-toc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin: 0 0 60px; }
.aby-page-toc a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 155 / 150; padding: 20px 10px;
  border: 1px solid var(--abyp-line); border-radius: 10px;
  text-decoration: none; text-align: center;
}
.aby-page-toc svg { width: 44px; height: 44px; fill: var(--abyp-text); margin-bottom: 10px; }
.aby-page-toc span { font-size: 15px; line-height: 1.4; color: var(--abyp-text); }

/* --------------------------------------------------------------------------
   お問い合わせ・電話番号カード
   -------------------------------------------------------------------------- */

.aby-page-contact {
  border: 1px solid var(--abyp-line);
  padding: 34px 30px;
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 70px;
}
.aby-page-contact a { text-decoration: underline; }
.aby-page-tel { display: block; font-family: var(--abyp-serif); font-size: 42px; font-weight: 700; color: var(--abyp-gold); letter-spacing: .02em; margin: 14px 0; }
.aby-page-tel a { text-decoration: none; color: inherit; }

/* --------------------------------------------------------------------------
   セクション（h2単位。アイコン＋見出しテキスト）
   -------------------------------------------------------------------------- */

.aby-page-section { padding-top: 70px; margin-top: 70px; border-top: 1px solid var(--abyp-line-soft); }
.aby-page-section:first-of-type { padding-top: 0; margin-top: 0; border-top: 0; }

.aby-page-h2 {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--abyp-serif); font-size: 28px; font-weight: 600; color: var(--abyp-text);
  margin: 0 0 40px;
}
.aby-page-h2 svg { width: 40px; height: 40px; fill: var(--abyp-text); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   ラベル列＋本文列の行（各種サービスの項目、番号付き手順など）
   -------------------------------------------------------------------------- */

.aby-page-row { display: flex; flex-wrap: wrap; gap: 20px 30px; margin-bottom: 56px; }
.aby-page-row:last-child { margin-bottom: 0; }
.aby-page-row__label {
  flex: 0 0 230px; width: 230px;
  font-family: var(--abyp-serif); font-size: 17px; font-weight: 500; color: var(--abyp-text);
}
.aby-page-row__body { flex: 1 1 400px; min-width: 260px; font-size: 15px; line-height: 1.9; color: var(--abyp-text); }
.aby-page-row__body p { margin: 0 0 1em; }
.aby-page-row__body p:last-child { margin-bottom: 0; }
.aby-page-row__body ul, .aby-page-row__body ol { margin: 0 0 1em; padding-left: 1.3em; }
.aby-page-row__body li { margin-bottom: .3em; }

.aby-page-body p { margin: 0 0 1em; font-size: 15px; line-height: 1.9; }
.aby-page-body p:last-child { margin-bottom: 0; }
.aby-page-list { margin: 0 0 1em; padding-left: 1.3em; font-size: 15px; line-height: 1.9; }
.aby-page-list li { margin-bottom: .35em; 
    list-style: disc;}

/* --------------------------------------------------------------------------
   注記（本文中の「※」注意書き）
   -------------------------------------------------------------------------- */

.aby-page-callout { font-size: 13.5px; line-height: 1.85; color: #666; margin: 0 0 1.2em; }
.aby-page-callout:last-child { margin-bottom: 0; }
.aby-page-callout p { margin: 0 0 .3em; }
.aby-page-callout p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   表
   -------------------------------------------------------------------------- */

.aby-page-table-wrap { overflow-x: auto; margin: 0 0 1.4em; -webkit-overflow-scrolling: touch; }
.aby-page-table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 14px; }
.aby-page-table th, .aby-page-table td { border: 1px solid var(--abyp-line-soft); padding: 10px 16px; text-align: left; }
.aby-page-table th { background: #f7f7f7; font-weight: 500; font-family: var(--abyp-serif); white-space: nowrap; }

/* --------------------------------------------------------------------------
   STEP（黒バッジ＋白い罫線ボックス）
   -------------------------------------------------------------------------- */

.aby-page-steps { margin: 0 0 40px; padding: 0; list-style: none; counter-reset: aby-step; }
.aby-page-step { margin-bottom: 40px; }
.aby-page-step:last-child { margin-bottom: 0; }
.aby-page-step__bar { display: flex; align-items: stretch; height: 50px; margin-bottom: 26px; max-width: 620px; }
.aby-page-step__num {
  counter-increment: aby-step;
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  min-width: 160px; padding: 0 20px;
  background: #000; color: #fff; font-family: var(--abyp-serif); font-size: 17px; font-weight: 600; letter-spacing: .06em;
}
.aby-page-step__num::before { content: "STEP " counter(aby-step); }
.aby-page-step__title { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; border: 1px solid var(--abyp-line); font-family: var(--abyp-serif); font-size: 16px; text-align: center; padding: 0 16px; }

/* --------------------------------------------------------------------------
   よくあるご質問：カテゴリーサイドバー＋本文（常時展開／アコーディオンなし）
   -------------------------------------------------------------------------- */

.aby-faq-layout { display: flex; align-items: flex-start; gap: 60px; }
.aby-faq-sidebar { flex: 0 0 230px; position: sticky; top: 24px; }
.aby-faq-sidebar__title { font-size: 14px; font-weight: 700; color: var(--abyp-text); margin: 0 0 16px; }
.aby-faq-sidebar ul { list-style: none; margin: 0; padding: 0; }
.aby-faq-sidebar li { margin-bottom: 14px; }
.aby-faq-sidebar a { color: var(--abyp-gold); font-size: 14.5px; text-decoration: none; }
.aby-faq-sidebar a:hover { text-decoration: underline; }

.aby-faq-content { flex: 1 1 auto; min-width: 0; }
.aby-faq-cat { padding-top: 6px; margin-bottom: 56px; scroll-margin-top: 24px; }
.aby-faq-cat:first-child { padding-top: 0; }
.aby-faq-cat__title {
  font-family: var(--abyp-serif); font-size: 20px; font-weight: 400; color: var(--abyp-text);
  margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--abyp-line-soft);
}

.aby-faq-list { margin: 0; padding: 0; list-style: none; }
.aby-faq-item { margin-bottom: 34px; }
.aby-faq-item:last-child { margin-bottom: 0; }

.aby-faq-q, .aby-faq-a { display: flex; align-items: flex-start; gap: 18px; }
.aby-faq-q { margin-bottom: 10px; }
.aby-faq-badge {
  flex: 0 0 auto; width: 50px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--abyp-serif); font-size: 15px; font-weight: 500;
}
.aby-faq-badge.q { background: var(--abyp-q-bg); color: var(--abyp-text); }
.aby-faq-badge.a { background: var(--abyp-a-bg); color: #fff; }
.aby-faq-q p { margin: 0; padding-top: 2px; font-size: 15.5px; font-weight: 700; line-height: 1.6; color: var(--abyp-text); }
.aby-faq-a > div { font-size: 14px; line-height: 1.85; color: var(--abyp-text); }
.aby-faq-a > div p { margin: 0 0 .8em; }
.aby-faq-a > div p:last-child { margin-bottom: 0; }
.aby-faq-a > div a { color: var(--abyp-gold); text-decoration: underline; }

/* --------------------------------------------------------------------------
   スマートフォン
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  .aby-page { padding: 44px 20px 90px; font-size: 15px; }
  .aby-page-title { font-size: 22px; }
  .aby-page-toc { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .aby-page-toc a { aspect-ratio: auto; height: 130px; }
  .aby-page-h2 { font-size: 21px; }
  .aby-page-h2 svg { width: 30px; height: 30px; }
  .aby-page-section { padding-top: 46px; margin-top: 46px; }
  .aby-page-row { flex-direction: column; gap: 10px; margin-bottom: 40px; }
  .aby-page-row__label { flex: 0 0 auto; width: auto; }
  .aby-page-step__bar { flex-direction: column; height: auto; max-width: none; }
  .aby-page-step__num { min-width: 0; padding: 10px 16px; }
  .aby-page-step__title { padding: 12px 16px; }
  .aby-page-contact { padding: 24px 18px; }
  .aby-page-tel { font-size: 30px; }

  .aby-faq-layout { flex-direction: column; gap: 30px; }
  .aby-faq-sidebar { position: static; width: 100%; }
  .aby-faq-sidebar ul { display: flex; flex-wrap: wrap; gap: 10px 18px; }
  .aby-faq-sidebar li { margin-bottom: 0; }

  /* テーブルは元々 min-width:420px で組んでいたため、390px前後のスマホ幅では
     コンテンツ幅（350px程度）に収まらず、.aby-page-table-wrap 内で横スクロール
     が発生していた（ページ全体は横に伸びないが、表の右端だけ見切れて「ズレ」
     て見える／触れると表だけ横に動く、という見え方になっていた）。
     スマホでは最小幅の制約を外し、余白・文字サイズを詰めて、通常の
     スマホ画面幅に収まるようにする。 */
  .aby-page-table { min-width: 0; font-size: 12.5px; }
  .aby-page-table th, .aby-page-table td { padding: 8px 10px; }
}
