@charset "UTF-8";
/* =========================================================
   si-te-2026  下層ページ
   - style.css（共通・トップ）の変数・部品を前提にしている
   - 本文（.c-entry）はブロックエディタ／旧テーマ由来のクラスにも対応
========================================================= */

:root {
  --c-bg-light: #f7f7f7;
  --c-link: #2b77b0;
  --grad-pastel: linear-gradient(45deg, #cee3f0 0%, #f9f7d4 80%);
  --grad-line: linear-gradient(90deg, #8fc3e2 0%, #e6d96a 100%);
  --content-w: 1136px;
  --article-w: 880px;
  --section-py: clamp(64px, 6.25vw, 120px);
}

/* ---------------------------------------------------------
   レイアウト
--------------------------------------------------------- */
.l-page__body {
  padding-block: var(--section-py);
}

.l-page__body > .l-container > * {
  max-width: var(--content-w);
  margin-inline: auto;
}

/* ---------------------------------------------------------
   ページ見出し（トップのメインビジュアルと同じグラデーション）
--------------------------------------------------------- */
.p-page-header {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 5.2vw, 100px)) 0 clamp(56px, 5.2vw, 100px);
  background: var(--grad-bg);
  background-position: 0% 50%;
  background-size: var(--grad-bg-size);
  animation: si26-gradient var(--grad-bg-duration) ease infinite;
}

/* トップの About と同じ虫眼鏡モチーフを薄く敷く */
.p-page-header::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -6%;
  z-index: -1;
  width: min(48vw, 920px);
  aspect-ratio: 1;
  background: url("../images/magnifier.svg") center / contain no-repeat;
  opacity: 0.55;
  pointer-events: none;
}

.p-page-header__label {
  font-family: var(--ff-en);
  font-size: clamp(40px, 3.75vw, 72px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.p-page-header__title {
  margin-top: clamp(16px, 1.4vw, 28px);
  font-size: clamp(22px, 1.875vw, 36px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.1em;
}

.p-page-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 20px;
  font-family: var(--ff-en);
  font-size: 15px;
  line-height: 1.5;
}

.p-page-header__updated {
  font-family: var(--ff-base);
  font-size: 13px;
  color: #666;
}

.p-page-header__lead {
  max-width: 760px;
  margin-top: clamp(20px, 1.875vw, 36px);
  font-size: clamp(15px, 0.9375vw, 18px);
  line-height: 2;
}

/* ---------------------------------------------------------
   パンくず
--------------------------------------------------------- */
.c-breadcrumb {
  border-bottom: 1px solid var(--c-border);
}

.c-breadcrumb__inner {
  padding-block: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-gray);
}

.c-breadcrumb a {
  color: var(--c-text);
}

.c-breadcrumb .current-item {
  color: var(--c-gray);
}

/* ---------------------------------------------------------
   部品
--------------------------------------------------------- */
/* バッジ（カテゴリ） */
.c-badge {
  display: inline-block;
  padding: 2px 12px;
  font-family: var(--ff-base);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  border: 1px solid currentColor;
  border-radius: 999px;
}

/* 枠線のピル型ボタン */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25em;
  min-width: 260px;
  min-height: 60px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--c-text);
  text-align: center;
  background: #fff;
  border: 1px solid var(--c-text);
  border-radius: 999px;
  transition: color 0.3s, background-color 0.3s;
}

.c-btn::after {
  content: "→";
}

@media (hover: hover) {
  .c-btn:hover {
    opacity: 1;
    color: #fff;
    background: var(--c-text);
  }
}

/* セクション見出し（英字＋日本語：トップの Works / Message と同じ構成） */
.c-sub-heading__en {
  font-family: var(--ff-en);
  font-size: clamp(32px, 2.5vw, 48px);
  font-weight: 300;
  line-height: 1.17;
  letter-spacing: 0;
}

