/* ========== 変数 ========== */
:root {
  --guide-max-width: 1200px;
  --guide-gap: 24px;
  --guide-gap-sm: 16px;
  --guide-border: 1px solid rgba(0, 0, 0, 0.14);
  --guide-border-black: 1px solid #000;
  --guide-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
  --guide-box-bg: #fff;
  --guide-aspect-w: 400;
  --guide-aspect-h: 280;
  --guide-accent: var(--primary-blue);
  /* point ラベル SVG（img ではなく mask 表示時の通常色） */
  --guide-point-label-default: #231815;
}

/* Pointページ共通（色の基調） */
body.page-point {
  --guide-accent: #ff6b6b;
}

/* ========== 下層ページ：ヘッダー ========== */
body:has(main.guide) header,
body.page-works header {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body:has(main.guide) .header-nav a,
body.page-works .header-nav a {
  color: #1a1a1a;
}

body:has(main.guide) .header-nav a::after,
body.page-works .header-nav a::after {
  background: var(--primary-blue);
}

body:has(main.guide) .header-nav a:hover::after,
body.page-works .header-nav a:hover::after {
  background: var(--primary-blue);
}

body:has(main.guide) .header-contact-btn,
body.page-works .header-contact-btn {
  background: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
}

body:has(main.guide) .header-contact-btn::after,
body.page-works .header-contact-btn::after {
  background: #fff;
  color: var(--primary-blue);
}

/* SP：ハンバーガーアイコンを濃く（背景と同化しない）、メニュー内は白文字・背景はそのまま */
@media (max-width: 1024px) {
  body:has(main.guide) .hamburger-menu__bar,
  body.page-works .hamburger-menu__bar {
    background: #1a1a1a;
  }
  body:has(main.guide) .header-nav a,
  body.page-works .header-nav a {
    color: #fff;
  }
  body:has(main.guide) .header-nav a::after,
  body.page-works .header-nav a::after {
    background: #fff;
  }
}

/* ========== レイアウト基盤 ========== */
body {
  background-color: #fff;
}

.guide {
  max-width: var(--guide-max-width);
  margin: 0 auto;
  padding: 0 0 80px;
  background: #fff;
}

.guide__container {
  max-width: var(--guide-max-width);
  margin: 0 auto;
  text-align: center;
}

.guide > .guide__container {
  padding: 16px 0 0;
}

.guide__grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 220px;
  gap: var(--guide-gap);
  align-items: start;
  text-align: left;
}

/* ========== カード共通 ========== */
.guide__card {
  background: var(--white);
  border: var(--guide-border);
  border-radius: 10px;
  box-shadow: var(--guide-shadow);
}

.toc-wrapper,
.guide__content {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.achieve {
  border-radius: 0;
  border: var(--guide-border);
  box-shadow: var(--guide-shadow);
}

.guide__title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin: 24px 0 6px;
  text-align: center;
}

.guide__subtitle {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 700;
  color: var(--secondary-color);
  letter-spacing: 0.05em;
  margin: 6px auto 14px;
  text-align: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: transparent;
}

.guide__point-label {
  display: inline-block;
  width: 120px;
  flex-shrink: 0;
  vertical-align: bottom;
  background-color: var(--guide-point-label-default);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  transition: background-color 0.2s ease;
}

.guide__point-label--1 {
  aspect-ratio: 148.47 / 63.6;
  -webkit-mask-image: url('img/point/point1.svg');
  mask-image: url('img/point/point1.svg');
}

.guide__point-label--2 {
  aspect-ratio: 148.47 / 64.8;
  -webkit-mask-image: url('img/point/point2.svg');
  mask-image: url('img/point/point2.svg');
}

.guide__point-label--3 {
  aspect-ratio: 148.47 / 64.95;
  -webkit-mask-image: url('img/point/point3.svg');
  mask-image: url('img/point/point3.svg');
}

.guide__point-label--4 {
  aspect-ratio: 148.47 / 64.84;
  -webkit-mask-image: url('img/point/point4.svg');
  mask-image: url('img/point/point4.svg');
}

