/* WordPress専門サイト: 既存テーマのIBM Plex/Carbon基盤に専用UIを追加。 */
/* サイト共通のアイコン寸法。説明用と操作用は役割ごとに揃える。 */
:root {
  --wp-brand: #0f62fe;
  --wp-muted: #525252;
  --wp-line: #e0e0e0;
  --wp-icon-size-content: 32px;
  --wp-icon-size-action: 18px;
  --wp-icon-size-indicator: 12px;
}
/* コーポレートサイトの .mw-button と同じサイズ・配色・矢印レイアウト。 */
.wp-button {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  width: fit-content;
  max-width: 100%;
  padding: 16px 64px 16px 16px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--wp-brand);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.wp-button:hover { background: #0043ce; color: #fff; }
.wp-button .mw-icon { position: absolute; top: 50%; right: 16px; transform: translateY(-50%); }
.wp-button--outline { border-color: var(--wp-brand); background: transparent; color: var(--wp-brand); }
.wp-button--outline:hover { border-color: var(--wp-brand); background: var(--wp-brand); color: #fff; }
/* ファーストビュー：右側のビジュアルを残し、左側の文字を読めるコントラストを確保。 */
.wp-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 680px;
  padding: clamp(4rem, 7vw, 7rem) 0;
  overflow: hidden;
  background: #030d21;
  color: #fff;
}
.wp-hero__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}
.wp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(2 9 22 / 91%) 0%, rgb(2 9 22 / 76%) 36%, rgb(2 9 22 / 47%) 62%, rgb(2 9 22 / 18%) 100%);
  pointer-events: none;
}
.wp-hero > .l-container { position: relative; }
.wp-hero h1 { color: #fff; max-width: 780px; }
.wp-hero .wp-lead,
.wp-hero > .l-container > p:not(.wp-hero__price) { color: #f0f4fb; }
.wp-hero .wp-hero__price,
.wp-hero .wp-hero__price span { color: #fff; }
.wp-hero .wp-button--outline { border-color: #fff; background: rgb(3 13 33 / 35%); color: #fff; }
.wp-hero .wp-button--outline:hover { border-color: #fff; background: #fff; color: var(--wp-brand); }
/* ファーストビューだけCTAを左揃えにし、他セクションの中央配置は維持する。 */
.wp-hero .wp-actions { justify-content: flex-start; }
.wp-eyebrow { display: block; color: var(--wp-brand); letter-spacing: .12em; font-weight: 600; font-size: .75rem; margin-bottom: 1rem; }
.wp-hero h1, .wp-page-head h1 { max-width: 950px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.4; letter-spacing: -.03em; }
.wp-lead { color: var(--wp-muted); max-width: 760px; font-size: 1.1rem; }
.wp-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.wp-section { padding: clamp(3.5rem, 6vw, 6rem) 0; }
.wp-section--soft { background: #f7f9fc; }
.wp-section h2 { font-size: clamp(1.55rem, 2.5vw, 2rem); line-height: 1.4; }
.wp-section-head { max-width: 800px; margin-bottom: 2rem; }
.wp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.wp-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wp-card { display: flex; flex-direction: column; gap: .8rem; padding: 2rem; border: 1px solid var(--wp-line); background: #fff; min-width: 0; }
.wp-card h3 { font-size: 1.2rem; margin: 0; line-height: 1.45; }
.wp-card p { margin: 0; color: var(--wp-muted); }


/* トップページを基準とした共通の中央見出し・導入文。 */
.wp-section-head--center {
  max-width: 860px;
  margin: 0 auto clamp(2.5rem, 4vw, 4rem);
  text-align: center;
}
.wp-section-head--center > h2 { margin: 0 0 1rem; }
.wp-section-head--center > p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--wp-muted);
  line-height: 1.85;
}
.wp-section-head--center > p + p { margin-top: 1rem; }

/* トップページと下層ページ共通：枠を設けない3列の特徴紹介。 */
.wp-feature-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr;
  border-top: 1px solid var(--wp-line);
}
.wp-feature-point {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  min-width: 0;
  padding: 2rem clamp(1.25rem, 2.5vw, 2.75rem);
}
.wp-feature-point:first-child { padding-left: 0; }
.wp-feature-point:last-child { padding-right: 0; }
.wp-feature-point + .wp-feature-point { border-left: 1px solid var(--wp-line); }
.wp-feature-point__icon {
  display: block;
  width: var(--wp-icon-size-content);
  height: var(--wp-icon-size-content);
  margin: 0 auto 1.5rem;
  color: var(--wp-brand);
}
.wp-feature-point__icon svg { display: block; width: 100%; height: 100%; }
.wp-feature-point h3 {
  margin: 0 0 .75rem;
  font-size: 1.125rem;
  line-height: 1.5;
}
.wp-feature-point p { margin: 0; color: var(--wp-muted); line-height: 1.8; }
@media (max-width: 782px) {
  .wp-feature-points {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }
  .wp-feature-point { display: block; grid-row: auto; }
  .wp-feature-point,
  .wp-feature-point:first-child,
  .wp-feature-point:last-child { padding: 1.75rem 0; }
  .wp-feature-point + .wp-feature-point {
    border-left: 0;
    border-top: 1px solid var(--wp-line);
  }
  .wp-feature-point:last-child { padding-bottom: 0; }
  .wp-feature-point__icon { margin-bottom: 1rem; }
}

/* トップページと下層ページ共通：番号付きの3段説明。 */
.wp-numbered-reasons { border-bottom: 1px solid var(--wp-line); }
.wp-numbered-reason {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 3vw, 3rem) 0;
  border-top: 1px solid var(--wp-line);
}
.wp-numbered-reason__heading {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 96px;
  padding-left: clamp(3rem, 4.5vw, 4.5rem);
}
.wp-numbered-reason__heading::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 0;
  content: attr(data-number);
  transform: translateY(-50%);
  color: #e4edf9;
  font-family: var(--font-body);
  font-size: clamp(5rem, 7vw, 6.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.07em;
  pointer-events: none;
  user-select: none;
}
.wp-numbered-reason__heading h3 {
  position: relative;
  margin: 0;
  color: var(--color-heading);
  font-size: clamp(1.1rem, 1.65vw, 1.35rem);
  font-weight: 500;
  line-height: 1.55;
}
.wp-numbered-reason > p {
  margin: 0;
  color: var(--wp-muted);
  line-height: 1.85;
}
@media (max-width: 980px) {
  .wp-numbered-reason {
    grid-template-columns: minmax(0, 1fr);
    gap: .5rem;
  }
}
@media (max-width: 600px) {
  .wp-numbered-reason__heading { min-height: 76px; padding-left: 2.7rem; }
  .wp-numbered-reason__heading::before { font-size: 5rem; }
  .wp-numbered-reason { padding-block: 1.8rem; }
}


/* お客様の困りごと：人物シルエット＋吹き出しの会話カード。 */
.wp-voice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.wp-voice-card {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  gap: 1rem;
}

.wp-voice-card__person {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 50%;
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 8%, var(--color-background));
}

/* OSごとに見え方が変わる絵文字を使わず、CSSだけで人物アイコンを描く。 */
.wp-voice-card__person::before {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.wp-voice-card__person::after {
  position: absolute;
  top: 30px;
  left: 50%;
  width: 28px;
  height: 15px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  content: "";
  transform: translateX(-50%);
}

.wp-voice-card__bubble {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 1.25rem 1.25rem 1.15rem;
  border: 1px solid var(--color-border);
  background: var(--color-background);
}

.wp-voice-card__bubble::before {
  position: absolute;
  top: 21px;
  left: -8px;
  width: 14px;
  height: 14px;
  border-left: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-background);
  content: "";
  transform: rotate(45deg);
}

.wp-voice-card__bubble h3 {
  margin: 0 0 0.65rem;
  color: var(--color-heading);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
}

.wp-voice-card__bubble p {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

@media (max-width: 782px) {
  .wp-voice-grid { grid-template-columns: minmax(0, 1fr); }
  .wp-voice-card { gap: 0.75rem; }
  .wp-voice-card__person { width: 48px; height: 48px; flex-basis: 48px; }
  .wp-voice-card__person::before { top: 8px; }
  .wp-voice-card__person::after { top: 25px; }
  .wp-voice-card__bubble { padding: 1rem; }
  .wp-voice-card__bubble::before { top: 17px; }
}

/* 共通保守カードのアイコン：縦横比の違う6つのSVGを揃えて表示する。 */
.wp-maintenance-card__heading {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.wp-maintenance-card__heading h3 { flex: 1; min-width: 0; }
.wp-maintenance-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--wp-icon-size-content);
  height: var(--wp-icon-size-content);
  max-width: 100%;
  flex: 0 0 var(--wp-icon-size-content);
  color: var(--wp-brand);
}
.wp-maintenance-card__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.wp-card-link { margin-top: auto; font-weight: 600; color: var(--wp-brand); }
.wp-card-link::after { content: ' →'; }
.wp-page-head { padding: 3.2rem 0; background: #f7f9fc; }
/* 下層ページ共通：タイトル直下の紹介文を一定の間隔で表示する。 */
.wp-page-head .wp-lead {
  margin-top: 1.25rem;
  line-height: 1.85;
}
.wp-page-body { padding: 3rem 0 5rem; }
/* コーポレートサイトと同じパンくず：リンクは青、現在地はグレー。 */
.wp-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
  color: var(--color-text-secondary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
}
.wp-breadcrumb li + li { margin-left: 16px; }
.wp-breadcrumb li + li::before { content: '/'; margin-right: 16px; color: var(--color-text-secondary); }
.wp-breadcrumb a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}
.wp-breadcrumb a:hover,
.wp-breadcrumb a:focus-visible {
  color: var(--color-primary-hover);
  text-decoration-color: currentColor;
}
.wp-breadcrumb [aria-current="page"] { color: var(--color-text-secondary); }
@media (max-width: 671px) {
  .wp-breadcrumb ol { font-size: .75rem; }
}
.wp-check-list { padding-left: 1.4rem; }
.wp-check-list li { margin-bottom: .65rem; }
.wp-price { font-size: 2rem; font-weight: 600; letter-spacing: -.025em; }
.wp-price small { font-size: .8rem; font-weight: 400; }
.wp-note { font-size: .82rem; color: var(--wp-muted); }
/* CTA背景：左側の文字を読みやすく保ち、右側のシールドを活かす。 */
.wp-cta {
  background-color: #07142c;
  background-image:
    linear-gradient(90deg, rgb(4 12 29 / 93%) 0%, rgb(4 12 29 / 80%) 42%, rgb(4 12 29 / 28%) 100%),
    url("../images/common/cta.webp");
  background-position: center, center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
}
.wp-cta h2 { max-width: 800px; margin: 0 0 1rem; color: #fff; }
.wp-cta p { max-width: 780px; margin: 0; color: #e4eaf3; }
.wp-cta .wp-actions { justify-content: flex-start; }
.wp-cta .wp-button--outline { background: transparent; border-color: #fff; color: #fff; }
@media (max-width: 782px) {
  .wp-cta {
    background-image:
      linear-gradient(90deg, rgb(4 12 29 / 91%), rgb(4 12 29 / 79%)),
      url("../images/common/cta.webp");
    background-position: center, 65% center;
  }
  .wp-cta .wp-actions { align-items: center; justify-content: center; }
}
.wp-topics { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.5rem 0 2.3rem; }
.wp-topics a { padding: .5rem .8rem; border: 1px solid var(--wp-line); font-size: .8rem; }
.wp-topics a:hover { border-color: var(--wp-brand); color: var(--wp-brand); }
.wp-article { max-width: 800px; }
.wp-article-meta { font-size: .8rem; color: var(--wp-muted); display: flex; flex-wrap: wrap; gap: 1rem; }
.wp-article h2 { margin-top: 2.2rem; }
.wp-article .entry-content { overflow-wrap: anywhere; }
.wp-article .entry-content a { color: var(--wp-brand); text-decoration: underline; }
.wp-article .entry-content img { margin: 1.5rem auto; }
@media (max-width: 782px) { .wp-grid, .wp-grid--two { grid-template-columns: 1fr; } .wp-hero { padding: 3.5rem 0; } }



/* サービストップに置く既存のナレッジカード。 */
.wp-knowledge-tags { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .75rem; color: var(--wp-brand); }


/* WordPress保守プランとサービス説明：読みやすい日本語の見出しと3プラン表示。 */
.wp-hero > .l-container > p:not(.wp-lead) { max-width: 760px; }
.wp-hero__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .55rem; margin: 1.5rem 0 0; color: #161616; }
.wp-hero__price strong { font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 600; }
.wp-hero__price span { color: var(--wp-muted); }
.wp-section-ending { margin: 1.5rem 0 0; font-weight: 600; }
.wp-plan-grid { align-items: stretch; }
.wp-plan-card { gap: .9rem; }
.wp-plan-card--featured { border-color: var(--wp-brand); border-width: 2px; }
.wp-plan-card__target { color: var(--wp-muted); font-size: .9rem; }
.wp-plan-card__description { color: var(--wp-muted); line-height: 1.8; }
.wp-plan-card__features li.wp-plan-card__support-highlight {
  color: var(--wp-brand);
  font-weight: 500;
}
.wp-plan-card .wp-price { margin: .2rem 0; color: #161616; font-size: clamp(1.5rem, 2.2vw, 2rem); white-space: normal; }
.wp-plan-card .wp-price--quote { font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
.wp-plan-card__features {
  margin: .2rem 0 0;
  padding: 0;
  list-style: none;
}
.wp-plan-card__features li {
  position: relative;
  margin: 0 0 .65rem;
  padding-left: 1.5rem;
  line-height: 1.7;
}
.wp-plan-card__features li::before {
  position: absolute;
  top: .3em;
  left: .25rem;
  width: .4rem;
  height: .7rem;
  border-right: 2px solid var(--wp-brand);
  border-bottom: 2px solid var(--wp-brand);
  content: "";
  transform: rotate(45deg);
}
.wp-plan-cards__note {
  margin: 1.3rem 0 0;
  line-height: 1.8;
}
.wp-section > .l-container > .wp-note { margin-top: 1.3rem; }
/* 料金カード直後に注記が続く場合は、※同士の余白だけを詰める。 */
.wp-section > .l-container > .wp-pattern-plans + .wp-note { margin-top: .35rem; }
@media (max-width: 782px) {
	.wp-plan-card { padding: 1.5rem; }
	.wp-hero__price { gap: .4rem; }
}

/* コーポレートサイト同様、狭い画面では中央揃えの縦並び。 */
@media (max-width: 671px) {
  .wp-actions { flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
  .wp-actions .wp-button { width: min(100%, 320px); }
  .wp-pattern-more { justify-content: center; }
}

/* 小画面では右側のシールドが文字に重なっても読めるように調整。 */
@media (max-width: 782px) {
  .wp-hero { min-height: 0; }
  .wp-hero__background { object-position: 64% center; }
  .wp-hero .wp-actions { align-items: center; justify-content: center; }
  .wp-hero::before { background: linear-gradient(90deg, rgb(2 9 22 / 90%) 0%, rgb(2 9 22 / 82%) 100%); }
}

/* 料金一覧ページ：追加調査は2つの対策プランの下に独立して表示。 */
.wp-security-quote { margin-top: 2rem; }
.wp-security-quote .wp-price {
  color: var(--color-heading);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

/* トップ・特徴ページ共通：4つの選定理由を2列のアイコン付きカードで表示。 */
.wp-reason-points.wp-feature-points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 1.25rem;
  border-top: 0;
}
.wp-reason-points .wp-feature-point,
.wp-reason-points .wp-feature-point:first-child,
.wp-reason-points .wp-feature-point:last-child,
.wp-reason-points .wp-feature-point + .wp-feature-point {
  display: flex;
  flex-direction: column;
  grid-row: auto;
  gap: .85rem;
  min-width: 0;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--wp-line);
  background: #fff;
}
.wp-reason-points .wp-reason-point__heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}
.wp-reason-points .wp-feature-point__icon {
  flex: 0 0 var(--wp-icon-size-content);
  margin: 0;
}
.wp-reason-points .wp-feature-point h3 {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: clamp(1.075rem, 1.8vw, 1.2rem);
}
.wp-reason-points .wp-feature-point p {
  margin: 0;
}
@media (max-width: 782px) {
  .wp-reason-points.wp-feature-points {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
}

/* 特徴紹介の見出しは読点の直後を優先して改行する。 */
.wp-home-reason__intro h2 .wp-heading-phrase {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
}
@media (max-width: 782px) {
  .wp-home-reason__intro h2 .wp-heading-phrase {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* 料金ページのFAQは他の詳細ページと同じ幅・共通アコーディオンで表示。 */
.wp-price-faq__body {
  max-width: 820px;
  margin-inline: auto;
}