.c-sub-heading__ja {
  margin-top: clamp(16px, 1.6vw, 32px);
  font-size: clamp(20px, 1.6667vw, 32px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.c-sub-heading__en + .c-sub-heading__ja:empty {
  display: none;
}

/* セクション */
.c-sub-section {
  padding-block: var(--section-py);
}

.c-sub-section--gray {
  background: var(--c-bg-gray);
}

.c-sub-section + .c-sub-section:not(.c-sub-section--gray) {
  padding-top: 0;
}

.c-sub-section--gray + .c-sub-section:not(.c-sub-section--gray),
.c-sub-section:not(.c-sub-section--gray) + .c-sub-section--gray {
  padding-top: var(--section-py);
}

/* 見出し左・本文右の2カラム（トップの About / Works と同じ比率） */
.c-sub-section__split {
  display: grid;
  grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
  gap: 40px clamp(40px, 5.2vw, 100px);
  align-items: start;
}

.c-sub-section__content > * + * {
  margin-top: 32px;
}

.c-sub-section__note {
  margin-top: 32px;
}

.c-sub-section__after {
  margin-top: 48px;
}

.c-sub-section__image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
}

.c-lead-text {
  font-size: 15px;
  line-height: 2.1;
}

.c-lead-text a,
.c-flow__text a,
.c-point-list__text a,
.c-info-table td a {
  color: var(--c-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 旧テーマのACF本文に含まれるボタン（.link-btn） */
.link-btn,
.c-lead-text a.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 1em;
  margin-top: 24px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  background: var(--c-accent);
  border-radius: 999px;
}

.link-btn::after {
  content: "→";
}

.contact-link {
  color: inherit;
}

/* 情報テーブル（会社概要・プロフィール） */
.c-info-table {
  width: 100%;
  border-top: 1px solid var(--c-border-table);
}

.c-info-table th,
.c-info-table td {
  padding: 24px 28px;
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--c-border-table);
}

.c-info-table th {
  width: 28%;
  font-weight: 500;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.6);
}

.c-sub-section:not(.c-sub-section--gray) .c-info-table th {
  background: var(--c-bg-gray);
}

.c-sub-section--gray .c-info-table td {
  background: #fff;
}

/* 地図 */
.c-map iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius);
}

/* チェックリスト */
.c-check-box {
  padding: clamp(24px, 2.1vw, 40px);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}

.c-sub-section:not(.c-sub-section--gray) .c-check-box {
  background: var(--c-bg-light);
  border-color: transparent;
}

.c-check-box__title {
  margin-bottom: 16px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.c-check-list li {
  position: relative;
  padding-left: 1.8em;
  font-size: 15px;
  line-height: 1.8;
}

.c-check-list li + li {
  margin-top: 8px;
}

.c-check-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0.3em;
  width: 11px;
  height: 6px;
  border-bottom: 2px solid var(--c-accent);
  border-left: 2px solid var(--c-accent);
  transform: rotate(-45deg);
}

/* タグ風リスト */
.c-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.c-tag-list li {
  padding: 4px 16px;
  font-size: 13px;
  line-height: 1.7;
  border: 1px solid var(--c-border-table);
  border-radius: 999px;
}

/* ポイント（3列：トップの Service と同じ線の区切り） */
.c-point-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 3.75vw, 72px);
  border-top: 1px solid var(--c-border);
  border-left: 1px solid var(--c-border);
}

.c-point-list__item {
  padding: clamp(28px, 2.6vw, 48px) clamp(20px, 2.1vw, 40px);
  border-right: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.c-sub-section--gray .c-point-list__item {
  background: #fff;
}

.c-point-list__num {
  font-family: var(--ff-en);
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  color: var(--c-accent);
}

.c-point-list__title {
  margin-top: 20px;
  font-size: clamp(17px, 1.15vw, 22px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.c-point-list__en {
  margin-top: 4px;
  font-family: var(--ff-en);
  font-size: 13px;
  font-weight: 300;
  color: var(--c-gray);
}

.c-point-list__text {
  margin-top: 16px;
  font-size: 14px;
  line-height: 2;
}

/* 流れ（ステップ） */
.c-flow {
  counter-reset: none;
}

.c-flow__item {
  position: relative;
  padding: 0 0 40px 40px;
}

.c-flow__item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 13px;
  height: 13px;
  background: var(--grad-pastel);
  border: 1px solid #a9cde3;
  border-radius: 50%;
}

.c-flow__item::after {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 0;
  left: 6px;
  width: 1px;
  background: var(--c-border-table);
}

.c-flow__item:last-child {
  padding-bottom: 0;
}

.c-flow__item:last-child::after {
  display: none;
}

.c-flow__num {
  font-family: var(--ff-en);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--c-accent);
}

.c-flow__title {
  margin-top: 4px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.c-flow__text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 2;
}

/* 画像＋白ボックス（トップの Message カードと同じ構成） */
.c-media-list {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 3.125vw, 60px);
}

