@charset "UTF-8";
/* === 必要最小限のリセット === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.is-layout-flex > *,
.is-layout-grid > * {
  min-width: 0;
}

:root {
  interpolate-size: allow-keywords;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  min-height: 100svh;
  font-variant-numeric: tabular-nums;
  background-image: url("../assets/images/common/bg-body-mo.webp"), url("../assets/images/common/bg-body-repeat-mo.webp");
  background-repeat: no-repeat, repeat-y;
  background-position: center top;
  background-attachment: fixed, scroll;
  background-size: 100% auto;
}
@media (width > 782px) {
  body {
    background-image: url("../assets/images/common/bg-body-dt.webp"), url("../assets/images/common/bg-body-repeat-dt.webp");
  }
}

a {
  transition: color 0.15s;
}

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

button {
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
}

iframe {
  max-width: 100%;
}

body,
p,
span,
div {
  overflow-wrap: break-word;
}

sup {
  margin: 0 0.25em;
}
sup a::before {
  content: "※";
  font-size: 90%;
}

@media (width > 782px) {
  .is-mobile {
    display: none;
  }
}

.is-desktop {
  display: none;
}
@media (width > 782px) {
  .is-desktop {
    display: block;
  }
}

[id] {
  scroll-margin-block-start: calc(54px + 3rem);
}
@media (width > 960px) {
  [id] {
    scroll-margin-block-start: calc(89px + 4rem);
  }
}

/* ----------------------------------------------------------------
  ブロックエディタ基本スタイル
  コアブロックの共通見た目・バリエーションを定義する
  （ページ固有は _pages/ 側）
  詳細度はコアに合わせ :root :where(...) で 0-1-0 に揃える
---------------------------------------------------------------- */
/* ----------------------------------------------------------------
  画像（core/image）
---------------------------------------------------------------- */
:root :where(.wp-block-image) {
  line-height: 1;
}
:root :where(.wp-block-image) img {
  width: 100%;
  height: auto;
}
:root :where(.wp-block-image) figcaption {
  margin-block-start: 0.5em;
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.8;
  color: var(--wp--preset--color--muted);
}

/* ----------------------------------------------------------------
  引用（core/quote）
---------------------------------------------------------------- */
:root :where(.wp-block-quote) {
  padding: 0.5em 0 0.5em 1em;
  border-inline-start: 3px solid var(--wp--preset--color--border);
  box-shadow: none;
}
:root :where(.wp-block-quote) cite,
:root :where(.wp-block-quote) .wp-block-quote__citation {
  display: block;
  margin-block-start: 0.75em;
  font-size: var(--wp--preset--font-size--small);
  color: var(--wp--preset--color--muted);
}

/* ----------------------------------------------------------------
  プルクオート（core/pullquote）
---------------------------------------------------------------- */
:root :where(.wp-block-pullquote) {
  padding: 1.5em 1em;
  border-block-start: 1px solid var(--wp--preset--color--border);
  border-block-end: 1px solid var(--wp--preset--color--border);
  text-align: left;
}
:root :where(.wp-block-pullquote) blockquote {
  margin: 0;
  padding: 0;
  border: none;
}
:root :where(.wp-block-pullquote) p {
  margin: 0;
}
:root :where(.wp-block-pullquote) cite,
:root :where(.wp-block-pullquote) .wp-block-pullquote__citation {
  display: block;
  margin-block-start: 1em;
  font-size: var(--wp--preset--font-size--small);
  color: var(--wp--preset--color--muted);
}

/* ----------------------------------------------------------------
  区切り線（core/separator）
  Figma: hr 緑 2px / radius 99
  上下余白: SP 56 / PC 80（セクション間 gap）
---------------------------------------------------------------- */
:root :where(.wp-block-separator) {
  border: none;
  border-radius: 99px;
  background-color: var(--wp--preset--color--main);
  height: 0.125rem;
  margin-block: 3.5rem;
  opacity: 1;
}
@media (width > 960px) {
  :root :where(.wp-block-separator) {
    margin-block: 5rem;
  }
}
:root :where(.wp-block-separator):not(.is-style-wide):not(.is-style-dots) {
  width: 100%;
  max-width: none;
}
:root :where(.wp-block-separator).is-style-wide {
  margin-block: var(--wp--preset--spacing--l);
}
:root :where(.wp-block-separator).is-style-dots {
  height: auto;
  background: none;
  border: none;
  text-align: center;
}
:root :where(.wp-block-separator).is-style-dots::before {
  color: var(--wp--preset--color--muted);
}

/* ----------------------------------------------------------------
  テーブル（core/table）
  Figma: TableBasic（枠線・1列目 surface）
---------------------------------------------------------------- */
:root :where(.wp-block-table) {
  overflow-x: auto;
  width: 100%;
}
:root :where(.wp-block-table) table {
  width: 100%;
  border-collapse: collapse;
}
:root :where(.wp-block-table) thead {
  border: none;
}
:root :where(.wp-block-table) tr {
  border: none;
}
:root :where(.wp-block-table) th,
:root :where(.wp-block-table) td {
  padding: var(--wp--preset--spacing--s);
  border: var(--wp--custom--border--thin) solid var(--wp--preset--color--border);
  vertical-align: top;
  white-space: pre-line;
  background-color: var(--wp--preset--color--base);
}
:root :where(.wp-block-table) th,
:root :where(.wp-block-table) tr > *:first-child {
  width: 5.75rem;
  background-color: var(--wp--preset--color--surface);
}
@media (width > 960px) {
  :root :where(.wp-block-table) th,
  :root :where(.wp-block-table) tr > *:first-child {
    width: 13.25rem;
  }
}
:root :where(.wp-block-table) figcaption {
  margin-block-start: 0.5em;
  font-size: var(--wp--preset--font-size--small);
  color: var(--wp--preset--color--muted);
}

/* ----------------------------------------------------------------
  コード（core/code）
---------------------------------------------------------------- */
:root :where(.wp-block-code) {
  padding: 1em 1.25em;
  overflow-x: auto;
  background-color: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--border);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--wp--preset--font-size--small);
}
:root :where(.wp-block-code) code {
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
}

/* ----------------------------------------------------------------
  整形済みテキスト（core/preformatted）
---------------------------------------------------------------- */
:root :where(.wp-block-preformatted) {
  padding: 1em 1.25em;
  overflow-x: auto;
  background-color: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--border);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--wp--preset--font-size--small);
  white-space: pre-wrap;
}

/* ----------------------------------------------------------------
  カラム（core/columns）
---------------------------------------------------------------- */
:root :where(.wp-block-columns) {
  gap: var(--wp--preset--spacing--m);
}
@media (width > 782px) {
  :root :where(.wp-block-columns) {
    gap: var(--wp--preset--spacing--l);
  }
}

/* ----------------------------------------------------------------
  グループ（core/group）基本
---------------------------------------------------------------- */
/* =================================================================
  見出し・タイトル
================================================================= */
/* ----------------------------------------------------------------
  基本タイトル（ブロック見出しの余白など、common にない差分のみ）
---------------------------------------------------------------- */
:root :where(.wp-block-heading):not(:first-child) {
  margin-block-start: var(--wp--preset--spacing--xl);
}

:root :where(h1.wp-block-heading) {
  font-size: var(--wp--preset--font-size--xx-large);
}

:root :where(h2.wp-block-heading) {
  font-size: var(--wp--preset--font-size--xx-large);
}
@media (width > 782px) {
  :root :where(h2.wp-block-heading) {
    font-size: 2.125rem;
  }
}

:root :where(h3.wp-block-heading) {
  font-size: var(--wp--preset--font-size--x-large);
}

:root :where(h4.wp-block-heading) {
  font-size: var(--wp--preset--font-size--large);
}
@media (width > 782px) {
  :root :where(h4.wp-block-heading) {
    font-size: 1.25rem;
  }
}

:root :where(h5.wp-block-heading) {
  font-size: var(--wp--preset--font-size--medium);
}

:root :where(h6.wp-block-heading) {
  font-size: var(--wp--preset--font-size--medium);
}

/* ----------------------------------------------------------------
  見出し：背景色あり（Figma: Title type=4 / SP 385:1225・PC 306:314）
  色・太字は theme.json variations.bg。差分のみ記載
---------------------------------------------------------------- */
:root :where(.wp-block-heading.is-style-bg) {
  width: 100%;
  padding: 0.375rem 0.875rem 0.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
}
@media (width > 782px) {
  :root :where(.wp-block-heading.is-style-bg) {
    padding: 0.375rem 1rem 0.5rem;
    font-size: 1.5rem;
  }
}

/* ----------------------------------------------------------------
  見出し：丸付き（Figma: heading / SP 940:7126・PC 940:7124）
  太字・行間は theme.json variations.dot。差分のみ記載
---------------------------------------------------------------- */
:root :where(.wp-block-heading.is-style-dot) {
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
  font-size: 1.625rem;
  line-height: 1.6;
}
@media (width > 782px) {
  :root :where(.wp-block-heading.is-style-dot) {
    font-size: 2.25rem;
  }
}
:root :where(.wp-block-heading.is-style-dot)::before {
  content: "●";
  flex-shrink: 0;
  color: var(--wp--preset--color--sub);
}

/* =================================================================
  ボタン
================================================================= */
/* ----------------------------------------------------------------
    ボタン 個別（Figma: button-wrapper / 40:318）
  ---------------------------------------------------------------- */
:root :where(.wp-block-button) {
  width: auto;
}
:root :where(.wp-block-button) .wp-block-button__link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75em 1.75em;
  background-color: var(--wp--preset--color--accent);
  border: 1px solid var(--wp--preset--color--accent);
  border-radius: 5px;
  font-family: var(--wp--preset--font-family--rounded);
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  color: var(--wp--preset--color--on-accent);
  position: relative;
  transition: all 0.15s;
}
@media (width > 782px) {
  :root :where(.wp-block-button) .wp-block-button__link {
    padding: 0.65em 1.75em;
    font-size: 1.25rem;
    border-radius: var(--wp--custom--radius--m);
  }
}
:root :where(.wp-block-button) .wp-block-button__link:link, :root :where(.wp-block-button) .wp-block-button__link:visited {
  color: var(--wp--preset--color--on-accent);
}
:root :where(.wp-block-button) .wp-block-button__link:hover, :root :where(.wp-block-button) .wp-block-button__link:focus, :root :where(.wp-block-button) .wp-block-button__link:active {
  opacity: 1;
  background-color: var(--wp--preset--color--base);
  border-color: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--accent);
}

/* ----------------------------------------------------------------
    ボタン 小（Figma: type=1 size=s / 145:290・348:1649）
  ---------------------------------------------------------------- */
:root :where(.wp-block-button.is-style-small) .wp-block-button__link {
  padding: 0.625rem 1rem;
  border-radius: 5px;
  font-size: 0.9375rem;
}
@media (width > 782px) {
  :root :where(.wp-block-button.is-style-small) .wp-block-button__link {
    padding: 0.625rem 1rem 0.5rem;
    font-size: 0.9375rem;
  }
}

/* ----------------------------------------------------------------
    ボタン 大（Figma: type=1 size=l / 336:465・348:1651）
  ---------------------------------------------------------------- */
:root :where(.wp-block-button.is-style-large) .wp-block-button__link {
  padding: 1.25rem 2rem;
  border-radius: var(--wp--custom--radius--m);
  font-size: 1.125rem;
  line-height: 1;
}
@media (width > 782px) {
  :root :where(.wp-block-button.is-style-large) .wp-block-button__link {
    padding: 1.5rem 3rem;
    font-size: 1.625rem;
  }
}

/* =================================================================
  リスト
================================================================= */
/* ----------------------------------------------------------------
  ベーススタイル
---------------------------------------------------------------- */
:root :where(.wp-block-list) {
  padding-inline-start: 1.5em;
}
:root :where(.wp-block-list) li {
  margin-block-end: 0.5em;
}
:root :where(.wp-block-list) li::marker {
  font-size: 0.75em;
}

