@charset "UTF-8";
/* アートメイクマ 公式サイト
   ─ 施術者（看護師）が読む「教科書」のサイト。
     読みやすさを最優先にし、装飾は罫と余白だけで作る。 */

:root {
  color-scheme: light;

  --ink:    #241e1b;   /* 本文 */
  --ink-2:  #6b625d;   /* 副次 */
  --ink-3:  #9a918b;   /* メタ */
  --bg:     #fdfbf9;   /* 生成りの白 */
  --bg-2:   #f6f1ec;   /* 面の差し色 */
  --line:   rgba(36, 30, 27, .14);
  --line-2: rgba(36, 30, 27, .07);

  --brand:  #6b4a3e;   /* インクブラウン */
  --brand-d:#54382e;
  --accent: #c08a7c;   /* ローズベージュ */
  --link:   #7a5346;

  --r:      14px;
  --r-lg:   22px;
  --pill:   999px;

  --max:    1120px;
  --txt:    700px;

  --f: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans",
       "Yu Gothic", Meiryo, sans-serif;
  --fh: "Zen Kaku Gothic New", var(--f);
  --e: cubic-bezier(.28,.11,.32,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .012em;
  font-feature-settings: "palt" 1;
  line-break: strict;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

p, li, dd, dt { text-wrap: pretty; word-break: auto-phrase; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  margin: 0; font-family: var(--fh); font-weight: 700;
  line-height: 1.4; letter-spacing: -.01em;
  word-break: auto-phrase; text-wrap: balance;
}

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 50%; top: -80px; transform: translateX(-50%);
  z-index: 200; background: var(--ink); color: #fff;
  padding: 10px 20px; border-radius: var(--pill); font-size: 14px;
}
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 22px; }
.wrap--txt { max-width: var(--txt); }

/* ---------------------------------------------------------- header */
.head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 251, 249, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.head__in { display: flex; align-items: center; gap: 26px; height: 62px; }

.brand { display: flex; flex-direction: column; line-height: 1.25; flex-shrink: 0; }
.brand:hover { text-decoration: none; opacity: .7; }
.brand__name { font-family: var(--fh); font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: .02em; }
.brand__sub  { font-size: 10px; color: var(--ink-3); letter-spacing: .14em; }

.nav { display: flex; gap: 24px; margin: 0 0 0 auto; padding: 0; list-style: none; font-size: 13px; }
.nav a { color: var(--ink); opacity: .85; }
.nav a:hover { opacity: 1; text-decoration: none; }

.burger { display: none; width: 40px; height: 40px; margin-left: auto; background: none; border: 0; padding: 11px; cursor: pointer; }
.burger span { display: block; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--e), opacity .2s; }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 62px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); padding: 0 22px 20px; font-size: 16px;
    border-bottom: 1px solid var(--line-2);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .35s var(--e), visibility .35s;
  }
  .nav.open { max-height: 70vh; visibility: visible; overflow-y: auto; }
  .nav li { border-bottom: 1px solid var(--line-2); }
  .nav a { display: block; padding: 15px 2px; }
}

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: var(--pill);
  font-size: 15px; font-weight: 500; line-height: 1;
  border: 1px solid transparent;
  transition: background .2s var(--e), border-color .2s var(--e), color .2s var(--e);
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-d); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--bg-2); }
.btn--line { background: #06c755; color: #fff; }
.btn--line:hover { background: #05b34c; }
.btn--sm { padding: 9px 18px; font-size: 13px; border: 1px solid var(--line); color: var(--ink); }
.btn--sm:hover { background: var(--bg-2); }
.btn--lg { padding: 16px 34px; font-size: 16px; }

/* ---------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  padding: 84px 0 78px;
  background:
    radial-gradient(70% 90% at 88% 8%, rgba(192,138,124,.20) 0%, rgba(192,138,124,0) 58%),
    radial-gradient(60% 70% at 6% 96%, rgba(107,74,62,.09) 0%, rgba(107,74,62,0) 60%),
    linear-gradient(to bottom, #fff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line-2);
}
/* 背景にごく薄い罫線。紙面らしさを出す */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px);
  background-size: 100% 34px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 78%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 78%);
  opacity: .8;
}
.hero__in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) 430px;
  gap: 56px; align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px; font-size: 11.5px; color: var(--brand);
  letter-spacing: .16em;
  padding: 6px 16px 6px 12px; border-radius: var(--pill);
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line-2);
}
.hero__eyebrow::before { content: ""; width: 16px; height: 1px; background: var(--accent); }
.hero__title {
  font-size: clamp(27px, 3.3vw, 40px); line-height: 1.42;
  letter-spacing: -.02em; margin: 0 0 22px;
}
.hero__lead { margin: 0; color: var(--ink-2); font-size: 15.5px; max-width: 520px; }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero__note { margin: 24px 0 0; font-size: 12px; color: var(--ink-3); }