.c-media-card {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
  align-items: center;
}

.c-media-card:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
}

.c-media-card:nth-child(even) .c-media-card__image {
  order: 2;
}

.c-media-card__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.c-media-card__body {
  position: relative;
  z-index: 1;
  margin-left: -10%;
  padding: clamp(32px, 3.125vw, 60px) clamp(24px, 2.6vw, 50px);
  background: #fff;
  border-radius: var(--radius);
}

.c-media-card:nth-child(even) .c-media-card__body {
  margin-right: -10%;
  margin-left: 0;
}

.c-media-card__num {
  font-family: var(--ff-en);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--c-accent);
}

.c-media-card__title {
  margin-top: 8px;
  font-size: clamp(20px, 1.4583vw, 28px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.c-media-card__text {
  margin-top: 20px;
  font-size: 14px;
  line-height: 2;
}

.c-media-card .c-tag-list {
  margin-top: 24px;
}

.c-media-card__more {
  margin-top: 28px;
}

/* ギャラリー（制作実績・ネットショップ実績） */
.c-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 30px;
  margin-top: clamp(40px, 3.75vw, 72px);
}

.c-gallery--works {
  margin-top: 0;
}

.c-gallery__link {
  display: block;
}

.c-gallery__thumb {
  overflow: hidden;
  background: var(--c-bg-gray);
  border-radius: var(--radius);
}

.c-gallery__thumb img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s;
}

@media (hover: hover) {
  a.c-gallery__link:hover {
    opacity: 1;
  }

  a.c-gallery__link:hover .c-gallery__thumb img {
    transform: scale(1.04);
  }
}

.c-gallery__name {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.c-gallery__name span {
  margin-left: 0.5em;
  font-size: 13px;
  font-weight: 400;
  color: var(--c-gray);
}

.c-gallery__text {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.9;
  color: #555;
}

/* お知らせ一覧（行） */
.c-post-list {
  border-top: 1px solid var(--c-border);
}

.c-post-list__item {
  border-bottom: 1px solid var(--c-border);
}

.c-post-list__link {
  display: grid;
  grid-template-columns: 110px 130px minmax(0, 1fr);
  align-items: center;
  gap: 8px 24px;
  padding: 28px 16px;
  transition: background-color 0.3s;
}

@media (hover: hover) {
  .c-post-list__link:hover {
    opacity: 1;
    background: var(--c-bg-light);
  }
}

.c-post-list__date {
  font-family: var(--ff-en);
  font-size: 15px;
  color: var(--c-gray-light);
}

.c-post-list__cat {
  justify-self: start;
  padding: 2px 12px;
  font-size: 12px;
  line-height: 1.6;
  border: 1px solid var(--c-text);
  border-radius: 999px;
}

.c-post-list__title {
  font-size: 15px;
  line-height: 1.8;
}

/* ブログ一覧（カード） */
.c-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 30px;
}

.c-card {
  display: block;
}

.c-card__thumb {
  overflow: hidden;
  border-radius: var(--radius);
}

.c-card__thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s;
}

@media (hover: hover) {
  .c-card:hover {
    opacity: 1;
  }

  .c-card:hover .c-card__thumb img {
    transform: scale(1.04);
  }
}

.c-card__title {
  margin-top: 18px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.05em;
}