/* ----------------------------------------------------------------
  パンくずリスト
---------------------------------------------------------------- */
:root :where(.wp-block-breadcrumbs) + * {
  margin-block-start: 0;
}
:root :where(.wp-block-breadcrumbs) {
  margin-block-start: 0.5rem;
  margin-block-end: 2.5rem;
}
@media (width > 782px) {
  :root :where(.wp-block-breadcrumbs) {
    margin-block-start: 1rem;
    margin-block-end: 4.5rem;
  }
}
:root :where(.wp-block-breadcrumbs) li {
  font-size: 0.75rem;
}
@media (width > 782px) {
  :root :where(.wp-block-breadcrumbs) li {
    font-size: 0.875rem;
  }
}
:root :where(.wp-block-breadcrumbs) li:not(:last-child)::after {
  content: "";
  align-self: stretch;
  margin: 0 8px;
  width: 4px;
  background-color: var(--wp--preset--color--main);
  mask-image: url("../assets/images/common/icon-arrow1.svg");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  opacity: 1;
}
@media (width > 782px) {
  :root :where(.wp-block-breadcrumbs) li:not(:last-child)::after {
    margin: 0 12px;
    width: 6px;
  }
}
:root :where(.wp-block-breadcrumbs) li a {
  text-decoration: none;
  color: var(--wp--preset--color--contrast);
}
:root :where(.wp-block-breadcrumbs) li a:hover, :root :where(.wp-block-breadcrumbs) li a:focus, :root :where(.wp-block-breadcrumbs) li a:active {
  opacity: 1;
  color: var(--wp--preset--color--main);
}

/* ----------------------------------------------------------------
  クエリループ（記事一覧）
  Figma: 437:3332 / SP: 925:7220 / PC: 925:6930
---------------------------------------------------------------- */
:root :where(.wp-block-query) .wp-block-post-template {
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0;
}
:root :where(.wp-block-query) .wp-block-post-template.is-layout-flex {
  flex-direction: column;
  align-items: center;
}
:root :where(.wp-block-query) .wp-block-post {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-block: 1rem;
  border-bottom: 1px dashed var(--wp--preset--color--main);
}
:root :where(.wp-block-query) .wp-block-post-date {
  flex-shrink: 0;
  margin: 0;
  font-size: var(--wp--preset--font-size--small);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
:root :where(.wp-block-query) .wp-block-post-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: var(--wp--preset--font-size--medium);
}
:root :where(.wp-block-query) .wp-block-post-title a {
  text-decoration: none;
  color: var(--wp--preset--color--contrast);
}
:root :where(.wp-block-query) .wp-block-post-title a:link, :root :where(.wp-block-query) .wp-block-post-title a:visited {
  color: var(--wp--preset--color--contrast);
}
:root :where(.wp-block-query) .wp-block-post-title a:hover, :root :where(.wp-block-query) .wp-block-post-title a:focus, :root :where(.wp-block-query) .wp-block-post-title a:active {
  opacity: 1;
  color: var(--wp--preset--color--main);
}

/* ----------------------------------------------------------------
  ページネーション（Figma: page-nation / 925:6931）
---------------------------------------------------------------- */
:root :where(.wp-block-query-pagination) {
  margin-block-start: 4rem;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  line-height: 1;
}
:root :where(.wp-block-query-pagination) .wp-block-query-pagination-numbers {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
:root :where(.wp-block-query-pagination) .wp-block-query-pagination-numbers .page-numbers {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  background-color: transparent;
  line-height: 1.8;
  white-space: nowrap;
}
:root :where(.wp-block-query-pagination) .wp-block-query-pagination-numbers .page-numbers:link, :root :where(.wp-block-query-pagination) .wp-block-query-pagination-numbers .page-numbers:visited {
  text-decoration: none;
  color: var(--wp--preset--color--contrast);
}
:root :where(.wp-block-query-pagination) .wp-block-query-pagination-numbers .page-numbers:hover, :root :where(.wp-block-query-pagination) .wp-block-query-pagination-numbers .page-numbers:active {
  opacity: 1;
  background-color: var(--wp--preset--color--main);
  color: var(--wp--preset--color--base);
}
:root :where(.wp-block-query-pagination) .wp-block-query-pagination-numbers .page-numbers.current {
  background-color: var(--wp--preset--color--main);
  color: var(--wp--preset--color--base);
}
:root :where(.wp-block-query-pagination) .wp-block-query-pagination-numbers .page-numbers.dots {
  background-color: transparent;
}
:root :where(.wp-block-query-pagination) .wp-block-query-pagination-numbers .page-numbers.dots:hover, :root :where(.wp-block-query-pagination) .wp-block-query-pagination-numbers .page-numbers.dots:active {
  background-color: transparent;
}
:root :where(.wp-block-query-pagination) .wp-block-query-pagination-previous,
:root :where(.wp-block-query-pagination) .wp-block-query-pagination-next {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
  color: transparent;
  text-decoration: none;
  background-color: var(--wp--preset--color--contrast);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 0.4375rem 0.8125rem;
  mask-size: 0.4375rem 0.8125rem;
  -webkit-mask-image: url("../assets/images/common/icon-arrow-nav.svg");
  mask-image: url("../assets/images/common/icon-arrow-nav.svg");
  transition: opacity 0.3s ease 0s;
}
:root :where(.wp-block-query-pagination) .wp-block-query-pagination-previous:hover,
:root :where(.wp-block-query-pagination) .wp-block-query-pagination-next:hover {
  opacity: 0.6;
}
:root :where(.wp-block-query-pagination) .wp-block-query-pagination-previous {
  transform: scaleX(-1);
}

/* =================================================================
  テキスト・注釈
================================================================= */
/* ----------------------------------------------------------------
  ブロック
---------------------------------------------------------------- */
:root :where(.wp-block-footnotes) {
  list-style: none; /* デフォルトの番号を消す */
  counter-reset: custom-counter; /* カウンターをリセット */
  padding: 1em 2em 1em 3em;
  border: 1px solid var(--wp--preset--color--border);
  font-size: 95%;
}
@media (width > 782px) {
  :root :where(.wp-block-footnotes) {
    padding: 2em 2em 2em 3.5em;
    font-size: 85%;
  }
}
:root :where(.wp-block-footnotes) li {
  counter-increment: custom-counter; /* 各リスト項目でカウンターを増加 */
  scroll-margin-block-start: 30vh;
  padding-inline-start: 1em;
}
:root :where(.wp-block-footnotes) li::marker {
  content: "※" counter(custom-counter); /* "※" + 数字 */
}

/* ----------------------------------------------------------------
  テキストスタイル（記事タイトル）
---------------------------------------------------------------- */
:root :where(.wp-block-post-title) {
  font-size: var(--wp--preset--font-size--headline);
  font-weight: 400;
  line-height: 1.5;
}
@media (width > 782px) {
  :root :where(.wp-block-post-title) {
    font-size: 2.5rem;
  }
}

.single :where(.wp-block-post-title) {
  font-weight: 600;
}
/* ----------------------------------------------------------------
  テキストスタイル（日付）
---------------------------------------------------------------- */
:root :where(.wp-block-post-date) {
  margin-block-start: 0;
  margin-block-end: 1rem;
  font-size: var(--wp--preset--font-size--small);
}
@media (width > 782px) {
  :root :where(.wp-block-post-date) {
    margin-block-end: 2rem;
  }
}

/* ----------------------------------------------------------------
  テキストスタイル（ターム）
---------------------------------------------------------------- */
:root :where(.wp-block-post-terms) {
  font-size: var(--wp--preset--font-size--small);
}

:root :where(.wp-block-post-terms.taxonomy-works_category) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
}
:root :where(.wp-block-post-terms.taxonomy-works_category) .wp-block-post-terms__separator {
  display: none;
}
:root :where(.wp-block-post-terms.taxonomy-works_category) a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.125rem 0.5rem;
  background-color: var(--wp--preset--color--main);
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  color: var(--wp--preset--color--base);
}
:root :where(.wp-block-post-terms.taxonomy-works_category) a:link, :root :where(.wp-block-post-terms.taxonomy-works_category) a:visited {
  color: var(--wp--preset--color--base);
}
:root :where(.wp-block-post-terms.taxonomy-works_category) a:hover, :root :where(.wp-block-post-terms.taxonomy-works_category) a:focus, :root :where(.wp-block-post-terms.taxonomy-works_category) a:active {
  opacity: 0.85;
  color: var(--wp--preset--color--base);
}

:root :where(.wp-block-post-terms.taxonomy-works_category + .wp-block-post-title) {
  margin-block-start: 0.25rem;
}

/* =================================================================
  グループ・メディアと文章
================================================================= */
/* ----------------------------------------------------------------
  標準ブロック
---------------------------------------------------------------- */
:root :where(.wp-block-media-text) {
  gap: var(--wp--preset--spacing--m);
}
@media (width > 782px) {
  :root :where(.wp-block-media-text) {
    gap: 0;
  }
}

/* ----------------------------------------------------------------
  ヘッダー
  templates/*.html の template-part（tagName="header" className="site-header"）
  → <header class="wp-block-template-part site-header"> に適用される
---------------------------------------------------------------- */
.site-header {
  margin-inline: 16px;
  padding-inline: 18px;
  position: fixed;
  top: 16px;
  z-index: 100;
  width: calc(100% - 32px);
  height: 54px;
  background-color: var(--wp--preset--color--base);
  border-radius: 999px;
  /* drop-shadow-2 */
  box-shadow: 0 2px 10px 0 rgba(7, 25, 0, 0.25);
  font-family: var(--wp--preset--font-family--rounded);
}
@media (width > 960px) {
  .site-header {
    left: 0;
    right: 0;
    margin-inline: auto;
    padding-inline: clamp(2rem, 3.3333333333vw, 3rem);
    top: 40px;
    width: calc(100% - 5.5555555556cqw);
    max-width: 1400px;
    height: 89px;
  }
}
.site-header .inner {
  height: 100%;
  gap: 10px;
}
@media (width > 960px) {
  .site-header .inner {
    justify-content: space-between;
    gap: 24px;
  }
}
.site-header .header-in-contact-button {
  margin-left: auto;
}
@media (width > 960px) {
  .site-header .header-in-contact-button {
    display: none;
  }
}
.site-header .header-in-contact-button .wp-block-button__link {
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--wp--preset--color--accent);
  border-radius: var(--wp--custom--radius--s);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.site-header .header-in-contact-button .wp-block-button__link:hover, .site-header .header-in-contact-button .wp-block-button__link:focus, .site-header .header-in-contact-button .wp-block-button__link:active {
  opacity: 1;
  background-color: var(--wp--preset--color--base);
  border-color: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--accent);
}

.header-logo {
  flex-shrink: 0;
  width: 152px;
  height: auto;
}
@media (width > 960px) {
  .header-logo {
    width: clamp(11.125rem, 18.5416666667vw, 16.6875rem);
  }
}

/* ----------------------------------------------------------------
  ナビゲーション
  オーバーレイの開閉はコア CSS に任せる
---------------------------------------------------------------- */
@media (width <= 960px) {
  .site-header .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex;
  }
  .site-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none;
    position: fixed;
  }
}
.site-header .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) {
  background-color: #7abfe8;
  background-image: url("../assets/images/common/bg-sp-gmenu.webp");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block-start: clamp(40px, 10dvh, 96px);
}
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
  margin-block-start: 0;
}
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  color: var(--wp--preset--color--base);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}
.site-header .wp-block-navigation__responsive-container.is-menu-open .link-contact {
  padding-block-start: 16px;
  margin-inline-start: 0;
}
.site-header .wp-block-navigation__responsive-container.is-menu-open .link-contact .wp-block-navigation-item__content {
  padding: 20px 40px;
  border-radius: var(--wp--custom--radius--m);
  line-height: 1;
}

/* ----------------------------------------------------------------
  お問い合わせ（.link-contact）
  基本スタイル。サイズは PC（LG〜）で fluid、SP開閉時は上で上書き
---------------------------------------------------------------- */
.site-header .link-contact .wp-block-navigation-item__content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  background-color: var(--wp--preset--color--accent);
  border: 1px solid var(--wp--preset--color--accent);
  border-radius: 6px;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  color: var(--wp--preset--color--on-accent);
  transition: all 0.15s;
}
.site-header .link-contact .wp-block-navigation-item__content:link, .site-header .link-contact .wp-block-navigation-item__content:visited {
  text-decoration: none;
  color: var(--wp--preset--color--on-accent);
}
.site-header .link-contact .wp-block-navigation-item__content:hover, .site-header .link-contact .wp-block-navigation-item__content:focus, .site-header .link-contact .wp-block-navigation-item__content:active {
  opacity: 1;
  background-color: var(--wp--preset--color--base);
  border-color: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--accent);
}
.site-header .link-contact.current-menu-item > .wp-block-navigation-item__content, .site-header .link-contact.current-menu-item > .wp-block-navigation-item__content:link, .site-header .link-contact.current-menu-item > .wp-block-navigation-item__content:visited {
  color: var(--wp--preset--color--on-accent);
}
.site-header .link-contact.current-menu-item > .wp-block-navigation-item__content:hover, .site-header .link-contact.current-menu-item > .wp-block-navigation-item__content:focus, .site-header .link-contact.current-menu-item > .wp-block-navigation-item__content:active {
  color: var(--wp--preset--color--accent);
}

