*, *::before, *::after { box-sizing: border-box; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  /* 方眼ノート：LP画像の方眼（表示幅600pxで約17px間隔）に合わせる */
  background-color: #faf7ef;
  background-image:
    linear-gradient(rgba(23, 74, 63, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 74, 63, .07) 1px, transparent 1px);
  background-size: 17px 17px;
  background-position: center top;
  color: #1f2a26;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
}
.page {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 2px 6px rgba(40, 36, 24, .08), 0 12px 40px rgba(40, 36, 24, .14);
}
.page img { display: block; width: 100%; height: auto; margin: 0; }

/* 漫画は1本の縦長画像を切り分けたもの。すき間を空けずに積む */
.manga { background: #fff; line-height: 0; }

.part { position: relative; }

/* 08-cta の黄色いボタンの上に重ねるリンク（1024×1792 中の 61,1448 – 967,1618） */
.cta-hit {
  position: absolute;
  left: 5.9%;
  top: 80.8%;
  width: 88.6%;
  height: 9.5%;
  border-radius: 6px;
  color: transparent;
  font-size: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.cta-hit:focus-visible { outline: 3px solid #174A3F; outline-offset: 2px; }
@media (hover: hover) {
  .cta-hit { transition: background-color .2s; }
  .cta-hit:hover { background-color: rgba(255, 255, 255, .18); }
}

.footer {
  background: #f6f3ea;
  border-top: 1px solid #d9d3c3;
  padding: 40px 24px 32px;
  text-align: center;
  font-size: 15px;
}
.footer-logo { width: 220px !important; margin: 0 auto 12px !important; }
.footer p { margin: 0 0 12px; }
.footer-lead { color: #3b4a44; }
.footer-link a {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #174A3F;
  border-radius: 999px;
  color: #174A3F;
  text-decoration: none;
}
.footer-link a:hover { background: #174A3F; color: #fff; }
.footer-note { font-size: 14px; color: #5d6763; }
.footer-copy { color: #5d6763; }

/* ---------- PC幅だけ：左右の案内 ---------- */
.side { display: none; }
@media (min-width: 1100px) {
  .side {
    display: block;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: min(260px, calc((100vw - 600px) / 2 - 80px));
    color: #1f2a26;
  }
  .side-left { right: calc(50% + 300px + 56px); text-align: left; }
  .side-right { left: calc(50% + 300px + 56px); }
  .side-left img { display: block; width: 100%; height: auto; margin: 0 0 16px; }
  .side-lead { margin: 0; font-size: 15px; color: #3b4a44; }
  .side-name { margin: 4px 0 0; font-size: 22px; letter-spacing: .08em; color: #174A3F; }
  .side-note { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: #174A3F; }
  .side-cta {
    display: block;
    padding: 18px 20px;
    background: #fee985;
    color: #1f2a26;
    font-size: 17px;
    line-height: 1.5;
    text-decoration: none;
    box-shadow: 0 2px 3px rgba(0, 0, 0, .08), 0 8px 18px rgba(0, 0, 0, .10);
    transform: rotate(-1.2deg);
    transition: transform .2s, box-shadow .2s;
  }
  .side-cta span { color: #174A3F; }
  .side-cta:hover { transform: rotate(0deg) translateY(-2px); box-shadow: 0 4px 6px rgba(0, 0, 0, .10), 0 12px 24px rgba(0, 0, 0, .12); }
  .side-cta:focus-visible { outline: 3px solid #174A3F; outline-offset: 4px; }
  .side-small { margin: 16px 0 0; font-size: 14px; line-height: 1.7; color: #5d6763; }
}
@media (prefers-reduced-motion: reduce) {
  .side-cta { transition: none; }
}