.guide__point-text {
  font-size: 1.18em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.guide__point-person {
  display: block;
  width: 60%;
  max-width: 540px;
  height: auto;
  margin: 8px auto 20px;
}

.points-nav .guide__point-person {
  margin: 8px auto 50px;
}

/* ========== 目次 ========== */
.toc-wrapper {
  position: relative;
  border: none;
  background: transparent;
  box-shadow: none;
}

.toc {
  padding: 16px 10px 24px;
  background: transparent;
  border: none;
  box-shadow: none;
  margin-bottom: 70px;
}

.toc__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.toc__list a {
  display: block;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  padding: 8px 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #ddd;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.toc__list a:hover {
  transform: translateY(-1px);
}

.toc__group {
  display: grid;
  gap: 8px;
}

@media (min-width: 769px) {
  /* 小項目（.toc__sub）が margin-left:10px 分だけ右に出るので、大項目も右端を揃える */
  .toc__group > a.toc__point {
    width: calc(100% + 10px);
    box-sizing: border-box;
  }
}

.toc__sub {
  list-style: none;
  padding: 0 0 0 12px;
  margin: 0 0 0 10px;
  display: grid;
  gap: 4px;
  border-left: 2px solid #ddd;
  width: 100%;
}

.toc__sub li {
  min-width: 0;
  width: 100%;
}

.toc__sub a {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  padding: 5px 10px;
  color: #555;
  background: transparent;
  border-radius: 4px;
  transition: background 0.15s ease, color 0.15s ease;
  box-sizing: border-box;
}

.toc__sub a:hover {
  background: #eee;
  color: #333;
}

.toc__sub a.is-current {
  font-weight: 700;
  background: #eee;
  color: #000;
}

.toc__sub-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35em;
  height: 1.35em;
  flex-shrink: 0;
  font-size: 1em;
  font-weight: 700;
  line-height: 1;
  border: 1px solid #888;
  border-radius: 0;
  box-sizing: border-box;
  color: #555;
}

.toc__sub a.is-current .toc__sub-num {
  color: #000;
  border-color: #000;
}

.toc__point {
  font-weight: 600;
}

.toc__point-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2em 0.5em;
  border-radius: 999px;
  margin-right: 0.55em;
  font-weight: 700;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.toc__point.is-active {
  background: var(--guide-accent);
  border-color: var(--guide-accent);
  color: #fff;
  font-weight: 700;
  cursor: default;
}

.toc__list a.toc__point.is-active {
  color: #fff;
}

.toc__point.is-active .toc__point-num {
  background: #fff;
  color: var(--guide-accent);
  border: none;
}

.toc__point.is-active:hover,
.toc__point.is-active:hover .toc__point-num {
  background: var(--guide-accent);
  border-color: var(--guide-accent);
  color: #fff;
}

.toc__point.is-active:hover .toc__point-num {
  background: #fff;
  color: var(--guide-accent);
  border: none;
}

.toc__point:not(.is-active) {
  background: #fff;
  color: #444;
  border: 1px solid #ccc;
}

.toc__point:not(.is-active) .toc__point-num {
  background: var(--guide-accent);
  color: #fff;
  border: none;
}

.toc__point:not(.is-active):hover {
  background: #f8f8f8;
  color: #333;
  border-color: #bbb;
}

.toc__point:not(.is-active):hover .toc__point-num {
  background: var(--guide-accent);
  color: #fff;
  border: none;
}

/* ========== 本文（中央カラム） ========== */
.guide__content {
  padding: 22px 22px 10px;
  font-size: 15px;
  line-height: 1.9;
}

.guide__content .guide__mainhead {
  margin: 0 0 16px;
  text-align: center;
}

.guide__content .guide__title-wrapper {
  position: relative;
  display: inline-block;
}

.guide__content .guide__title {
  position: relative;
  margin: 0 0 20px;
  padding: 8px 14px 14px;
  font-size: clamp(22px, 3vw, 32px);
  text-align: center;
}