/* ----------------------------------------------------------------
  ハンバーガー（Figma: Frame 172 / 355:1693）
  36×30・main・radius 4px・白3本線（20×2 / gap 4px）
---------------------------------------------------------------- */
.site-header .main-nav-wrapper {
  flex-shrink: 0;
}

.site-header .wp-block-navigation__responsive-container-open {
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  min-width: 34px;
  height: 30px;
  padding: 8px;
  background-color: var(--wp--preset--color--main);
  border-radius: var(--wp--custom--radius--s);
  color: var(--wp--preset--color--base);
}
.site-header .wp-block-navigation__responsive-container-open svg {
  display: none;
}
.site-header .wp-block-navigation__responsive-container-open::before {
  content: "";
  display: block;
  width: 20px;
  height: 14px;
  background: linear-gradient(to bottom, currentColor 0 2px, transparent 2px 6px, currentColor 6px 8px, transparent 8px 12px, currentColor 12px 14px);
}
.site-header .wp-block-navigation__responsive-container-open:hover, .site-header .wp-block-navigation__responsive-container-open:focus, .site-header .wp-block-navigation__responsive-container-open:active {
  opacity: 0.85;
}

@media (width > 960px) {
  .site-header .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: none;
  }
}
/* ----------------------------------------------------------------
  閉じる（Figma: Frame 172 / 385:1502）
  36×30・base・radius・accentの×（20×2）
---------------------------------------------------------------- */
.site-header .wp-block-navigation__responsive-container-close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 28px;
  right: 34px;
  flex-shrink: 0;
  width: 34px;
  min-width: 34px;
  height: 30px;
  padding: 0;
  background-color: var(--wp--preset--color--base);
  border-radius: var(--wp--custom--radius--s);
  color: var(--wp--preset--color--accent);
}
.site-header .wp-block-navigation__responsive-container-close svg {
  display: none;
}
.site-header .wp-block-navigation__responsive-container-close::before, .site-header .wp-block-navigation__responsive-container-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-block-start: -1px;
  margin-inline-start: -10px;
  background-color: currentColor;
}
.site-header .wp-block-navigation__responsive-container-close::before {
  transform: rotate(45deg);
}
.site-header .wp-block-navigation__responsive-container-close::after {
  transform: rotate(-45deg);
}
.site-header .wp-block-navigation__responsive-container-close:hover, .site-header .wp-block-navigation__responsive-container-close:focus, .site-header .wp-block-navigation__responsive-container-close:active {
  opacity: 0.85;
}

.main-nav-wrapper .wp-block-navigation-item {
  margin-block-start: 0;
}

.main-nav-wrapper .wp-block-navigation-item__content {
  padding: 0;
  text-decoration: none;
  color: var(--wp--preset--color--contrast);
}
.main-nav-wrapper .wp-block-navigation-item__content:link, .main-nav-wrapper .wp-block-navigation-item__content:visited {
  text-decoration: none;
  color: var(--wp--preset--color--contrast);
}

@media (width > 960px) {
  .site-header .main-nav-wrapper .wp-block-navigation__container {
    gap: clamp(1rem, 1.6666666667vw, 1.75rem);
    align-items: center;
  }
  .site-header .main-nav-wrapper .wp-block-navigation-item:not(.link-contact) > .wp-block-navigation-item__content {
    padding-block: clamp(0.625rem, 1.0416666667vw, 1rem);
    font-size: clamp(0.875rem, 1.4583333333vw, 1.1875rem);
    font-weight: 500;
    line-height: 1;
  }
  .site-header .main-nav-wrapper .wp-block-navigation-item:not(.link-contact) > .wp-block-navigation-item__content:hover, .site-header .main-nav-wrapper .wp-block-navigation-item:not(.link-contact) > .wp-block-navigation-item__content:focus, .site-header .main-nav-wrapper .wp-block-navigation-item:not(.link-contact) > .wp-block-navigation-item__content:active {
    color: var(--wp--preset--color--main);
  }
  .main-nav-wrapper .current-menu-item:not(.link-contact) > .wp-block-navigation-item__content,
  .main-nav-wrapper .current-menu-item:not(.link-contact) > .wp-block-navigation-item__content:link,
  .main-nav-wrapper .current-menu-item:not(.link-contact) > .wp-block-navigation-item__content:visited,
  .main-nav-wrapper .current-menu-item:not(.link-contact) > .wp-block-navigation-item__content:hover {
    color: var(--wp--preset--color--main);
  }
  .site-header .link-contact {
    margin-inline-start: clamp(0.125rem, 0.2083333333vw, 0.25rem);
  }
  .site-header .link-contact .wp-block-navigation-item__content {
    padding: clamp(0.4375rem, 0.7291666667vw, 0.625rem) clamp(0.6875rem, 1.1458333333vw, 1rem);
    font-size: clamp(1rem, 1.6666666667vw, 1.25rem);
  }
}
/* ----------------------------------------------------------------
  footer（Figma: c:site-footer__inner / 385:709）
  SP: 縦積み中央 / PC: 2カラム grid
---------------------------------------------------------------- */
.site-footer {
  padding-block: 32px 8px;
  background-color: var(--wp--preset--color--base);
}
@media (width > 782px) {
  .site-footer {
    padding-block: 40px 16px;
  }
}
.site-footer .site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--wp--preset--spacing--xl);
  width: 100%;
}
@media (width > 782px) {
  .site-footer .site-footer__inner {
    display: grid;
    grid-template-columns: max-content 1fr;
    grid-template-areas: "info nav" "info other" ". copyright";
    column-gap: 1.25rem;
    row-gap: 1rem;
    align-items: start;
  }
  .site-footer .site-footer__inner > * {
    margin-block-start: 0;
  }
}
.site-footer .wp-block-navigation {
  width: 100%;
  justify-content: stretch;
}
.site-footer .wp-block-navigation .wp-block-navigation__container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
  row-gap: 0.5rem;
  width: 100%;
  gap: 0.5rem 1rem;
}
.site-footer .wp-block-navigation .wp-block-navigation-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-block-start: 0;
  width: 100%;
}
.site-footer .wp-block-navigation .wp-block-navigation-item__content {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9375rem;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  color: var(--wp--preset--color--contrast);
}
.site-footer .wp-block-navigation .wp-block-navigation-item__content:link, .site-footer .wp-block-navigation .wp-block-navigation-item__content:visited {
  text-decoration: none;
  color: var(--wp--preset--color--contrast);
}
.site-footer .wp-block-navigation .wp-block-navigation-item__content:hover, .site-footer .wp-block-navigation .wp-block-navigation-item__content:focus, .site-footer .wp-block-navigation .wp-block-navigation-item__content:active {
  color: var(--wp--preset--color--main);
}
.site-footer .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content:link,
.site-footer .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content:visited {
  color: var(--wp--preset--color--contrast);
}
.site-footer .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content:hover,
.site-footer .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content:focus,
.site-footer .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content:active {
  color: var(--wp--preset--color--main);
}
@media (width > 782px) {
  .site-footer .wp-block-navigation {
    grid-area: nav;
    width: 100%;
    justify-self: stretch;
  }
  .site-footer .wp-block-navigation .wp-block-navigation__container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem 1.25rem;
    width: 100%;
  }
  .site-footer .wp-block-navigation .wp-block-navigation-item {
    width: auto;
    justify-content: flex-start;
  }
  .site-footer .wp-block-navigation .wp-block-navigation-item__content {
    justify-content: flex-start;
    text-align: left;
  }
}
.site-footer .footer-information {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.site-footer .footer-information .logo,
.site-footer .footer-information .footer-information__logo,
.site-footer .footer-information .wp-block-site-logo {
  width: 13rem;
  max-width: 100%;
  height: auto;
  margin: 0;
  line-height: 0;
}
.site-footer .footer-information .logo img,
.site-footer .footer-information .footer-information__logo img,
.site-footer .footer-information .wp-block-site-logo img {
  width: 100%;
  height: auto;
  display: block;
}
.site-footer .footer-information .site-footer__inner__data,
.site-footer .footer-information .footer-information__data {
  margin: 0;
  font-size: 0.9375rem;
  text-align: center;
  white-space: pre-line;
}
.site-footer .footer-information .site-footer__inner__data p,
.site-footer .footer-information .footer-information__data p {
  margin: 0;
}
.site-footer .footer-information .site-footer__inner__kyoka,
.site-footer .footer-information .footer-information__kyoka {
  margin: 0;
  font-size: 0.875rem;
  text-align: center;
}
@media (width > 782px) {
  .site-footer .footer-information {
    grid-area: info;
    justify-self: start;
    align-items: flex-start;
    text-align: left;
  }
  .site-footer .footer-information .site-footer__inner__data,
  .site-footer .footer-information .footer-information__data,
  .site-footer .footer-information .site-footer__inner__kyoka,
  .site-footer .footer-information .footer-information__kyoka {
    text-align: left;
  }
}
.site-footer .footer-other-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}
.site-footer .footer-other-link .site-footer__inner__item,
.site-footer .footer-other-link .footer-other-link__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}
.site-footer .footer-other-link .item-syacho {
  gap: 0.375rem;
}
.site-footer .footer-other-link .item-syacho .wp-block-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin: 0;
  padding: 0.75rem;
  background-color: var(--wp--preset--color--base);
  border: var(--wp--custom--border--thin) solid var(--wp--preset--color--border);
  line-height: 0;
}
.site-footer .footer-other-link .item-syacho .wp-block-image img {
  width: 7.3125rem;
  height: auto;
}
.site-footer .footer-other-link .item-syacho p {
  margin: 0;
  font-size: 0.625rem;
  line-height: 1.4;
  text-align: center;
}
.site-footer .footer-other-link .item-sdgs {
  gap: 1rem;
  width: 100%;
}
.site-footer .footer-other-link .item-sdgs .item-sdgs__logo {
  width: 13rem;
  margin: 0;
  line-height: 0;
}
.site-footer .footer-other-link .item-sdgs .item-sdgs__logo img {
  width: 100%;
  height: auto;
}
.site-footer .footer-other-link .item-sdgs .item-sdgs__badge {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  line-height: 0;
}
.site-footer .footer-other-link .item-sdgs .item-sdgs__badge .wp-block-image {
  width: 3.125rem;
  height: 3.125rem;
  margin: 0;
  line-height: 0;
}
.site-footer .footer-other-link .item-sdgs .item-sdgs__badge .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (width > 782px) {
  .site-footer .footer-other-link {
    margin-block-start: 3.75rem;
    grid-area: other;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem 2.5rem;
    width: 100%;
    justify-self: stretch;
  }
  .site-footer .footer-other-link .item-sdgs {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    width: auto;
  }
}
.site-footer .copyright {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.03em;
}
@media (width > 782px) {
  .site-footer .copyright {
    grid-area: copyright;
    font-size: 0.75rem;
    width: 100%;
    justify-self: stretch;
    text-align: right;
  }
}

/* ----------------------------------------------------------------
  ページトップボタン
  functions.php が wp_footer で出力する（THEME_USE_PAGE_TOP で切り替え）
---------------------------------------------------------------- */
button.page-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--wp--preset--color--accent);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
@media (width > 782px) {
  button.page-top {
    right: 24px;
    bottom: 24px;
  }
}
button.page-top::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-block-start: 4px;
  border-block-start: 2px solid var(--wp--preset--color--on-accent);
  border-inline-end: 2px solid var(--wp--preset--color--on-accent);
  transform: rotate(-45deg);
}

button.page-top.is-fixed {
  opacity: 1;
  visibility: visible;
}

.wp-site-blocks {
  padding-block-start: 108px;
}
@media (width > 960px) {
  .wp-site-blocks {
    padding-block-start: 222px;
  }
}

