@charset "UTF-8";
/* ==============================================
   ページ固有CSS — 名前空間: .support-page
   下層共通: .page-hero / .sidebar / .breadcrumb
   ============================================== */

:where(.support-page) :where(ol, ul) {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

:where(.support-page) :where(ol) + p {
}

.support-page .entry-content {
  container-type: inline-size;
}

/* ========================================
   .support-page スコープ（このページ固有）
   ======================================== */
.support-page {
  line-height: 1.7;
}

.support-page h2 {
  margin-top: 0;
}

/* メインラッパー */
.support-page__content {
  flex: 1;
  min-width: 0;
}

/* ===== STEPセクション ===== */
.support-page .step-section {
  margin-bottom: 50px;
}

.support-page .step-section__body {
  line-height: 1.85;
}

/* 画像＋テキスト横並びレイアウト */
.support-page .step-section__layout {
  display: grid;
  gap: 24px 40px;
  grid-template-columns: var(--left, 1fr) var(--right, 1fr);
  align-items: flex-start;
}

.support-page .step-section__text {
  flex: 1;
}

/* 画像＋テキスト横並びレイアウト2 */
.step-section__layout-along .step-section__image {
  float: right;
  width: min(28.875vw, 462px);
  shape-outside: polygon(22% 0, 100% 0, 100% 100%, 0 100%, 0 50%, 22% 50%);
  margin-inline: 10px 0;
}

/* ===== サブセクション ===== */
.support-page .sub-section {
  margin-top: 40px;
}
.support-page .sub-section:first-of-type {
  margin-top: 0;
}

/* ===== 参考資料ボックス ===== */
.support-page .ref-box {
  margin-top: 10px;
}

.support-page .ref-box__title {
  margin-bottom: 6px;
}

.support-page .ref-box li {
  line-height: 1.6;
}

.support-page .ref-box li + li {
  margin-top: 10px;
}

.support-page .ref-box a {
  color: var(--color-accent);
}

/* ===== リンクボタン一覧 ===== */
.support-page .link-list {
  margin-top: 70px;
  --arrow-size: 8px;
  max-width: calc(768 / 16 * 1rem);
  margin-inline: auto;
}

.support-page .link-list li + li {
  margin-top: 0;
}

.support-page .link-list__item {
  --arrow-size: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 10px;
  gap: 20px;
  position: relative;
  border-bottom: 1px solid var(--color-border);
  transition:
    background 0.2s,
    color 0.2s;
}
.support-page .link-list__item::before {
  content: "";
  position: absolute;
  right: 10px;
  display: block;
  mask-image: url("/Templates/img/arrow01.png");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 7px 9px;
  width: var(--arrow-size);
  height: var(--arrow-size);
  background: var(--color-accent);
  z-index: var(--stack-level1);
}

.support-page .link-list__item::after {
  content: "";
  display: block;
  position: relative;
  flex-shrink: 0;
  width: var(--arrow-size);
  height: var(--arrow-size);
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  background: var(--color-light);
}

@media (any-hover: hover) {
  .support-page .link-list__item:hover::before {
    background: var(--color-light);
  }
  .support-page .link-list__item:hover::after {
    background: var(--color-accent);
  }
}
/* ===== リスト一覧 ===== */
.support-page .desc-list01 .item {
  display: flex;
}

.support-page .inline-list :is(.title, .desc) {
  display: inline;
}

/* ===== マッチング情報ボックス（STEP4） ===== */
.support-page .matching-box {
  margin-top: 16px;
}

.support-page .matching-box__row {
  display: flex;
  --gap: 10px;
  gap: var(--gap);
  flex-wrap: wrap;
}

.support-page .matching-box__label {
  flex-basis: 5.5rem;
  position: relative;
}

.support-page .matching-box__val {
  flex-basis: calc(100% - 5.5rem - var(--gap));
}

.support-page .matching-box__label::after {
  content: ":";
  position: absolute;
  right: 0;
  top: 0;
}

/* ===== 装飾 ===== */

.step-section--3::before {
  content: "";
  position: absolute;
  background-image: url("/src/assets/img/common/logomark.svg");
  width: calc(782 / 1920 * 100vw);
  background-repeat: no-repeat;
  background-size: contain;
  aspect-ratio: 782 / 741;
  opacity: 0.2;
  left: -11%;
  z-index: calc(var(--stack-level1) * -1);
}
@supports (overflow: clip) {
  .step-section--6::before {
    content: "";
    position: absolute;
    background-image: radial-gradient(#d8f0db, #fff 50%);
    width: calc(873 / 1920 * 100vw);
    border-radius: 50%;
    right: 0;
    transform: translate3d(50%, -14%, 0);
    aspect-ratio: 1 / 1;
    z-index: calc(var(--stack-level1) * -1);
  }
}

@media (width < 80rem) {
  .in-sidebar {
    overflow: unset;
  }
  .step-section--3::before,
  .step-section--6::before {
    content: unset;
  }
}

/* ===== マッチング ===== */
.step-section--matching {
  --left: min(400 / 1600 * 100vw, 400px);
}

.step-section--matching .step-section__desc {
  grid-column: span 2;
}

/* ===== CTAリンク ===== */
.support-page .cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 1000px;
  margin-top: 16px;
  padding: 10px 20px;
  max-width: calc(334 / 16 * 1rem);
  background: var(--color-accent);
  color: var(--color-light);
  border: 1px solid var(--color-accent);
  transition: background 0.2s;
  width: 100%;
  justify-content: center;
  height: calc(60 / 16 * 1rem);
}

@media (any-hover: hover) {
  .support-page .cta-link:hover {
    color: var(--color-accent);
    background: var(--color-light);
  }
}
/* ===== テキストリンク ===== */
.support-page .link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ========================================
   レスポンシブ
   ======================================== */
@container (width < 43.75rem) {
  .step-section--1 .step-section__image {
    float: none;
    width: unset;
    max-width: 464px;
    margin-inline: auto;
    margin-top: -20px;
    margin-bottom: 40px;
  }

  .support-page .desc-list01 .item {
    flex-direction: column;
  }
  .support-page .desc-list01 .item + .item {
    margin-top: 10px;
  }
}

@container (width < 62rem) {
  .support-page .step-section__layout {
    flex-direction: column;
    grid-template-columns: 100%;
  }
  .support-page .step-section__image {
    text-align: center;
  }
  .step-section--matching .step-section__image {
    margin-block: -24px 0;
  }
  .step-section--matching .step-section__desc {
    grid-column: unset;
  }
}

@media (max-width: 48rem) {
  .support-page .link-list {
    margin-top: 40px;
  }
}
@media (max-width: 30rem) {
  .support-page .matching-box__item {
    flex-direction: column;
    gap: 0;
  }
  .support-page .matching-box__label {
    width: auto;
  }
  .support-page .matching-box__label::after {
    display: inline-block;
    position: relative;
  }
  .support-page .matching-box__item + .matching-box__item {
    margin-top: 10px;
  }
}