.guide__content .guide__title-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-top: 2px solid #000;
  border-left: 2px solid #000;
}

.guide__content .guide__title-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
}

.guide__content .guide__title::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-bottom: 2px solid #000;
  border-left: 2px solid #000;
}

.guide__content .guide__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-bottom: 2px solid #000;
  border-right: 2px solid #000;
}

.guide__content .guide__subtitle {
  margin: 6px 0 14px;
  font-size: clamp(16px, 2.2vw, 21px);
  justify-content: flex-start;
  align-items: flex-end;
  text-align: left;
}

.guide__catch {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  line-height: 1.5;
  margin: 0 0 24px;
  letter-spacing: 0.04em;
  padding: 10px 0 10px 6px;
  border-top: var(--guide-border-black);
  border-bottom: var(--guide-border-black);
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.guide__catch-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.guide__lead {
  color: #333;
  margin: 0 0 16px;
}

.guide__lead p + p {
  margin-top: 12px;
}

/* セクション・見出し・リスト */
.guide__section {
  padding: 32px 0 6px;
  margin-top: 8px;
  border-top: none;
}

.guide__section[id] {
  scroll-margin-top: 100px;
}

.guide__section:last-of-type {
  padding-bottom: 24px;
}

.guide__section h2 {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
  padding: 10px 0 10px 12px;
  border-top: var(--guide-border-black);
  border-bottom: var(--guide-border-black);
  display: flex;
  align-items: center;
  gap: 0.4em;
  text-align: left;
}

.guide__conclusion-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.guide__section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  flex-shrink: 0;
  font-size: 1em;
  font-weight: 700;
  border: 1px solid #333;
  box-sizing: border-box;
  text-align: center;
}

.guide__section p {
  margin: 0;
}

.guide__section p + p {
  margin-top: 12px;
}

.guide__list {
  list-style: none;
  padding: 40px 16px 28px 20px;
  margin: 3em 1em 1.2em;
  border: var(--guide-border-black);
  background: var(--guide-box-bg);
  position: relative;
  max-width: 80%;
  box-sizing: border-box;
}

.guide__list::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 10px;
  width: 140px;
  height: 48px;
  background-color: var(--guide-box-bg);
  background-image: url('img/point/check_list.svg');
  background-size: 110px auto;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

.guide__list li {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: 0.5em;
  font-weight: 600;
  color: #2a2a2a;
  line-height: 1.7;
}

.guide__list li:last-child {
  margin-bottom: 0;
}

.guide__list li::before {
  content: '・';
  position: absolute;
  left: 0.6em;
  color: var(--guide-accent);
  font-weight: 700;
  font-size: 1.1em;
}

/* 強調 */
.guide__content .guide__em,
.points-nav .guide__em {
  font-weight: 700;
  font-size: 1.05em;
  background: linear-gradient(transparent 55%, rgba(255, 235, 0, 0.45) 55%);
  padding: 0 2px;
}

.guide__content .guide__em--nobg,
.points-nav .guide__em--nobg {
  background: none;
  padding: 0;
}

/* ========== 2カラム枠（Point④ 仕様・用紙） ========== */
.guide__twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--guide-gap-sm);
  margin: 1.2em 0;
}

.guide__box {
  padding: 0;
  border: none;
  /* border-bottom: var(--guide-border-black); */
  border-radius: 0;
  background: var(--guide-box-bg);
  box-sizing: border-box;
  overflow: hidden;
}

.guide__box-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--guide-aspect-w) / var(--guide-aspect-h);
  object-fit: cover;
}

.guide__box-title {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  font-weight: 700;
  font-size: 1em;
  color: #000;
  margin: 0 0 0 20px;
  padding: 0 16px 0 24px;
  box-sizing: border-box;
}

.guide__box-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 24px;
  background: var(--guide-accent);
}

.guide__box p:not(.guide__box-title) {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.6;
  padding: 0 16px 14px;
}

.guide__box p:not(.guide__box-title) + p {
  margin-top: 8px;
}