/* 書影を扇状に重ねる。表紙画像が無い間は代替表紙が並ぶ */
.hero__vis { position: relative; }
.stk {
  position: relative; height: 340px;
  display: flex; align-items: center; justify-content: center;
}
.stk__b {
  position: absolute; flex: none; width: 172px; aspect-ratio: 2 / 3;
  border-radius: 4px 11px 11px 4px; overflow: hidden;
  background: var(--bg-2); font-size: 16px;
  /* 3冊を扇状に。重なりを浅くして、それぞれの巻名が読める位置にする */
  transform: translateX(calc((var(--i) - 1) * 126px))
             translateY(calc(var(--i) * -10px))
             rotate(calc((var(--i) - 1) * 5deg));
  z-index: calc(3 - var(--i));
  box-shadow: 0 16px 38px rgba(36, 30, 27, .19), 0 2px 6px rgba(36, 30, 27, .10);
  transition: transform .35s var(--e), box-shadow .35s var(--e);
}
.stk__b:hover {
  transform: translateX(calc((var(--i) - 1) * 126px))
             translateY(calc(var(--i) * -10px - 14px))
             rotate(calc((var(--i) - 1) * 5deg));
  box-shadow: 0 26px 52px rgba(36, 30, 27, .26);
  z-index: 10;
}
.stk__img { width: 100%; height: 100%; object-fit: cover; }
.stk__cap {
  position: relative; margin: 16px 0 0; text-align: center;
  font-size: 12px; color: var(--ink-3); letter-spacing: .04em;
}

