@charset "UTF-8";
/* =========================================================
   WordPress保守・セキュリティ対策サービス（/service/web/wordpress-maintenance/）
   ========================================================= */

.wpm {
  --wpm-green: #28bf19;
  --wpm-green-pale: #e5f5e2;
  --wpm-text: #3e3e3e;
  --wpm-gray: #bebebe;
  --wpm-bg: #f2f2f2;
  --wpm-card: #fafafa;
  --wpm-slate: #677381;
  --wpm-orange: #ff8900;
  --wpm-yellow: #ffff00;
  --wpm-blue: #0f40a7;
  --wpm-grad: linear-gradient(90deg, #6c00ff 0%, #58a1f7 100%);
  color: var(--wpm-text);
  letter-spacing: 0.07em;
}

.wpm em {
  font-style: normal;
  color: var(--wpm-green);
}

.wpmInner {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.wpmCenter {
  text-align: center;
}

/* パンくず */
.wpm .breadcrumbOuter {
  padding-top: 2rem;
  background: #fafafa;
}

.wpm .breadcrumb {
  margin-top: 0;
}

/* ---------- 共通の見出し ---------- */
.wpmSection {
  padding: 10rem 0;
}

.wpmSecLabel {
  font-family: "Outfit", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--wpm-green);
  text-align: center;
  letter-spacing: 0.05em;
}

.wpmSecTitle {
  margin-top: 0.4rem;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.wpmSecTitleSub {
  display: block;
  font-size: 2.8rem;
  color: var(--wpm-text);
}

.wpmSecTitle em {
  display: block;
}

/* ---------- ボタン ---------- */
.wpmBtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 331px;
  max-width: 100%;
  min-height: 74px;
  padding: 0 64px;
  border-radius: 999px;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
  transition: opacity 0.2s;
}

.wpmBtn:hover {
  opacity: 0.85;
}

.wpmBtnIcon {
  position: absolute;
  top: 50%;
  left: 30px;
  width: 24px;
  height: 24px;
  fill: currentColor;
  transform: translateY(-50%);
}

.wpmBtnArrow {
  position: absolute;
  top: 50%;
  right: 30px;
  width: 16px;
  height: 1px;
  background: currentColor;
}

.wpmBtnArrow::after {
  content: "";
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.wpmBtnGreen {
  background: var(--wpm-green);
}

.wpmBtnGrad {
  background: var(--wpm-grad);
}

.wpmBtnOutline {
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.wpmBtnTel {
  background: #fff;
  color: #6c00ff;
}

.wpmBtnTelText {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}

.wpmBtnTelNum {
  font-family: "Outfit", sans-serif;
  font-size: 2.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.wpmBtnTelHours {
  font-size: 1.2rem;
  font-weight: 400;
}

/* ---------- FV ---------- */
.wpmFv {
  position: relative;
  padding: 14rem 0 6.5rem;
  background:
    url("../images/service/wp-maintenance/fv-gears.svg") calc(50% + 440px) 149px / 231px 209px no-repeat,
    url("../images/service/wp-maintenance/fv-bg-pc.webp") center -45px / max(1920px, 100%) auto no-repeat,
    #2a4a9c;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.wpmFvLabel {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.wpmFvLabel::before,
.wpmFvLabel::after {
  content: "";
  width: 2px;
  height: 18px;
  background: var(--wpm-yellow);
  transform: rotate(-30deg);
}

.wpmFvLabel::after {
  transform: rotate(30deg);
}

.wpmFvTitle {
  margin-top: 1rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.wpmFvTitleMain,
.wpmFvTitleSub {
  display: block;
  font-size: 4rem;
}

.wpmFvMarker {
  background: linear-gradient(90deg, #1fb8f0, #28bf19) no-repeat 0 85% / 100% 0.45em;
}

.wpmFvPrice {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 1rem;
  margin-top: 1.6rem;
  color: var(--wpm-yellow);
  font-weight: 700;
}

.wpmFvPriceLabel {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid var(--wpm-yellow);
  border-radius: 50%;
  font-size: 1.6rem;
}

.wpmFvPriceNum {
  font-family: "Outfit", sans-serif;
  font-size: 8rem;
  line-height: 1;
  letter-spacing: 0.01em;
}

.wpmFvPriceUnit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 3.2rem;
  line-height: 1.1;
}

.wpmFvPriceTax {
  font-size: 1.2rem;
}

.wpmFvBadge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 63px;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  background: var(--wpm-orange);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.4;
}

.wpmFvBadge small {
  font-size: 0.9rem;
  font-weight: 500;
}

.wpmFvPoints {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 2rem;
  margin-top: 1.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  background: rgba(0, 50, 140, 0.3);
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  font-size: 1.4rem;
  font-weight: 700;
}

.wpmFvPoints li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.wpmCheckIcon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.wpmFvPoints .wpmCheckIcon {
  color: var(--wpm-yellow);
}

.wpmFvPoints .wpmCheckCircle {
  stroke: #fff;
}

.wpmFvLead {
  margin-top: 2rem;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.wpmFvBtns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.6rem 4rem;
  margin-top: 3.6rem;
}

/* ---------- Risk ---------- */
.wpmRisk {
  position: relative;
  padding: 9rem 0 0;
  background: #fafafa;
}

.wpmRisk::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: max(20px, calc(50% - 560px));
  width: 230px;
  height: 200px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 230 200'%3E%3Cpath d='M115 12 220 190H10Z' fill='none' stroke='%2328bf19' stroke-width='20' stroke-linejoin='round'/%3E%3Crect x='103' y='70' width='24' height='70' rx='12' fill='%2328bf19'/%3E%3Ccircle cx='115' cy='162' r='13' fill='%2328bf19'/%3E%3C/svg%3E");
  opacity: 0.07;
  pointer-events: none;
}

.wpmRiskTitle {
  position: relative;
  text-align: center;
  font-weight: 700;
  line-height: 1.6;
}

.wpmRiskTitleSub {
  display: block;
  font-size: 2.8rem;
}

.wpmRiskTitleMain {
  display: block;
  font-size: 4rem;
}

.wpmRiskLead {
  position: relative;
  max-width: 860px;
  margin: 2.4rem auto 0;
  font-size: 1.4rem;
  line-height: 1.8;
  text-align: center;
}

.wpmRiskBox {
  position: relative;
  z-index: 1;
  max-width: 1004px;
  margin: 5rem auto 0;
  padding: 5rem 4.6rem 4.6rem;
  border: 2px solid var(--wpm-green);
  border-radius: 20px;
  background: #fff;
}

.wpmRiskBox::after {
  /* 下向きの吹き出し */
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  width: 28px;
  height: 28px;
  border-right: 2px solid var(--wpm-green);
  border-bottom: 2px solid var(--wpm-green);
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}

.wpmRiskBoxTitle {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.wpmRiskBoxLead {
  margin-top: 1.2rem;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
}

.wpmRiskCards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.2rem;
}

.wpmRiskCard {
  padding: 2.8rem 2.4rem;
  border-radius: 10px;
  background: var(--wpm-bg);
  text-align: center;
}

.wpmRiskCard h3 {
  color: var(--wpm-blue);
  font-size: 1.8rem;
  font-weight: 700;
}

.wpmRiskCard img {
  display: block;
  width: 120px;
  height: 120px;
  margin: 1.2rem auto;
}

.wpmRiskCard p {
  font-size: 1.4rem;
  line-height: 1.8;
  text-align: left;
}

/* ---------- 会社の信用・チェック ---------- */
.wpmTrust {
  position: relative;
  margin-top: -8rem;
  padding: 15rem 0 8rem;
  background: var(--wpm-slate);
  color: #fff;
}

.wpmTrustTitle {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

.wpmTrustTitle em {
  color: var(--wpm-yellow);
}

.wpmTrustBody {
  display: grid;
  grid-template-columns: min(400px, 36%) 1fr;
  align-items: center;
  gap: 4rem;
  margin-top: 6rem;
}

.wpmTrustPhoto {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

.wpmCheck {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  color: var(--wpm-text);
}

.wpmCheckTitle {
  padding: 3rem 2rem;
  background: var(--wpm-green-pale);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

.wpmCheckList {
  padding: 3rem 5rem 4rem;
}

.wpmCheckList li {
  position: relative;
  padding-left: 3.6rem;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.8;
}

.wpmCheckList li + li {
  margin-top: 1.6rem;
}

.wpmCheckList li::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--wpm-gray);
  border-radius: 3px;
  background: #fff;
}

/* ---------- 相談の帯 ---------- */
.wpmCta {
  padding: 8rem 0;
  background: var(--wpm-grad);
  color: #fff;
  text-align: center;
}

.wpmCtaTitle {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.5;
}

.wpmCtaSub {
  margin-top: 1rem;
  font-size: 2.8rem;
  font-weight: 700;
}

.wpmCtaBtns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.6rem 10rem;
  margin-top: 4rem;
}

/* ---------- Service ---------- */
.wpmService {
  background: var(--wpm-green-pale);
}

.wpmPanel {
  margin-top: 4rem;
  padding: 6rem 5.8rem;
  border-radius: 20px;
  background: #fff;
}

.wpmPanelTitle {
  color: var(--wpm-green);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.wpmSteps {
  display: grid;
  grid-template-columns: 1fr 50px 1fr;
  margin-top: 4rem;
}

.wpmStep {
  padding: 2rem 2rem 2rem;
  border-radius: 10px;
  background: var(--wpm-card);
  font-size: 1.4rem;
  line-height: 1.8;
}

.wpmStepHead {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.6rem;
}

.wpmStepNum {
  padding: 0.6rem 1.6rem;
  border-radius: 999px;
  background: var(--wpm-green);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  white-space: nowrap;
}

.wpmStepName {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.4;
}

.wpmStepList {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 10px;
  background: #fff;
  font-weight: 700;
}

.wpmStepList li {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wpmStepList li + li {
  margin-top: 0.6rem;
}

.wpmStepList .wpmCheckIcon {
  width: 18px;
  height: 18px;
  color: var(--wpm-green);
}

.wpmStepArrow {
  position: relative;
}

.wpmStepArrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 50px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 50' shape-rendering='geometricPrecision'%3E%3Cpath d='M3 3 23 25 3 47Z' fill='%2328bf19' stroke='%2328bf19' stroke-width='6' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform: translate(-50%, -50%);
}

.wpmScope {
  margin-top: 3.6rem;
}

.wpmScope div {
  display: grid;
  grid-template-columns: 236px 1fr;
  gap: 4px;
}

.wpmScope div + div {
  margin-top: 4px;
}

.wpmScope dt {
  display: grid;
  place-items: center;
  padding: 1.6rem;
  background: var(--wpm-green);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
}

.wpmScope dd {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 1.6rem 2rem;
  background: var(--wpm-card);
  font-size: 1.4rem;
  line-height: 1.8;
}

/* ---------- Price ---------- */
.wpmPrice {
  background: var(--wpm-bg);
}

.wpmPriceWrap {
  max-width: 640px;
  margin: 4rem auto 0;
}

.wpmPriceBox {
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}

.wpmPriceBox + .wpmPriceBox {
  margin-top: 2rem;
}

.wpmPriceHead {
  padding: 0.4rem;
  background: var(--wpm-green);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
}

.wpmPriceBody {
  padding: 2.4rem 2rem;
  text-align: center;
}

.wpmPriceAmount {
  color: var(--wpm-green);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.wpmPriceNum {
  margin: 0 0.4rem 0 1rem;
  font-family: "Outfit", sans-serif;
  font-size: 5rem;
}

.wpmPriceAmount small {
  margin-left: 0.4rem;
  color: var(--wpm-gray);
  font-size: 1rem;
  font-weight: 400;
}

.wpmPriceNote {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.2rem 1.8rem;
  border: 1px solid var(--wpm-orange);
  border-radius: 4px;
  background: rgba(255, 137, 0, 0.1);
  color: var(--wpm-orange);
  font-size: 1.6rem;
  font-weight: 700;
}

.wpmPriceList {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  padding: 2.4rem 4rem;
}

.wpmPriceList li {
  position: relative;
  padding-left: 2.6rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
}

.wpmPriceList li::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--wpm-green);
}

.wpmPriceNotes {
  margin-top: 2rem;
  color: var(--wpm-gray);
  font-size: 1rem;
  line-height: 1.8;
}

.wpmPriceNotes a {
  color: #2a8bd8;
  text-decoration: underline;
}

.wpmPrice .wpmCenter {
  margin-top: 6rem;
}

/* ---------- Company ---------- */
.wpmCompany {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 460px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95) 30%, rgba(255, 255, 255, 0.6) 60%, rgba(255, 255, 255, 0) 100%),
    url("../images/service/wp-maintenance/company-bg.webp") center / cover no-repeat;
}

.wpmCompanyInner {
  position: relative;
  z-index: 1;
}

.wpmCompanyText {
  max-width: 460px;
  font-size: 1.4rem;
  line-height: 1.8;
}

.wpmCompanySub {
  font-size: 1.6rem;
  font-weight: 700;
}

.wpmCompanyTitle {
  margin: 1.6rem 0 3.6rem;
  color: var(--wpm-green);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.5;
}

.wpmCompanyPhoto {
  position: absolute;
  top: -130px;
  left: calc(50% - 214px);
  width: 1023px;
  max-width: none;
  height: 682px;
  max-height: none;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 20%);
}

/* ---------- Reason ---------- */
.wpmReason {
  background: var(--wpm-green-pale);
}

.wpmReasonItem {
  padding: 6rem 5.8rem;
  border-radius: 20px;
  background: #fff;
}

.wpmReason .wpmSecTitle + .wpmReasonItem {
  margin-top: 4rem;
}

.wpmReasonItem + .wpmReasonItem {
  margin-top: 2rem;
}

.wpmReasonTitle {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.wpmReasonTitle span {
  background: linear-gradient(transparent 70%, rgba(40, 191, 25, 0.1) 70%);
}

.wpmReasonBody {
  display: grid;
  grid-template-columns: 1fr 435px;
  align-items: center;
  gap: 6rem;
  margin-top: 3.6rem;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
}

.wpmReasonBody img {
  width: 100%;
  height: auto;
}

.wpmReasonNote {
  margin-top: 0.6rem;
  color: var(--wpm-gray);
  font-size: 1rem;
}

/* ---------- Flow ---------- */
.wpmFlow {
  background: #fafafa;
}

.wpmFlowList {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4.6rem;
  counter-reset: none;
}

.wpmFlowList li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wpmFlowList img {
  width: 120px;
  height: 120px;
}

.wpmFlowCard {
  flex: 1;
  width: 100%;
  margin-top: 1rem;
  padding: 2.4rem 2.2rem;
  border: 2px solid var(--wpm-green);
  border-radius: 14px;
  background: #fff;
}

.wpmFlowCard h3 {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.wpmFlowCard h3 span {
  color: var(--wpm-green);
  font-family: "Outfit", sans-serif;
  font-size: 2.8rem;
  line-height: 1;
}

.wpmFlowCard p {
  margin-top: 1.2rem;
  font-size: 1.4rem;
  line-height: 1.8;
}

.wpmHandover {
  max-width: 746px;
  margin: 4rem auto 0;
  padding: 3.2rem 2rem;
  border-radius: 10px;
  background: var(--wpm-bg);
  text-align: center;
}

.wpmHandover h3 {
  font-size: 2.8rem;
  font-weight: 700;
}

.wpmHandover p {
  margin-top: 1rem;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-wrap: pretty;
}

.wpmHandover ol {
  display: inline-block;
  margin-top: 1.2rem;
  text-align: left;
  color: var(--wpm-green);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 2;
  list-style: none;
}

.wpmHandover li:nth-child(1)::before { content: "①"; }
.wpmHandover li:nth-child(2)::before { content: "②"; }

/* ---------- FAQ ---------- */
.wpmFaq {
  background: #fafafa;
}

.wpmFaqHeading {
  display: flex;
  align-items: baseline;
  gap: 3rem;
}

.wpmFaqEn {
  color: var(--wpm-green);
  font-family: "Outfit", sans-serif;
  font-size: 6.2rem;
  font-weight: 700;
  line-height: 1;
}

.wpmFaqJa {
  color: var(--wpm-gray);
  font-size: 1.6rem;
  font-weight: 700;
}

.wpmFaqList {
  margin-top: 4rem;
}

.wpmFaqList details {
  padding: 0 4rem;
  border-radius: 20px;
  background: var(--wpm-bg);
}

.wpmFaqList details + details {
  margin-top: 2rem;
}

.wpmFaqList summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.6rem 6rem 2.6rem 0;
  border-bottom: 1px solid #e3e3e3;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

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

.wpmFaqList summary::before,
.wpmFaqList summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
}

.wpmFaqList summary::before {
  /* 丸い枠 */
  width: 40px;
  height: 40px;
  border: 1px solid var(--wpm-text);
  border-radius: 50%;
  transform: translateY(-50%);
}

.wpmFaqList summary::after {
  /* 横棒（閉じているときは＋） */
  right: 13px;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--wpm-text), var(--wpm-text)) center / 14px 1px no-repeat,
    linear-gradient(var(--wpm-text), var(--wpm-text)) center / 1px 14px no-repeat;
  transform: translateY(-50%);
}