.c-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.c-card__meta time {
  font-family: var(--ff-en);
  color: var(--c-gray-light);
}

/* 検索結果 */
.c-search-list {
  border-top: 1px solid var(--c-border);
}

.c-search-list__item {
  border-bottom: 1px solid var(--c-border);
}

.c-search-list__link {
  display: block;
  padding: 28px 16px;
}

.c-search-list__title {
  display: block;
  font-size: 17px;
  font-weight: 500;
}

.c-search-list__text {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #555;
}

.c-search-form {
  margin-top: 32px;
}

.c-empty {
  padding: 40px 0;
  text-align: center;
}

/* ページ送り */
.c-pagination {
  margin-top: clamp(48px, 4.2vw, 80px);
}

.c-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.c-pagination a,
.c-pagination span.page-numbers {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  padding: 0 8px;
  font-family: var(--ff-en);
  font-size: 15px;
  border: 1px solid var(--c-border-table);
  border-radius: 999px;
}

.c-pagination .current {
  color: #fff;
  background: var(--c-text);
  border-color: var(--c-text);
}

.c-pagination .dots {
  border-color: transparent;
}

/* 関連ページ（トップの Service と同じ線の区切り） */
.p-related {
  padding-block: var(--section-py);
  background: var(--c-bg-gray);
}

.p-related__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(32px, 3.125vw, 60px);
  border-top: 1px solid var(--c-border-table);
  border-left: 1px solid var(--c-border-table);
}

.p-related__item {
  border-right: 1px solid var(--c-border-table);
  border-bottom: 1px solid var(--c-border-table);
}

.p-related__link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  min-height: 160px;
  padding: 32px clamp(20px, 2.1vw, 40px);
  background: #fff;
  transition: background-color 0.3s;
}

@media (hover: hover) {
  .p-related__link:hover {
    opacity: 1;
    background: #fafafa;
  }

  .p-related__link:hover .c-link-arrow::after {
    transform: translateX(6px);
  }
}

.p-related__title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

/* 記事詳細 */
.p-article {
  max-width: var(--article-w);
  margin-inline: auto;
}

.p-article__thumb {
  margin-bottom: 48px;
}

.p-article__thumb img {
  width: 100%;
  border-radius: var(--radius);
}

.p-article__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(56px, 5.2vw, 100px);
  border-top: 1px solid var(--c-border);
  padding-top: 32px;
}

.p-article__next {
  text-align: right;
}

.p-article__nav a {
  display: block;
}

.p-article__nav-label {
  display: block;
  font-size: 12px;
  color: var(--c-gray);
}

.p-article__prev .p-article__nav-label::before {
  content: "← ";
}

.p-article__next .p-article__nav-label::after {
  content: " →";
}

.p-article__nav-title {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.p-article__back {
  margin-top: 48px;
  text-align: center;
}

/* 404・社内向け */
.p-notfound {
  padding: 24px 0;
  text-align: center;
}

.p-notfound p {
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 2;
}

/* 会社案内 */
.p-about-page__address {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.9;
}

/* 社員紹介 */
.p-staff {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 56px;
}

.p-staff__image img {
  width: 100%;
  border-radius: var(--radius);
}

/* お問い合わせ誘導（下層ページでは本文との間を少し詰める） */
.l-page .p-contact--bottom {
  padding-top: var(--section-py);
}

.p-related + .p-contact--bottom,
.c-sub-section--gray + .p-contact--bottom {
  padding-top: var(--section-py);
}

/* =========================================================
   本文（ブロックエディタの出力・旧テーマのクラス）
========================================================= */
.c-entry {
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.05em;
  overflow-wrap: anywhere;
}

.c-entry--wide {
  max-width: var(--content-w);
  margin-inline: auto;
}

.c-entry::after {
  content: "";
  display: block;
  clear: both;
}

.c-entry > :first-child {
  margin-top: 0 !important;
}

.c-entry p,
.c-entry ul,
.c-entry ol,
.c-entry dl,
.c-entry table,
.c-entry figure,
.c-entry blockquote,
.c-entry details,
.c-entry pre,
.c-entry .wp-block-columns,
.c-entry .wp-block-group,
.c-entry .wp-block-buttons,
.c-entry .wp-block-embed,
.c-entry .dt-container {
  margin-bottom: 1.75em;
}

.c-entry p:empty {
  display: none;
}

/* 見出し */
.c-entry h2 {
  position: relative;
  margin: clamp(56px, 4.2vw, 80px) 0 32px;
  padding-bottom: 18px;
  font-size: clamp(21px, 1.4583vw, 28px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--c-border);
}

.c-entry h2::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 80px;
  height: 2px;
  background: var(--grad-line);
}