.guide__box .guide__box-title + p {
  padding-top: 0;
}

/* ========== 3カラム枠（Point④ 加工） ========== */
.guide__threecol {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--guide-gap-sm);
  margin: 1.2em 0;
}

.guide__threecol-item {
  padding: 0;
  border-bottom: var(--guide-border-black);
  background: var(--guide-box-bg);
  overflow: hidden;
}

.guide__threecol-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--guide-aspect-w) / var(--guide-aspect-h);
  object-fit: cover;
}

.guide__threecol-label {
  display: block;
  padding: 12px 2px;
  font-size: 0.95em;
  font-weight: 600;
  color: #000;
  text-align: center;
}

/* ========== 実績（右カラム） ========== */
.achieve {
  position: sticky;
  top: 64px;
  margin-top: 0;
  padding: 16px 16px 36px;
}

.achieve__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #444;
  margin-bottom: 18px;
  padding-bottom: 8px;
  text-align: center;
  position: relative;
}

.achieve__title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: #000;
  border-radius: 999px;
}

.achieve__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 32px;
}

.achieve__item a {
  display: block;
  text-decoration: none;
  color: var(--secondary-color);
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  transition: none;
}

.achieve__img {
  width: 76%;
  margin: 0 auto;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.achieve__img:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
}

.achieve__note {
  margin: 32px 0 0;
  padding: 0;
  font-size: 11px;
  color: #888;
  text-align: center;
}

.achieve__button {
  display: block;
  width: fit-content;
  margin: 28px auto 0;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  background: var(--primary-blue);
  border-radius: 999px;
  transition: opacity 0.2s ease;
}

.achieve__button:hover {
  opacity: 0.85;
}

/* ========== ページング ========== */
.point-pagination {
  padding: 40px 0 0;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  min-width: 0;
}

.point-pagination-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 100%;
  box-sizing: border-box;
  width: 100%;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.point-pagination-prev,
.point-pagination-next {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
  flex: 1;
  max-width: 300px;
  box-sizing: border-box;
  min-width: 0;
}

.point-pagination-prev:hover,
.point-pagination-next:hover {
  border-color: var(--guide-accent);
  background: #f8f8f8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.point-pagination-prev {
  justify-content: flex-start;
  flex-direction: row;
}

.point-pagination-next {
  justify-content: flex-end;
  flex-direction: row;
  margin-left: auto;
}