.wpmFaqList details[open] summary::after {
  background: linear-gradient(var(--wpm-text), var(--wpm-text)) center / 14px 1px no-repeat;
}

.wpmFaqList details:not([open]) summary {
  border-bottom-color: transparent;
}

.wpmQ,
.wpmA {
  flex-shrink: 0;
  font-family: "Outfit", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.wpmQ {
  color: var(--wpm-green);
}

.wpmA {
  color: var(--wpm-gray);
}

.wpmFaqA {
  display: flex;
  gap: 2rem;
  padding: 2.4rem 0 3rem;
  font-size: 1.4rem;
  line-height: 1.8;
}

/* ---------- 関連サービス ---------- */
.wpmRelated {
  background: #fafafa;
}

.wpmRelatedList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1008px;
  margin: 4rem auto 0;
}

.wpmRelatedList a {
  display: block;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: opacity 0.2s;
}

.wpmRelatedList a:hover {
  opacity: 0.85;
}

.wpmRelatedList img {
  width: 100%;
  height: auto;
}

@media (769px <= width < 1150px) {
  .wpmCompanyPhoto {
    left: 42%;
  }

  .wpmFlowList {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 3rem;
  }
}

/* =========================================================
   スマホ（768px 以下）
   ========================================================= */
@media (width <= 768px) {
  .wpmSection {
    padding: 6rem 0;
  }

  .wpmSecLabel {
    font-size: 1.4rem;
  }

  .wpmSecTitle {
    font-size: 2.6rem;
  }

  .wpmSecTitleSub {
    font-size: 1.8rem;
  }

  .wpmBtn {
    width: 100%;
    min-height: 64px;
    font-size: 1.8rem;
  }

  /* FV */
  .wpmFv {
    padding: 11rem 0 5rem;
    background: url("../images/service/wp-maintenance/fv-bg-sp.webp") center top / cover no-repeat, #2a4a9c;
  }

  .wpmFvLabel {
    font-size: 1.2rem;
  }

  .wpmFvTitleMain {
    font-size: 2.5rem;
  }

  .wpmFvTitleSub {
    margin-top: 0.8rem;
    font-size: 1.4rem;
  }

  .wpmFvPriceLabel {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
  }

  .wpmFvPriceNum {
    font-size: 6rem;
  }

  .wpmFvPriceUnit {
    font-size: 2.2rem;
  }

  .wpmFvBadge {
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 0.6rem;
    min-height: 0;
    padding: 1rem 1.2rem;
    width: 100%;
    max-width: 320px;
    margin-top: 1rem;
    font-size: 1.4rem;
  }

  .wpmFvPoints {
    flex-direction: column;
    align-items: center;
    font-size: 1.2rem;
  }

  .wpmFvLead {
    font-size: 1.2rem;
  }

  .wpmFvBtns {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.4rem;
  }

  /* Risk */
  .wpmRisk {
    padding-top: 6rem;
  }

  .wpmRisk::before {
    width: 140px;
    height: 120px;
  }

  .wpmRiskTitleSub {
    font-size: 1.8rem;
  }

  .wpmRiskTitleMain {
    font-size: 2.4rem;
  }

  .wpmRiskLead {
    font-size: 1.4rem;
    text-align: left;
  }

  .wpmRiskBox {
    margin-top: 3.6rem;
    padding: 3.2rem 1.6rem 2.4rem;
  }

  .wpmRiskBoxTitle {
    font-size: 2rem;
  }

  .wpmRiskBoxLead {
    font-size: 1.4rem;
    text-align: left;
  }

  .wpmRiskCards {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .wpmTrust {
    padding: 11rem 0 6rem;
  }

  .wpmTrustTitle {
    font-size: 1.8rem;
  }

  .wpmTrustBody {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 3rem;
    margin-top: 3.6rem;
  }

  .wpmTrustPhoto {
    width: 240px;
  }

  .wpmCheck {
    width: 100%;
  }

  .wpmCheckTitle {
    padding: 2rem 1.2rem;
    font-size: 1.7rem;
  }

  .wpmCheckList {
    padding: 2.4rem 1.6rem 3rem;
  }

  .wpmCheckList li {
    font-size: 1.5rem;
  }

  /* 相談の帯 */
  .wpmCta {
    padding: 6rem 0;
  }

  .wpmCtaTitle {
    font-size: 2.2rem;
  }

  .wpmCtaSub {
    font-size: 1.8rem;
  }

  .wpmCtaBtns {
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 3rem;
  }

  /* Service */
  .wpmPanel {
    margin-top: 3rem;
    padding: 3.2rem 1.6rem;
  }

  .wpmPanelTitle {
    font-size: 2rem;
  }

  .wpmSteps {
    grid-template-columns: 1fr;
    grid-template-rows: auto 50px auto;
    margin-top: 2.4rem;
  }

  .wpmStepArrow::before {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .wpmStepHead {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .wpmStepName {
    font-size: 2rem;
  }

  .wpmStepList {
    padding: 1.6rem 1.2rem;
  }

  .wpmScope div {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .wpmScope dt {
    padding: 1rem;
    font-size: 1.6rem;
  }

  .wpmScope dd {
    padding: 1.4rem 1.2rem;
  }

  /* Price */
  .wpmPriceAmount {
    font-size: 2rem;
  }

  .wpmPriceNum {
    font-size: 4rem;
  }

  .wpmPriceNote {
    padding: 0.2rem 1rem;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
  }

  .wpmPriceList {
    grid-template-columns: 1fr;
    padding: 2rem 1.6rem;
  }

  .wpmPriceList li {
    font-size: 1.5rem;
  }

  .wpmPrice .wpmCenter {
    margin-top: 4rem;
  }

  /* Company */
  .wpmCompany {
    display: block;
    min-height: 0;
    padding-top: 6rem;
    background:
      linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
      url("../images/service/wp-maintenance/company-bg.webp") center top / 1068px auto no-repeat,
      #fff;
  }

  .wpmCompanyText {
    max-width: none;
    padding: 0 1rem;
    letter-spacing: 0.04em;
  }

  .wpmCompanySub {
    font-size: 1.4rem;
    text-align: center;
  }

  .wpmCompanyTitle {
    margin: 1.2rem 0 2.4rem;
    font-size: 3.2rem;
    line-height: 1.5;
    text-align: center;
  }

  .wpmCompanyPhoto {
    position: relative;
    top: auto;
    left: auto;
    display: block;
    width: 580px;
    height: 346px;
    max-height: none;
    margin: -6rem 0 0 calc(50% - 314px);
    object-position: center top;
    -webkit-mask-image: linear-gradient(transparent 0%, #000 25%);
    mask-image: linear-gradient(transparent 0%, #000 25%);
  }

  /* Reason */
  .wpmReasonItem {
    padding: 3.2rem 1.6rem;
  }

  .wpmReasonTitle {
    font-size: 2rem;
  }

  .wpmReasonBody {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    margin-top: 2.4rem;
  }

  /* Flow */
  .wpmFlowList {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
  }

  .wpmFlowList img {
    width: 180px;
    height: 180px;
  }

  .wpmHandover h3 {
    font-size: 2rem;
  }

  .wpmHandover ol {
    font-size: 1.5rem;
  }

  /* FAQ */
  .wpmFaqHeading {
    gap: 1.6rem;
  }

  .wpmFaqEn {
    font-size: 4.2rem;
  }

  .wpmFaqList details {
    padding: 0 1.6rem;
  }

  .wpmFaqList summary {
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem 4.6rem 2rem 0;
    font-size: 1.5rem;
  }

  .wpmFaqList summary::before {
    width: 32px;
    height: 32px;
  }

  .wpmFaqList summary::after {
    right: 9px;
  }

  .wpmQ,
  .wpmA {
    font-size: 2rem;
  }

  .wpmFaqA {
    gap: 1rem;
    padding: 2rem 0 2.4rem;
  }

  /* 関連サービス */
  .wpmRelatedList {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}