@media (max-width: 1000px) {
  .hero__in { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__btns { justify-content: center; }
  .hero__title br { display: none; }
  .stk { height: 260px; }
  .stk__b {
    width: 148px;
    transform: translateX(calc((var(--i) - 1) * 92px))
               translateY(calc(var(--i) * -8px))
               rotate(calc((var(--i) - 1) * 5deg));
  }
}

/* ---------------------------------------------------------- sections */
.sec { padding: 74px 0; }
.sec--tint { background: var(--bg-2); }
.sec__en {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 10px; font-family: var(--fh); font-size: 11px;
  letter-spacing: .22em; color: var(--accent); text-transform: uppercase;
}
.sec__en::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.sec__t { font-size: clamp(21px, 2.6vw, 28px); margin: 0 0 12px; }
.sec__lead { margin: 0 0 34px; color: var(--ink-2); font-size: 14px; }
.sec__cta { margin-top: 34px; text-align: center; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.phead {
  padding: 56px 0 40px; border-bottom: 1px solid var(--line-2);
  background: linear-gradient(to bottom, #fff, var(--bg));
}
.phead__en { margin: 0 0 8px; font-family: var(--fh); font-size: 11px; letter-spacing: .22em; color: var(--accent); }
.phead__t { font-size: clamp(23px, 3.2vw, 33px); margin: 0 0 12px; }
.phead__lead { margin: 0; color: var(--ink-2); font-size: 15px; max-width: var(--txt); }

.asof { font-size: 12px; color: var(--ink-3); margin: 22px 0 0; }

/* ---------------------------------------------------------- covers */
[class$="__alt"] {
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  width: 100%; height: 100%; padding: 14% 12%;
  background: linear-gradient(160deg, var(--brand) 0%, #4a3128 100%);
  color: #fff; text-align: left;
}
[class$="__alt-series"] { font-size: .62em; letter-spacing: .1em; opacity: .72; }
[class$="__alt-title"] {
  font-family: var(--fh); font-weight: 700; font-size: 1.05em; line-height: 1.4;
  border-top: 1px solid rgba(255,255,255,.3); padding-top: 8px;
}
[class$="__alt-brand"] { margin-top: auto; font-size: .58em; letter-spacing: .12em; opacity: .66; }


/* 一覧の小さな代替表紙は、シリーズ名とブランド名を省いて巻名だけにする。
   82px幅に3行入れると文字が詰まって読めなくなるため。 */
.brow__alt { padding: 12% 10%; justify-content: center; }
.brow__alt-series, .brow__alt-brand { display: none; }
.brow__alt-title { border-top: 0; padding-top: 0; font-size: 1.15em; line-height: 1.5; }

.bookref__alt { padding: 10%; justify-content: center; }
.bookref__alt-series, .bookref__alt-brand { display: none; }
.bookref__alt-title { border-top: 0; padding-top: 0; }


.stk__alt { padding: 15% 12%; justify-content: center; }
.stk__alt-brand { display: none; }
.stk__alt-series { font-size: .56em; }
.stk__alt-title { border-top: 0; padding-top: 0; font-size: .92em; line-height: 1.5; }

/* 表紙に背と艶を重ねる。画像・代替表紙のどちらにも効く */
.bcard__cover, .brow__cover, .bhero__cover, .bookref__cover {
  position: relative; isolation: isolate;
}
/* ★.stk__b はここに含めない。絶対配置を relative で打ち消してしまうため。 */
.stk__b { isolation: isolate; }
.bcard__cover::after, .brow__cover::after, .bhere__cover::after,
.bhero__cover::after, .bookref__cover::after, .stk__b::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,.30) 0px, rgba(0,0,0,.10) 3px,
      rgba(255,255,255,.16) 5px, rgba(255,255,255,0) 13px),
    linear-gradient(112deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,0) 44%),
    linear-gradient(0deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,0) 22%);
}
.bcard__cover, .brow__cover, .bookref__cover { border-radius: 3px 9px 9px 3px; }
.bhero__cover { border-radius: 4px 14px 14px 4px; }

/* ---------------------------------------------------------- book grid (top) */
.bgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px 20px; }
.bcard { display: flex; flex-direction: column; color: var(--ink); }
.bcard:hover { text-decoration: none; }
.bcard:hover .bcard__title { color: var(--brand); }
.bcard__cover {
  display: block; aspect-ratio: 2 / 3; border-radius: var(--r); overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line-2);
  font-size: 17px; margin-bottom: 14px;
  transition: transform .3s var(--e);
}
.bcard:hover .bcard__cover { transform: translateY(-4px); }
.bcard__img { width: 100%; height: 100%; object-fit: cover; }
.bcard__no { font-size: 11px; color: var(--accent); letter-spacing: .1em; }
.bcard__title { font-family: var(--fh); font-weight: 700; font-size: 16px; line-height: 1.5; margin-top: 2px; }
.bcard__sub { font-size: 13px; color: var(--ink-2); line-height: 1.75; margin-top: 5px; }
.bcard__meta { font-size: 12px; color: var(--ink-3); margin-top: 8px; }