.point-pagination-label {
  font-size: 13px;
  color: var(--guide-accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.point-pagination-arrow {
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.point-pagination-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #555;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.point-pagination-prev:hover,
.point-pagination-next:hover {
  border-color: var(--guide-accent);
  background: var(--guide-accent);
  color: #fff;
}

.point-pagination-prev:hover .point-pagination-label,
.point-pagination-next:hover .point-pagination-label {
  color: #fff;
}

.point-pagination-prev:hover .point-pagination-title,
.point-pagination-next:hover .point-pagination-title {
  color: #fff;
}

.point-pagination-prev:only-child,
.point-pagination-next:only-child {
  margin: 0 auto;
}

@media (max-width: 768px) {
  .point-pagination {
    padding: 30px 0 0;
  }
  
  .point-pagination-inner {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .point-pagination-prev,
  .point-pagination-next {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    box-sizing: border-box;
  }
  
  .point-pagination-prev {
    flex-direction: row;
  }
  
  .point-pagination-next {
    flex-direction: row-reverse;
    margin-left: 0;
  }
  
  .point-pagination-label {
    font-size: 12px;
  }
  
  .point-pagination-title {
    font-size: 13px;
  }
}

/* ========== レスポンシブ ========== */
@media (min-width: 1025px) {
  .guide__content p {
    padding-left: 1em;
  }
}

/* タブレット：目次＋本文の2カラム、実績は非表示 */
@media (min-width: 769px) and (max-width: 1024px) {
  .guide__grid {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .achieve {
    display: none;
  }
  .point-pagination {
    grid-column: 2;
    padding: 40px 20px 0;
  }
  
  .point-pagination-prev,
  .point-pagination-next {
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .guide {
    padding: 24px 16px 60px;
  }
  .guide__grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .achieve {
    display: none;
  }
  /* SP：目次をコンテンツ上に折りたたみで表示 */
  .toc-wrapper {
    order: -1;
    margin-bottom: 4px;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }
  .toc-wrapper .toc {
    padding: 0;
    margin-bottom: 0;
  }
  .toc-wrapper .toc__title {
    margin: 0;
    padding: 8px 40px 8px 16px;
    cursor: pointer;
    user-select: none;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }
  .toc-wrapper .toc__title::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333;
    transition: transform 0.2s ease;
  }
  .toc-wrapper .toc.is-open .toc__title::after {
    transform: translateY(-50%) rotate(180deg);
  }
  .toc-wrapper .toc__list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 10px;
  }
  .toc-wrapper .toc.is-open .toc__list {
    max-height: 80vh;
    overflow-y: auto;
    padding: 0 10px 12px;
  }
  .toc-wrapper .toc__group {
    min-width: 0;
    overflow: hidden;
  }
  .toc-wrapper .toc__sub {
    width: calc(100% - 10px);
    max-width: calc(100% - 10px);
    box-sizing: border-box;
  }
  .guide__content {
    padding: 18px 8px 10px;
    font-size: 14px;
  }
  .point-pagination {
    padding: 30px 0 0;
  }
  .guide__content .guide__mainhead {
    margin: 0 0 12px;
  }
  .guide__content .guide__title {
    position: relative;
    font-size: clamp(18px, 5vw, 22px);
    margin: 0 0 16px;
    padding: 6px 14px 12px;
    line-height: 1.45;
  }
  
  .guide__content .guide__title-wrapper::before,
  .guide__content .guide__title-wrapper::after {
    width: 10px;
    height: 10px;
  }
  
  .guide__content .guide__title::before,
  .guide__content .guide__title::after {
    width: 10px;
    height: 10px;
  }
  .guide__content .guide__subtitle {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 12px;
    font-size: clamp(14px, 4vw, 16px);
    margin: 0 0 10px;
    padding-left: 0;
  }
  .guide__content .guide__point-label {
    flex-shrink: 0;
    width: 90px;
  }
  .guide__point-person {
    width: 80%;
  }
  .guide__section h2 {
    padding-left: 0;
  }
  .guide__list {
    padding: 28px 12px 24px 6px;
    margin: 2em 0.5em 1.2em;
    max-width: 100%;
  }
  
  .guide__list::before {
    left: 8px;
    width: 100px;
    height: 36px;
    top: -18px;
    background-size: 75px auto;
  }
  
  .guide__list li {
    padding-left: 1.6em;
    margin-bottom: 0.4em;
  }
  
  .guide__list li::before {
    left: 0.5em;
  }
}

@media (max-width: 640px) {
  .guide__twocol {
    grid-template-columns: 1fr;
  }
  .guide__threecol {
    grid-template-columns: 1fr;
  }
}

/* ========== index.htmlのpoints-navセクション ========== */
.points-nav .guide__mainhead {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  text-align: center;
}

.points-nav .guide__title-wrapper {
  position: relative;
  display: inline-block;
}

.points-nav .guide__title {
  font-size: clamp(24px, 5vw, 38px);
  margin: 0 0 40px !important;
  padding: 8px 14px 14px;
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .points-nav .guide__title {
    margin-bottom: 30px !important;
    font-size: 5vw;
  }
}

/* style.cssの.points-nav h2::after（ピンクの下線）を無効化 */
.points-nav h2.guide__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-bottom: 2px solid #000;
  border-right: 2px solid #000;
  background: none !important;
  transform: none !important;
  left: auto !important;
  width: 12px !important;
  height: 12px !important;
}

.points-nav .guide__title-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-top: 2px solid #000;
  border-left: 2px solid #000;
}

.points-nav .guide__title-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
}

.points-nav .guide__title::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-bottom: 2px solid #000;
  border-left: 2px solid #000;
}