.c-entry h3 {
  position: relative;
  margin: 48px 0 20px;
  padding-left: 18px;
  font-size: clamp(18px, 1.1458vw, 22px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.c-entry h3::before {
  content: "";
  position: absolute;
  top: 0.3em;
  bottom: 0.3em;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, #8fc3e2 0%, #e6d96a 100%);
  border-radius: 2px;
}

.c-entry h4 {
  margin: 40px 0 12px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

.c-entry h5,
.c-entry h6 {
  margin: 32px 0 8px;
  font-size: 15px;
  font-weight: 700;
}

/* テキスト */
.c-entry a {
  color: var(--c-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.c-entry strong,
.c-entry b {
  font-weight: 700;
}

.c-entry mark {
  background: linear-gradient(transparent 60%, #f9f2b5 60%);
}

.c-entry mark.has-inline-color {
  background: none;
}

.c-entry small {
  font-size: 0.85em;
}

.c-entry code {
  padding: 2px 6px;
  font-size: 0.9em;
  background: var(--c-bg-light);
  border-radius: 4px;
}

.c-entry pre {
  padding: 20px 24px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.8;
  background: var(--c-bg-light);
  border-radius: var(--radius);
}

.c-entry pre code {
  padding: 0;
  background: none;
}

/* リスト */
.c-entry ul,
.c-entry ol {
  padding-left: 1.6em;
}

.c-entry ul {
  list-style: disc;
}

.c-entry ol {
  list-style: decimal;
}

.c-entry li + li {
  margin-top: 0.4em;
}

.c-entry li > ul,
.c-entry li > ol {
  margin: 0.4em 0 0;
}

.c-entry ul li::marker {
  color: #9fb9c9;
}

/* 引用・区切り */
.c-entry blockquote:not(.wp-embedded-content) {
  padding: 24px 28px;
  background: var(--c-bg-light);
  border-left: 3px solid var(--c-border-table);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.c-entry blockquote p:last-child {
  margin-bottom: 0;
}

.c-entry hr,
.c-entry .wp-block-separator {
  margin: 56px 0;
  border: 0;
  border-top: 1px solid var(--c-border);
  opacity: 1;
}

/* 画像 */
.c-entry img {
  height: auto;
}

.c-entry figure img,
.c-entry p > img {
  border-radius: var(--radius);
}

.c-entry .aligncenter {
  margin-inline: auto;
  text-align: center;
}

.c-entry .aligncenter img {
  margin-inline: auto;
}

.c-entry .alignleft {
  float: left;
  margin: 0.4em 1.5em 1em 0;
}

.c-entry .alignright {
  float: right;
  margin: 0.4em 0 1em 1.5em;
}

.c-entry figcaption,
.c-entry .wp-element-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--c-gray);
  text-align: center;
}

/* 表 */
.c-entry table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.8;
}

.c-entry th,
.c-entry td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--c-border-table);
}

.c-entry th,
.c-entry thead td {
  font-weight: 500;
  background: var(--c-bg-gray);
}

.c-entry .wp-block-table {
  overflow-x: auto;
}

.c-entry .wp-block-table table {
  margin-bottom: 0;
}

.c-entry .has-text-align-center {
  text-align: center;
}

.c-entry .has-text-align-right {
  text-align: right;
}

/* TablePress（制作料金ページ） */
.c-entry .c-table-scroll {
  margin-bottom: 1.75em;
  overflow-x: auto;
}

.c-entry .c-table-scroll table,
.c-entry .c-table-scroll .dt-container {
  margin-bottom: 0;
}

.c-entry .tablepress th,
.c-entry .tablepress thead th {
  text-align: center;
  background: var(--c-bg-gray);
}

.c-entry .tablepress tbody td {
  background: #fff;
}

.c-entry .tablepress tbody td:first-child {
  font-weight: 500;
}

.c-entry .tablepress caption a {
  display: none;
}

.c-entry .tablepress.page-price-table td:nth-child(2) {
  width: 180px;
  min-width: 120px;
  text-align: right;
  white-space: nowrap;
}

.c-entry .tablepress.font-normal td:first-child {
  font-weight: 400;
}

/* ボタン（ブロック） */
.c-entry .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 1em;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
  text-decoration: none;
  background-color: var(--c-text);
  border-radius: 999px;
}

.c-entry .wp-block-button__link::after {
  content: "→";
}

/* カラム・グループ */
.c-entry .wp-block-columns {
  gap: clamp(20px, 2.1vw, 40px);
}

.c-entry .wp-block-column > :last-child {
  margin-bottom: 0;
}

.c-entry .wp-block-group.has-background {
  padding: clamp(24px, 2.1vw, 40px);
  border-radius: var(--radius);
}

.c-entry p.has-background {
  padding: 16px 24px;
  border-radius: var(--radius);
}

/* 余白ブロック（スマホでは詰める） */
.c-entry .wp-block-spacer {
  clear: both;
}

/* アコーディオン（details） */
.c-entry details {
  border: 1px solid var(--c-border-table);
  border-radius: var(--radius);
}

.c-entry summary {
  position: relative;
  padding: 18px 56px 18px 24px;
  font-weight: 500;
  line-height: 1.7;
  list-style: none;
  cursor: pointer;
}

.c-entry summary::-webkit-details-marker {
  display: none;
}

.c-entry summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  font-family: var(--ff-en);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-50%);
}