.main-content {
  padding-block-end: 110.2564102564vw;
}
@media (width > 782px) {
  .main-content {
    padding-block-end: 56.9444444444vw;
  }
}
.main-content .inner {
  display: flex;
  padding: var(--space-inner-padding-inline, 32px) var(--space-inner-padding-block, 24px);
  flex-direction: column;
  align-items: stretch;
  border-radius: var(--space-corner-round-large, 16px);
  background: var(--Surface-Base, #fff);
  /* drop-shadow-1 */
  box-shadow: 0 4px 16px 0 rgba(7, 25, 0, 0.25);
}
@media (width > 960px) {
  .main-content .inner {
    padding: var(--space-inner-padding-block, 72px);
    border-radius: var(--space-corner-round-large, 20px);
  }
}

/* ----------------------------------------------------------------
  Section
  ブロックスタイル「セクション余白」の調整
  基本の上マージンは theme.json の
  styles.blocks.core/group.variations.section で定義（.wp-block-group.is-style-section）
  ここでは theme.json では表現できない条件分岐だけを扱う
---------------------------------------------------------------- */
.wp-block-group.is-style-section .inner {
  display: flex;
  padding: var(--space-inner-padding-inline, 32px) var(--space-inner-padding-block, 24px);
  flex-direction: column;
  align-items: stretch;
  border-radius: var(--space-corner-round-large, 16px);
  background: var(--Surface-Base, #fff);
  /* drop-shadow-1 */
  box-shadow: 0 4px 16px 0 rgba(7, 25, 0, 0.25);
}
@media (width > 960px) {
  .wp-block-group.is-style-section .inner {
    padding: var(--space-inner-padding-block, 72px);
    border-radius: var(--space-corner-round-large, 20px);
  }
}

.site-header + .wp-block-group.is-style-section,
.wp-block-post-content > .wp-block-group.is-style-section:first-child {
  margin-block-start: 0;
}

.wp-block-group.is-style-section.has-background {
  margin-block-start: 0;
  padding-block: var(--wp--preset--spacing--section);
}

.wp-block-group.is-style-section.has-background + * {
  margin-block-start: 0;
}

/* ----------------------------------------------------------------
  共通コンポーネント
---------------------------------------------------------------- */
/* ----------------------------------------------------------------
  セクション（.sec）
---------------------------------------------------------------- */
.sec {
  scroll-margin-block-start: calc(54px + 10rem);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
}
@media (width > 960px) {
  .sec {
    scroll-margin-block-start: calc(89px + 10rem);
  }
}
.sec > * {
  margin-block-start: 0;
}
.sec > .wp-block-heading {
  margin: 0;
  font-size: 1.625rem;
}
@media (width > 960px) {
  .sec > .wp-block-heading {
    font-size: 2.5rem;
  }
}
.sec h3.wp-block-heading {
  margin: 0;
  font-size: 1.5rem;
}

.anchor-navi + .sec,
.anchor-navi + * + .sec {
  margin-block-start: 2.5rem;
}
@media (width > 960px) {
  .anchor-navi + .sec,
  .anchor-navi + * + .sec {
    margin-block-start: 5rem;
  }
}

/* ----------------------------------------------------------------
  グループブロック1（.groupblock-1）
  SP: 縦積み（画像上） / PC: 本文 + 画像 横並び
---------------------------------------------------------------- */
.groupblock-1 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--wp--preset--spacing--m);
  width: 100%;
}
.groupblock-1 > * {
  margin-block-start: 0;
}
.groupblock-1 .contents-image {
  order: -1;
}
@media (width > 960px) {
  .groupblock-1 {
    flex-direction: row;
    align-items: flex-start;
    gap: 5rem;
  }
  .groupblock-1 .contents-image {
    order: 0;
  }
}

/* ----------------------------------------------------------------
  本文カラム（.contents-body）
---------------------------------------------------------------- */
.contents-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  flex: 1 1 auto;
  min-width: 0;
}
.contents-body > * {
  margin-block-start: 0;
}

/* ----------------------------------------------------------------
  矢印付きテキストリンク（.text-link）
  Figma: button type 2/3（40:318）— M PLUS Rounded 1c
---------------------------------------------------------------- */
.text-link {
  margin: 0;
}
.text-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  font-family: var(--wp--preset--font-family--rounded);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  color: var(--wp--preset--color--contrast);
}
.text-link a:link, .text-link a:visited {
  color: var(--wp--preset--color--contrast);
}
.text-link a:hover, .text-link a:focus, .text-link a:active {
  opacity: 1;
  color: var(--wp--preset--color--main);
}
.text-link a::after {
  content: "";
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  background-color: var(--wp--preset--color--main);
  -webkit-mask-image: url("../assets/images/common/icon-arrow-nav.svg");
  mask-image: url("../assets/images/common/icon-arrow-nav.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 0.4375rem 0.8125rem;
  mask-size: 0.4375rem 0.8125rem;
}

/* ----------------------------------------------------------------
  グループブロック2（.blockgroup-2）
  画像枠 + 本文（SP: 縦 / PC: 横）
---------------------------------------------------------------- */
.blockgroup-2 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--wp--preset--spacing--s);
  width: 100%;
}
.blockgroup-2 > * {
  margin-block-start: 0;
}
.blockgroup-2 + .blockgroup-2 {
  margin-block-start: 3rem;
}
.blockgroup-2 .contents-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  aspect-ratio: 310/166;
  border: var(--wp--custom--border--thin) solid var(--wp--preset--color--border);
  background-color: var(--wp--preset--color--base);
}
.blockgroup-2 .contents-image img {
  width: auto;
  max-width: 80%;
  height: auto;
  max-height: 80%;
  object-fit: contain;
}
.blockgroup-2 .contents-body {
  gap: var(--wp--preset--spacing--s);
}
.blockgroup-2 .contents-body > .wp-block-heading {
  margin: 0;
  font-size: var(--wp--preset--font-size--large);
}
@media (width > 960px) {
  .blockgroup-2 .contents-body > .wp-block-heading {
    font-size: 1.5rem;
  }
}
.blockgroup-2 .contents-body > .wp-block-paragraph {
  margin: 0;
  font-size: var(--wp--preset--font-size--small);
}
@media (width > 960px) {
  .blockgroup-2 .contents-body > .wp-block-paragraph {
    font-size: var(--wp--preset--font-size--medium);
  }
}
.blockgroup-2 .contents-body .wp-block-buttons + .wp-block-paragraph {
  font-size: var(--wp--preset--font-size--small);
}
.blockgroup-2 .wp-block-buttons {
  width: 100%;
}
@media (width > 960px) {
  .blockgroup-2 .wp-block-buttons {
    width: auto;
  }
}
.blockgroup-2 .wp-block-button {
  width: 100%;
}
@media (width > 960px) {
  .blockgroup-2 .wp-block-button {
    width: auto;
  }
}
.blockgroup-2 .wp-block-button__link {
  gap: 0.375rem;
  width: 100%;
  padding: 0.625rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
}
@media (width > 960px) {
  .blockgroup-2 .wp-block-button__link {
    width: auto;
    font-size: 0.9375rem;
  }
}
.blockgroup-2 .wp-block-button__link::after {
  content: "";
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  background-color: currentColor;
  -webkit-mask-image: url("../assets/images/common/icon-external.svg");
  mask-image: url("../assets/images/common/icon-external.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
@media (width > 960px) {
  .blockgroup-2 {
    flex-direction: row;
    align-items: center;
    gap: var(--wp--preset--spacing--l);
  }
  .blockgroup-2 .contents-image {
    flex: 0 0 26.875rem;
    width: 26.875rem;
    height: 14.375rem;
    aspect-ratio: auto;
  }
  .blockgroup-2 .contents-body {
    flex: 1 1 auto;
  }
}

/* ----------------------------------------------------------------
  ページタイトル（.content-title）
  Figma: Title SP / 380:529 / PC 410:2356
  和文・英字ラベルとも M PLUS Rounded 1c（パンくずは Noto のまま）
---------------------------------------------------------------- */
.content-title {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  font-family: var(--wp--preset--font-family--rounded);
}
@media (width > 782px) {
  .content-title {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.9375rem 0.75rem;
  }
}
.content-title::after {
  order: 3;
  content: "";
  display: block;
  width: 100%;
  height: 0.375rem;
  margin-block-start: 0.375rem;
  border-radius: 99px;
  background-color: var(--wp--preset--color--main);
}
@media (width > 782px) {
  .content-title::after {
    height: 0.625rem;
    margin-block-start: 0;
  }
}
.content-title .content-title__label {
  order: 1;
  margin-block-start: 0;
  padding-inline-start: 0.1875rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wp--preset--color--main);
}
@media (width > 782px) {
  .content-title .content-title__label {
    order: 2;
    font-size: 1.625rem;
  }
}
.content-title .content-title__name {
  order: 2;
  font-size: var(--wp--preset--font-size--headline);
  font-weight: 500;
  line-height: 1.2;
}
@media (width > 782px) {
  .content-title .content-title__name {
    order: 1;
    font-size: 3.125rem;
  }
}

/* ----------------------------------------------------------------
  アンカーナビ（.anchor-navi / .navi-item）
  スティッキー挙動は .sticky-item（_sticky.scss）
  Figma: SP 926:9100 / PC 926:9542
---------------------------------------------------------------- */
.anchor-navi {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  width: 100%;
  padding: 1.5rem;
  background-color: var(--wp--preset--color--surface);
}
.anchor-navi > * {
  margin-block-start: 0;
}
@media (width > 960px) {
  .anchor-navi {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding-block: 1.5rem;
    padding-inline: 2rem;
  }
}

.navi-item {
  margin: 0;
}
.navi-item > * {
  margin-block-start: 0;
}
.navi-item p {
  margin: 0;
}
.navi-item a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--wp--preset--font-family--rounded);
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  color: var(--wp--preset--color--contrast);
  white-space: nowrap;
}
@media (width > 960px) {
  .navi-item a {
    font-size: 1.125rem;
  }
}
.navi-item a:link, .navi-item a:visited {
  color: var(--wp--preset--color--contrast);
}
.navi-item a:hover, .navi-item a:focus, .navi-item a:active {
  opacity: 1;
  color: var(--wp--preset--color--main);
}
.navi-item a::after {
  content: "";
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  background-color: var(--wp--preset--color--main);
  -webkit-mask-image: url("../assets/images/common/icon-arrow-circle.svg");
  mask-image: url("../assets/images/common/icon-arrow-circle.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transform: rotate(90deg);
}
.navi-item a:hover::after, .navi-item a:focus::after, .navi-item a:active::after {
  background-color: var(--wp--preset--color--main);
}

/* ----------------------------------------------------------------
  前後ナビ（.post-navigation）
  SP: 442:3691 / PC: 442:3506
---------------------------------------------------------------- */
.post-navigation {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  margin-block-start: 3.5rem;
}
.post-navigation > * {
  margin-block: 0;
}
.post-navigation .post-navigation-link-previous:empty,
.post-navigation .post-navigation-link-next:empty {
  display: none;
}
.post-navigation a {
  text-decoration: none;
  color: var(--wp--preset--color--contrast);
  line-height: 1.7;
}
.post-navigation a:link, .post-navigation a:visited {
  color: var(--wp--preset--color--contrast);
}
.post-navigation a:hover, .post-navigation a:focus, .post-navigation a:active {
  opacity: 1;
  color: var(--wp--preset--color--main);
}
.post-navigation .wp-block-post-navigation-link a {
  display: flex;
  align-items: flex-start;
  gap: 0.3125rem;
  min-width: 0;
}
.post-navigation .post-navigation-link-previous a::before, .post-navigation .post-navigation-link-previous a::after,
.post-navigation .post-navigation-link-next a::before,
.post-navigation .post-navigation-link-next a::after {
  content: "";
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.8125rem;
  background-color: var(--wp--preset--color--main);
  -webkit-mask-image: url("../assets/images/common/icon-arrow-nav.svg");
  mask-image: url("../assets/images/common/icon-arrow-nav.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 0.4375rem 0.8125rem;
  mask-size: 0.4375rem 0.8125rem;
}
.post-navigation .post-navigation-link-previous a {
  justify-content: flex-start;
}
.post-navigation .post-navigation-link-previous a::before {
  transform: scaleX(-1);
}
.post-navigation .post-navigation-link-previous a::after {
  content: none;
}
.post-navigation .post-navigation-link-next a {
  justify-content: flex-end;
  text-align: right;
}
.post-navigation .post-navigation-link-next a::before {
  content: none;
}
.post-navigation .post-navigation__all {
  text-align: center;
}
@media (width > 960px) {
  .post-navigation {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 6.125rem minmax(0, 1fr);
    column-gap: 4rem;
    row-gap: 0;
    align-items: center;
    margin-block-start: 5rem;
  }
  .post-navigation .post-navigation-link-previous {
    grid-column: 1;
    justify-self: stretch;
  }
  .post-navigation .post-navigation__all {
    grid-column: 2;
    justify-self: stretch;
  }
  .post-navigation .post-navigation-link-next {
    grid-column: 3;
    justify-self: stretch;
  }
  .post-navigation .wp-block-post-navigation-link a {
    align-items: center;
    gap: 0.625rem;
    white-space: nowrap;
  }
  .post-navigation .post-navigation-link-previous a::before, .post-navigation .post-navigation-link-previous a::after,
  .post-navigation .post-navigation-link-next a::before,
  .post-navigation .post-navigation-link-next a::after {
    height: 1.25rem;
  }
}

/* ----------------------------------------------------------------
  CTA（Figma: 909:10152 SP / 909:10132 PC）
---------------------------------------------------------------- */
.cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  padding-block: 2.5rem 3.5rem;
  padding-inline: 1rem;
  background-color: #2b8309;
}
@media (width > 782px) {
  .cta {
    gap: 1.5rem;
    padding-block: 4rem 5rem;
    padding-inline: clamp(2.5rem, 8.33vw, 7.5rem);
  }
}
.cta > * {
  margin-block-start: 0;
}
.cta .content-title {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.375rem;
}
@media (width > 782px) {
  .cta .content-title {
    gap: 0.75rem;
  }
}
.cta .content-title::after {
  display: none;
}
.cta .content-title .content-title__name,
.cta .content-title .content-title__label {
  color: var(--wp--preset--color--base);
}
.cta .content-title .content-title__name {
  order: 1;
  font-size: 2.125rem;
  line-height: 1;
}
@media (width > 782px) {
  .cta .content-title .content-title__name {
    font-size: 3.125rem;
  }
}
.cta .content-title .content-title__label {
  order: 2;
  font-size: 1rem;
  letter-spacing: 0.06em;
}
@media (width > 782px) {
  .cta .content-title .content-title__label {
    font-size: 1.625rem;
  }
}

.cta__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--wp--preset--spacing--m);
  overflow: clip;
  margin-block-start: 0;
  padding-block: 5rem 2.5rem;
  padding-inline: 1.5rem;
  border-radius: var(--space-corner-round-large, 16px);
  background-image: url("../assets/images/common/bg-cta.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}
@media (width > 782px) {
  .cta__content {
    padding-block: 7.5rem 3rem;
    padding-inline: 4.5rem;
    border-radius: var(--space-corner-round-large, 20px);
  }
}
.cta__content > .cta__content__body {
  margin-block-start: 0;
}

.cta__content__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  margin-block-start: 0;
  padding: 1.5rem;
  border-radius: var(--wp--custom--radius--m, 8px);
  background-color: var(--wp--preset--color--base);
  box-shadow: 0 4px 16px 0 rgba(7, 25, 0, 0.25);
}
@media (width > 782px) {
  .cta__content__body {
    padding: 3rem;
    gap: 2rem;
    border-radius: 1rem;
  }
}