/* ---------------------------------------------------------- book list */
.blist { display: flex; flex-direction: column; gap: 4px; }
.brow {
  display: flex; gap: 22px; align-items: center;
  padding: 20px 18px; border-radius: var(--r); color: var(--ink);
  border: 1px solid transparent;
  transition: background .2s var(--e), border-color .2s var(--e);
}
.brow:hover { text-decoration: none; background: #fff; border-color: var(--line-2); }
.brow__cover {
  flex: 0 0 82px; aspect-ratio: 2 / 3; border-radius: 9px; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line-2); font-size: 11px;
}
.brow__img { width: 100%; height: 100%; object-fit: cover; }
.brow__body { display: flex; flex-direction: column; }
.brow__no { font-size: 11px; color: var(--accent); letter-spacing: .1em; }
.brow__badge {
  display: inline-block; align-self: flex-start; margin-top: 4px;
  padding: 2px 9px; border-radius: var(--pill);
  background: var(--bg-2); border: 1px solid var(--line-2);
  font-size: 11px; color: var(--ink-2);
}
.brow__title { font-family: var(--fh); font-weight: 700; font-size: 17px; margin-top: 3px; }
.brow__sub { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.brow__meta { font-size: 12px; color: var(--ink-3); margin-top: 7px; }

/* ---------------------------------------------------------- book detail */
.bhero { padding: 46px 0 40px; background: linear-gradient(to bottom, #fff, var(--bg)); border-bottom: 1px solid var(--line-2); }
.bhero__in { display: grid; grid-template-columns: 210px 1fr; gap: 38px; align-items: start; }
.bhero__cover {
  aspect-ratio: 2 / 3; border-radius: var(--r); overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line-2); font-size: 20px;
  box-shadow: 0 10px 30px rgba(36,30,27,.09);
}
.bhero__img { width: 100%; height: 100%; object-fit: cover; }
.bhero__series { margin: 0 0 8px; font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.bhero__t { font-size: clamp(23px, 3.2vw, 32px); margin: 0 0 12px; }
.bhero__sub { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }
.bhero__meta { margin: 0 0 22px; font-size: 13px; color: var(--ink-3); }
.stars { color: var(--accent); letter-spacing: .06em; }
.bhero__btns { display: flex; gap: 10px; flex-wrap: wrap; }

.pager { display: flex; justify-content: space-between; gap: 12px; padding: 0 0 70px; }
.pager__i {
  display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--ink);
  padding: 14px 18px; border: 1px solid var(--line-2); border-radius: var(--r); max-width: 48%;
}
.pager__i:hover { text-decoration: none; background: var(--bg-2); }
.pager__i span { font-size: 11px; color: var(--ink-3); }
.pager__i--r { text-align: right; }

/* ---------------------------------------------------------- why */
.whygrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 30px 26px;
  transition: transform .25s var(--e), box-shadow .25s var(--e);
}
.why:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(36,30,27,.07); }
/* 背景に大きな番号を薄く敷く */
.why__n {
  position: absolute; top: -14px; right: 10px;
  font-family: var(--fh); font-weight: 700; font-size: 82px; line-height: 1;
  color: var(--bg-2); letter-spacing: -.04em; z-index: 0;
}
.why__t, .why p { position: relative; z-index: 1; }
.why__t { font-family: var(--fh); font-weight: 700; font-size: 16.5px; margin: 8px 0 10px; }
.why p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }


/* ---------------------------------------------------------- pillar (school) */
.pillar {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 44px 46px;
  background-image: radial-gradient(90% 120% at 100% 0%, rgba(192,138,124,.09) 0%, rgba(192,138,124,0) 55%);
}
.pillar__en { margin: 0 0 8px; font-family: var(--fh); font-size: 11px; letter-spacing: .22em; color: var(--accent); }
.pillar__t { font-size: clamp(20px, 2.6vw, 27px); margin: 0 0 14px; }
.pillar__lead { margin: 0 0 20px; color: var(--ink-2); font-size: 14.5px; max-width: 640px; }
.pillar__list { margin: 0 0 26px; padding-left: 1.2em; }
.pillar__list li { font-size: 14px; color: var(--ink-2); margin-bottom: 7px; }
.pillar__list li::marker { color: var(--accent); }
@media (max-width: 560px) {
  .pillar { padding: 28px 22px; }
  .pillar .btn { width: 100%; }
}