.c-entry details[open] summary::after {
  content: "−";
}

.c-entry details > :not(summary) {
  margin-inline: 24px;
}

.c-entry details > :last-child {
  margin-bottom: 24px;
}

/* ブログカード（WordPress埋め込み） */
.c-entry .wp-block-embed iframe {
  max-width: 100%;
}

.c-entry .wp-block-embed__wrapper {
  display: flex;
  justify-content: center;
}

/* --- 旧テーマ由来のクラス --- */
/* ポイント枠 */
.c-entry .content-point {
  padding: clamp(20px, 1.875vw, 36px);
  background: var(--c-bg-light);
  border-radius: var(--radius);
}

.c-entry .content-point img {
  display: block;
  max-width: 200px;
  margin-inline: auto;
}

.c-entry details.content-point {
  padding: 0;
  background: #fff;
}

/* チェックリスト */
.c-entry ul.checklist {
  padding: clamp(20px, 2.1vw, 40px) clamp(20px, 2.1vw, 40px) clamp(20px, 2.1vw, 40px) calc(clamp(20px, 2.1vw, 40px) + 1.8em);
  list-style: none;
  background: var(--c-bg-light);
  border-radius: var(--radius);
}

.c-entry ul.checklist li {
  position: relative;
  font-size: 17px;
}

.c-entry ul.checklist li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: -1.5em;
  width: 11px;
  height: 6px;
  border-bottom: 2px solid var(--c-accent);
  border-left: 2px solid var(--c-accent);
  transform: rotate(-45deg);
}

.c-entry .check {
  font-weight: 700;
  color: var(--c-accent);
}

/* 白枠の強調カラム */
.c-entry .column-fff {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--c-border-table);
  border-radius: var(--radius);
}

.c-entry .column-fff p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

/* 吹き出し */
.c-entry .speechBubble {
  position: relative;
  margin-bottom: 28px;
  padding: 24px 20px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  background: var(--c-bg-gray);
  border-radius: 999px;
}

