/* ============================================================
   ここから：ASTの気功技術 LP  -  style.css
   カラー：ネイビー × 水色
   方針：シンプル・洗練、角丸/ドロップシャドウは過度に使わない
   ============================================================ */

:root {
  --navy: #1c3560;
  --navy-deep: #16294a;
  --navy-line: #d4dbe8;
  --sky: #eaf1f8;
  --sky-soft: #f5f8fc;
  --accent: #2b62a8;
  --text: #23272e;
  --text-sub: #55606e;
  --white: #ffffff;
  --yellow: #ffe100;
  --font-base: "UDKakugo_LargePr6N-R", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --sans: var(--font-base);
  --serif: var(--font-base);
  --maxw: 1000px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ここから：ページ全体のフォント指定 */
body,
button,
input,
select,
textarea {
  font-family: var(--font-base);
}
/* ここまで：ページ全体のフォント指定 */

body {
  margin: 0;
  color: var(--text);
  line-height: 1.9;
  font-size: 16px;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: 90%;
  max-width: var(--maxw);
  margin-inline: auto;
}

.container--narrow {
  max-width: 1080px;
}

/* ============================================================
   ここから：セクション共通見出し
   ============================================================ */

.section-title {
  font-family: var(--font-base);
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  text-align: center;
  letter-spacing: .06em;
  margin: 0 0 2.4em;
  position: relative;
  padding-bottom: .7em;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 2px;
  background: var(--accent);
}

/* ここまで：セクション共通見出し */


/* ============================================================
   ここから：FV
   ============================================================ */

.fv {
  background: linear-gradient(180deg, #eaf2fa 0%, #f7fafd 100%);
  padding: 0;
  line-height: 0;
}

.fv__img {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
}

/* ここまで：FV */


/* ============================================================
   ここから：1stセクション メッセージ
   ============================================================ */

.message {
  background: var(--white);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.message__lead {
  font-family: var(--font-base);
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
  line-height: 1.6;
  text-align: center;
  color: var(--navy-deep);
  letter-spacing: .04em;
  margin: 0;
}

/* ここまで：1stセクション メッセージ */


/* ============================================================
   ここから：CTAセクション
   ============================================================ */

.cta {
  padding: clamp(2.6rem, 6vw, 4rem) 0;
  text-align: center;
}

.cta--first {
  background: var(--sky);
}

.cta--last {
  background: var(--navy);
}

.cta__note {
  font-size: .95rem;
  color: var(--text-sub);
  margin: 0 0 2.2em;
  line-height: 2;
}

.cta__note--last {
  color: #cdd8ea;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 2.4em;
  text-align: left;
}

.shop-buttons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 460px;
  margin-inline: auto;
}

/* ここから：購入ボタン 新規タブ表示・ショップ別カラー */
.shop-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  width: 100%;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .04em;
  padding: 18px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: opacity .22s ease;
}

.shop-button:hover {
  opacity: .76;
}

.shop-button:focus-visible {
  outline: 3px solid rgba(43, 98, 168, .35);
  outline-offset: 3px;
}

.shop-button--amazon {
  background: #ff9900;
  color: #232f3e;
  border-color: #ff9900;
}

.shop-button--rakuten {
  background: #bf0000;
  color: var(--white);
  border-color: #bf0000;
}

.shop-button__text {
  display: inline-block;
  font-family: "UDKakugo_LargePr6N-E", sans-serif !important;
}

.shop-button__blank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35em;
  height: 1.35em;
  font-size: .86em;
  line-height: 1;
  border: 1px solid currentColor;
  border-radius: 3px;
}
/* ここまで：購入ボタン 新規タブ表示・ショップ別カラー */

/* ここまで：CTAセクション */


/* ============================================================
   ここから：2ndセクション おすすめ／この本でわかること
   ============================================================ */

.recommend {
  background: var(--sky-soft);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.recommend__intro {
  max-width: 1080px;
  margin: 0 auto 3rem;
}

.recommend__intro p {
  margin: 0 0 1.1em;
  color: var(--text-sub);
  font-size: .98rem;
}

.check-list {
  list-style: none;
  margin: 0 auto 3.5rem;
  padding: 0;
  max-width: 1080px;
  display: grid;
  gap: 2px;
  background: var(--navy-line);
  border: 1px solid var(--navy-line);
}

.check-list li {
  background: var(--white);
  padding: 20px 22px 20px 58px;
  position: relative;
  font-weight: 500;
  color: var(--navy-deep);
  font-size: 1.02rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-weight: 900;
  font-size: 1.15rem;
}

.learn-box {
  max-width: 1080px;
  margin-inline: auto;
  border: 2px solid var(--navy);
}

.learn-box__title {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: .1em;
  text-align: center;
  padding: 16px 10px;
}

.learn-list {
  list-style: none;
  margin: 0;
  padding: 26px 30px;
}

.learn-list li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-bottom: 1px dashed var(--navy-line);
  color: var(--text);
}

.learn-list li:last-child {
  border-bottom: none;
}

.learn-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 23px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* ここまで：2ndセクション おすすめ／この本でわかること */


/* ============================================================
   ここから：3rdセクション 目次
   ============================================================ */