.cta-ccatchcopy {
  width: 100%;
  margin-block-start: 0;
  text-align: center;
  font-family: var(--wp--preset--font-family--rounded);
}
.cta-ccatchcopy p {
  margin-block-start: 0;
  font-family: inherit;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.7;
}
@media (width > 782px) {
  .cta-ccatchcopy p {
    font-size: 2rem;
  }
}

.cta-information {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  margin-block-start: 0;
}
@media (width > 1280px) {
  .cta-information {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4rem;
    width: auto;
    white-space: nowrap;
  }
}
.cta-information > .wp-block-buttons,
.cta-information > .cta__tel {
  margin-block-start: 0;
}

.cta .cta-information > .wp-block-separator {
  flex-shrink: 0;
  width: 100%;
  max-width: none;
  height: 1px;
  margin: 0;
  border: none;
  border-radius: 99px;
  background-color: var(--wp--preset--color--main);
  background-image: none;
}
@media (width > 1280px) {
  .cta .cta-information > .wp-block-separator {
    align-self: stretch;
    width: 1px;
    max-width: 1px;
    height: auto;
    min-height: 6.5625rem;
  }
}

.cta__tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  margin-block-start: 0;
  text-align: center;
}
@media (width > 782px) {
  .cta__tel {
    width: auto;
  }
}
.cta__tel > * {
  margin-block-start: 0;
}

.cta__lead {
  font-family: var(--wp--preset--font-family--noto-sans-jp);
  font-size: clamp(0.8125rem, 3.8vw, 1rem);
  font-weight: 700;
}
@media (width > 782px) {
  .cta__lead {
    font-size: 1.25rem;
  }
}

.cta__telnum {
  margin-block-start: 0.25rem;
  font-family: var(--wp--preset--font-family--rounded);
  font-size: clamp(1.25rem, 7.2vw, 1.6875rem);
  font-weight: 700;
  line-height: 1;
  color: var(--wp--preset--color--main);
  white-space: nowrap;
}
@media (width > 782px) {
  .cta__telnum {
    font-size: 2.25rem;
  }
}
.cta__telnum span {
  font-size: 0.7em;
}
@media (width > 782px) {
  .cta__telnum span {
    font-size: 0.78em;
  }
}
.cta__telnum a {
  text-decoration: none;
}
.cta__telnum a:link, .cta__telnum a:visited {
  color: var(--wp--preset--color--main);
}
.cta__telnum a:hover {
  text-decoration: none;
  color: var(--wp--preset--color--main);
}

.cta__open {
  font-size: var(--wp--preset--font-size--small);
}
@media (width > 782px) {
  .cta__open {
    font-size: var(--wp--preset--font-size--medium);
  }
  .cta__open br {
    display: none;
  }
}

.cta__content > .char-raicho {
  position: absolute;
  top: 3rem;
  inset-inline-end: 1.5rem;
  z-index: 1;
  width: 2.75rem;
  margin: 0;
  pointer-events: none;
}
@media (width > 782px) {
  .cta__content > .char-raicho {
    top: 4.375rem;
    inset-inline-end: 7.125rem;
    width: 3.5625rem;
  }
}
.cta__content > .char-raicho img {
  width: 100%;
  height: auto;
}

/* ----------------------------------------------------------------
  スタッフ一覧・カード
  Figma: カード 925:7508 / SP一覧 925:8033 / PC一覧 925:7507
---------------------------------------------------------------- */
.staff-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  width: 100%;
}
.staff-list.has-global-padding {
  padding-inline: 0;
}
.staff-list > * {
  margin-block-start: 0;
}
@media (width > 960px) {
  .staff-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.sraff-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
  padding-block: 1.5rem 1rem;
  padding-inline: 1rem;
  background-color: var(--wp--preset--color--base);
  border: var(--wp--custom--border--thin) solid var(--wp--preset--color--main);
  border-block-start-width: 0.5rem;
}
.sraff-card > * {
  margin-block-start: 0;
}
.sraff-card .staff-card__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 14rem;
  margin: 0;
  padding: 1rem 1.5rem;
  background-color: var(--wp--preset--color--surface);
}
@media (width > 960px) {
  .sraff-card .staff-card__photo {
    height: 24.625rem;
    padding: 1.5rem;
  }
}
.sraff-card .staff-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.sraff-card__data {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
}
.sraff-card__data.has-global-padding {
  padding-inline: 0;
}
.sraff-card__data > * {
  margin-block-start: 0;
}

.sraff-card__data__item {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
  padding-block: 0.5rem;
  padding-inline: 0.125rem;
  border-block-end: var(--wp--custom--border--thin) dashed var(--wp--preset--color--main);
}
.sraff-card__data__item:first-child {
  align-items: center;
}
.sraff-card__data__item > * {
  margin-block-start: 0;
}
.sraff-card__data__item .item-label {
  flex: 0 0 3.6875rem;
  width: 3.6875rem;
  margin: 0;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 500;
  line-height: 1.5;
}
.sraff-card__data__item .item-data {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.sraff-card__data__item .data-name {
  font-family: var(--wp--preset--font-family--rounded);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
}

/* ----------------------------------------------------------------
  実績紹介カテゴリーアーカイブ
  見出しの既定上余白を打ち消し
---------------------------------------------------------------- */
.tax-works_category .wp-block-heading {
  margin-block-start: 0;
}

/* ----------------------------------------------------------------
  実績紹介アーカイブ：カテゴリーブロック
  （編集画面のクラス名 sec-workes-list に合わせる）
  Figma PC: 426:2700
  - ブロック内 gap 24px（グループの flex 設定）
  - ブロック間 80px
  - 一覧ボタンは右寄せ
---------------------------------------------------------------- */
.sec-workes-list {
  width: 100%;
  align-items: stretch;
}
.sec-workes-list + .sec-workes-list {
  margin-block-start: 5rem;
}
.sec-workes-list > .wp-block-heading {
  margin-block-start: 0;
}
.sec-workes-list > .wp-block-buttons {
  width: 100%;
  justify-content: flex-end;
}

/* ----------------------------------------------------------------
  実績紹介リスト
  - .works-list（手動クラス）
  - 実績投稿（.type-works）を含むクエリ（カテゴリーアーカイブなど）
  Figma: リスト SP 426:3074 / PC 426:3015 / アイテム 216:1133
---------------------------------------------------------------- */
.works-list,
.wp-block-query:has(.wp-block-post.type-works) {
  width: 100%;
}
.works-list .wp-block-post-template,
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post-template {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (width > 960px) {
  .works-list .wp-block-post-template,
  .wp-block-query:has(.wp-block-post.type-works) .wp-block-post-template {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.works-list .wp-block-post,
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding-block: 0;
  border: none;
  background-color: var(--wp--preset--color--base);
}
.works-list .wp-block-post > *,
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post > * {
  margin-block-start: 0;
}
.works-list .wp-block-post:has(> .wp-block-post-terms),
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post:has(> .wp-block-post-terms) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.625rem;
  row-gap: 0.75rem;
}
.works-list .wp-block-post:has(> .wp-block-post-terms) .wp-block-post-featured-image,
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post:has(> .wp-block-post-terms) .wp-block-post-featured-image {
  grid-column: 1/-1;
}
.works-list .wp-block-post:has(> .wp-block-post-terms) .wp-block-post-terms,
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post:has(> .wp-block-post-terms) .wp-block-post-terms {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
}
.works-list .wp-block-post:has(> .wp-block-post-terms) .wp-block-post-title,
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post:has(> .wp-block-post-terms) .wp-block-post-title {
  grid-column: 2;
  grid-row: 2;
}
.works-list .wp-block-post-featured-image,
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post-featured-image {
  width: 100%;
  margin: 0;
  aspect-ratio: 285/178;
  overflow: clip;
}
.works-list .wp-block-post-featured-image a,
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post-featured-image a {
  display: block;
  width: 100%;
  height: 100%;
}
.works-list .wp-block-post-featured-image img,
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.works-list .wp-block-post-title,
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}
.works-list .wp-block-post-title a,
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post-title a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  text-decoration: none;
  color: var(--wp--preset--color--contrast);
}
.works-list .wp-block-post-title a:link, .works-list .wp-block-post-title a:visited,
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post-title a:link,
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post-title a:visited {
  color: var(--wp--preset--color--contrast);
}
.works-list .wp-block-post-title a:hover, .works-list .wp-block-post-title a:focus, .works-list .wp-block-post-title a:active,
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post-title a:hover,
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post-title a:focus,
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post-title a:active {
  opacity: 1;
  color: var(--wp--preset--color--main);
}
.works-list .wp-block-post-title a::after,
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post-title a::after {
  content: "";
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  background-color: var(--wp--preset--color--main);
  -webkit-mask-image: url("../assets/images/common/icon-arrow-circle.svg");
  mask-image: url("../assets/images/common/icon-arrow-circle.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.works-list .wp-block-post-title a:hover::after, .works-list .wp-block-post-title a:focus::after, .works-list .wp-block-post-title a:active::after,
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post-title a:hover::after,
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post-title a:focus::after,
.wp-block-query:has(.wp-block-post.type-works) .wp-block-post-title a:active::after {
  background-color: var(--wp--preset--color--main);
}

/* ----------------------------------------------------------------
  業務案内ページ
  Figma: SP 949:8586 / PC 949:8167
  - .sec-service-info
  - .service-info-block / .data
  実績一覧（.sec-workes-list / .works-list）は _works.scss
---------------------------------------------------------------- */
/* ----------------------------------------------------------------
  業務案内ヒーロー（.hero-service）
  Figma: SP 426:1373 / PC 954:9768
  地図イラストは背景画像。下部に工事カードを重ねる
---------------------------------------------------------------- */
.hero-service {
  container-type: inline-size;
  container-name: hero-service;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  width: 100%;
  aspect-ratio: 310/992;
  overflow: clip;
  margin-block-start: 1.5rem;
  border-radius: var(--space-corner-round-large, 16px);
  background-color: #7eb83a;
  background-image: url("../assets/images/bg-hero-service-sp.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}
.hero-service > * {
  margin-block-start: 0;
}
@media (width > 782px) {
  .hero-service {
    aspect-ratio: 1056/1239;
    border-radius: var(--space-corner-round-large, 20px);
    background-image: url("../assets/images/bg-hero-service-pc.webp");
  }
}

/* ----------------------------------------------------------------
  ヒーロー下部情報（.hero-service__info）
  HTML では label が後続のため order で見出しを上へ
  ※ z-index を付けない（スタッキングコンテキストで乗算が背景と合成されなくなる）
  SP: ブラウザ幅 390px 時の見た目を基準に 100vw/390 で拡大縮小
  PC: Figma 954:9811（902×317 / ヒーロー 1056 内で中央）
---------------------------------------------------------------- */
.hero-service__info {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5.1282051282vw;
  width: 100%;
  padding: 4.8717948718vw 0 6.1538461538vw;
}
.hero-service__info > * {
  margin-block-start: 0;
}
.hero-service__info::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #b0c3a9;
  mix-blend-mode: multiply;
  pointer-events: none;
}
@media (width > 782px) {
  .hero-service__info {
    width: 85.4166666667%;
    aspect-ratio: 902/317;
    margin-inline: auto;
    gap: 0;
    padding: 0;
  }
  .hero-service__info::before {
    content: none;
  }
}

@media (width > 782px) {
  .hero-service > .hero-service__info {
    margin-block-end: 2.3674242424cqi;
  }
}

.hero-service__label {
  position: relative;
  z-index: 1;
  order: -1;
  width: 100%;
  margin: 0;
  font-family: var(--wp--preset--font-family--rounded);
  font-size: 4.6153846154vw;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  color: var(--wp--preset--color--base);
}
@media (width > 782px) {
  .hero-service__label {
    margin-block-start: 1.4204545455cqi;
    font-size: 2.3674242424cqi;
  }
}

/* ----------------------------------------------------------------
  工事カード列（.hero-service__data / .item）
  SP: 2+1 折り返し・390px 基準で拡大縮小
  PC: __info 全面に multiply + 3列（Figma: pt59 / px26 / pb26 / gap26）
---------------------------------------------------------------- */
.hero-service__data {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 3.0769230769vw 3.3333333333vw;
  width: 100%;
  padding-inline: 2.5641025641vw;
}
.hero-service__data > * {
  margin-block-start: 0;
}
@media (width > 782px) {
  .hero-service__data {
    position: absolute;
    inset: 0;
    z-index: auto;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 2.4621212121cqi;
    width: auto;
    max-width: none;
    padding: 5.5871212121cqi 2.4621212121cqi 2.4621212121cqi;
    border-radius: 0.946969697cqi;
  }
  .hero-service__data::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background-color: #b0c3a9;
    mix-blend-mode: multiply;
    pointer-events: none;
  }
}
.hero-service__data .item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.3076923077vw;
  width: 34.8717948718vw;
}
.hero-service__data .item > * {
  margin-block-start: 0;
}
@media (width > 782px) {
  .hero-service__data .item {
    gap: 1.2310606061cqi;
    width: 25.1893939394cqi;
  }
}
.hero-service__data .item .wp-block-image {
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: 136/97;
  overflow: clip;
  border: 0.7692307692vw solid var(--wp--preset--color--surface);
  border-radius: 2.0512820513vw;
  background-color: var(--wp--preset--color--surface);
  line-height: 0;
  box-sizing: border-box;
}
@media (width > 782px) {
  .hero-service__data .item .wp-block-image {
    aspect-ratio: 266/190;
    border: 0.3787878788cqi solid var(--wp--preset--color--surface);
    border-radius: 1.5151515152cqi;
  }
}
.hero-service__data .item .wp-block-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.hero-service__data .item .wp-block-paragraph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 1.2820512821vw 1.7948717949vw;
  border-radius: 0.5128205128vw;
  background-color: var(--wp--preset--color--base);
  font-family: var(--wp--preset--font-family--rounded);
  font-size: 3.3333333333vw;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  color: var(--wp--preset--color--main);
  white-space: nowrap;
}
@media (width > 782px) {
  .hero-service__data .item .wp-block-paragraph {
    padding: 0.5681818182cqi 1.1363636364cqi 0.6628787879cqi;
    border-radius: 0.3787878788cqi;
    font-size: 1.5151515152cqi;
  }
}