.points-nav {
  --points-nav-accent: #ff6b6b;
}

.points-nav .guide__subtitle {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  text-align: left;
  margin: 0 0 24px;
  width: 100%;
  max-width: 700px;
  cursor: pointer;
  transition: color 0.2s ease;
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

@media (hover: hover) and (pointer: fine) {
  .points-nav .guide__subtitle:hover {
    color: var(--points-nav-accent);
  }

  .points-nav .guide__subtitle:hover .guide__point-text,
  .points-nav .guide__subtitle .guide__point-text:hover {
    color: var(--points-nav-accent);
  }
}

.points-nav .guide__subtitle .guide__point-text {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.points-nav .guide__point-label-link {
  display: inline-flex;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.points-nav .guide__subtitle-wrapper:has(.point-card-sub.is-open) .guide__subtitle,
.points-nav .guide__subtitle-wrapper:has(.point-card-sub.is-open) .guide__subtitle .guide__point-text {
  color: var(--points-nav-accent);
}

.points-nav .guide__subtitle-wrapper:has(.point-card-sub.is-open) .guide__subtitle .guide__point-label {
  background-color: var(--points-nav-accent);
}

@media (hover: hover) and (pointer: fine) {
  .points-nav .guide__subtitle:hover .guide__point-label {
    background-color: var(--points-nav-accent);
  }
}

.points-nav .guide__subtitle:focus {
  outline: none;
}

.points-nav .guide__subtitle-icon {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--points-nav-accent);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5em;
  font-weight: 400;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  padding: 0;
  line-height: 32px;
  text-align: center;
  position: relative;
}

.points-nav .guide__subtitle-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background-image: url('img/point/plus.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.points-nav .guide__subtitle-wrapper:has(.point-card-sub.is-open) .guide__subtitle-icon::before {
  background-image: url('img/point/minus.svg');
  background-size: contain;
  background-position: center center;
}

@media (max-width: 768px) {
  .points-nav .guide__subtitle-icon {
    width: 28px;
    height: 28px;
    font-size: 1.3em;
    line-height: 28px;
  }
  
  .points-nav .guide__subtitle-icon::before {
    width: 14px;
    height: 14px;
  }
}

.points-nav .guide__subtitle:last-of-type {
  margin-bottom: 0;
}

/* guide__subtitle-wrapperのスタイル */
.points-nav .guide__subtitle-wrapper {
  width: 100%;
  max-width: 700px;
  margin-bottom: 40px;
}

.points-nav .guide__subtitle-wrapper:last-child {
  margin-bottom: 0;
}

/* guide__mainhead内のpoint-card-subのスタイル */
.points-nav .guide__mainhead .point-card-sub {
  margin-left: 0;
  border-left: none;
  padding: 0;
  width: 100%;
  max-width: 700px;
}

.points-nav .guide__mainhead .point-card-sub.is-open {
  padding-top: 12px;
  padding-bottom: 20px;
  padding-left: 0;
  padding-right: 0;
}

.points-nav .guide__mainhead .point-card-sub a {
  font-size: 20px;
  padding: 10px 14px 10px 24px;
}

@media (min-width: 769px) {
  .points-nav .guide__mainhead .point-card-sub a {
    padding-left: 32px;
  }
}

@media (max-width: 768px) {
  .points-nav .guide__mainhead .point-card-sub.is-open {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  
  .points-nav .guide__subtitle .guide__point-label {
    width: 60px;
  }
  
  .points-nav .guide__point-text {
    font-size: 0.95em;
  }
  
  .points-nav .guide__mainhead .point-card-sub a {
    font-size: 15px;
    padding-left: 3px;
    text-align: left;
    justify-content: flex-start;
  }
  
  .points-nav .guide__subtitle-wrapper {
    margin-bottom: 28px;
  }
  
  .points-nav .guide__subtitle {
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
  }
  
  .points-nav .guide__point-text {
    margin-bottom: 0;
    line-height: 1.25;
    flex: 1;
    min-width: 0;
  }
}