/* ---------------------------------------------------------- columns */
.cgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ccard {
  display: flex; flex-direction: column; gap: 6px; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); padding: 24px 22px;
  transition: border-color .2s var(--e), transform .2s var(--e);
}
.ccard:hover { text-decoration: none; border-color: var(--line); transform: translateY(-2px); }
.ccard__cat { font-size: 11px; color: var(--accent); letter-spacing: .1em; }
.ccard__title { font-family: var(--fh); font-weight: 700; font-size: 16px; line-height: 1.55; }
.ccard__lead { font-size: 13px; color: var(--ink-2); line-height: 1.8; }

.cgroup { margin-bottom: 44px; }
.cgroup__h {
  font-size: 15px; padding-bottom: 10px; margin-bottom: 6px;
  border-bottom: 1px solid var(--line); color: var(--brand);
}
.crow { display: block; padding: 18px 14px; border-radius: var(--r); color: var(--ink); border-bottom: 1px solid var(--line-2); }
.crow:hover { text-decoration: none; background: var(--bg-2); }
.crow__title { display: block; font-family: var(--fh); font-weight: 700; font-size: 16px; line-height: 1.6; }
.crow__lead { display: block; font-size: 13px; color: var(--ink-2); margin-top: 5px; }

/* ---------------------------------------------------------- article */
.crumbs { border-bottom: 1px solid var(--line-2); background: #fff; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 11px 0; list-style: none; font-size: 12px; color: var(--ink-3); }
.crumbs li + li::before { content: "／"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--ink-2); }

.art__head { padding: 44px 0 26px; }
.art__cat { display: inline-block; font-size: 11px; color: var(--accent); letter-spacing: .12em; margin-bottom: 10px; }
.art__t { font-size: clamp(22px, 3.1vw, 31px); line-height: 1.5; margin: 0 0 14px; }
.art__lead { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
.art__meta { margin: 0; font-size: 12px; color: var(--ink-3); }

.summary {
  background: var(--bg-2); border-radius: var(--r-lg);
  padding: 26px 28px; margin-bottom: 40px;
}
.summary__h {
  font-family: var(--fh); font-weight: 700; font-size: 14px; color: var(--brand);
  margin-bottom: 12px; letter-spacing: .04em;
}
.summary ul { margin: 0; padding-left: 1.15em; }
.summary li { font-size: 14px; line-height: 1.9; margin-bottom: 6px; }
.summary li::marker { color: var(--accent); }

.entry { font-size: 16px; }
.entry h2 {
  font-size: 20px; margin: 52px 0 18px; padding-bottom: 12px;
  border-bottom: 2px solid var(--line-2); position: relative;
}
.entry h2::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 72px; height: 2px; background: var(--brand);
}
.entry h3 { font-size: 17px; margin: 34px 0 12px; padding-left: 12px; border-left: 3px solid var(--accent); }
.entry p { margin: 0 0 20px; }
.entry ul, .entry ol { margin: 0 0 24px; padding-left: 1.4em; }
.entry li { margin-bottom: 9px; }
.entry li::marker { color: var(--accent); }
.entry strong { font-weight: 700; background: linear-gradient(transparent 62%, rgba(192,138,124,.28) 62%); }

.ref {
  font-size: 12.5px; color: var(--ink-3);
  padding: 9px 0 9px 14px; border-left: 2px solid var(--line);
  margin: -8px 0 26px;
}
.note {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 22px; margin: 0 0 28px; font-size: 14px; line-height: 1.9;
}
.note--law { background: var(--bg-2); border-color: transparent; color: var(--ink-2); font-size: 13px; }

.tscroll { overflow-x: auto; margin: 0 0 28px; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 460px; }
th, td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
th { background: var(--bg-2); font-weight: 700; font-size: 13px; white-space: nowrap; }
td:first-child { white-space: nowrap; font-weight: 500; }