.c-entry .speechBubble::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 18px 10px 0;
  border-color: var(--c-bg-gray) transparent transparent;
  translate: -50% 100%;
}

.c-entry .speechBubble p {
  margin: 0;
}

/* 相談の流れ（dl） */
.c-entry .flow-consultation {
  display: flex;
  overflow: hidden;
  border-radius: var(--radius);
}

.c-entry .flow-consultation dt {
  width: 30%;
  padding: 20px;
  font-weight: 500;
  color: #fff;
  background: var(--c-text);
}

.c-entry .flow-consultation dd {
  width: 70%;
  margin: 0;
  padding: 20px;
  background: var(--c-bg-light);
}

/* 2つ並びのボタン */
.c-entry .btn_2_area {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 40px 0 56px;
}

.c-entry .btn_2_area .btn_item {
  width: min(100%, 340px);
}

.c-entry .btn_2_area .btn_item a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  min-height: 64px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  background: var(--c-text);
  border-radius: 999px;
}

.c-entry .btn_2_area .btn_item a::after {
  content: "→";
}

.c-entry .btn_2_area .btn_red a {
  background: var(--c-accent);
}

/* サイトマップ */
.c-entry ul.sitemap {
  max-width: 760px;
  padding-left: 0;
  list-style: none;
}

.c-entry ul.sitemap > li {
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
}

.c-entry ul.sitemap > li + li {
  margin-top: 0;
}

.c-entry ul.sitemap > li > a {
  font-size: 16px;
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
}

.c-entry ul.sitemap > li > a::after {
  content: "→";
  margin-left: 0.8em;
  color: var(--c-accent);
}

.c-entry ul.sitemap-child {
  margin: 12px 0 0;
  padding-left: 1.2em;
  list-style: none;
}

.c-entry ul.sitemap-child li {
  position: relative;
  padding-left: 1em;
  font-size: 14px;
}

.c-entry ul.sitemap-child li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--c-gray);
}

.c-entry ul.sitemap-child a {
  color: var(--c-text);
}

/* 本文に入っている入れ子の .content（旧テーマ用の幅指定）は無効化 */
.c-entry .content {
  width: auto;
  margin: 0;
}

/* --- お問い合わせフォーム（Contact Form 7） --- */
.c-entry .wpcf7 {
  max-width: 800px;
  margin-inline: auto;
}

.c-entry .form-contact,
.c-entry .form-contact tbody,
.c-entry .form-contact tr,
.c-entry .form-contact td {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
}

.c-entry .form-contact tr + tr {
  margin-top: 28px;
}

.c-entry .form-contact p {
  margin: 0;
  font-weight: 500;
}

.c-entry .require {
  margin-left: 0.4em;
  color: var(--c-accent);
}

.c-entry .wpcf7-form-control-wrap {
  display: block;
  margin-top: 10px;
}

.c-entry .wpcf7 input[type="text"],
.c-entry .wpcf7 input[type="email"],
.c-entry .wpcf7 input[type="tel"],
.c-entry .wpcf7 input[type="url"],
.c-entry .wpcf7 input[type="number"],
.c-entry .wpcf7 select,
.c-entry .wpcf7 textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-weight: 400;
  color: var(--c-text);
  background: var(--c-bg-light);
  border: 1px solid var(--c-border-table);
  border-radius: 6px;
  transition: border-color 0.2s, background-color 0.2s;
}

.c-entry .wpcf7 input:focus,
.c-entry .wpcf7 select:focus,
.c-entry .wpcf7 textarea:focus {
  outline: none;
  background: #fff;
  border-color: #8fc3e2;
  box-shadow: 0 0 0 3px rgba(143, 195, 226, 0.25);
}

.c-entry .wpcf7-radio,
.c-entry .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-weight: 400;
}

.c-entry .wpcf7-list-item {
  margin: 0;
}