/* ----------------------------------------------------------------
  サービスセクション（.sec-service-info）
  情報ブロック ↔ 実績リスト間 gap 40
---------------------------------------------------------------- */
.sec-service-info {
  gap: 2.5rem;
}

/* ----------------------------------------------------------------
  サービス情報ブロック（.service-info-block）
  SP: 縦積み gap 24 / PC: 本文 + 画像 横並び gap 60
---------------------------------------------------------------- */
.service-info-block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  width: 100%;
}
.service-info-block > * {
  margin-block-start: 0;
}
@media (width > 782px) {
  .service-info-block {
    flex-direction: row;
    align-items: flex-start;
    gap: 3.75rem;
  }
}
.service-info-block > .wp-block-image,
.service-info-block > .image {
  width: 100%;
  margin: 0;
  line-height: 0;
}
@media (width > 782px) {
  .service-info-block > .wp-block-image,
  .service-info-block > .image {
    flex: 0 0 30rem;
    width: 30rem;
  }
}
.service-info-block > .wp-block-image img,
.service-info-block > .image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.625rem;
}
@media (width > 782px) {
  .service-info-block > .wp-block-image img,
  .service-info-block > .image img {
    border-radius: 1.25rem;
  }
}

/* ----------------------------------------------------------------
  本文カラム（.service-info-block .data）
  gap: SP 16 / PC 24
---------------------------------------------------------------- */
.service-info-block .data {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}
.service-info-block .data > * {
  margin-block-start: 0;
}
@media (width > 782px) {
  .service-info-block .data {
    flex: 1 1 auto;
    gap: 1.5rem;
  }
}
.service-info-block .data > .wp-block-heading {
  margin: 0;
}
.service-info-block .data > .wp-block-paragraph:first-of-type {
  font-size: 1.25rem;
}
@media (width > 782px) {
  .service-info-block .data > .wp-block-paragraph:first-of-type {
    font-size: var(--wp--preset--font-size--x-large);
    font-weight: 500;
  }
}
.service-info-block .data > .wp-block-paragraph:not(:first-of-type) {
  font-size: var(--wp--preset--font-size--medium);
}
@media (width > 782px) {
  .service-info-block .data > .wp-block-paragraph:not(:first-of-type) {
    font-size: var(--wp--preset--font-size--large);
  }
}
.service-info-block .data > .wp-block-list {
  margin: 0;
  padding-inline-start: 1.6875rem;
  font-size: 1.125rem;
}
.service-info-block .data > .wp-block-list li {
  margin-block-end: 0;
}

/* ----------------------------------------------------------------
  実績リストブロック内ボタン
  SP: 中央寄せ / PC: 右寄せ（_works.scss の既定を SP だけ上書き）
---------------------------------------------------------------- */
.sec-service-info .sec-workes-list > .wp-block-buttons {
  justify-content: center;
}
@media (width > 782px) {
  .sec-service-info .sec-workes-list > .wp-block-buttons {
    justify-content: flex-end;
  }
}

/* ----------------------------------------------------------------
  会社情報ページ
  Figma: SP 926:9096 / PC 926:8608
  共通コンポーネントは _component.scss
---------------------------------------------------------------- */
/* ----------------------------------------------------------------
  代表ごあいさつ（#greeting）
---------------------------------------------------------------- */
#greeting .contents-body > .wp-block-paragraph:first-child {
  font-size: 1.5rem;
}

.greeting-sign {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  width: 100%;
  text-align: right;
}
.greeting-sign > * {
  margin-block-start: 0;
}
.greeting-sign span {
  font-size: 0.8125rem;
}
.greeting-sign strong {
  font-size: 120%;
  font-weight: 600;
}

#greeting .contents-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 1.5rem;
  aspect-ratio: 1;
  border-radius: 1rem;
  background-color: var(--wp--preset--color--surface);
  overflow: hidden;
}
@media (width > 960px) {
  #greeting .contents-image {
    flex: 0 0 25.625rem;
    width: 25.625rem;
    aspect-ratio: auto;
    min-height: 25.625rem;
    padding: 1.5rem 4.5rem;
  }
}
#greeting .contents-image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
@media (width > 960px) {
  #greeting .contents-image img {
    max-height: 22.625rem;
  }
}

/* ----------------------------------------------------------------
  アクセス
---------------------------------------------------------------- */
.access-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
}
.access-info > * {
  margin-block-start: 0;
}
@media (width > 960px) {
  .access-info {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
  }
}

.access-map {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
}
.access-map > * {
  margin-block-start: 0;
}
.access-map iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 310/221;
  border: 0;
}
@media (width > 960px) {
  .access-map iframe {
    flex: 1 1 auto;
    min-width: 0;
    aspect-ratio: 671/354;
    height: auto;
  }
}
.access-map .map-image {
  margin: 0;
  width: 100%;
}
.access-map .map-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
@media (width > 960px) {
  .access-map {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .access-map .map-image {
    flex: 0 0 20.0625rem;
    width: 20.0625rem;
  }
  .access-map .map-image img {
    height: 13.8125rem;
    object-fit: cover;
  }
}

/* ----------------------------------------------------------------
  取引先リスト
---------------------------------------------------------------- */
#partner .wp-block-list {
  margin: 0;
  padding-inline-start: 1.5rem;
}
@media (width > 960px) {
  #partner .wp-block-list {
    padding-inline-start: 1.6875rem;
    font-size: var(--wp--preset--font-size--large);
  }
}
#partner .wp-block-list li {
  margin-block-end: 0;
}

/* ----------------------------------------------------------------
  採用情報ヒーロー（.hero-recruit）
  Figma: SP 945:7287 / PC 945:6830
---------------------------------------------------------------- */
.hero-recruit {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  overflow: clip;
  margin-block-start: 0;
  padding: 1rem;
  border-radius: var(--space-corner-round-large, 20px);
  background-color: #7eb83a;
  background-image: url("../assets/images/bg-hero-recruit-sp.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}
.hero-recruit > * {
  margin-block-start: 0;
}
@media (width > 782px) {
  .hero-recruit {
    gap: 1.5rem;
    padding: 3rem 4rem 2rem;
    background-image: url("../assets/images/bg-hero-recruit-pc.webp");
  }
}
.hero-recruit {
  /* --------------------------------------------------------------
    キャッチコピー（.hero-catchcopy）
  -------------------------------------------------------------- */
}
.hero-recruit .hero-catchcopy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1rem;
  border-radius: 0.625rem;
  background-color: var(--wp--preset--color--base);
}
.hero-recruit .hero-catchcopy.has-global-padding {
  padding-inline: 1rem;
}
.hero-recruit .hero-catchcopy > * {
  margin-block-start: 0;
}
@media (width > 782px) {
  .hero-recruit .hero-catchcopy {
    gap: 0.625rem;
    padding: 2rem 3rem;
  }
  .hero-recruit .hero-catchcopy.has-global-padding {
    padding-inline: 3rem;
  }
}
.hero-recruit .hero-catchcopy .wp-block-heading {
  margin: 0;
  font-family: var(--wp--preset--font-family--rounded);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--wp--preset--color--contrast);
}
@media (width > 782px) {
  .hero-recruit .hero-catchcopy .wp-block-heading {
    font-size: 2.625rem;
  }
}
.hero-recruit .hero-catchcopy .wp-block-paragraph {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--wp--preset--color--contrast);
}
@media (width > 782px) {
  .hero-recruit .hero-catchcopy .wp-block-paragraph {
    font-size: 1.25rem;
  }
}
.hero-recruit {
  /* --------------------------------------------------------------
    スタッフ画像（.hero-image）
  -------------------------------------------------------------- */
}
.hero-recruit .hero-image {
  width: 100%;
  margin: 0;
  line-height: 0;
}
.hero-recruit .hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

.sec:has(.info-service-block) > .wp-block-paragraph,
.sec:has(.flow-list) > .wp-block-paragraph {
  font-size: var(--wp--preset--font-size--large);
}
@media (width > 960px) {
  .sec:has(.info-service-block) > .wp-block-paragraph,
  .sec:has(.flow-list) > .wp-block-paragraph {
    font-size: 1.25rem;
  }
}

/* --------------------------------------------------------------
  どんな仕事？（.info-service-block / .service-thumbs-list）
-------------------------------------------------------------- */
.info-service-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  padding: 1.5rem 1rem;
  border: 0.25rem solid var(--wp--preset--color--surface);
  border-radius: 1rem;
}
.info-service-block > * {
  margin-block-start: 0;
}
@media (width > 960px) {
  .info-service-block {
    padding: 2rem 0;
    border-radius: 1.25rem;
  }
}
.info-service-block .wp-block-buttons {
  width: 100%;
  padding-block-start: 1rem;
}

.service-thumbs-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}
.service-thumbs-list > * {
  margin-block-start: 0;
}
@media (width > 960px) {
  .service-thumbs-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.625rem;
  }
}

.service-thumbs-list__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  width: 100%;
  max-width: 16.625rem;
}
.service-thumbs-list__item > * {
  margin-block-start: 0;
}
.service-thumbs-list__item .wp-block-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 14.5rem;
  margin: 0;
  aspect-ratio: 232/166;
  background-color: var(--wp--preset--color--surface);
  overflow: clip;
}
.service-thumbs-list__item .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
@media (width > 960px) {
  .service-thumbs-list__item .wp-block-image {
    max-width: none;
    aspect-ratio: 266/190;
  }
}