.faq { margin: 0; }
.faq dt {
  font-family: var(--fh); font-weight: 700; font-size: 15.5px;
  padding: 20px 0 8px; border-top: 1px solid var(--line-2); position: relative; padding-left: 26px;
}
.faq dt::before { content: "Q"; position: absolute; left: 0; top: 20px; color: var(--accent); font-size: 14px; }
.faq dd { margin: 0 0 4px; padding: 0 0 18px 26px; font-size: 14.5px; color: var(--ink-2); position: relative; }
.faq dd::before { content: "A"; position: absolute; left: 0; top: 0; color: var(--ink-3); font-size: 13px; }

.refs { margin: 40px 0 0; padding: 20px 22px; background: var(--bg-2); border-radius: var(--r); }
.refs__h { font-size: 12px; color: var(--ink-3); letter-spacing: .1em; margin-bottom: 8px; }
.refs ul { margin: 0; padding-left: 1.2em; }
.refs li { font-size: 12.5px; color: var(--ink-2); line-height: 1.8; margin-bottom: 4px; }

.bookref {
  display: flex; gap: 20px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; margin: 36px 0;
}
.bookref__cover {
  flex: 0 0 76px; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden;
  background: var(--bg-2); font-size: 10px;
}
.bookref__img { width: 100%; height: 100%; object-fit: cover; }
.bookref__label { font-size: 11px; color: var(--accent); letter-spacing: .1em; }
.bookref__title { font-family: var(--fh); font-weight: 700; font-size: 15.5px; margin: 4px 0 4px; }
.bookref__sub { margin: 0 0 12px; font-size: 13px; color: var(--ink-2); }