.c-entry .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.c-entry .wpcf7-submit {
  display: block;
  width: min(100%, 280px);
  height: 64px;
  margin: 40px auto 0;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
  cursor: pointer;
  background: var(--c-accent);
  border: 0;
  border-radius: 999px;
  transition: opacity 0.3s;
}

@media (hover: hover) {
  .c-entry .wpcf7-submit:hover {
    opacity: 0.8;
  }
}

.c-entry .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-accent);
}

.c-entry .wpcf7 form .wpcf7-response-output {
  margin: 28px 0 0;
  padding: 14px 20px;
  border-radius: 6px;
}

.c-entry .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 1199px) {
  .p-page-header {
    padding-top: calc(var(--header-h) + 56px);
  }

  .p-page-header::before {
    top: -10%;
    right: -20%;
    width: 80vw;
  }

  .c-sub-section__split {
    grid-template-columns: minmax(0, 1fr);
  }

  .c-point-list,
  .p-related__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .c-gallery,
  .c-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .c-media-card,
  .c-media-card:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
  }

  .c-media-card:nth-child(even) .c-media-card__image {
    order: 0;
  }

  .c-media-card__body,
  .c-media-card:nth-child(even) .c-media-card__body {
    margin: -48px 24px 0;
  }
}

@media (max-width: 767px) {
  .p-page-header {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 48px;
  }

  .p-page-header__title {
    font-size: 21px;
    letter-spacing: 0.06em;
  }

  .c-breadcrumb__inner {
    padding-block: 12px;
    font-size: 12px;
  }

  .c-sub-heading__ja {
    font-size: 20px;
    letter-spacing: 0.06em;
  }

  .c-point-list,
  .p-related__list,
  .c-gallery,
  .c-card-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .c-gallery,
  .c-card-list {
    gap: 40px;
  }

  .c-info-table th,
  .c-info-table td {
    display: block;
    width: 100%;
    padding: 14px 16px;
  }

  .c-info-table th {
    padding-bottom: 6px;
    border-bottom: 0;
  }

  .c-media-card__body,
  .c-media-card:nth-child(even) .c-media-card__body {
    margin: -32px 12px 0;
    padding: 28px 20px;
  }

  .c-post-list__link {
    grid-template-columns: auto 1fr;
    padding: 20px 4px;
  }

  .c-post-list__title {
    grid-column: 1 / -1;
  }

  .p-article__nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .p-article__next {
    text-align: left;
  }

  .p-staff {
    grid-template-columns: minmax(0, 1fr);
  }

  .p-staff__image {
    max-width: 240px;
  }

  .c-btn {
    min-width: 0;
    width: min(100%, 320px);
  }

  .c-entry {
    font-size: 15px;
    line-height: 1.95;
  }

  .c-entry .wp-block-spacer {
    max-height: 48px;
  }

  .c-entry .alignleft,
  .c-entry .alignright {
    float: none;
    margin: 0 0 1.5em;
  }

  /* 横に長い表はスクロール */
  .c-entry .wp-block-table table,
  .c-entry .tablepress {
    min-width: 560px;
  }

  .c-entry .tablepress {
    min-width: 720px;
  }

  .c-entry .tablepress td:first-child {
    min-width: 8em;
  }

  .c-entry .tablepress.page-price-table td:nth-child(2) {
    width: 120px;
  }

  .c-entry .tablepress.page-price-table td:nth-child(3) {
    min-width: 300px;
  }

  /* 項目名の列が細くなりすぎないように */
  .c-entry tr > th:first-child,
  .c-entry tr > td:first-child {
    min-width: 6.5em;
  }

  .c-entry .dt-container,
  .c-entry figure.wp-block-table {
    overflow-x: auto;
  }

  .c-entry > table {
    display: block;
    overflow-x: auto;
  }

  .c-entry .flow-consultation {
    flex-direction: column;
  }

  .c-entry .flow-consultation dt,
  .c-entry .flow-consultation dd {
    width: 100%;
  }
}

/* 動きを減らす設定の端末では、背景グラデーションを止める */
@media (prefers-reduced-motion: reduce) {
  .p-page-header {
    animation: none;
  }
}
