@charset "UTF-8";
/* ==========================================================
   DAPのすゝめ 2026 専用スタイル
   ========================================================== */

.ex {
  --accent: #9c0004;
  --deep: #1f2a44;
  --blue: #2b5c9e;
  --gold: #b8892a;
  --ink: #1a1a1a;
  --sub: #555;
  --line: #ddd;
  --panel: #f5f6f8;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1.9;
  letter-spacing: .03em;
  text-align: left;
  max-width: 760px;
  margin: 0 auto;
  padding: 10px 0 40px;
}
.ex * { box-sizing: border-box; }
.ex img { max-width: 100%; height: auto; vertical-align: bottom; }
.ex p { margin: 0 0 1.1em; text-align: justify; }
.ex b { font-weight: bold; }
.ex .blue { color: var(--blue); }
.ex figure { margin: 0 0 22px; text-align: center; }
.ex [id] { scroll-margin-top: 20px; }
.ex br.sp { display: none; }

/* 画像：薄いグレーの帯の中央に、表示幅を指定 */
.ex figure.band { background: var(--panel); border-radius: 8px; padding: 16px; }
.ex figure.band img { border-radius: 6px; }
.ex img.w300 { width: 300px; }
.ex img.w360 { width: 360px; }
.ex img.w480 { width: 480px; }
.ex img.w560 { width: 560px; }

/* ---------- タイトル ---------- */
.ex .ex-title {
  text-align: center; font-size: 3.6rem; font-weight: bold; line-height: 1.3; margin: 16px 0 4px;
  color: var(--deep); letter-spacing: .12em;
}
.ex .ex-catch { text-align: center !important; font-size: 1.9rem; font-weight: bold; color: var(--gold); margin: 0 0 18px; letter-spacing: .06em; }
.ex .hero { margin: 0 0 26px; }
.ex .hero img { width: 100%; border-radius: 8px; }