.service-thumbs-list__label {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.375rem 0.75rem 0.4375rem;
  border-radius: var(--wp--custom--radius--s);
  background-color: var(--wp--preset--color--base);
}
.service-thumbs-list__label > * {
  margin-block-start: 0;
}
.service-thumbs-list__label .wp-block-paragraph {
  margin: 0;
  font-family: var(--wp--preset--font-family--rounded);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

/* --------------------------------------------------------------
  スタッフの声（.staff-voice-card）
  ※クラス名 sraff-card は編集画面の綴りに合わせる
  Figma: SP 945:7355 / PC 945:6898
-------------------------------------------------------------- */
.sraff-card.staff-voice-card {
  gap: 0.5rem;
  padding: 1rem;
  border: 0.125rem solid var(--wp--preset--color--main);
  border-block-start-width: 0.125rem;
}
.sraff-card.staff-voice-card .staff-card__photo {
  height: auto;
  aspect-ratio: 358/291;
  padding: 1.5rem;
}
@media (width > 960px) {
  .sraff-card.staff-voice-card .staff-card__photo {
    width: 23.375rem;
    height: 19rem;
    aspect-ratio: auto;
    padding: 1.5rem;
  }
}
.sraff-card.staff-voice-card .sraff-card__data__item:not(.--hitokoto) .item-data:not(.data-name) {
  font-weight: 500;
}
.sraff-card.staff-voice-card .sraff-card__data__item.--hitokoto {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
  border-block-end: none;
}
.sraff-card.staff-voice-card .sraff-card__data__item.--hitokoto .item-label {
  flex: none;
  width: 100%;
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 400;
  line-height: 1.8;
}
.sraff-card.staff-voice-card .sraff-card__data__item.--hitokoto .item-data {
  padding: 0.5rem 1rem;
  background-color: var(--wp--preset--color--main);
  font-weight: 400;
  line-height: 1.8;
  color: var(--wp--preset--color--base);
}
@media (width > 960px) {
  .sraff-card.staff-voice-card .sraff-card__data__item.--hitokoto .item-data {
    padding: 1rem 1.5rem;
    font-size: var(--wp--preset--font-size--large);
  }
}
@media (width > 960px) {
  .sraff-card.staff-voice-card {
    display: grid;
    grid-template-columns: 23.375rem minmax(0, 1fr);
    column-gap: 1.5rem;
    align-items: start;
  }
  .sraff-card.staff-voice-card .staff-card__photo {
    align-self: start;
  }
}

/* --------------------------------------------------------------
  応募方法（.flow-list / .card）
-------------------------------------------------------------- */
.flow-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
}
.flow-list > * {
  margin-block-start: 0;
}
@media (width > 960px) {
  .flow-list {
    gap: 1.5rem;
  }
}
.flow-list .card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem 1rem;
  border-radius: 0.625rem;
  background-color: var(--wp--preset--color--surface);
}
.flow-list .card > * {
  margin-block-start: 0;
}
@media (width > 960px) {
  .flow-list .card {
    padding: 2rem;
  }
}
.flow-list .card .title,
.flow-list .card h4.wp-block-heading {
  width: 100%;
  margin: 0;
  padding-block-end: 1rem;
  border-block-end: 0.1875rem solid var(--wp--preset--color--main);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
}
@media (width > 960px) {
  .flow-list .card .title,
  .flow-list .card h4.wp-block-heading {
    font-size: 2rem;
  }
}
.flow-list .card .wp-block-paragraph {
  margin: 0;
}
.flow-list .card .wp-block-buttons {
  width: 100%;
}
.flow-list .card .wp-block-image {
  margin: 0;
  padding: 0.75rem;
  background-color: var(--wp--preset--color--base);
  border: var(--wp--custom--border--thin) solid var(--wp--preset--color--border);
}
.flow-list .card .wp-block-image img {
  display: block;
  width: 9.875rem;
  height: auto;
}

/* --------------------------------------------------------------
  採用の流れ（.step-list）
-------------------------------------------------------------- */
.step-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
}
.step-list > * {
  margin-block-start: 0;
}
@media (width > 960px) {
  .step-list {
    gap: 0.625rem;
  }
}

.step-list__item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
}
.step-list__item > * {
  margin-block-start: 0;
}
.step-list__item:not(:last-child)::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-block-start: 0.5rem;
  margin-inline: auto;
  border-inline: 0.71875rem solid transparent;
  border-block-start: 0.9375rem solid var(--wp--preset--color--main);
}
@media (width > 960px) {
  .step-list__item {
    display: grid;
    grid-template-columns: 13.8125rem minmax(0, 1fr);
    column-gap: 1.5rem;
    align-items: center;
  }
  .step-list__item .step-list__label {
    grid-column: 1;
    grid-row: 1;
  }
  .step-list__item .step-list__data {
    grid-column: 2;
    grid-row: 1;
  }
  .step-list__item:not(:last-child)::after {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    margin-block-start: 0;
    margin-inline: 0;
  }
}

.step-list__label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.5rem 1rem;
  background-color: var(--wp--preset--color--base);
  border: 0.1875rem solid var(--wp--preset--color--main);
}
.step-list__label > * {
  margin-block-start: 0;
}
.step-list__label .wp-block-paragraph {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.8;
  color: var(--wp--preset--color--main);
  white-space: nowrap;
}
@media (width > 960px) {
  .step-list__label {
    width: 13.8125rem;
    padding: 0.75rem 1.5rem;
    border-width: 0.25rem;
  }
}

.step-list__data {
  margin: 0;
  font-size: var(--wp--preset--font-size--large);
  line-height: 1.8;
}

/* --------------------------------------------------------------
  情報ボックス（.information-box）
-------------------------------------------------------------- */
.information-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  margin-block-start: 3.5rem;
  padding: 2.5rem 1.5rem;
  border: var(--wp--custom--border--thin) solid var(--wp--preset--color--main);
}
.information-box > * {
  margin-block-start: 0;
}
@media (width > 960px) {
  .information-box {
    margin-block-start: 5rem;
    padding: 3rem 3.5rem;
  }
}
.information-box .information-box__logo {
  width: 90%;
  max-width: 17.5rem;
  margin: 0;
}
@media (width > 960px) {
  .information-box .information-box__logo {
    max-width: 22.375rem;
  }
}
.information-box .information-box__logo img {
  display: block;
  width: 100%;
  height: auto;
}
.information-box .information-box__text {
  margin: 0;
  font-size: var(--wp--preset--font-size--medium);
  line-height: 1.8;
  text-align: center;
}
@media (width > 960px) {
  .information-box .information-box__text {
    font-size: var(--wp--preset--font-size--large);
  }
}

/* ----------------------------------------------------------------
  プライバシーポリシー（.pp-contents）
  Figma: SP 469:7936 / PC 469:7895
  色・本文サイズ・行間・リンクは theme.json。差分のみ記載
---------------------------------------------------------------- */
.pp-contents {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--wp--preset--spacing--s);
  padding-block-start: 2rem;
}
@media (width > 782px) {
  .pp-contents {
    padding-block-start: 4rem;
  }
}
.pp-contents > * {
  margin-block-start: 0;
}
.pp-contents > .wp-block-heading {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
}
.pp-contents > .wp-block-heading:not(:first-child) {
  margin-block-start: var(--wp--preset--spacing--m);
}
.pp-contents > .wp-block-list {
  margin: 0;
  padding-inline-start: 1.5rem;
}
.pp-contents > .wp-block-list li {
  margin-block-end: 0;
}

input[type=text],
input[type=password],
textarea,
select {
  outline: none;
}

input[type=text]::-ms-clear,
input[type=password]::-ms-reveal {
  display: none;
}

input[type=button],
input[type=text],
input[type=email],
input[type=url],
input[type=tel],
input[type=submit],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
}

::-webkit-input-placeholder {
  color: var(--wp--preset--color--muted);
  font-weight: inherit;
}

:-moz-placeholder {
  color: var(--wp--preset--color--muted);
  font-weight: inherit;
  opacity: 1;
}

::-moz-placeholder {
  color: var(--wp--preset--color--muted);
  font-weight: inherit;
  opacity: 1;
}

form {
  padding: 0;
  margin: 0;
}

/* -----------------------------------------
// 共通：入力コントロール
// Figma: form-input-text / h 45 / radius 6px
// ---------------------------------------*/
.smf-form .smf-text-control__control,
.smf-form .smf-textarea-control__control,
.smf-form input:is([type=email],
[type=number],
[type=password],
[type=search],
[type=tel],
[type=text],
[type=url],
[type=date]),
.smf-form select,
.smf-form textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: 2.8125rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  background-color: var(--wp--preset--color--base);
  border: 1px solid var(--wp--preset--color--border);
  box-shadow: none;
  font-family: var(--wp--preset--font-family--noto-sans-jp);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--wp--preset--color--contrast);
}
@media (width > 782px) {
  .smf-form .smf-text-control__control,
  .smf-form .smf-textarea-control__control,
  .smf-form input:is([type=email],
  [type=number],
  [type=password],
  [type=search],
  [type=tel],
  [type=text],
  [type=url],
  [type=date]),
  .smf-form select,
  .smf-form textarea {
    font-size: 1.0625rem;
  }
}
.smf-form .smf-text-control__control:focus,
.smf-form .smf-textarea-control__control:focus,
.smf-form input:is([type=email],
[type=number],
[type=password],
[type=search],
[type=tel],
[type=text],
[type=url],
[type=date]):focus,
.smf-form select:focus,
.smf-form textarea:focus {
  outline: none;
  background-color: var(--wp--preset--color--base);
  border-color: var(--wp--preset--color--accent);
}

.smf-form textarea,
.smf-form .smf-textarea-control__control {
  height: 11.25rem;
  resize: vertical;
}
@media (width > 782px) {
  .smf-form textarea,
  .smf-form .smf-textarea-control__control {
    height: 19.5625rem;
  }
}

@media (width > 782px) {
  .smf-form input[name=nameof],
  .smf-form input[name=fullname],
  .smf-form input[type=tel],
  .smf-form input[type=email] {
    max-width: 26.75rem;
  }
  .smf-form input[name=zip] {
    max-width: 9.625rem;
  }
}
/* -----------------------------------------
// イントロ
// ---------------------------------------*/
.form-intro-text {
  margin-block-end: 1.5rem;
}
@media (width > 782px) {
  .form-intro-text {
    margin-block-end: 2rem;
  }
}

/* -----------------------------------------
// 完了画面
// Figma SP: 469:9619 / PC: 469:9605
// .smf-form * の font-size/line-height 継承を上書きするためネストする
// ---------------------------------------*/
.smf-form .form-complete-title {
  margin-block: 0 1.5rem;
  font-family: var(--wp--preset--font-family--noto-sans-jp);
  font-size: var(--wp--preset--font-size--xx-large);
  font-weight: 700;
  line-height: 1.5;
  color: var(--wp--preset--color--contrast);
}
.smf-form .form-complete-title strong {
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
}
.smf-form .form-complete-text {
  margin-block: 0;
  font-family: var(--wp--preset--font-family--noto-sans-jp);
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 400;
  line-height: 1.8;
  color: var(--wp--preset--color--contrast);
}
@media (width > 782px) {
  .smf-form .form-complete-text {
    font-size: var(--wp--preset--font-size--large);
  }
}
.smf-form .form-complete-text + .form-complete-text {
  margin-block-start: 1.5rem;
}
.smf-form .form-complete-tel {
  box-sizing: border-box;
  width: 100%;
  margin-block-start: 1.5rem;
  margin-inline: auto;
  padding-block: 1.5rem;
  padding-inline: 0;
  border: 1px solid var(--wp--preset--color--main);
  background-color: var(--wp--preset--color--base);
}
.smf-form .form-complete-tel > .cta__tel,
.smf-form .form-complete-tel .cta__tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  max-width: 100%;
  text-align: center;
}
.smf-form .form-complete-tel .cta__lead {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.8;
}
@media (width > 782px) {
  .smf-form .form-complete-tel .cta__lead {
    font-size: 1.25rem;
  }
}
.smf-form .form-complete-tel .cta__telnum {
  margin-block-start: 0;
  font-size: 1.8125rem;
  line-height: 1;
}
@media (width > 782px) {
  .smf-form .form-complete-tel .cta__telnum {
    font-size: 2.25rem;
  }
}
.smf-form .form-complete-tel .cta__telnum span,
.smf-form .form-complete-tel .cta__telnum a {
  font-size: inherit;
  line-height: inherit;
}
.smf-form .form-complete-tel .cta__telnum span {
  font-size: 1.3125rem;
}
@media (width > 782px) {
  .smf-form .form-complete-tel .cta__telnum span {
    font-size: 1.75rem;
  }
}
.smf-form .form-complete-tel .cta__open {
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.8;
}
@media (width > 782px) {
  .smf-form .form-complete-tel .cta__open {
    font-size: var(--wp--preset--font-size--medium);
  }
}
.smf-form .form-complete-tel .cta__open br {
  display: none;
}