.toc {
  background: var(--white);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.chapter-list {
  list-style: none;
  margin: 0 0 3rem;
  padding: 0;
  counter-reset: none;
  border-top: 1px solid var(--navy-line);
}

.chapter {
  display: flex;
  gap: 24px;
  padding: 28px 6px;
  border-bottom: 1px solid var(--navy-line);
  align-items: flex-start;
}

.chapter__no {
  flex: 0 0 auto;
  min-width: 64px;
  font-family: var(--font-base);
  color: var(--navy);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.3;
  padding-top: 2px;
  text-align: center;
}

.chapter__no span {
  display: block;
  font-size: 1.7rem;
  color: var(--accent);
}

.chapter__body {
  flex: 1 1 auto;
}

.chapter__title {
  margin: 0 0 .5em;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.6;
  letter-spacing: .02em;
}

.chapter__desc {
  margin: 0;
  font-size: .92rem;
  color: var(--text-sub);
  line-height: 1.95;
}

.appendix {
  border: 2px solid var(--accent);
  padding: 26px 30px;
  background: var(--sky-soft);
}

.appendix__title {
  text-align: center;
  margin: 0 0 .6em;
  color: var(--accent);
  font-family: var(--font-base);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.appendix__desc {
  margin: 0;
  color: var(--text);
  font-size: .95rem;
}

/* ここまで：3rdセクション 目次 */


/* ============================================================
   ここから：4thセクション 著者・監修者／書籍情報
   ============================================================ */

.author {
  background: var(--sky);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.book-info {
  max-width: 1080px;
  margin: 0 auto 3rem;
  background: var(--white);
  border: 1px solid var(--navy-line);
}

.book-info__title {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  font-family: var(--font-base);
  font-weight: 600;
  letter-spacing: .12em;
  font-size: 1.12rem;
  padding: 15px 10px;
}

.book-info__table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.book-info__table th,
.book-info__table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--navy-line);
  vertical-align: middle;
}

.book-info__table tr:last-child th,
.book-info__table tr:last-child td {
  border-bottom: none;
}

.book-info__table th {
  width: 38%;
  background: var(--sky-soft);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.book-info__table td {
  color: var(--text);
}

.author__message {
  max-width: 1080px;
  margin-inline: auto;
  text-align: left;
}

.author__message p {
  margin: 0 0 1em;
  color: var(--navy-deep);
  font-size: 1rem;
  line-height: 2;
}

.author__message p:last-child {
  margin-top: 1.4em;
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--navy);
}

/* ここまで：4thセクション 著者・監修者／書籍情報 */


/* ============================================================
   ここから：フッター
   ============================================================ */

.site-footer {
  background: var(--navy-deep);
  color: #b9c5da;
  text-align: center;
  padding: 3rem 0 2.4rem;
}

.site-footer__title {
  font-family: var(--font-base);
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: .12em;
  margin: 0 0 .6em;
}

.site-footer__pub {
  font-size: .9rem;
  margin: 0 0 1.4em;
}

/* ここから：フッター会社概要 */
.site-footer__company {
  max-width: 520px;
  margin: 0 auto 1.8rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.site-footer__company-title {
  margin: 0 0 .55em;
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.site-footer__address {
  margin: 0;
  color: #b9c5da;
  font-style: normal;
  font-size: .86rem;
  line-height: 1.9;
  letter-spacing: .03em;
}

.site-footer__address a {
  color: inherit;
  text-decoration: none;
}

.site-footer__address a:hover {
  opacity: .76;
}
/* ここまで：フッター会社概要 */

.site-footer__copy {
  font-size: .78rem;
  color: #7d8cab;
  margin: 0;
  letter-spacing: .04em;
}

/* ここまで：フッター */


/* ============================================================
   ここから：レスポンシブ
   ============================================================ */

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .chapter {
    flex-direction: column;
    gap: 8px;
    padding: 22px 4px;
  }

  .chapter__no {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    text-align: left;
  }

  .chapter__no span {
    display: inline;
    font-size: 1.35rem;
  }

  .check-list li {
    padding: 16px 18px 16px 48px;
    font-size: .98rem;
  }

  .check-list li::before {
    left: 18px;
  }

  .learn-list {
    padding: 20px 22px;
  }

  .book-info__table th,
  .book-info__table td {
    padding: 13px 14px;
  }

  .book-info__table th {
    width: 40%;
    font-size: .9rem;
  }
}

@media (max-width: 480px) {
  .book-info__table {
    display: block;
  }

  .book-info__table tbody,
  .book-info__table tr {
    display: block;
  }

  .book-info__table th,
  .book-info__table td {
    display: block;
    width: 100%;
    border-bottom: none;
  }

  .book-info__table th {
    padding-bottom: 4px;
    background: var(--white);
  }

  .book-info__table td {
    padding-top: 0;
    padding-bottom: 15px;
  }

  .book-info__table tr {
    border-bottom: 1px solid var(--navy-line);
  }

  .book-info__table tr:last-child {
    border-bottom: none;
  }
}

/* ここまで：レスポンシブ */

/* ============================================================
   ここまで：ASTの気功技術 LP  -  style.css
   ============================================================ */