/* ---------- 強調 ---------- */
.ex .lead {
  text-align: center !important; font-size: 1.85rem; font-weight: bold; line-height: 1.7; color: var(--deep);
  margin: 26px 0; padding: 14px 10px; border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
}
.ex .callout {
  text-align: center !important; font-weight: bold; font-size: 1.65rem; line-height: 1.7; color: #fff;
  background: linear-gradient(180deg, #2f5f9f, #244b80); border-radius: 10px; padding: 16px 12px; margin: 28px 0 22px;
}
.ex .point {
  font-weight: bold; background: #eef3fb; border-left: 6px solid var(--blue); border-radius: 0 8px 8px 0; padding: 14px 18px;
}
.ex .quote {
  position: relative; background: var(--panel); border-radius: 10px; padding: 16px 20px 16px 46px; font-weight: bold; color: var(--deep);
}
.ex .quote::before { content: "\f10d"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 16px; top: 16px; color: #9fb3d6; }
.ex ul.voices { list-style: none; margin: 0 0 1.1em; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ex ul.voices li { background: #fff8e8; border: 1px solid #e3c98a; border-radius: 999px; padding: 4px 14px; font-weight: bold; font-size: 1.4rem; }
.ex ul.voices li::before { content: "「"; } .ex ul.voices li::after { content: "」"; }
.ex .ref { font-size: 1.4rem; }
.ex .ref a { color: var(--blue); font-weight: bold; }
.ex .caution {
  border: 2px solid #d9a0a0; background: #fdf3f3; border-radius: 10px; padding: 14px 18px 2px; margin: 40px 0;
}
.ex .caution p { text-align: center; }
.ex .caution b { color: var(--accent); }
.ex .closing { margin: 50px 0 20px; }
.ex .shop-note { text-align: center !important; font-weight: bold; background: var(--panel); border-radius: 10px; padding: 14px; }

/* ---------- 目次（開閉式） ---------- */
.ex .ex-toc { background: var(--panel); border: 1px solid #dfe3ea; border-radius: 10px; margin: 30px auto 36px; max-width: 420px; }
.ex .ex-toc:has(details[open]) { max-width: 100%; }
.ex .ex-toc-title {
  display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; list-style: none;
  font-weight: bold; font-size: 1.6rem; color: var(--deep); letter-spacing: .15em; padding: 10px 16px; user-select: none;
}
.ex .ex-toc-title::-webkit-details-marker { display: none; }
.ex .ex-toc-title::before { content: "\f0ca"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 1.4rem; }
.ex .ex-toc-title::after { content: "\f078"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 1.2rem; transition: transform .2s; }
.ex .ex-toc details[open] .ex-toc-title::after { transform: rotate(180deg); }
.ex .ex-toc-title .hint { font-size: 1.15rem; font-weight: normal; color: var(--sub); letter-spacing: 0; }
.ex .ex-toc details[open] .ex-toc-title .hint { display: none; }
.ex .ex-toc ol { list-style: none; margin: 0; padding: 0 16px 14px; display: grid; gap: 8px; }
.ex .ex-toc a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px;
  background: #fff; border: 1px solid #dfe3ea; color: var(--ink); text-decoration: none; font-weight: bold; font-size: 1.4rem; line-height: 1.4;
}
.ex .ex-toc a span {
  flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--deep); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.ex .ex-toc a:hover { border-color: var(--blue); background: #eef3fb; }

/* ---------- 見出し ---------- */
.ex .part-title {
  font-size: 2.2rem; font-weight: bold; text-align: center; line-height: 1.5; color: #fff;
  margin: 70px 0 24px; padding: 16px 12px; border-radius: 6px;
  background: linear-gradient(180deg, #2a3758, #141b2e);
}
.ex .part-title span { display: block; font-size: 1.5rem; font-weight: normal; color: #c9d4ee; }
.ex .h3 {
  font-size: 1.8rem; font-weight: bold; line-height: 1.5;
  margin: 40px 0 16px; padding: 4px 0 4px 12px; border-left: 6px solid var(--blue);
}

/* ---------- ボタン ---------- */
.ex .link-btn { text-align: center !important; margin: 10px 0 30px; }
.ex .link-btn a {
  display: inline-block; padding: 11px 26px; border-radius: 999px; border: 2px solid var(--blue); color: var(--blue);
  font-weight: bold; text-decoration: none;
}
.ex .link-btn a::after { content: "\f054"; font-family: "Font Awesome 5 Free"; font-weight: 900; margin-left: 10px; font-size: 1.2rem; }
.ex .link-btn a:hover { background: var(--blue); color: #fff; }
.ex .contact { text-align: center; margin: 30px 0 20px; }
.ex .contact a.btn {
  display: inline-block; min-width: 230px; margin: 6px; padding: 13px 20px; border-radius: 6px;
  background: var(--accent); color: #fff; font-weight: bold; font-size: 1.6rem; text-decoration: none;
}
.ex .contact a.btn.tel { background: #555; }
.ex .contact a.btn:hover { opacity: .85; }
.ex .contact .shop { text-align: center; font-size: 1.35rem; color: var(--sub); margin-top: 14px; }

/* ---------- スマホ ---------- */
@media screen and (max-width: 667px) {
  .ex { font-size: 1.45rem; padding-left: 4px; padding-right: 4px; }
  .ex br.sp { display: inline; }
  .ex .ex-title { font-size: 2.8rem; }
  .ex .ex-catch { font-size: 1.6rem; }
  .ex .part-title { font-size: 1.8rem; margin-top: 50px; }
  .ex .lead { font-size: 1.6rem; }
  .ex .callout { font-size: 1.45rem; }
  .ex figure.band { padding: 10px; }
  .ex .ex-toc ol { padding: 0 10px 10px; }
  .ex .contact a.btn { display: block; margin: 8px auto; max-width: 320px; }
}