/* -----------------------------------------
// フォーム全体
// ---------------------------------------*/
.form-intro-block {
  margin-block-end: 1.5rem;
}
@media (width > 782px) {
  .form-intro-block {
    margin-block-end: 3rem;
  }
}

.smf-form * {
  font-size: inherit;
  line-height: inherit;
}

/* -----------------------------------------
// フォームアイテム（Figma: form-input-block）
// SP: gap 8 / py 12 ｜ PC: gap 12 / py 16
// ---------------------------------------*/
.smf-form .smf-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 0;
  border: none;
  background-color: transparent;
}
@media (width > 782px) {
  .smf-form .smf-item {
    gap: 0.75rem;
    padding: 1rem 0;
  }
}
.smf-form .smf-item__col {
  width: 100%;
  padding: 0;
  border: none;
  background: none;
}
.smf-form .smf-item__col--label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  background-color: transparent;
  border: none;
}
.smf-form .smf-item__col--label .smf-item__label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.625rem;
  margin: 0;
}
@media (width > 782px) {
  .smf-form .smf-item__col--label .smf-item__label {
    gap: 0.75rem;
  }
}
.smf-form .smf-item__col--label .smf-item__label .smf-item__label__text {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--wp--preset--font-family--noto-sans-jp);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--wp--preset--color--contrast);
}
@media (width > 782px) {
  .smf-form .smf-item__col--label .smf-item__label .smf-item__label__text {
    font-size: 1.5rem;
    font-weight: 400;
  }
}
.smf-form .smf-item__col--label .smf-item__label .smf-item__label__sub {
  font-size: 0.75rem;
  font-weight: inherit;
  line-height: 1.8;
}
@media (width > 782px) {
  .smf-form .smf-item__col--label .smf-item__label .smf-item__label__sub {
    font-size: 0.875rem;
  }
}
.smf-form .smf-item__col--label .smf-item__label::before {
  content: "任意";
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-block-start: 0.5rem;
  padding: 0 0.4em 0.15em;
  border-radius: 4px;
  border: 1px solid var(--wp--preset--color--accent);
  background-color: var(--wp--preset--color--base);
  height: 24px;
  min-height: 24px;
  font-family: var(--wp--preset--font-family--rounded);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--wp--preset--color--accent);
  white-space: nowrap;
}
@media (width > 782px) {
  .smf-form .smf-item__col--label .smf-item__label::before {
    margin-block-start: 0.6875rem;
  }
}
.smf-form .smf-item__col--label:has(+ .smf-item__col--controls [data-validations*=required]) .smf-item__label::before {
  content: "必須";
  border-color: var(--wp--preset--color--accent);
  background-color: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--on-accent);
}
.smf-form .smf-item__col--label .smf-item__description {
  margin: 0;
  font-family: var(--wp--preset--font-family--noto-sans-jp);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--wp--preset--color--contrast);
}
.smf-form .smf-item__col--label .smf-item__description .smf-item__note {
  display: block;
  margin-block-start: 0.5rem;
  font-size: 0.875rem;
  color: var(--wp--preset--color--muted);
}
.smf-form .smf-item__col--controls {
  padding: 0;
}
.smf-form .smf-placeholder:has(.smf-file-control) {
  display: flex;
  flex-direction: column;
}
.smf-form .smf-placeholder:has(.smf-file-control) .smf-control-description {
  order: -1;
  margin-block: 0 0.5rem;
  padding: 0;
}
.smf-form .smf-control-description {
  display: block;
  margin-block-start: 0.25rem;
  padding: 0 0.1875rem;
  font-family: var(--wp--preset--font-family--noto-sans-jp);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--wp--preset--color--muted);
}

/* -----------------------------------------
// チェックボックス（Figma: checkbutton）
// ---------------------------------------*/
.smf-form .smf-checkboxes-control__control {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-block-start: 0.5rem;
}
.smf-form .smf-checkboxes-control__control > .smf-label {
  margin: 0;
  width: 100%;
  max-width: 27.5rem;
}
.smf-form .smf-checkboxes-control__control > .smf-label > label {
  display: block;
  margin: 0;
  cursor: pointer;
}
.smf-form .smf-checkbox-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  padding: 0.5rem 2rem 0.625rem 1rem;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 6px;
  background-color: var(--wp--preset--color--base);
  line-height: 1.8;
  cursor: pointer;
  transition: border-color 0.15s;
}
.smf-form .smf-checkbox-control::before {
  content: "";
  flex-shrink: 0;
  box-sizing: border-box;
  width: 1.1875rem;
  height: 1.1875rem;
  margin-block-start: 0.125rem;
  border-radius: 4px;
  border: 1px solid var(--wp--preset--color--border);
  background-color: var(--wp--preset--color--base);
}
.smf-form .smf-checkbox-control::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.6875rem;
  height: 0.5rem;
  background-color: var(--wp--preset--color--on-accent);
  -webkit-mask-image: url(../assets/images/common/icon-check.svg);
  mask-image: url(../assets/images/common/icon-check.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  opacity: 0;
}
.smf-form .smf-checkbox-control:has(.smf-checkbox-control__control:checked)::before {
  border-color: var(--wp--preset--color--accent);
  background-color: var(--wp--preset--color--accent);
}
.smf-form .smf-checkbox-control:has(.smf-checkbox-control__control:checked)::after {
  opacity: 1;
}
.smf-form .smf-checkbox-control .smf-checkbox-control__control {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.smf-form .smf-checkbox-control .smf-checkbox-control__label {
  font-family: var(--wp--preset--font-family--rounded);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--wp--preset--color--contrast);
}
.smf-form .smf-checkbox-control:hover {
  border-color: var(--wp--preset--color--accent);
}

/* -----------------------------------------
// ラジオボタン（Figma: radiobutton）
// SP: radius 4 / text 16 ｜ PC: radius 6 / text 18 / max 499
// ---------------------------------------*/
.smf-form .smf-radio-buttons-control__control {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block-start: 0.375rem;
}
.smf-form .smf-radio-buttons-control__control > .smf-label {
  margin: 0;
  width: 100%;
}
@media (width > 782px) {
  .smf-form .smf-radio-buttons-control__control > .smf-label {
    max-width: 31.1875rem;
  }
}
.smf-form .smf-radio-buttons-control__control > .smf-label > label {
  display: block;
  margin: 0;
  cursor: pointer;
}
.smf-form .smf-radio-button-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 4px;
  background-color: var(--wp--preset--color--base);
  line-height: 1.5;
  cursor: pointer;
  transition: border-color 0.15s;
}
@media (width > 782px) {
  .smf-form .smf-radio-button-control {
    border-radius: 6px;
  }
}
.smf-form .smf-radio-button-control::before {
  content: "";
  flex-shrink: 0;
  width: 1.1875rem;
  height: 1.1875rem;
  border-radius: 50%;
  background-color: #e8e8e8;
  box-shadow: none;
}
.smf-form .smf-radio-button-control:has(.smf-radio-button-control__control:checked)::before {
  background-color: var(--wp--preset--color--base);
  box-shadow: inset 0 0 0 0.3125rem var(--wp--preset--color--accent);
}
.smf-form .smf-radio-button-control .smf-radio-button-control__control {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
  appearance: none;
  border: none;
  background: none;
  box-shadow: none;
}
.smf-form .smf-radio-button-control .smf-radio-button-control__control::before {
  content: none;
  display: none;
}
.smf-form .smf-radio-button-control .smf-radio-button-control__label {
  font-family: var(--wp--preset--font-family--noto-sans-jp);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--wp--preset--color--contrast);
}
@media (width > 782px) {
  .smf-form .smf-radio-button-control .smf-radio-button-control__label {
    font-size: 1.125rem;
    letter-spacing: 0.02em;
  }
}
.smf-form .smf-radio-button-control:hover {
  border-color: var(--wp--preset--color--accent);
}

/* -----------------------------------------
// ファイル添付（Figma: 写真添付）
// ---------------------------------------*/
.smf-form .smf-file-control {
  width: 100%;
}
.smf-form .smf-file-control > label {
  box-sizing: border-box;
  width: 100%;
  gap: 0.3125rem;
  padding: 1.5rem 1rem;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 8px;
  background-color: var(--wp--preset--color--base);
}
@media (width > 782px) {
  .smf-form .smf-file-control > label {
    padding: 1.5rem;
  }
}
.smf-form .smf-file-control > label::before {
  content: none;
}
.smf-form .smf-file-control .smf-file-control__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.4375rem 0.375rem;
  border: 1px solid var(--wp--preset--color--muted);
  border-radius: 1px;
  background-color: #f0f0f0;
  background-image: none;
  box-shadow: none;
  font-family: var(--wp--preset--font-family--rounded);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  color: var(--wp--preset--color--contrast);
}
.smf-form .smf-file-control .smf-file-control__filename {
  font-family: var(--wp--preset--font-family--noto-sans-jp);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--wp--preset--color--contrast);
}
.smf-form .smf-file-control .smf-file-control__clear {
  font-size: 0;
  line-height: 0;
}
.smf-form .smf-file-control .smf-file-control__clear::after {
  content: "ファイルを取り消す";
  font-family: var(--wp--preset--font-family--noto-sans-jp);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
}

/* -----------------------------------------
// 確認文言
// ---------------------------------------*/
.smf-form > .has-text-align-center {
  margin-block-start: 2rem;
  margin-block-end: 0;
  font-family: var(--wp--preset--font-family--noto-sans-jp);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--wp--preset--color--contrast);
  text-align: center;
}
@media (width > 782px) {
  .smf-form > .has-text-align-center {
    margin-block-start: 2.5rem;
    font-size: 1.125rem;
  }
}

/* -----------------------------------------
// 送信ボタン（.wp-block-button デフォルトに合わせる）
// ---------------------------------------*/
.smf-form + .smf-action,
.smf-action {
  text-align: center;
  margin-block-start: 1.5rem;
  margin-block-end: 1.5rem;
}
@media (width > 782px) {
  .smf-form + .smf-action,
  .smf-action {
    margin-block-end: 2rem;
  }
}
.smf-form + .smf-action .smf-button-control,
.smf-action .smf-button-control {
  display: inline-block;
  text-align: center;
}
.smf-form + .smf-action .smf-button-control .smf-button-control__control,
.smf-action .smf-button-control .smf-button-control__control {
  outline: none;
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: none;
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75em 1.75em;
  background-color: var(--wp--preset--color--accent);
  border: 1px solid var(--wp--preset--color--accent);
  border-radius: 5px;
  font-family: var(--wp--preset--font-family--rounded);
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  color: var(--wp--preset--color--on-accent);
  position: relative;
  transition: all 0.15s;
}
@media (width > 782px) {
  .smf-form + .smf-action .smf-button-control .smf-button-control__control,
  .smf-action .smf-button-control .smf-button-control__control {
    padding: 0.65em 1.75em;
    font-size: 1.25rem;
    border-radius: var(--wp--custom--radius--m);
  }
}
.smf-form + .smf-action .smf-button-control .smf-button-control__control:hover, .smf-form + .smf-action .smf-button-control .smf-button-control__control:focus, .smf-form + .smf-action .smf-button-control .smf-button-control__control:active,
.smf-action .smf-button-control .smf-button-control__control:hover,
.smf-action .smf-button-control .smf-button-control__control:focus,
.smf-action .smf-button-control .smf-button-control__control:active {
  opacity: 1;
  background-color: var(--wp--preset--color--base);
  background-image: none;
  border-color: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--accent);
  box-shadow: none;
}
.smf-form + .smf-action .smf-button-control .smf-button-control__control .smf-sending,
.smf-action .smf-button-control .smf-button-control__control .smf-sending {
  right: -1.5625rem;
}

/* -----------------------------------------
// Turnstile
// ---------------------------------------*/
.snow-monkey-forms-turnstile > div {
  place-content: center;
}

/* 余白を詰める／広げる */
.snow-monkey-forms-turnstile--position\:after {
  margin-block-start: 1em;
}

/* ----------------------------------------------------------------
  スティッキーアイテム（.sticky-item）
  フロント（theme.scss）専用。editor-style には含めない
  見た目は各コンポーネント側。張り付き位置・状態だけをここで共通化
  main.js が張り付き時に .si-sticky を付与する
---------------------------------------------------------------- */
.sticky-item {
  position: sticky;
  top: calc(54px + 24px);
  z-index: 90;
}
@media (width > 960px) {
  .sticky-item {
    top: calc(89px + 50px);
  }
}