.rel { margin: 50px 0 70px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.rel__h { font-family: var(--fh); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.rel ul { margin: 0; padding-left: 1.2em; }
.rel li { font-size: 14.5px; margin-bottom: 8px; }

/* ---------------------------------------------------------- end cta / footer */
.endcta {
  position: relative; overflow: hidden; color: #fff;
  padding: 74px 0; text-align: center;
  background:
    radial-gradient(80% 120% at 50% 0%, #7d5749 0%, rgba(125,87,73,0) 60%),
    linear-gradient(160deg, var(--brand) 0%, #472f26 100%);
}
.endcta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 100% 32px;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000 0%, transparent 82%);
  mask-image: radial-gradient(60% 70% at 50% 50%, #000 0%, transparent 82%);
}
.endcta .wrap { position: relative; z-index: 1; }
.endcta__lead { font-family: var(--fh); font-weight: 700; font-size: clamp(18px, 2.4vw, 24px); margin: 0 0 10px; }
.endcta__note { margin: 0 0 26px; font-size: 14px; opacity: .82; }
.endcta .btn--primary { background: #fff; color: var(--brand); }
.endcta .btn--primary:hover { background: var(--bg-2); }

.foot { background: var(--bg-2); padding: 54px 0 34px; font-size: 13px; }
.foot__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 36px; }
.foot__h { font-family: var(--fh); font-weight: 700; font-size: 13px; margin-bottom: 12px; }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot li { margin-bottom: 8px; line-height: 1.7; }
.foot a { color: var(--ink-2); font-size: 12.5px; }
.foot__note { margin: 0 0 10px; font-size: 11.5px; color: var(--ink-3); line-height: 1.85; }
.foot__c { margin: 20px 0 0; font-size: 11.5px; color: var(--ink-3); }

/* ---------------------------------------------------------- responsive */
@media (max-width: 860px) {
  .bgrid { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }
  .whygrid, .cgrid, .foot__grid { grid-template-columns: 1fr; }
  .bhero__in { grid-template-columns: 130px 1fr; gap: 22px; }
  .sec { padding: 52px 0; }
  .hero { padding: 52px 0 44px; }
  .phead { padding: 38px 0 30px; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  /* PC向けに入れた改行は解除する。狭い画面では不自然な位置で切れるため。 */
  .hero__title br { display: none; }
  .bgrid { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .bcard__title { font-size: 14.5px; }
  .bcard__sub { display: none; }
  .brow { gap: 15px; padding: 15px 10px; }
  .brow__cover { flex-basis: 62px; }
  .brow__sub { display: none; }
  .bhero__in { grid-template-columns: 1fr; }
  .bhero__cover { max-width: 165px; }
  .bhero__btns .btn { width: 100%; }
  .entry h2 { font-size: 18px; margin-top: 42px; }
  .summary { padding: 20px 18px; }
  .bookref { flex-direction: column; align-items: flex-start; }
  .bookref__cover { flex-basis: auto; width: 76px; }
  .pager { flex-direction: column; }
  .pager__i { max-width: none; }
  .pager__i--r { text-align: left; }
}

/* ---------------------------------------------------------- book detail */
.bhero {
  position: relative; overflow: hidden;
  padding: 52px 0 46px;
  background:
    radial-gradient(60% 90% at 12% 0%, rgba(192,138,124,.14) 0%, rgba(192,138,124,0) 60%),
    linear-gradient(to bottom, #fff, var(--bg));
  border-bottom: 1px solid var(--line-2);
}
.bhero__in { grid-template-columns: 232px 1fr; gap: 46px; }
.bhero__cover { box-shadow: 0 18px 42px rgba(36,30,27,.20), 0 3px 8px rgba(36,30,27,.10); }

/* メタ情報をチップに分けて、拾い読みできるようにする */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.chips .chip {
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 7px 14px; border-radius: var(--pill);
  border: 1px solid var(--line-2); background: rgba(255,255,255,.8);
  font-size: 12px; color: var(--ink-3);
}
.chips .chip b { font-size: 14px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.chips .chip i { font-style: normal; }
.chip--rate .stars { font-size: 12px; }

/* 「読むとよい方」「扱っている内容」を2枚のパネルに分ける */
.bgrid2 { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; align-items: start; }
.bpanel {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 32px 30px;
}
.bpanel--fill { background: var(--bg-2); border-color: transparent; }
.bpanel__en { margin: 0 0 6px; font-family: var(--fh); font-size: 11px; letter-spacing: .22em; color: var(--accent); }
.bpanel__h { font-size: 18px; margin: 0 0 18px; }

/* チェック印つきのリスト */
.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li {
  position: relative; padding-left: 30px; margin-bottom: 13px;
  font-size: 14.5px; line-height: 1.85; color: var(--ink-2);
}
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 9px;
  width: 13px; height: 7px; border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

/* 番号つきのリスト。数字を丸で囲む */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: st; }
.steps li {
  position: relative; padding-left: 36px; margin-bottom: 13px;
  font-size: 14.5px; line-height: 1.85; color: var(--ink-2);
  counter-increment: st;
}
.steps li::before {
  content: counter(st); position: absolute; left: 0; top: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 22px; text-align: center;
}

@media (max-width: 860px) {
  .bgrid2 { grid-template-columns: 1fr; }
  .bpanel { padding: 26px 22px; }
}
@media (max-width: 560px) {
  .bhero__in { grid-template-columns: 1fr; }
  .chips { gap: 6px; }
  .chips .chip { padding: 6px 11px; }
  /* 代替表紙の文字が2行に割れないよう、幅に合わせて級数を落とす */
  .bhero__cover { font-size: 15px; }
}

/* ---------------------------------------------------------- start here */
.first {
  display: grid; grid-template-columns: 208px 1fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 40px 44px;
  background-image: radial-gradient(70% 130% at 0% 0%, rgba(192,138,124,.10) 0%, rgba(192,138,124,0) 55%);
}
.first__cover {
  display: block; aspect-ratio: 2 / 3; border-radius: 4px 12px 12px 4px;
  overflow: hidden; background: var(--bg-2); font-size: 18px;
  position: relative; isolation: isolate;
  box-shadow: 0 18px 40px rgba(36,30,27,.20), 0 3px 8px rgba(36,30,27,.10);
  transition: transform .3s var(--e);
}
.first__cover:hover { transform: translateY(-5px); }
.first__cover::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(0,0,0,.30) 0px, rgba(0,0,0,.10) 3px,
      rgba(255,255,255,.16) 5px, rgba(255,255,255,0) 13px),
    linear-gradient(112deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,0) 44%);
}
.first__img { width: 100%; height: 100%; object-fit: cover; }

/* ★「まずはこれ」を最も目立つ要素にする。迷った人の逃げ道になる */
.first__label {
  display: inline-block; margin: 0 0 12px;
  padding: 7px 18px; border-radius: var(--pill);
  background: var(--brand); color: #fff;
  font-family: var(--fh); font-weight: 700; font-size: 13px; letter-spacing: .08em;
}
.first__series { margin: 0 0 6px; font-size: 12px; color: var(--accent); letter-spacing: .08em; }
.first__t { font-size: clamp(21px, 2.6vw, 28px); margin: 0 0 14px; }
.first__why { margin: 0 0 20px; font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }
.first__pts { margin: 0 0 24px; }
.first__pts li { margin-bottom: 9px; font-size: 14px; }
.first__btns { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.first__meta { font-size: 12.5px; color: var(--ink-3); }
.first__meta::first-letter { color: var(--accent); }

/* ---------------------------------------------------------- pick by problem */
.pickgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pick {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 24px 22px 20px; color: var(--ink);
  transition: transform .22s var(--e), box-shadow .22s var(--e), border-color .22s var(--e);
}
.pick:hover {
  text-decoration: none; transform: translateY(-3px);
  border-color: var(--line); box-shadow: 0 12px 28px rgba(36,30,27,.08);
}
/* 悩みは疑問形。ここが見出しになる */
.pick__q {
  position: relative; padding-left: 22px;
  font-family: var(--fh); font-weight: 700; font-size: 15.5px; line-height: 1.6;
}
.pick__q::before {
  content: "?"; position: absolute; left: 0; top: 1px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 10px; line-height: 16px; text-align: center; font-weight: 700;
}
.pick__d {
  margin: 10px 0 16px; padding-left: 22px;
  font-size: 12.5px; color: var(--ink-2); line-height: 1.8;
}
.pick__a {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2);
  font-size: 13.5px; font-weight: 500; color: var(--brand); line-height: 1.6;
}
.pick__a i {
  display: block; font-style: normal; font-size: 10.5px;
  color: var(--ink-3); letter-spacing: .12em; margin-bottom: 3px;
}

@media (max-width: 1000px) { .pickgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .first { grid-template-columns: 150px 1fr; gap: 26px; padding: 28px 24px; }
}
@media (max-width: 560px) {
  .first { grid-template-columns: 1fr; text-align: left; }
  .first__cover { max-width: 148px; font-size: 14px; }
  .first__btns .btn { width: 100%; }
  .pickgrid { grid-template-columns: 1fr; gap: 10px; }
  .pick { padding: 20px 18px 16px; }
}

/* ---------------------------------------------------------- book list (with buy link) */
/* 行を div にしたので、ホバーと文字色を要素ごとに当て直す */
.blist .brow { align-items: center; }
.blist .brow:hover { background: #fff; border-color: var(--line-2); }
.brow__title { display: block; color: var(--ink); }
.brow__title:hover { color: var(--brand); text-decoration: none; }
.brow__cover { display: block; }

.brow__act {
  margin-left: auto; display: flex; flex-direction: column;
  align-items: stretch; gap: 8px; text-align: center; flex: none;
}
.btn--sm2 { padding: 10px 20px; font-size: 13px; white-space: nowrap; }
.brow__more { font-size: 12px; color: var(--ink-3); }
.brow__more:hover { color: var(--ink); }

.bookref__amz {
  display: inline-block; margin-left: 14px; font-size: 12.5px; color: var(--brand);
  border-bottom: 1px solid rgba(107, 74, 62, .3);
}
.bookref__amz:hover { text-decoration: none; border-bottom-color: var(--brand); }

@media (max-width: 700px) {
  .blist .brow { flex-wrap: wrap; }
  .brow__act {
    margin-left: 0; width: 100%; flex-direction: row; align-items: center;
    gap: 14px; padding-top: 12px; border-top: 1px solid var(--line-2);
  }
  .btn--sm2 { flex: 1; }
}
