﻿/*
 * Buttons, cards, CTA, notices, fixed floating buttons, breadcrumbs, accordion, common parts.
 */

/* ======================================
  SWELL Page Top Image Button
====================================== */

#pagetop,
#pagetop.c-fixBtn,
.c-fixBtn#pagetop {
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 96px;
  height: 116px;
  min-width: 96px;
  min-height: 116px;
  padding: 0 !important;
  overflow: visible;
  color: var(--poscom-deep-navy, #061b3a) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* hover時にSWELLの背景色が出ないようにする */
#pagetop:hover,
#pagetop.c-fixBtn:hover,
.c-fixBtn#pagetop:hover {
  color: var(--poscom-deep-navy, #061b3a) !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 0.95;
  transform: translateY(-4px);
}

/* 画像本体 */
#pagetop::before {
  content: "";
  display: block;
  width: 88px;
  height: 88px;
  background-image: url("/wp-content/uploads/2026/05/page-top-btn.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  transition: transform 0.25s ease;
}

/* 画像だけ少し浮かせる */
#pagetop:hover::before {
  transform: translateY(-2px);
}

/* SWELL標準の矢印アイコンを完全に消す */
#pagetop .icon-chevron-up,
#pagetop.icon-chevron-up,
#pagetop .c-iconBtn__icon,
#pagetop i,
#pagetop svg {
  display: none !important;
}

/* PAGE TOP 文字 */
#pagetop .c-fixBtn__label {
  position: static;
  display: block !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  color: var(--poscom-deep-navy, #061b3a) !important;
  background: transparent !important;
  font-family: var(--font-en, "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
  text-align: center;
  white-space: nowrap;
  text-shadow: none !important;
  transform: none !important;
}

/* 余計な疑似要素を出さない */
#pagetop::after,
#pagetop .c-fixBtn__label::before,
#pagetop .c-fixBtn__label::after {
  content: none !important;
}

/* タブレット */
@media (max-width: 959px) {
  #pagetop,
  #pagetop.c-fixBtn,
  .c-fixBtn#pagetop {
    width: 82px;
    height: 100px;
    min-width: 82px;
    min-height: 100px;
  }

  #pagetop::before {
    width: 74px;
    height: 74px;
  }

  #pagetop .c-fixBtn__label {
    margin-top: 6px !important;
    font-size: 10px;
    letter-spacing: 0.1em;
  }
}

/* スマホ */
@media (max-width: 600px) {
  #pagetop,
  #pagetop.c-fixBtn,
  .c-fixBtn#pagetop {
    width: 66px;
    height: 82px;
    min-width: 66px;
    min-height: 82px;
  }

  #pagetop::before {
    width: 60px;
    height: 60px;
  }

  #pagetop .c-fixBtn__label {
    margin-top: 5px !important;
    font-size: 8px;
    letter-spacing: 0.09em;
  }
}

/* ======================================
  POS-COM Mouse Stalker
====================================== */

.poscom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 34px;
  height: 34px;
  pointer-events: none;
  opacity: 0;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 34% 32%,
      rgba(255, 255, 255, 0.62) 0%,
      rgba(225, 247, 244, 0.54) 34%,
      rgba(22, 198, 211, 0.3) 68%,
      rgba(10, 143, 163, 0.14) 100%
    );
  box-shadow:
    0 0 18px rgba(10, 143, 163, 0.08),
    inset 0 0 12px rgba(255, 255, 255, 0.24);
  filter: blur(0.45px);
  transform: translate3d(-120px, -120px, 0) translate3d(-50%, -50%, 0);
  transition:
    width 0.24s ease,
    height 0.24s ease,
    opacity 0.2s ease,
    background 0.24s ease,
    filter 0.24s ease;
  will-change: transform;
}

.poscom-cursor.is-visible {
  opacity: 0.48;
}

.poscom-cursor.is-hover {
  width: 52px;
  height: 52px;
  opacity: 0.44;
  background:
    radial-gradient(
      circle at 34% 32%,
      rgba(255, 255, 255, 0.66) 0%,
      rgba(220, 247, 244, 0.58) 32%,
      rgba(22, 198, 211, 0.38) 68%,
      rgba(10, 143, 163, 0.18) 100%
    );
  box-shadow:
    0 0 22px rgba(10, 143, 163, 0.16),
    inset 0 0 14px rgba(255, 255, 255, 0.28);
}

.poscom-cursor.is-pressing {
  width: 30px;
  height: 30px;
  opacity: 0.36;
  filter: blur(0.2px);
}

.poscom-cursor.is-form {
  opacity: 0.1;
}

.poscom-cursor__dot,
.poscom-cursor__ring {
  display: none;
}

@media (max-width: 960px), (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .poscom-cursor {
    display: none;
  }
}

/* ======================================
  POS-COM H2 Gradient Shine
  視認性重視・くっきり版
====================================== */

.poscom-ttl-gradient {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  overflow: visible;
  color: var(--poscom-deep-navy, #061b3a) !important;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 46500 !important;
  line-height: 1.18;
}

.poscom-ttl-gradient::before {
  content: none;
}

h2.poscom-ttl-gradient,
h2.wp-block-heading.poscom-ttl-gradient {
  margin-top: clamp(1.2rem, 3vw, 2.5rem) !important;
  margin-bottom: clamp(0.9rem, 2vw, 1.8rem) !important;
  font-size: clamp(2.3rem, 5vw, 4.2rem) !important;
  font-weight: 500 !important;
  color: var(--poscom-deep-navy, #061b3a) !important;
  line-height: 1.05 !important;
}

.poscom-ttl-gradient__main {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  color: var(--poscom-deep-navy, #061b3a) !important;
  font: inherit;
  line-height: inherit;
  letter-spacing: 0.06em;
}

/* 日本語サブタイトル */
.poscom-ttl-gradient__sub {
  display: block;
  margin-top: clamp(0.24rem, 0.5vw, 0.48rem);
  color: var(--poscom-deep-navy, #061b3a) !important;
  font-family: var(--font-sans, "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif);
  font-size: clamp(1.24rem, 1.65vw, 1.62rem);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.14em;

  /* ぼかさず、少しだけ白フチ感を出して視認性を上げる */
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9);
}

.poscom-ttl-gradient__base,
.poscom-ttl-gradient__shine {
  display: block;
  color: var(--poscom-deep-navy, #061b3a) !important;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  white-space: inherit;
}

/* 通常時の英字タイトル */
.poscom-ttl-gradient__base {
  position: relative;
  z-index: 1;

  /* ぼかしではなく、くっきり見せる最低限の立体感 */
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 0 rgba(6, 27, 58, 0.045);
}

/* きらっと流れる文字 */
.poscom-ttl-gradient__shine {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  color: transparent;
  background-image: linear-gradient(
    90deg,
    rgba(0, 31, 63, 0) 0%,
    #061b3a 25%,
    #004ea2 45%,
    #0a8fa3 65%,
    #5ed4e8 78%,
    #0b2c5e 88%,
    rgba(0, 31, 63, 0) 100%
  );
  background-repeat: no-repeat;
  background-size: 260% 100%;
  background-position: 200% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  transition: background-position 3.4s ease-out;

  /* ここもぼかさない */
  text-shadow: none;
}

.poscom-ttl-gradient.is-active .poscom-ttl-gradient__shine {
  background-position: -100% 50%;
}

@media (prefers-reduced-motion: reduce) {
  .poscom-ttl-gradient__shine {
    background-position: 50% 50%;
    transition: none;
  }
}

/* ======================================
  POS-COM News Button
  画像・文字・矢印の縦位置調整
====================================== */

.wp-block-button.poscom-news-link-btn .wp-block-button__link,
.poscom-news-link-btn .wp-block-button__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  gap: 0.55em;
  line-height: 1.2 !important;
}

/* 左の画像アイコン */
.wp-block-button.poscom-news-link-btn .wp-block-button__link img,
.poscom-news-link-btn .wp-block-button__link img {
  display: block !important;
  width: 17px !important;
  height: 17px !important;
  object-fit: contain;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;

  /* ここで見た目の縦ズレを最終調整 */
  transform: translateY(-1px);
}

/* 右のSWELL矢印アイコン */
.wp-block-button.poscom-news-link-btn .wp-block-button__link .swl-inline-icon,
.poscom-news-link-btn .wp-block-button__link .swl-inline-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.2 !important;
  margin-left: 0.15em;
  transform: translateY(1px);
}

/* ======================================
  News Video Typography
  記事下部ブログパーツ：動画テキスト切り抜きブランド帯
====================================== */

#body_wrap .poscom-news-video-type {
  position: relative;
  width: min(100%, 1180px);
  height: clamp(112px, 13vw, 190px);
  margin: clamp(24px, 3vw, 42px) auto clamp(34px, 4vw, 58px);
  overflow: hidden;
  background: rgba(248, 251, 250, 0.54);
  border: 1px solid rgba(6, 27, 58, 0.045);
  border-radius: clamp(18px, 2vw, 28px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 8px 18px rgba(6, 27, 58, 0.018);
}

#body_wrap .poscom-news-video-type__movie,
#body_wrap .poscom-news-video-type__mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#body_wrap .poscom-news-video-type__movie {
  object-fit: cover;
  object-position: center center;
  filter:
    saturate(0.74)
    contrast(1.14)
    brightness(0.94);
}

#body_wrap .poscom-news-video-type__mask {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #000;
  text-align: center;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, 0.84) 0%,
      rgba(248, 250, 250, 0.90) 58%,
      rgba(245, 248, 248, 0.965) 100%
    );
  mix-blend-mode: screen;
}

#body_wrap .poscom-news-video-type__eyebrow {
  display: none;
}

#body_wrap .poscom-news-video-type__title {
  margin: 0 !important;
  color: #000;
  font-family: var(--font-en, "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif);
  font-size: clamp(56px, 9.2vw, 140px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  opacity: 0.9;
}

#body_wrap .poscom-news-video-type__sub {
  margin: 0.44em 0 0 !important;
  color: #000;
  font-family: var(--font-en, "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif);
  font-size: clamp(11px, 1.1vw, 18px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.22em;
  opacity: 0.8;
}

/* タブレット */
@media (min-width: 601px) and (max-width: 959px) {
  #body_wrap .poscom-news-video-type {
    width: min(100%, calc(100vw - 48px));
    height: clamp(108px, 21vw, 168px);
    margin: 22px auto 38px;
  }

  #body_wrap .poscom-news-video-type__title {
    font-size: clamp(50px, 12vw, 98px);
  }

  #body_wrap .poscom-news-video-type__sub {
    font-size: 11px;
    letter-spacing: 0.18em;
  }
}

/* スマホ */
@media (max-width: 600px) {
  #body_wrap .poscom-news-video-type {
    width: min(100%, calc(100vw - 32px));
    height: clamp(84px, 25vw, 112px);
    margin: 20px auto 32px;
    border-radius: 18px;
    box-shadow: none;
  }

  #body_wrap .poscom-news-video-type__movie {
    filter:
      saturate(0.70)
      contrast(1.12)
      brightness(0.94);
  }

  #body_wrap .poscom-news-video-type__mask {
    background:
      radial-gradient(
        circle at 50% 50%,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(248, 250, 250, 0.91) 60%,
        rgba(245, 248, 248, 0.97) 100%
      );
  }

  #body_wrap .poscom-news-video-type__title {
    font-size: clamp(34px, 12.8vw, 54px);
    opacity: 0.88;
  }

  #body_wrap .poscom-news-video-type__sub {
    margin-top: 0.36em !important;
    font-size: 10px;
    letter-spacing: 0.14em;
    opacity: 0.78;
  }
}

/* ======================================
  Service Contact Widget
  事業ページ専用：お問い合わせブログパーツ
====================================== */

.poscom-service-contact-widget {
  position: relative;
  z-index: 1;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: 0;
  margin-right: 0;
  transform: translateX(-50%);
  overflow: hidden;
}

.poscom-service-contact-widget .swell-block-fullWide,
.poscom-service-contact-widget .swell-block-fullWide.alignfull {
  width: 100%;
  max-width: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
}

.poscom-service-contact-widget .swell-block-fullWide__inner {
  width: min(1320px, calc(100vw - 48px));
  max-width: min(1320px, calc(100vw - 48px));
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0;
  padding-right: 0;
}

.poscom-service-contact-widget .p-blogParts > .swell-block-fullWide > .swell-block-fullWide__inner > .swell-block-fullWide.alignfull {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: translateX(-50%) !important;
}

.poscom-service-contact-widget .p-blogParts > .swell-block-fullWide > .swell-block-fullWide__inner > .swell-block-fullWide.alignfull > .swell-block-fullWide__inner {
  width: min(1320px, calc(100vw - 48px));
  max-width: min(1320px, calc(100vw - 48px));
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}

.poscom-service-contact-widget .contact-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 36px);
  width: min(76vw, 1080px);
  max-width: calc(100vw - 48px);
  margin-top: clamp(32px, 4vw, 56px);
  margin-right: auto !important;
  margin-left: auto !important;
  transform: none !important;
}

.poscom-service-contact-widget .contact-method-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}

.poscom-service-contact-widget .contact-method-card__head {
  display: grid;
  grid-template-columns: clamp(96px, 8.5vw, 150px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  margin-bottom: clamp(18px, 2vw, 28px);
}

.poscom-service-contact-widget .contact-method-card__title {
  margin: 0 !important;
}

.poscom-service-contact-widget .contact-method-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(150px, 12vw, 190px);
  padding: clamp(24px, 3vw, 38px) clamp(24px, 3vw, 42px);
  background: #061b3a;
  color: #ffffff;
  text-align: center;
}

.poscom-service-contact-widget .contact-method-card__lead {
  margin: 0 0 0.9em !important;
  color: #ffffff;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.poscom-service-contact-widget .contact-method-card__main {
  margin: 0 !important;
  color: #ffffff;
  font-family: var(--font-en, "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif);
  font-size: clamp(34px, 3.1vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.08em;
}

.poscom-service-contact-widget .contact-method-card__main--tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  flex-wrap: nowrap;
}

.poscom-service-contact-widget .contact-method-card__tel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.9em;
  height: 0.9em;
  flex: 0 0 auto;
}

.poscom-service-contact-widget .contact-method-card__tel-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.poscom-service-contact-widget .contact-method-card__tel-text {
  display: inline-block;
  white-space: nowrap;
}

/* ======================================
  Contact Method / Tel Link Color Only
  電話番号リンクの青文字・下線だけ防ぐ
  ※位置・幅・余白・flex指定は触らない
====================================== */

.contact-method-grid .contact-method-card__tel-link,
.contact-method-grid .contact-method-card__tel-link:link,
.contact-method-grid .contact-method-card__tel-link:visited,
.contact-method-grid .contact-method-card__tel-link:hover,
.contact-method-grid .contact-method-card__tel-link:focus,
.contact-method-grid .contact-method-card__tel-link:active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
}

.contact-method-grid .contact-method-card__tel-link *,
.contact-method-grid .contact-method-card__tel-icon,
.contact-method-grid .contact-method-card__tel-text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
}

.poscom-service-contact-widget .contact-method-card__main--mail {
  font-size: clamp(24px, 2.25vw, 34px);
  letter-spacing: 0.045em;
  white-space: nowrap;
  word-break: normal;
}

.poscom-service-contact-widget .contact-method-card__mail-link {
  color: #ffffff;
  text-decoration: none;
}

.poscom-service-contact-widget .contact-method-card__mail-link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.poscom-service-contact-widget .contact-method-card__note {
  margin: 0.75em 0 0 !important;
  color: #ffffff;
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.poscom-service-contact-widget .contact-method-card .contact-3d-object {
  width: clamp(104px, 9.25vw, 160px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}

.poscom-service-contact-widget .contact-3d-object__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.poscom-service-contact-widget .contact-method-card--mail .contact-method-card__mail-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.36em !important;
  color: inherit !important;
  font: inherit !important;
  letter-spacing: inherit !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: inherit !important;
  transition:
    color 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.52s cubic-bezier(0.16, 1, 0.3, 1);
}

.poscom-service-contact-widget .contact-method-card--mail .contact-method-card__mail-text {
  display: inline-block !important;
  line-height: 1 !important;
}

.poscom-service-contact-widget .contact-method-card--mail .contact-method-card__mail-link::after {
  content: "\f35d" !important;
  display: inline-block !important;
  flex: 0 0 auto !important;
  font-family:
    "Font Awesome 6 Free",
    "Font Awesome 5 Free",
    "FontAwesome" !important;
  font-weight: 900 !important;
  font-size: 0.66em !important;
  line-height: 1 !important;
  color: currentColor !important;
  opacity: 0.95 !important;
  transform: translateY(0) !important;
  transition:
    opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.poscom-service-contact-widget .contact-method-card--mail .contact-method-card__mail-link:hover {
  color: #16c6d3 !important;
  text-decoration: none !important;
  transform: translate(0.16em, -0.1em) !important;
}

.poscom-service-contact-widget .contact-method-card--mail .contact-method-card__mail-link:hover::after {
  opacity: 1 !important;
}

/* タブレット以下 */
@media (max-width: 959px) {
  .poscom-service-contact-widget .swell-block-fullWide__inner {
    width: min(92vw, 760px);
    max-width: calc(100vw - 32px);
  }

  .poscom-service-contact-widget .p-blogParts > .swell-block-fullWide > .swell-block-fullWide__inner > .swell-block-fullWide.alignfull > .swell-block-fullWide__inner {
    width: min(92vw, 760px);
    max-width: calc(100vw - 32px);
  }

  .poscom-service-contact-widget .contact-method-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    width: min(100%, 760px);
    max-width: calc(100vw - 48px);
    margin: 32px auto 56px !important;
    transform: none !important;
  }

  .poscom-service-contact-widget .contact-method-card {
    width: 100%;
    max-width: 100%;
  }

  .poscom-service-contact-widget .contact-method-card__head {
    grid-template-columns: clamp(92px, 16vw, 124px) minmax(0, 1fr);
    gap: clamp(16px, 3vw, 24px);
    min-width: 0;
  }

  .poscom-service-contact-widget .contact-method-card__body {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 150px;
    padding: clamp(22px, 3.8vw, 34px) clamp(22px, 4vw, 38px);
  }

  .poscom-service-contact-widget .contact-method-card__main {
    font-size: clamp(28px, 6.4vw, 40px);
    letter-spacing: 0.055em;
  }

  .poscom-service-contact-widget .contact-method-card--tel .contact-method-card__main--tel,
  .poscom-service-contact-widget .contact-method-card--tel .contact-method-card__tel-text {
    white-space: nowrap;
  }

  .poscom-service-contact-widget .contact-method-card__main--mail {
    font-size: clamp(19px, 4.1vw, 29px);
    letter-spacing: 0.03em;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
  }

  .poscom-service-contact-widget .contact-method-card--mail .contact-method-card__mail-text {
    white-space: nowrap;
  }

  .poscom-service-contact-widget .contact-method-card__note {
    line-height: 1.6;
    letter-spacing: 0.05em;
    text-align: center;
  }

  .poscom-service-contact-widget .contact-method-card .contact-3d-object {
    width: clamp(92px, 16vw, 132px);
  }

  .poscom-service-contact-widget .contact-method-card--tel .contact-method-card__main--tel {
    gap: 0.28em !important;
  }

  .poscom-service-contact-widget .contact-method-card--tel .contact-method-card__tel-icon {
    width: 0.84em !important;
    height: 0.84em !important;
    flex-basis: 0.84em !important;
    transform: translateY(0.06em) !important;
  }

  .poscom-service-contact-widget .contact-method-card--mail .contact-method-card__mail-link {
    gap: 0.28em !important;
  }

  .poscom-service-contact-widget .contact-method-card--mail .contact-method-card__mail-link::after {
    font-size: 0.58em !important;
    transform: translateY(-0.03em) !important;
  }

  .poscom-service-contact-widget .contact-method-card--mail .contact-method-card__mail-link:hover {
    transform: translate(0.1em, -0.06em) !important;
  }
}

/* スマホ */
@media (max-width: 600px) {
  .poscom-service-contact-widget .swell-block-fullWide__inner {
    width: min(100%, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
  }

  .poscom-service-contact-widget .p-blogParts > .swell-block-fullWide > .swell-block-fullWide__inner > .swell-block-fullWide.alignfull > .swell-block-fullWide__inner {
    width: min(100%, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
  }

  .poscom-service-contact-widget .contact-method-grid {
    gap: 24px;
    width: min(100%, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    margin-top: 6px !important;
    margin-bottom: 28px !important;
  }

  .poscom-service-contact-widget .contact-method-card__head {
    grid-template-columns: clamp(58px, 18vw, 78px) minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 12px;
  }

  .poscom-service-contact-widget .contact-method-card__body {
    min-height: 116px;
    padding: 18px 14px;
  }

  .poscom-service-contact-widget .contact-method-card__lead {
    margin-bottom: 0.62em !important;
    font-size: clamp(11px, 3vw, 12.5px);
    line-height: 1.5;
    letter-spacing: 0.025em;
  }

  .poscom-service-contact-widget .contact-method-card__main {
    font-size: clamp(20px, 6vw, 27px);
    letter-spacing: 0.015em;
    line-height: 1.18;
  }

  .poscom-service-contact-widget .contact-method-card__main--mail {
    font-size: clamp(14px, 4.2vw, 18px);
    letter-spacing: 0;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
  }

  .poscom-service-contact-widget .contact-method-card__note {
    font-size: clamp(10.5px, 3vw, 12px);
    line-height: 1.45;
    letter-spacing: 0.015em;
    margin-top: 0.55em !important;
  }

  .poscom-service-contact-widget .contact-method-card .contact-3d-object {
    width: clamp(58px, 18vw, 78px);
  }

  .poscom-service-contact-widget .contact-method-card--tel .contact-method-card__main--tel {
    gap: 0.18em !important;
  }

  .poscom-service-contact-widget .contact-method-card--tel .contact-method-card__tel-icon {
    width: 0.72em !important;
    height: 0.72em !important;
    flex-basis: 0.72em !important;
  }
}

/* 極小幅 */
@media (max-width: 374px) {
  .poscom-service-contact-widget .swell-block-fullWide__inner {
    width: min(100%, calc(100vw - 20px));
    max-width: calc(100vw - 20px);
  }

  .poscom-service-contact-widget .p-blogParts > .swell-block-fullWide > .swell-block-fullWide__inner > .swell-block-fullWide.alignfull > .swell-block-fullWide__inner {
    width: min(100%, calc(100vw - 20px));
    max-width: calc(100vw - 20px);
  }

  .poscom-service-contact-widget .contact-method-grid {
    width: min(100%, calc(100vw - 20px));
    max-width: calc(100vw - 20px);
  }

  .poscom-service-contact-widget .contact-method-card__head {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 10px;
  }

  .poscom-service-contact-widget .contact-method-card__body {
    padding: 16px 12px;
  }

  .poscom-service-contact-widget .contact-method-card__lead {
    font-size: 10.5px;
  }

  .poscom-service-contact-widget .contact-method-card__main {
    font-size: clamp(18px, 5.8vw, 23px);
    letter-spacing: 0.01em;
  }

  .poscom-service-contact-widget .contact-method-card__main--tel {
    font-size: clamp(18px, 5.8vw, 23px);
  }

  .poscom-service-contact-widget .contact-method-card__main--mail {
    font-size: clamp(13px, 4.3vw, 15.5px);
    letter-spacing: 0;
  }

  .poscom-service-contact-widget .contact-method-card__note {
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.01em;
  }

  .poscom-service-contact-widget .contact-method-card .contact-3d-object {
    width: 54px;
  }

  .poscom-service-contact-widget .contact-method-card--mail .contact-method-card__mail-link {
    gap: 0.14em !important;
  }

  .poscom-service-contact-widget .contact-method-card--mail .contact-method-card__mail-link::after {
    font-size: 0.46em !important;
  }
}

/* ======================================
  Service Contact Widget / Mail Note Spacing
  メールアドレス下の余白と、注釈2行の行間調整
====================================== */

.poscom-service-contact-widget .contact-method-card--mail .contact-method-card__main--mail {
  margin-bottom: clamp(14px, 1.4vw, 22px) !important;
}

.poscom-service-contact-widget .contact-method-card--mail .contact-method-card__note {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1.32 !important;
}

.poscom-service-contact-widget .contact-method-card--mail .contact-method-card__note + .contact-method-card__note {
  margin-top: 0.08em !important;
}


/* ======================================
  POS-COM Consult Button
  SWELLボーダーボタン拡張：やさしい相談CTA
====================================== */

.poscom-consult-button {
  width: min(430px, 100%);
  margin: clamp(24px, 2.8vw, 38px) auto 0 !important;
}

/* SWELLボーダーボタンを色付きCTA化 */
.poscom-consult-button.is-style-btn_line .swell-block-button__link,
.poscom-consult-button .swell-block-button__link {
  position: relative;
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;

  min-height: 56px;
  padding: 10px 12px !important;

  color: #061b3a !important;
  text-decoration: none !important;

  background:
    radial-gradient(circle at 12% 18%, rgba(83, 178, 187, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 251, 252, 0.98) 100%) !important;

  border: 1.5px solid rgba(6, 27, 58, 0.24) !important;
  border-radius: 10px !important;

  box-shadow:
    0 14px 30px rgba(6, 27, 58, 0.08),
    0 6px 14px rgba(83, 178, 187, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);

  overflow: hidden;

  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background-color 0.24s ease;
}

/* ボタン表面の薄い光 */
.poscom-consult-button .swell-block-button__link::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.42) 0%,
      rgba(255, 255, 255, 0.12) 32%,
      transparent 66%
    );
  opacity: 0.8;
}

/* ホバー時のキラッと光る帯 */
.poscom-consult-button .swell-block-button__link::before {
  content: "";
  position: absolute;
  top: -52%;
  left: -40%;
  z-index: 1;
  width: 28%;
  height: 210%;
  pointer-events: none;

  background:
    linear-gradient(
      105deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 28%,
      rgba(255, 255, 255, 0.86) 48%,
      rgba(101, 222, 220, 0.42) 56%,
      rgba(255, 255, 255, 0.9) 64%,
      rgba(255, 255, 255, 0) 100%
    );

  transform: translateX(-180%) skewX(-18deg);
  opacity: 0;
}

.poscom-consult-button .swell-block-button__link:hover {
  transform: translateY(-2px);
  color: #061b3a !important;
  border-color: rgba(0, 149, 160, 0.42) !important;
  box-shadow:
    0 18px 36px rgba(6, 27, 58, 0.12),
    0 9px 20px rgba(83, 178, 187, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.poscom-consult-button .swell-block-button__link:hover::before {
  animation: poscomConsultButtonShine 0.72s ease-out 1 both;
}

@keyframes poscomConsultButtonShine {
  0% {
    transform: translateX(-180%) skewX(-18deg);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  100% {
    transform: translateX(540%) skewX(-18deg);
    opacity: 0;
  }
}

/* 無料ピルバッジ */
.poscom-consult-button__badge {
  position: relative;
  z-index: 2;
  justify-self: start;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 84px;
  height: 30px;
  padding: 0 15px;

  color: #ffffff;
  background:
    linear-gradient(135deg, #008ea0 0%, #12b5b5 58%, #53b2bb 100%);
  border-radius: 999px;

  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.05em;

  box-shadow:
    0 8px 18px rgba(0, 149, 160, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

/* テキスト */
.poscom-consult-button__text {
  position: relative;
  z-index: 2;

  color: #061b3a;
  font-size: clamp(17px, 1.1vw, 19px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.05em;
  white-space: nowrap;
  justify-self: center;
  min-width: 0;
  text-align: center;
}

/* 斜め上矢印 */
.poscom-consult-button__arrow {
  position: relative;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 32px;
  height: 32px;
  flex: 0 0 32px;

  color: #008ea0;
  background: #ffffff;
  border: 1.4px solid rgba(0, 149, 160, 0.42);
  border-radius: 999px;

  font-size: 0;
  font-weight: 900;
  line-height: 1;
  justify-self: end;

  box-shadow:
    0 5px 12px rgba(6, 27, 58, 0.08);

  transition:
    transform 0.24s ease,
    color 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease;
}

.poscom-consult-button__arrow::before {
  content: "\2197";
  display: block;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.poscom-consult-button .swell-block-button__link:hover .poscom-consult-button__arrow {
  transform: translate(3px, -3px);
  color: #ffffff;
  background: #061b3a;
  border-color: #061b3a;
}

/* SP */
@media (max-width: 600px) {
  .poscom-consult-button {
    width: min(100%, calc(100vw - 40px));
    margin-top: 24px !important;
  }

  .poscom-consult-button.is-style-btn_line .swell-block-button__link,
  .poscom-consult-button .swell-block-button__link {
    grid-template-columns: 74px minmax(0, 1fr) 32px;
    min-height: 54px;
    gap: 8px;
    padding: 10px 11px !important;
  }

  .poscom-consult-button__badge {
    min-width: 58px;
    height: 29px;
    padding-inline: 13px;
    font-size: 12px;
  }

  .poscom-consult-button__text {
    font-size: 14px;
    letter-spacing: 0.035em;
    white-space: normal;
  }

  .poscom-consult-button__arrow {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 14px;
  }

  .poscom-consult-button__arrow::before {
    font-size: 14px;
  }
}


/* ======================================
  Cost Countdown Card
====================================== */

.poscom-cost-count {
  position: relative;
  width: min(100%, 480px);
  margin: 0 auto;
  color: #061b3a;
}

.poscom-cost-count__inner {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 2.6vw, 36px) clamp(20px, 2.4vw, 32px);
  border: 1px solid rgba(11, 44, 94, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 12%, rgba(22, 198, 211, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 250, 251, 0.96) 100%);
  box-shadow:
    0 24px 56px rgba(6, 27, 58, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: center;
}

.poscom-cost-count__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #16c6d3, #0b2c5e, transparent);
  opacity: 0.9;
}

.poscom-cost-count__eyebrow {
  margin: 0 0 10px !important;
  color: #16aebc;
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.poscom-cost-count__title {
  margin: 0 0 clamp(8px, 0.9vw, 12px) !important;
  color: #061b3a !important;
  font-size: clamp(23px, 1.9vw, 32px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.06em;
}

/* 数字の横ズレ対策：flexではなくgridで左右の幅を固定 */
.poscom-cost-count__number-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  justify-items: center;
  column-gap: clamp(10px, 1.2vw, 18px);
  width: min(100%, 390px);
  margin: 0 auto clamp(12px, 1.2vw, 18px);
  white-space: nowrap;
}

.poscom-cost-count__from,
.poscom-cost-count__number {
  font-family: "Montserrat", "Arial", sans-serif;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  line-height: 1;
  letter-spacing: 0;
}

.poscom-cost-count__from {
  justify-self: center;
  color: rgba(6, 27, 58, 0.36);
  font-size: clamp(48px, 5.4vw, 86px);
  font-weight: 900;
  text-align: center;
  text-decoration: line-through;
  text-decoration-thickness: 0.08em;
  text-decoration-color: rgba(215, 25, 32, 0.64);
}

.poscom-cost-count__arrow {
  color: #16aebc;
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 900;
  line-height: 1;
}

.poscom-cost-count__number {
  justify-self: center;
  min-width: auto;
  color: #061b3a;
  font-size: clamp(56px, 6.4vw, 98px);
  font-weight: 900;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95),
    0 18px 42px rgba(22, 198, 211, 0.18);
}

.poscom-cost-count__zero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0.5em 1.35em;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(135deg, #061b3a 0%, #0b2c5e 100%);
  color: #ffffff;
  font-size: clamp(19px, 1.55vw, 27px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  box-shadow:
    0 14px 30px rgba(6, 27, 58, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* 旧HTMLにleadが残っていても非表示 */
.poscom-cost-count__lead {
  display: none !important;
}

@media (max-width: 959px) {
  .poscom-cost-count {
    width: min(100%, 480px);
  }

  .poscom-cost-count__inner {
    padding: 26px 16px;
    border-radius: 22px;
  }

  .poscom-cost-count__number-wrap {
    grid-template-columns: 1fr auto 1fr;
    column-gap: 8px;
    width: min(100%, 330px);
    margin-bottom: 22px;
  }

  .poscom-cost-count__from {
    font-size: clamp(40px, 13vw, 62px);
  }

  .poscom-cost-count__arrow {
    font-size: clamp(26px, 8vw, 38px);
  }

  .poscom-cost-count__number {
    min-width: auto;
    font-size: clamp(48px, 15vw, 74px);
  }

  .poscom-cost-count__zero {
    padding: 0.52em 1.2em;
    font-size: clamp(17px, 5vw, 22px);
  }
}

/* ======================================
  Cost Shift Card
  固定費 → 変動費
====================================== */

.poscom-cost-shift {
  position: relative;
  width: min(100%, 480px);
  margin: 0 auto;
  color: #061b3a;
}

.poscom-cost-shift__inner {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 2.6vw, 36px) clamp(20px, 2.4vw, 32px);
  border: 1px solid rgba(11, 44, 94, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 14%, rgba(22, 198, 211, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 250, 251, 0.96) 100%);
  box-shadow:
    0 24px 56px rgba(6, 27, 58, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: center;
}

.poscom-cost-shift__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0b2c5e, #16c6d3, transparent);
  opacity: 0.9;
}

.poscom-cost-shift__eyebrow {
  margin: 0 0 10px !important;
  color: #16aebc;
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.poscom-cost-shift__title {
  margin: 0 0 clamp(18px, 2vw, 28px) !important;
  color: #061b3a !important;
  font-size: clamp(23px, 1.9vw, 32px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.06em;
}

.poscom-cost-shift__scene {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(190px, 18vw, 250px);
  perspective: 1000px;
}

.poscom-cost-shift__card {
  position: relative;
  z-index: 3;
  width: min(76%, 280px);
  aspect-ratio: 1.72 / 1;
  perspective: 1000px;
}

.poscom-cost-shift__card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--poscom-cost-shift-rotate, 0deg));
  will-change: transform;
}

.poscom-cost-shift__face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 0.35em;
  padding: 20px;
  border-radius: 24px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow:
    0 22px 42px rgba(6, 27, 58, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.poscom-cost-shift__face--front {
  background:
    linear-gradient(135deg, #061b3a 0%, #0b2c5e 100%);
  color: #ffffff;
}

.poscom-cost-shift__face--back {
  background:
    linear-gradient(135deg, #14aebc 0%, #16c6d3 48%, #0b2c5e 100%);
  color: #ffffff;
  transform: rotateX(180deg);
}

.poscom-cost-shift__label {
  display: block;
  color: inherit;
  font-size: clamp(34px, 3.5vw, 58px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
}

.poscom-cost-shift__face small {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.poscom-cost-shift__orbit {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.poscom-cost-shift__orbit span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(11, 44, 94, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: rgba(6, 27, 58, 0.82);
  font-size: clamp(12px, 0.88vw, 14px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 24px rgba(6, 27, 58, 0.08);
  transform:
    translate(var(--poscom-cost-tag-x, 0), var(--poscom-cost-tag-y, 0))
    scale(var(--poscom-cost-tag-scale, 1));
  opacity: var(--poscom-cost-tag-opacity, 1);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.poscom-cost-shift__orbit--front span:nth-child(1) {
  top: 12%;
  left: 5%;
}

.poscom-cost-shift__orbit--front span:nth-child(2) {
  right: 4%;
  top: 18%;
}

.poscom-cost-shift__orbit--front span:nth-child(3) {
  left: 8%;
  bottom: 14%;
}

.poscom-cost-shift__orbit--back span:nth-child(1) {
  right: 6%;
  bottom: 12%;
}

.poscom-cost-shift__orbit--back span:nth-child(2) {
  left: 16%;
  top: 47%;
}

.poscom-cost-shift__orbit--back span:nth-child(3) {
  right: 17%;
  top: 50%;
}

.poscom-cost-shift__lead {
  margin: clamp(18px, 2vw, 26px) 0 0 !important;
  color: rgba(6, 27, 58, 0.86);
  font-size: clamp(15px, 1.12vw, 18px);
  font-weight: 900;
  line-height: 1.75;
  letter-spacing: 0.055em;
}

.poscom-cost-shift.is-shifted .poscom-cost-shift__orbit span {
  color: #061b3a;
  background: rgba(239, 250, 251, 0.95);
}

@media (max-width: 959px) {
  .poscom-cost-shift {
    width: min(100%, 480px);
  }

  .poscom-cost-shift__inner {
    padding: 26px 16px;
    border-radius: 22px;
  }

  .poscom-cost-shift__scene {
    min-height: 230px;
  }

  .poscom-cost-shift__card {
    width: min(78%, 260px);
  }

  .poscom-cost-shift__label {
    font-size: clamp(34px, 11vw, 48px);
  }

  .poscom-cost-shift__orbit span {
    min-height: 30px;
    padding-inline: 11px;
    font-size: 12px;
  }

  .poscom-cost-shift__lead {
    font-size: 14px;
  }
}

/* ======================================
  Cost Cards Title Size Fine Tune
  カードサイズを変えず、タイトルだけ少し強調
====================================== */

.poscom-cost-count h2.poscom-cost-count__title,
.poscom-cost-count .poscom-cost-count__title {
  font-size: clamp(26px, 2.05vw, 35px) !important;
  line-height: 1.08 !important;
  margin-bottom: clamp(6px, 0.7vw, 10px) !important;
  transform: scale(1.06);
  transform-origin: center center;
}

.poscom-cost-shift h2.poscom-cost-shift__title,
.poscom-cost-shift .poscom-cost-shift__title {
  font-size: clamp(26px, 2.05vw, 35px) !important;
  line-height: 1.08 !important;
  margin-bottom: clamp(14px, 1.5vw, 22px) !important;
  transform: scale(1.06);
  transform-origin: center center;
  white-space: nowrap;
}

/* ======================================
  Estimate / Service Side Buttons
  ブログパーツ共通
====================================== */

@keyframes poscomPulseButtonAnime {
  0% {
    opacity: 1;
    transform: scale(0.95);
  }

  90% {
    opacity: 0.1;
  }

  100% {
    opacity: 0;
    transform: scale(1.14, 1.36);
  }
}

.poscom-pulse-button {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: 90%;
  margin-inline: auto;
  transition: 0.2s;
}

.poscom-pulse-button::before,
.poscom-pulse-button::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 3px;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(83, 178, 187, 0.28);
  border-radius: 32px;
  background: rgba(215, 25, 32, 0.24);
  box-shadow: 0 0 0 1px rgba(83, 178, 187, 0.08);
  transform: translate3d(0, 0, 0);
}

.poscom-pulse-button::before {
  animation: poscomPulseButtonAnime 2s ease-out infinite;
}

.poscom-pulse-button::after {
  animation: poscomPulseButtonAnime 2s ease-out 1s infinite;
}

.poscom-pulse-button a {
  position: relative;
  top: 3px;
  display: block;
  width: 100%;
  padding: 19px 0;
  border-radius: 32px;
  color: #ffffff !important;
  text-align: center;
  text-decoration: none;
  background: #8b110d;
}

.poscom-pulse-button a::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -3px;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: #d71920;
  transition: 0.2s;
  transform: translate3d(0, 0, 0);
}

.poscom-pulse-button span {
  position: relative;
  z-index: 2;
  top: -3px;
  display: block;
  color: #ffffff !important;
  font-family: sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  transition: 0.2s;
}

.poscom-pulse-button span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 10.5px;
  height: 10.5px;
  margin-top: -5px;
  border-top: 1.45px solid #ffffff;
  border-right: 1.45px solid #ffffff;
  transform: translateX(5px) rotate(45deg);
  transition: 0.3s 0.1s;
}

.poscom-pulse-button a:hover,
.poscom-pulse-button a:focus-visible {
  color: #ffffff !important;
}

.poscom-pulse-button a:hover {
  top: 3px;
}

.poscom-pulse-button a:hover::after {
  top: 0;
  background: #e62730;
}

.poscom-pulse-button a:hover span {
  top: 0;
  color: #ffffff !important;
}

.poscom-pulse-button a:hover span::after {
  right: 21px;
}

.p-spMenu__bottom .poscom-pulse-button {
  left: auto;
  width: min(92%, 360px);
  max-width: 92%;
  margin-inline: auto;
  transform: none;
}

.p-spMenu__bottom .poscom-pulse-button a {
  width: 100%;
}

.poscom-side-service-btn {
  overflow: visible;
}

.poscom-side-service-btn .swell-block-button__link {
  position: relative;
  overflow: visible;
  border-radius: 0 !important;
  transform: skew(-15deg);
  box-shadow: 0 5px 10px rgba(6, 27, 58, 0.10);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
}

.poscom-side-service-btn .swell-block-button__link::before,
.poscom-side-service-btn .swell-block-button__link::after {
  content: "";
  position: absolute;
  height: 1px;
  pointer-events: none;
  background: #ffffff;
  transition:
    right 0.3s ease,
    background-color 0.3s ease;
}

.poscom-side-service-btn .swell-block-button__link::before {
  top: 46%;
  right: 0;
  width: 3rem;
}

.poscom-side-service-btn .swell-block-button__link::after {
  top: 55%;
  right: 1rem;
  width: 2rem;
}

.poscom-side-service-btn .swell-block-button__link:hover {
  transform: skew(0);
  box-shadow: 0 2px 3px rgba(6, 27, 58, 0.10);
  filter: saturate(1.04);
}

.poscom-side-service-btn .swell-block-button__link:hover::before {
  right: -1.5rem;
  background: #0b2c5e;
}

.poscom-side-service-btn .swell-block-button__link:hover::after {
  right: -1rem;
  background: #0b2c5e;
}


/* ======================================
  Service Example Card
  事業ページ：リッチカラム1カラム内の画像＋ラベル
  ※各カラムに .poscom-service-example-card を付けて使用
====================================== */

.poscom-service-example-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
}

.poscom-service-example-card > figure.wp-block-image,
.poscom-service-example-card > .wp-block-image {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(6, 27, 58, 0.06);
  border-radius: 8px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.96), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 250, 251, 0.84));
  box-shadow:
    0 16px 30px rgba(6, 27, 58, 0.075),
    0 5px 12px rgba(6, 27, 58, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.poscom-service-example-card > figure.wp-block-image::after,
.poscom-service-example-card > .wp-block-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.30),
      rgba(255, 255, 255, 0) 48%,
      rgba(15, 111, 134, 0.035)
    );
}

.poscom-service-example-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  filter:
    drop-shadow(0 7px 12px rgba(6, 27, 58, 0.075))
    saturate(1.03);
  transition:
    transform 0.28s ease,
    filter 0.28s ease;
}

@media (hover: hover) and (pointer: fine) {
  .poscom-service-example-card:hover img {
    transform: translateY(-3px) scale(1.015);
    filter:
      drop-shadow(0 11px 17px rgba(6, 27, 58, 0.105))
      saturate(1.06);
  }
}

.poscom-service-example-card > p {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75em;
  margin: 0;
  padding: 0.15em 0.35em 0.38em;
  color: var(--poscom-deep-navy, #061b3a);
  font-family: var(--font-sans, "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.poscom-service-example-card > p::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 31px;
  height: 4.2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0a8fa3, #21b58f);
  transform: translateX(-50%);
  opacity: 0.82;
}

.poscom-service-example-card > figure.wp-block-image + p,
.poscom-service-example-card > .wp-block-image + p {
  margin-top: 0;
}

@media (max-width: 960px) {
  .poscom-service-example-card > figure.wp-block-image,
  .poscom-service-example-card > .wp-block-image {
    margin-bottom: 9px;
    padding: 7px;
  }

  .poscom-service-example-card img {
    border-radius: 6px;
  }

  .poscom-service-example-card > p {
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .poscom-service-example-card > figure.wp-block-image,
  .poscom-service-example-card > .wp-block-image {
    margin-bottom: 8px;
    padding: 6px;
    box-shadow:
      0 12px 22px rgba(6, 27, 58, 0.07),
      0 4px 10px rgba(6, 27, 58, 0.04),
      inset 0 1px 0 rgba(255, 255, 255, 0.88);
  }

  .poscom-service-example-card > p {
    min-height: 2.6em;
    font-size: 12px;
    line-height: 1.45;
  }

  .poscom-service-example-card > p::after {
    width: 24px;
  }
}


/* ======================================
  POS-COM Service Link Cards
  事業ページ下部：関連サービス遷移ボタン
  シンプル枠線版
====================================== */

#body_wrap.page-id-17 .poscom-service-link-section,
#body_wrap.page-id-19 .poscom-service-link-section,
#body_wrap.page-id-21 .poscom-service-link-section {
  position: relative;
  width: 100%;
  margin: clamp(44px, 5.5vw, 80px) auto clamp(52px, 6vw, 92px);
  padding: 0;
}

#body_wrap.page-id-17 .poscom-service-link-section__inner,
#body_wrap.page-id-19 .poscom-service-link-section__inner,
#body_wrap.page-id-21 .poscom-service-link-section__inner {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

#body_wrap.page-id-17 .poscom-service-link-section .poscom-ttl-gradient,
#body_wrap.page-id-19 .poscom-service-link-section .poscom-ttl-gradient,
#body_wrap.page-id-21 .poscom-service-link-section .poscom-ttl-gradient {
  margin-top: 0 !important;
  margin-bottom: clamp(22px, 3vw, 38px) !important;
  text-align: center;
}

#body_wrap.page-id-17 .poscom-service-link-grid,
#body_wrap.page-id-19 .poscom-service-link-grid,
#body_wrap.page-id-21 .poscom-service-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

/* カード本体：背景装飾なし・枠線のみ */
#body_wrap.page-id-17 .poscom-service-link-card,
#body_wrap.page-id-19 .poscom-service-link-card,
#body_wrap.page-id-21 .poscom-service-link-card {
  --service-link-main: #061b3a;
  --service-link-accent: #18b9c7;

  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 1.6vw, 20px);
  min-height: clamp(96px, 8vw, 122px);
  padding: clamp(20px, 2.2vw, 28px);
  color: var(--service-link-main);
  text-decoration: none !important;
  border: 3px solid rgba(6, 27, 58, 0.86);
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

/* 余計な装飾は使わない */
#body_wrap.page-id-17 .poscom-service-link-card::before,
#body_wrap.page-id-17 .poscom-service-link-card::after,
#body_wrap.page-id-19 .poscom-service-link-card::before,
#body_wrap.page-id-19 .poscom-service-link-card::after,
#body_wrap.page-id-21 .poscom-service-link-card::before,
#body_wrap.page-id-21 .poscom-service-link-card::after {
  content: none !important;
}

/* 矢印丸 */
#body_wrap.page-id-17 .poscom-service-link-card__arrow,
#body_wrap.page-id-19 .poscom-service-link-card__arrow,
#body_wrap.page-id-21 .poscom-service-link-card__arrow {
  --arrow-size: clamp(42px, 3.6vw, 52px);

  position: relative;
  display: grid;
  place-items: center;
  width: var(--arrow-size);
  height: var(--arrow-size);
  overflow: hidden;
  border-radius: 999px;
  background: var(--service-link-main);
  transition:
    background-color 0.28s ease,
    transform 0.28s ease;
}

/* hover時に一瞬だけ中の色が広がる */
#body_wrap.page-id-17 .poscom-service-link-card__arrow::before,
#body_wrap.page-id-19 .poscom-service-link-card__arrow::before,
#body_wrap.page-id-21 .poscom-service-link-card__arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--service-link-accent);
  transform: scale(0);
  opacity: 0;
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
}

/* 矢印本体 */
#body_wrap.page-id-17 .poscom-service-link-card__arrow::after,
#body_wrap.page-id-19 .poscom-service-link-card__arrow::after,
#body_wrap.page-id-21 .poscom-service-link-card__arrow::after {
  content: "→";
  position: relative;
  z-index: 1;
  display: block;
  color: #ffffff;
  font-family: var(--font-en, "IBM Plex Sans", Arial, sans-serif);
  font-size: clamp(20px, 1.7vw, 25px);
  font-weight: 900;
  line-height: 1;
  transform: translateX(0);
}

/* テキスト */
#body_wrap.page-id-17 .poscom-service-link-card__body,
#body_wrap.page-id-19 .poscom-service-link-card__body,
#body_wrap.page-id-21 .poscom-service-link-card__body {
  display: grid;
  gap: 8px;
  min-width: 0;
}

#body_wrap.page-id-17 .poscom-service-link-card__label,
#body_wrap.page-id-19 .poscom-service-link-card__label,
#body_wrap.page-id-21 .poscom-service-link-card__label {
  display: block;
  color: rgba(6, 27, 58, 0.58);
  font-family: var(--font-en, "IBM Plex Sans", Arial, sans-serif);
  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#body_wrap.page-id-17 .poscom-service-link-card__title,
#body_wrap.page-id-19 .poscom-service-link-card__title,
#body_wrap.page-id-21 .poscom-service-link-card__title {
  display: block;
  color: var(--service-link-main);
  font-family: var(--font-sans, "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif);
  font-size: clamp(20px, 1.55vw, 25px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.055em;
  white-space: nowrap;
}

/* hover：控えめに反応 */
#body_wrap.page-id-17 .poscom-service-link-card:hover,
#body_wrap.page-id-19 .poscom-service-link-card:hover,
#body_wrap.page-id-21 .poscom-service-link-card:hover {
  transform: translateY(-3px);
  border-color: var(--service-link-accent);
  background-color: rgba(255, 255, 255, 0.32);
}

#body_wrap.page-id-17 .poscom-service-link-card:hover .poscom-service-link-card__arrow,
#body_wrap.page-id-19 .poscom-service-link-card:hover .poscom-service-link-card__arrow,
#body_wrap.page-id-21 .poscom-service-link-card:hover .poscom-service-link-card__arrow {
  transform: scale(1.04);
}

#body_wrap.page-id-17 .poscom-service-link-card:hover .poscom-service-link-card__arrow::before,
#body_wrap.page-id-19 .poscom-service-link-card:hover .poscom-service-link-card__arrow::before,
#body_wrap.page-id-21 .poscom-service-link-card:hover .poscom-service-link-card__arrow::before {
  opacity: 1;
  transform: scale(1);
}

#body_wrap.page-id-17 .poscom-service-link-card:hover .poscom-service-link-card__arrow::after,
#body_wrap.page-id-19 .poscom-service-link-card:hover .poscom-service-link-card__arrow::after,
#body_wrap.page-id-21 .poscom-service-link-card:hover .poscom-service-link-card__arrow::after {
  animation: poscomServiceLinkArrowSimple 0.56s ease-in-out both;
}

/* 色バリエーション：枠はシンプル、hover色だけ変える */
.poscom-service-link-card--shipping {
  --service-link-accent: #18b9c7;
}

.poscom-service-link-card--dm {
  --service-link-accent: #0f6f86;
}

.poscom-service-link-card--print {
  --service-link-accent: #16c6d3;
}

.poscom-service-link-card--data {
  --service-link-accent: #228e38;
}

.poscom-service-link-card--storage {
  --service-link-accent: #8aa12f;
}

/* 矢印が右へ抜けて、戻った後は普通の矢印 */
@keyframes poscomServiceLinkArrowSimple {
  0% {
    opacity: 1;
    transform: translateX(0);
  }

  42% {
    opacity: 1;
    transform: translateX(170%);
  }

  43% {
    opacity: 0;
    transform: translateX(170%);
  }

  44% {
    opacity: 0;
    transform: translateX(-170%);
  }

  62% {
    opacity: 1;
    transform: translateX(-60%);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ======================================
  Service Link Cards Responsive
  関連サービス：タブレット3列 / スマホ中央寄せ
====================================== */

/* ======================================
  Service Link Cards Narrow PC
  関連サービス：
  小さい実効幅PCだけ、3ボタンの横幅を短くしつつ
  縦幅はやや余裕を残す
  ※テキストサイズ・矢印サイズ・hover演出は触らない
====================================== */

@media (min-width: 960px) and (max-width: 1366px) {
  #body_wrap.page-id-17 .poscom-service-link-section__inner,
  #body_wrap.page-id-19 .poscom-service-link-section__inner,
  #body_wrap.page-id-21 .poscom-service-link-section__inner {
    width: min(980px, calc(100% - 96px));
    margin-inline: auto;
  }

  #body_wrap.page-id-17 .poscom-service-link-grid,
  #body_wrap.page-id-19 .poscom-service-link-grid,
  #body_wrap.page-id-21 .poscom-service-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 1.7vw, 22px);
  }

  #body_wrap.page-id-17 .poscom-service-link-card,
  #body_wrap.page-id-19 .poscom-service-link-card,
  #body_wrap.page-id-21 .poscom-service-link-card {
    min-width: 0;
    min-height: 106px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: clamp(20px, 2vw, 26px);
    padding-right: clamp(20px, 2vw, 26px);
  }
}

/* さらに狭い実効幅PCだけ、横幅だけ少し短くする */
@media (min-width: 960px) and (max-width: 1180px) {
  #body_wrap.page-id-17 .poscom-service-link-section__inner,
  #body_wrap.page-id-19 .poscom-service-link-section__inner,
  #body_wrap.page-id-21 .poscom-service-link-section__inner {
    width: min(920px, calc(100% - 88px));
  }

  #body_wrap.page-id-17 .poscom-service-link-grid,
  #body_wrap.page-id-19 .poscom-service-link-grid,
  #body_wrap.page-id-21 .poscom-service-link-grid {
    gap: 16px;
  }

  #body_wrap.page-id-17 .poscom-service-link-card,
  #body_wrap.page-id-19 .poscom-service-link-card,
  #body_wrap.page-id-21 .poscom-service-link-card {
    min-height: 102px;
    padding-top: 18px;
    padding-bottom: 18px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* タブレット：3列を維持。カード内の余白・文字改行だけ整える */
@media (min-width: 701px) and (max-width: 1100px) {
  #body_wrap.page-id-17 .poscom-service-link-section,
  #body_wrap.page-id-19 .poscom-service-link-section,
  #body_wrap.page-id-21 .poscom-service-link-section {
    margin: 0 auto;
    padding-top: clamp(42px, 5.2vw, 64px);
    padding-bottom: clamp(14px, 2vw, 22px);
  }

  #body_wrap.page-id-17 .poscom-service-link-section__inner,
  #body_wrap.page-id-19 .poscom-service-link-section__inner,
  #body_wrap.page-id-21 .poscom-service-link-section__inner {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
  }

  #body_wrap.page-id-17 .poscom-service-link-section .poscom-ttl-gradient,
  #body_wrap.page-id-19 .poscom-service-link-section .poscom-ttl-gradient,
  #body_wrap.page-id-21 .poscom-service-link-section .poscom-ttl-gradient {
    font-size: clamp(30px, 4.2vw, 42px) !important;
    line-height: 1.12 !important;
  }

  #body_wrap.page-id-17 .poscom-service-link-grid,
  #body_wrap.page-id-19 .poscom-service-link-grid,
  #body_wrap.page-id-21 .poscom-service-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 1.8vw, 18px);
  }

  #body_wrap.page-id-17 .poscom-service-link-card,
  #body_wrap.page-id-19 .poscom-service-link-card,
  #body_wrap.page-id-21 .poscom-service-link-card {
    min-width: 0;
    min-height: 86px;
    gap: clamp(10px, 1.4vw, 14px);
    padding: clamp(13px, 1.6vw, 17px);
    border-width: 2px;
    border-radius: 10px;
  }

  #body_wrap.page-id-17 .poscom-service-link-card__arrow,
  #body_wrap.page-id-19 .poscom-service-link-card__arrow,
  #body_wrap.page-id-21 .poscom-service-link-card__arrow {
    --arrow-size: clamp(36px, 4.6vw, 42px);
    flex: 0 0 var(--arrow-size);
  }

  #body_wrap.page-id-17 .poscom-service-link-card__label,
  #body_wrap.page-id-19 .poscom-service-link-card__label,
  #body_wrap.page-id-21 .poscom-service-link-card__label {
    font-size: clamp(9.5px, 1.15vw, 11px);
    letter-spacing: 0.16em;
    white-space: nowrap;
  }

  #body_wrap.page-id-17 .poscom-service-link-card__title,
  #body_wrap.page-id-19 .poscom-service-link-card__title,
  #body_wrap.page-id-21 .poscom-service-link-card__title {
    font-size: clamp(15px, 1.75vw, 20px);
    line-height: 1.28;
    letter-spacing: 0.035em;
    white-space: nowrap;
  }
}

/* スマホ：縦3枚。幅いっぱいにせず、中央にほどよいカード幅で配置 */
@media (max-width: 700px) {
  #body_wrap.page-id-17 .poscom-service-link-section,
  #body_wrap.page-id-19 .poscom-service-link-section,
  #body_wrap.page-id-21 .poscom-service-link-section {
    margin: 0 auto;
    padding-top: 24px;
    padding-bottom: 10px;
  }

  #body_wrap.page-id-17 .poscom-service-link-section__inner,
  #body_wrap.page-id-19 .poscom-service-link-section__inner,
  #body_wrap.page-id-21 .poscom-service-link-section__inner {
    width: min(100% - 32px, 560px);
    margin-inline: auto;
  }

  #body_wrap.page-id-17 .poscom-service-link-section .poscom-ttl-gradient,
  #body_wrap.page-id-19 .poscom-service-link-section .poscom-ttl-gradient,
  #body_wrap.page-id-21 .poscom-service-link-section .poscom-ttl-gradient {
    width: min(100%, 390px);
    margin: 0 auto 22px !important;
    text-align: center;
    font-size: clamp(26px, 7vw, 34px) !important;
    line-height: 1.14 !important;
  }

  #body_wrap.page-id-17 .poscom-service-link-section .poscom-ttl-gradient__main,
  #body_wrap.page-id-19 .poscom-service-link-section .poscom-ttl-gradient__main,
  #body_wrap.page-id-21 .poscom-service-link-section .poscom-ttl-gradient__main {
    width: auto;
    margin-inline: auto;
    text-align: center;
    line-height: inherit;
  }

  #body_wrap.page-id-17 .poscom-service-link-grid,
  #body_wrap.page-id-19 .poscom-service-link-grid,
  #body_wrap.page-id-21 .poscom-service-link-grid {
    grid-template-columns: 1fr;
    width: min(400px, calc(100vw - 64px));
    max-width: 100%;
    margin-inline: auto;
    gap: 14px;
  }

  #body_wrap.page-id-17 .poscom-service-link-card,
  #body_wrap.page-id-19 .poscom-service-link-card,
  #body_wrap.page-id-21 .poscom-service-link-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 76px;
    padding: 14px 64px;
    border-width: 2px;
    border-radius: 10px;
    box-sizing: border-box;
  }

  #body_wrap.page-id-17 .poscom-service-link-card__arrow,
  #body_wrap.page-id-19 .poscom-service-link-card__arrow,
  #body_wrap.page-id-21 .poscom-service-link-card__arrow {
    --arrow-size: 42px;
    position: absolute;
    top: 50%;
    left: 28px;
    width: var(--arrow-size);
    height: var(--arrow-size);
    flex: none;
    transform: translateY(-50%);
  }

  #body_wrap.page-id-17 .poscom-service-link-card:hover .poscom-service-link-card__arrow,
  #body_wrap.page-id-19 .poscom-service-link-card:hover .poscom-service-link-card__arrow,
  #body_wrap.page-id-21 .poscom-service-link-card:hover .poscom-service-link-card__arrow {
    transform: translateY(-50%) scale(1.04);
  }

  #body_wrap.page-id-17 .poscom-service-link-card__body,
  #body_wrap.page-id-19 .poscom-service-link-card__body,
  #body_wrap.page-id-21 .poscom-service-link-card__body {
    display: grid;
    justify-items: center;
    align-content: center;
    width: 100%;
    min-width: 0;
    gap: 7px;
    text-align: center;
  }

  #body_wrap.page-id-17 .poscom-service-link-card__label,
  #body_wrap.page-id-19 .poscom-service-link-card__label,
  #body_wrap.page-id-21 .poscom-service-link-card__label {
    width: 100%;
    font-size: 10.5px;
    line-height: 1;
    letter-spacing: 0.18em;
    text-align: center;
    white-space: nowrap;
  }

  #body_wrap.page-id-17 .poscom-service-link-card__title,
  #body_wrap.page-id-19 .poscom-service-link-card__title,
  #body_wrap.page-id-21 .poscom-service-link-card__title {
    width: 100%;
    font-size: clamp(17px, 4.45vw, 20px);
    line-height: 1.25;
    letter-spacing: 0.035em;
    text-align: center;
    white-space: nowrap;
  }
}

/* 極小幅だけ少し詰める */
@media (max-width: 390px) {
  #body_wrap.page-id-17 .poscom-service-link-section__inner,
  #body_wrap.page-id-19 .poscom-service-link-section__inner,
  #body_wrap.page-id-21 .poscom-service-link-section__inner {
    width: min(100% - 26px, 560px);
  }

  #body_wrap.page-id-17 .poscom-service-link-grid,
  #body_wrap.page-id-19 .poscom-service-link-grid,
  #body_wrap.page-id-21 .poscom-service-link-grid {
    width: min(100%, calc(100vw - 44px));
  }

  #body_wrap.page-id-17 .poscom-service-link-card,
  #body_wrap.page-id-19 .poscom-service-link-card,
  #body_wrap.page-id-21 .poscom-service-link-card {
    padding: 13px 54px;
  }

  #body_wrap.page-id-17 .poscom-service-link-card__arrow,
  #body_wrap.page-id-19 .poscom-service-link-card__arrow,
  #body_wrap.page-id-21 .poscom-service-link-card__arrow {
    --arrow-size: 40px;
    left: 22px;
  }

  #body_wrap.page-id-17 .poscom-service-link-card__body,
  #body_wrap.page-id-19 .poscom-service-link-card__body,
  #body_wrap.page-id-21 .poscom-service-link-card__body {
    justify-items: center;
    text-align: center;
  }

  #body_wrap.page-id-17 .poscom-service-link-card__title,
  #body_wrap.page-id-19 .poscom-service-link-card__title,
  #body_wrap.page-id-21 .poscom-service-link-card__title {
    font-size: clamp(16px, 4.25vw, 18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #body_wrap.page-id-17 .poscom-service-link-card,
  #body_wrap.page-id-19 .poscom-service-link-card,
  #body_wrap.page-id-21 .poscom-service-link-card,
  #body_wrap.page-id-17 .poscom-service-link-card__arrow,
  #body_wrap.page-id-19 .poscom-service-link-card__arrow,
  #body_wrap.page-id-21 .poscom-service-link-card__arrow,
  #body_wrap.page-id-17 .poscom-service-link-card__arrow::before,
  #body_wrap.page-id-19 .poscom-service-link-card__arrow::before,
  #body_wrap.page-id-21 .poscom-service-link-card__arrow::before,
  #body_wrap.page-id-17 .poscom-service-link-card__arrow::after,
  #body_wrap.page-id-19 .poscom-service-link-card__arrow::after,
  #body_wrap.page-id-21 .poscom-service-link-card__arrow::after {
    animation: none !important;
    transition: none !important;
  }
}


/* ======================================
  Service Link → Before Footer Space Reset
  関連サービス後からフッター前CTAまでの余白整理
====================================== */

/* PCは既存どおり関連サービス下に40px残す */
@media (min-width: 1101px) {
  #body_wrap.page-id-17 .poscom-service-link-section,
  #body_wrap.page-id-19 .poscom-service-link-section,
  #body_wrap.page-id-21 .poscom-service-link-section {
    margin-bottom: 40px !important;
    padding-bottom: 0 !important;
  }
}

/* 関連サービスを含む本文側の余白は消す */
#body_wrap.page-id-17 .post_content:has(.poscom-service-link-section),
#body_wrap.page-id-19 .post_content:has(.poscom-service-link-section),
#body_wrap.page-id-21 .post_content:has(.poscom-service-link-section) {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 関連サービスを包むブロック側の余白も消す */
#body_wrap.page-id-17 .post_content > :has(.poscom-service-link-section),
#body_wrap.page-id-19 .post_content > :has(.poscom-service-link-section),
#body_wrap.page-id-21 .post_content > :has(.poscom-service-link-section) {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* l-content側の下余白も詰める */
#body_wrap.page-id-17 #content.l-content,
#body_wrap.page-id-19 #content.l-content,
#body_wrap.page-id-21 #content.l-content {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* フッター前ウィジェットは上余白を0にする */
#body_wrap.page-id-17 #before_footer_widget.w-beforeFooter,
#body_wrap.page-id-19 #before_footer_widget.w-beforeFooter,
#body_wrap.page-id-21 #before_footer_widget.w-beforeFooter {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* CTAブロック先頭の余白も0 */
#body_wrap.page-id-17 #before_footer_widget.w-beforeFooter > :first-child,
#body_wrap.page-id-19 #before_footer_widget.w-beforeFooter > :first-child,
#body_wrap.page-id-21 #before_footer_widget.w-beforeFooter > :first-child {
  margin-top: 0 !important;
}

/* ======================================
  Service Page FAQ
  事業ページ下部 共通FAQ
  対象：DM / 商品発送 / 印刷
====================================== */

/* FAQ全体 */
#body_wrap.page-id-17 .poscom-faq-page .swell-block-faq,
#body_wrap.page-id-19 .poscom-faq-page .swell-block-faq,
#body_wrap.page-id-21 .poscom-faq-page .swell-block-faq {
  display: block;
  width: 100%;
  margin: 0 !important;
}

/* 各FAQ */
#body_wrap.page-id-17 .poscom-faq-page .swell-block-faq__item,
#body_wrap.page-id-19 .poscom-faq-page .swell-block-faq__item,
#body_wrap.page-id-21 .poscom-faq-page .swell-block-faq__item {
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* SWELL標準のA装飾を消す */
#body_wrap.page-id-17 .poscom-faq-page .faq_a::before,
#body_wrap.page-id-19 .poscom-faq-page .faq_a::before,
#body_wrap.page-id-21 .poscom-faq-page .faq_a::before,
#body_wrap.page-id-17 .poscom-faq-page .faq_a::after,
#body_wrap.page-id-19 .poscom-faq-page .faq_a::after,
#body_wrap.page-id-21 .poscom-faq-page .faq_a::after {
  content: none !important;
  display: none !important;
}

/* 質問行 */
#body_wrap.page-id-17 .poscom-faq-page .faq_q,
#body_wrap.page-id-19 .poscom-faq-page .faq_q,
#body_wrap.page-id-21 .poscom-faq-page .faq_q {
  position: relative;
  display: block !important;
  min-height: 64px;
  margin: 0 !important;
  padding: 18px 62px 18px 74px !important;
  border: 1px solid rgba(20, 35, 48, 0.14) !important;
  border-radius: 8px;
  background: #f3f4f5 !important;
  color: #1d3345;
  font-size: clamp(15px, 1.2vw, 16.5px);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: none !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  writing-mode: horizontal-tb !important;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

/* Qラベル */
#body_wrap.page-id-17 .poscom-faq-page .faq_q::before,
#body_wrap.page-id-19 .poscom-faq-page .faq_q::before,
#body_wrap.page-id-21 .poscom-faq-page .faq_q::before {
  content: "Q" !important;
  position: absolute;
  top: 50%;
  left: 18px;
  display: grid !important;
  place-items: center;
  width: 40px;
  height: 30px;
  transform: translateY(-50%);
  border-radius: 4px;
  background: #0d2b45;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

/* 右側の＋ */
#body_wrap.page-id-17 .poscom-faq-page .faq_q::after,
#body_wrap.page-id-19 .poscom-faq-page .faq_q::after,
#body_wrap.page-id-21 .poscom-faq-page .faq_q::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  transform: translateY(-50%) rotate(0deg);
  border: 1px solid rgba(20, 35, 48, 0.16);
  border-radius: 4px;
  background: #fff;
  color: #30495c;
  font-size: 23px;
  font-weight: 300;
  line-height: 1;
  transition:
    transform 0.28s ease,
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}

/* hover */
@media (hover: hover) {
  #body_wrap.page-id-17 .poscom-faq-page .faq_q:hover,
  #body_wrap.page-id-19 .poscom-faq-page .faq_q:hover,
  #body_wrap.page-id-21 .poscom-faq-page .faq_q:hover {
    background: #eceff1 !important;
    border-color: rgba(20, 35, 48, 0.24) !important;
  }
}

/* 開いた質問行 */
#body_wrap.page-id-17 .poscom-faq-page .swell-block-faq__item.is-open .faq_q,
#body_wrap.page-id-19 .poscom-faq-page .swell-block-faq__item.is-open .faq_q,
#body_wrap.page-id-21 .poscom-faq-page .swell-block-faq__item.is-open .faq_q {
  background: #e9edf0 !important;
  border-color: rgba(13, 43, 69, 0.28) !important;
  color: #0d2b45;
}

/* 開いた時の＋ */
#body_wrap.page-id-17 .poscom-faq-page .swell-block-faq__item.is-open .faq_q::after,
#body_wrap.page-id-19 .poscom-faq-page .swell-block-faq__item.is-open .faq_q::after,
#body_wrap.page-id-21 .poscom-faq-page .swell-block-faq__item.is-open .faq_q::after {
  transform: translateY(-50%) rotate(45deg);
  background: #0d2b45;
  color: #fff;
  border-color: #0d2b45;
}

/* 回答エリア：初期は閉じる */
#body_wrap.page-id-17 .poscom-faq-page .faq_a,
#body_wrap.page-id-19 .poscom-faq-page .faq_a,
#body_wrap.page-id-21 .poscom-faq-page .faq_a {
  max-height: 0;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    max-height 0.32s ease,
    opacity 0.22s ease,
    transform 0.26s ease,
    padding 0.26s ease;
}

/* 回答エリア：開いた時 */
#body_wrap.page-id-17 .poscom-faq-page .swell-block-faq__item.is-open .faq_a,
#body_wrap.page-id-19 .poscom-faq-page .swell-block-faq__item.is-open .faq_a,
#body_wrap.page-id-21 .poscom-faq-page .swell-block-faq__item.is-open .faq_a {
  padding: 8px 0 2px 0 !important;
  opacity: 1;
  transform: translateY(0);
}

/* 回答本文 */
#body_wrap.page-id-17 .poscom-faq-page .faq_a p,
#body_wrap.page-id-19 .poscom-faq-page .faq_a p,
#body_wrap.page-id-21 .poscom-faq-page .faq_a p {
  position: relative;
  margin: 0 !important;
  padding: 18px 22px 18px 74px;
  border: 1px solid rgba(20, 35, 48, 0.10);
  border-radius: 8px;
  background: #fafafa;
  color: #33424d;
  font-size: clamp(14px, 1.05vw, 15.5px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.015em;
  box-shadow: none !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  writing-mode: horizontal-tb !important;
}

/* Aラベル */
#body_wrap.page-id-17 .poscom-faq-page .faq_a p::before,
#body_wrap.page-id-19 .poscom-faq-page .faq_a p::before,
#body_wrap.page-id-21 .poscom-faq-page .faq_a p::before {
  content: "A";
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 30px;
  border-radius: 4px;
  background: #18b9c7;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

/* スマホ */
@media (max-width: 767px) {
  #body_wrap.page-id-17 .poscom-faq-page .swell-block-faq__item,
  #body_wrap.page-id-19 .poscom-faq-page .swell-block-faq__item,
  #body_wrap.page-id-21 .poscom-faq-page .swell-block-faq__item {
    margin-bottom: 10px !important;
  }

  #body_wrap.page-id-17 .poscom-faq-page .faq_q,
  #body_wrap.page-id-19 .poscom-faq-page .faq_q,
  #body_wrap.page-id-21 .poscom-faq-page .faq_q {
    min-height: 58px;
    padding: 14px 52px 14px 62px !important;
    border-radius: 6px;
    font-size: 14.5px;
    line-height: 1.48;
  }

  #body_wrap.page-id-17 .poscom-faq-page .faq_q::before,
  #body_wrap.page-id-19 .poscom-faq-page .faq_q::before,
  #body_wrap.page-id-21 .poscom-faq-page .faq_q::before {
    left: 14px;
    width: 34px;
    height: 28px;
    border-radius: 4px;
    font-size: 14px;
  }

  #body_wrap.page-id-17 .poscom-faq-page .faq_q::after,
  #body_wrap.page-id-19 .poscom-faq-page .faq_q::after,
  #body_wrap.page-id-21 .poscom-faq-page .faq_q::after {
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    font-size: 21px;
  }

  #body_wrap.page-id-17 .poscom-faq-page .faq_a p,
  #body_wrap.page-id-19 .poscom-faq-page .faq_a p,
  #body_wrap.page-id-21 .poscom-faq-page .faq_a p {
    padding: 13px 14px 13px 62px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.72;
  }

  #body_wrap.page-id-17 .poscom-faq-page .faq_a p::before,
  #body_wrap.page-id-19 .poscom-faq-page .faq_a p::before,
  #body_wrap.page-id-21 .poscom-faq-page .faq_a p::before {
    top: 15px;
    left: 14px;
    width: 34px;
    height: 28px;
    border-radius: 4px;
    font-size: 14px;
  }
}


/* ======================================
  POS-COM H2 Gradient Shine
  選ばれる理由ブロック専用：2行固定調整
====================================== */

/*
 * 共通の .poscom-ttl-gradient は他ページ・他ブロックでも使用中。
 * ここでは「選ばれる理由 / Choice Cards」系の左H2だけを調整する。
 * HTML側で .poscom-ttl-gradient--choice を付与したH2のみ対象。
 */

 h2.poscom-ttl-gradient.poscom-ttl-gradient--choice,
 h2.wp-block-heading.poscom-ttl-gradient.poscom-ttl-gradient--choice {
   width: min(100%, 9.2em);
   max-width: 9.2em;
   margin-top: 0 !important;
   margin-bottom: clamp(1rem, 2vw, 1.6rem) !important;
   font-size: clamp(3rem, 4.2vw, 5.2rem) !important;
   line-height: 1.16 !important;
   letter-spacing: 0.045em;
 }
 
 h2.poscom-ttl-gradient.poscom-ttl-gradient--choice .poscom-ttl-gradient__main,
 h2.wp-block-heading.poscom-ttl-gradient.poscom-ttl-gradient--choice .poscom-ttl-gradient__main {
   width: 100%;
   max-width: 100%;
 }
 
 h2.poscom-ttl-gradient.poscom-ttl-gradient--choice .poscom-ttl-gradient__base,
 h2.poscom-ttl-gradient.poscom-ttl-gradient--choice .poscom-ttl-gradient__shine,
 h2.wp-block-heading.poscom-ttl-gradient.poscom-ttl-gradient--choice .poscom-ttl-gradient__base,
 h2.wp-block-heading.poscom-ttl-gradient.poscom-ttl-gradient--choice .poscom-ttl-gradient__shine {
   width: 100%;
   white-space: nowrap;
 }
 
 /* ノートPC〜通常PC：2行の迫力を維持 */
 @media (min-width: 960px) and (max-width: 1440px) {
   h2.poscom-ttl-gradient.poscom-ttl-gradient--choice,
   h2.wp-block-heading.poscom-ttl-gradient.poscom-ttl-gradient--choice {
     font-size: clamp(3rem, 4.6vw, 4.7rem) !important;
   }
 }
 
 /* 大きなモニター：大きくなりすぎて左カラムから溢れるのを防ぐ */
 @media (min-width: 1441px) {
   h2.poscom-ttl-gradient.poscom-ttl-gradient--choice,
   h2.wp-block-heading.poscom-ttl-gradient.poscom-ttl-gradient--choice {
     font-size: clamp(4.2rem, 3.9vw, 5.4rem) !important;
     max-width: 9.2em;
   }
 }
 
 /* タブレット以下：横幅優先で自然に縮める */
 @media (max-width: 959px) {
   h2.poscom-ttl-gradient.poscom-ttl-gradient--choice,
   h2.wp-block-heading.poscom-ttl-gradient.poscom-ttl-gradient--choice {
     width: 100%;
     max-width: 100%;
     font-size: clamp(2.5rem, 9vw, 4rem) !important;
     line-height: 1.14 !important;
   }
 }
 
 /* スマホ：2行を維持しつつ、画面外には出さない */
 @media (max-width: 600px) {
   h2.poscom-ttl-gradient.poscom-ttl-gradient--choice,
   h2.wp-block-heading.poscom-ttl-gradient.poscom-ttl-gradient--choice {
     font-size: clamp(2.25rem, 11vw, 3.35rem) !important;
     letter-spacing: 0.035em;
   }
 }

/* ======================================
  Service Page Voice Fan Section
  事業ページ共通：お客様の声カード展開・反転セクション
  対象：DM / 商品発送 / 印刷
====================================== */

#body_wrap.page-id-17 .poscom-voice-fan,
#body_wrap.page-id-19 .poscom-voice-fan,
#body_wrap.page-id-21 .poscom-voice-fan {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100vw;
  max-width: 100vw;
  margin: clamp(36px, 4.6vw, 72px) calc(50% - 50vw) clamp(48px, 6vw, 86px);
  padding: clamp(30px, 3.8vw, 52px) clamp(18px, 4vw, 56px) clamp(34px, 4.2vw, 54px);
  background:
    radial-gradient(circle at 13% 40%, rgba(83, 178, 187, 0.16), transparent 17%),
    radial-gradient(circle at 86% 78%, rgba(141, 194, 31, 0.08), transparent 24%),
    linear-gradient(135deg, #f6fbfc 0%, #ffffff 48%, #f3f8f5 100%);
}

#body_wrap.page-id-17 .poscom-voice-fan::before,
#body_wrap.page-id-19 .poscom-voice-fan::before,
#body_wrap.page-id-21 .poscom-voice-fan::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(6, 27, 58, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 27, 58, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 72%);
}

#body_wrap.page-id-17 .poscom-voice-fan__inner,
#body_wrap.page-id-19 .poscom-voice-fan__inner,
#body_wrap.page-id-21 .poscom-voice-fan__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1500px);
  margin: 0 auto;
}

/* H2：このエリアだけ完全中央 */
#body_wrap.page-id-17 .poscom-voice-fan__head,
#body_wrap.page-id-19 .poscom-voice-fan__head,
#body_wrap.page-id-21 .poscom-voice-fan__head {
  position: relative;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto clamp(10px, 1.4vw, 18px);
  text-align: center !important;
}

#body_wrap.page-id-17 .poscom-voice-fan__title,
#body_wrap.page-id-19 .poscom-voice-fan__title,
#body_wrap.page-id-21 .poscom-voice-fan__title,
#body_wrap.page-id-17 .poscom-voice-fan__head .poscom-ttl-gradient,
#body_wrap.page-id-19 .poscom-voice-fan__head .poscom-ttl-gradient,
#body_wrap.page-id-21 .poscom-voice-fan__head .poscom-ttl-gradient {
  display: grid !important;
  justify-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center !important;
}

#body_wrap.page-id-17 .poscom-voice-fan__head .poscom-ttl-gradient__main,
#body_wrap.page-id-19 .poscom-voice-fan__head .poscom-ttl-gradient__main,
#body_wrap.page-id-21 .poscom-voice-fan__head .poscom-ttl-gradient__main {
  display: grid !important;
  justify-items: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
}

#body_wrap.page-id-17 .poscom-voice-fan__head .poscom-ttl-gradient__base,
#body_wrap.page-id-19 .poscom-voice-fan__head .poscom-ttl-gradient__base,
#body_wrap.page-id-21 .poscom-voice-fan__head .poscom-ttl-gradient__base,
#body_wrap.page-id-17 .poscom-voice-fan__head .poscom-ttl-gradient__shine,
#body_wrap.page-id-19 .poscom-voice-fan__head .poscom-ttl-gradient__shine,
#body_wrap.page-id-21 .poscom-voice-fan__head .poscom-ttl-gradient__shine {
  grid-area: 1 / 1;
  width: max-content !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
  white-space: nowrap;
}

#body_wrap.page-id-17 .poscom-voice-fan__head .poscom-ttl-gradient__sub,
#body_wrap.page-id-19 .poscom-voice-fan__head .poscom-ttl-gradient__sub,
#body_wrap.page-id-21 .poscom-voice-fan__head .poscom-ttl-gradient__sub {
  display: block !important;
  width: 100% !important;
  margin: clamp(8px, 1vw, 12px) auto 0 !important;
  text-align: center !important;
  white-space: nowrap;
}

/* 使わない要素 */
#body_wrap.page-id-17 .poscom-voice-fan__kicker,
#body_wrap.page-id-19 .poscom-voice-fan__kicker,
#body_wrap.page-id-21 .poscom-voice-fan__kicker,
#body_wrap.page-id-17 .poscom-voice-fan__lead,
#body_wrap.page-id-19 .poscom-voice-fan__lead,
#body_wrap.page-id-21 .poscom-voice-fan__lead,
#body_wrap.page-id-17 .poscom-voice-card__front-mark,
#body_wrap.page-id-19 .poscom-voice-card__front-mark,
#body_wrap.page-id-21 .poscom-voice-card__front-mark {
  display: none !important;
}

#body_wrap.page-id-17 .poscom-voice-fan__stage,
#body_wrap.page-id-19 .poscom-voice-fan__stage,
#body_wrap.page-id-21 .poscom-voice-fan__stage {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: clamp(420px, 49vh, 560px);
  perspective: 1500px;
  transform-style: preserve-3d;
}

#body_wrap.page-id-17 .poscom-voice-fan__bgword,
#body_wrap.page-id-19 .poscom-voice-fan__bgword,
#body_wrap.page-id-21 .poscom-voice-fan__bgword {
  position: absolute;
  left: 50%;
  top: 47%;
  z-index: -1;
  transform: translate(-50%, -50%);
  color: rgba(6, 27, 58, 0.052);
  font-size: clamp(90px, 15vw, 240px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
}

#body_wrap.page-id-17 .poscom-voice-card,
#body_wrap.page-id-19 .poscom-voice-card,
#body_wrap.page-id-21 .poscom-voice-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(226px, 16vw, 270px);
  height: clamp(362px, 27vw, 430px);
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  will-change: transform;
}

#body_wrap.page-id-17 .poscom-voice-card__float,
#body_wrap.page-id-19 .poscom-voice-card__float,
#body_wrap.page-id-21 .poscom-voice-card__float,
#body_wrap.page-id-17 .poscom-voice-card__flip,
#body_wrap.page-id-19 .poscom-voice-card__flip,
#body_wrap.page-id-21 .poscom-voice-card__flip {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

#body_wrap.page-id-17 .poscom-voice-card__face,
#body_wrap.page-id-19 .poscom-voice-card__face,
#body_wrap.page-id-21 .poscom-voice-card__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(18px, 1.55vw, 24px);
  border-radius: 24px;
  backface-visibility: hidden;
  box-shadow:
    0 24px 58px rgba(6, 27, 58, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.82) inset;
}

#body_wrap.page-id-17 .poscom-voice-card__face--front,
#body_wrap.page-id-19 .poscom-voice-card__face--front,
#body_wrap.page-id-21 .poscom-voice-card__face--front {
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 22% 18%, rgba(82, 207, 222, 0.22), transparent 36%),
    linear-gradient(145deg, #113b74 0%, #092a57 52%, #061f43 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

#body_wrap.page-id-17 .poscom-voice-card__face--front::after,
#body_wrap.page-id-19 .poscom-voice-card__face--front::after,
#body_wrap.page-id-21 .poscom-voice-card__face--front::after {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  pointer-events: none;
}

/* Back card text and watermark */

#body_wrap.page-id-17 .poscom-voice-card__face--back,
#body_wrap.page-id-19 .poscom-voice-card__face--back,
#body_wrap.page-id-21 .poscom-voice-card__face--back {
  position: absolute;
  isolation: isolate;
  justify-content: flex-start;
  gap: 0;
  padding: clamp(20px, 1.45vw, 24px) clamp(20px, 1.5vw, 24px) clamp(18px, 1.45vw, 22px);
  color: #142033;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 250, 252, 0.99) 100%);
  border: 1px solid rgba(11, 43, 88, 0.1);
  transform: rotateY(180deg);
}

#body_wrap.page-id-17 .poscom-voice-card__face--back::after,
#body_wrap.page-id-19 .poscom-voice-card__face--back::after,
#body_wrap.page-id-21 .poscom-voice-card__face--back::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 48px;
  z-index: 0;
  width: 82px;
  height: 82px;
  pointer-events: none;
  opacity: 0.1;
  background: #0f5270;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'%3E%3Cpath fill='%23000' d='M31 42c8.3 0 15-6.7 15-15S39.3 12 31 12 16 18.7 16 27s6.7 15 15 15Zm0 8C15.5 50 7 59.1 7 71.2V80h48v-8.8C55 59.1 46.5 50 31 50Z'/%3E%3Cpath fill='%23000' d='M59 18h22c6.6 0 11 4.4 11 11v17c0 6.6-4.4 11-11 11h-8.5L60 68V57h-1c-6.6 0-11-4.4-11-11V29c0-6.6 4.4-11 11-11Zm5 13v5h24v-5H64Zm0 12v5h17v-5H64Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'%3E%3Cpath fill='%23000' d='M31 42c8.3 0 15-6.7 15-15S39.3 12 31 12 16 18.7 16 27s6.7 15 15 15Zm0 8C15.5 50 7 59.1 7 71.2V80h48v-8.8C55 59.1 46.5 50 31 50Z'/%3E%3Cpath fill='%23000' d='M59 18h22c6.6 0 11 4.4 11 11v17c0 6.6-4.4 11-11 11h-8.5L60 68V57h-1c-6.6 0-11-4.4-11-11V29c0-6.6 4.4-11 11-11Zm5 13v5h24v-5H64Zm0 12v5h17v-5H64Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

#body_wrap.page-id-17 .poscom-voice-card__face--back > *,
#body_wrap.page-id-19 .poscom-voice-card__face--back > *,
#body_wrap.page-id-21 .poscom-voice-card__face--back > * {
  position: relative;
  z-index: 1;
}

#body_wrap.page-id-17 .poscom-voice-card__front-label,
#body_wrap.page-id-19 .poscom-voice-card__front-label,
#body_wrap.page-id-21 .poscom-voice-card__front-label {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

#body_wrap.page-id-17 .poscom-voice-card__front-title,
#body_wrap.page-id-19 .poscom-voice-card__front-title,
#body_wrap.page-id-21 .poscom-voice-card__front-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(22px, 1.65vw, 29px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: normal;
  white-space: nowrap;
}

#body_wrap.page-id-17 .poscom-voice-card__label,
#body_wrap.page-id-19 .poscom-voice-card__label,
#body_wrap.page-id-21 .poscom-voice-card__label {
  display: inline-flex;
  align-self: flex-start;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 8px 15px;
  border-radius: 999px;
  color: #0f5270;
  background: rgba(74, 177, 190, 0.14);
  font-size: clamp(14px, 0.95vw, 16px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

#body_wrap.page-id-17 .poscom-voice-card__title,
#body_wrap.page-id-19 .poscom-voice-card__title,
#body_wrap.page-id-21 .poscom-voice-card__title {
  margin: 0 0 14px;
  color: #0b1f3d;
  font-size: clamp(19px, 1.2vw, 22px);
  font-weight: 900;
  line-height: 1.44;
  letter-spacing: 0.02em;
  word-break: keep-all;
  overflow-wrap: normal;
}

#body_wrap.page-id-17 .poscom-voice-card__text,
#body_wrap.page-id-19 .poscom-voice-card__text,
#body_wrap.page-id-21 .poscom-voice-card__text {
  margin: 0;
  color: rgba(17, 31, 51, 0.78);
  font-size: clamp(13.8px, 0.9vw, 14.8px);
  font-weight: 650;
  line-height: 1.78;
  letter-spacing: 0.018em;
  word-break: normal;
  overflow-wrap: break-word;
}

#body_wrap.page-id-17 .poscom-voice-card__meta,
#body_wrap.page-id-19 .poscom-voice-card__meta,
#body_wrap.page-id-21 .poscom-voice-card__meta {
  width: 100%;
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(11, 43, 88, 0.12);
  color: rgba(17, 31, 51, 0.56);
  font-size: clamp(11.5px, 0.72vw, 12.5px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.04em;
  word-break: keep-all;
  overflow-wrap: normal;
}

#body_wrap.page-id-17 .poscom-voice-fan.is-gsap-ready .poscom-voice-card,
#body_wrap.page-id-19 .poscom-voice-fan.is-gsap-ready .poscom-voice-card,
#body_wrap.page-id-21 .poscom-voice-fan.is-gsap-ready .poscom-voice-card {
  opacity: 1;
}

/* 静的表示 */
#body_wrap.page-id-17 .poscom-voice-fan.is-static .poscom-voice-fan__stage,
#body_wrap.page-id-19 .poscom-voice-fan.is-static .poscom-voice-fan__stage,
#body_wrap.page-id-21 .poscom-voice-fan.is-static .poscom-voice-fan__stage {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
  min-height: auto;
  perspective: none;
}

#body_wrap.page-id-17 .poscom-voice-fan.is-static .poscom-voice-card,
#body_wrap.page-id-19 .poscom-voice-fan.is-static .poscom-voice-card,
#body_wrap.page-id-21 .poscom-voice-fan.is-static .poscom-voice-card {
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  min-height: 360px;
  transform: none !important;
}

#body_wrap.page-id-17 .poscom-voice-fan.is-static .poscom-voice-card__float,
#body_wrap.page-id-19 .poscom-voice-fan.is-static .poscom-voice-card__float,
#body_wrap.page-id-21 .poscom-voice-fan.is-static .poscom-voice-card__float,
#body_wrap.page-id-17 .poscom-voice-fan.is-static .poscom-voice-card__flip,
#body_wrap.page-id-19 .poscom-voice-fan.is-static .poscom-voice-card__flip,
#body_wrap.page-id-21 .poscom-voice-fan.is-static .poscom-voice-card__flip {
  position: relative;
  inset: auto;
  transform: none !important;
}

#body_wrap.page-id-17 .poscom-voice-fan.is-static .poscom-voice-card__face,
#body_wrap.page-id-19 .poscom-voice-fan.is-static .poscom-voice-card__face,
#body_wrap.page-id-21 .poscom-voice-fan.is-static .poscom-voice-card__face {
  position: relative;
  inset: auto;
  min-height: 360px;
  backface-visibility: visible;
}

#body_wrap.page-id-17 .poscom-voice-fan.is-static .poscom-voice-card__face--front,
#body_wrap.page-id-19 .poscom-voice-fan.is-static .poscom-voice-card__face--front,
#body_wrap.page-id-21 .poscom-voice-fan.is-static .poscom-voice-card__face--front {
  display: none;
}

#body_wrap.page-id-17 .poscom-voice-fan.is-static .poscom-voice-card__face--back,
#body_wrap.page-id-19 .poscom-voice-fan.is-static .poscom-voice-card__face--back,
#body_wrap.page-id-21 .poscom-voice-fan.is-static .poscom-voice-card__face--back {
  transform: none !important;
}

/* 16:9ノートPC時も文字を小さくしすぎない */
@media (min-width: 960px) and (max-height: 760px) {
  #body_wrap.page-id-17 .poscom-voice-fan,
  #body_wrap.page-id-19 .poscom-voice-fan,
  #body_wrap.page-id-21 .poscom-voice-fan {
    margin-top: 32px;
    padding-top: 28px;
    padding-bottom: 30px;
  }

  #body_wrap.page-id-17 .poscom-voice-fan__head,
  #body_wrap.page-id-19 .poscom-voice-fan__head,
  #body_wrap.page-id-21 .poscom-voice-fan__head {
    margin-bottom: 8px;
  }

  #body_wrap.page-id-17 .poscom-voice-fan__stage,
  #body_wrap.page-id-19 .poscom-voice-fan__stage,
  #body_wrap.page-id-21 .poscom-voice-fan__stage {
    min-height: 420px;
  }

  #body_wrap.page-id-17 .poscom-voice-card,
  #body_wrap.page-id-19 .poscom-voice-card,
  #body_wrap.page-id-21 .poscom-voice-card {
    width: 232px;
    height: 368px;
  }

  #body_wrap.page-id-17 .poscom-voice-card__face,
  #body_wrap.page-id-19 .poscom-voice-card__face,
  #body_wrap.page-id-21 .poscom-voice-card__face {
    padding: 18px;
  }

  #body_wrap.page-id-17 .poscom-voice-card__face--back,
  #body_wrap.page-id-19 .poscom-voice-card__face--back,
  #body_wrap.page-id-21 .poscom-voice-card__face--back {
    padding: 18px 18px 17px;
  }

  #body_wrap.page-id-17 .poscom-voice-card__face--back::after,
  #body_wrap.page-id-19 .poscom-voice-card__face--back::after,
  #body_wrap.page-id-21 .poscom-voice-card__face--back::after {
    right: 12px;
    bottom: 42px;
    width: 68px;
    height: 68px;
    opacity: 0.09;
  }

  #body_wrap.page-id-17 .poscom-voice-card__front-title,
  #body_wrap.page-id-19 .poscom-voice-card__front-title,
  #body_wrap.page-id-21 .poscom-voice-card__front-title {
    font-size: 23px;
  }

  #body_wrap.page-id-17 .poscom-voice-card__label,
  #body_wrap.page-id-19 .poscom-voice-card__label,
  #body_wrap.page-id-21 .poscom-voice-card__label {
    margin-bottom: 14px;
    padding: 7px 13px;
    font-size: 13.5px;
  }

  #body_wrap.page-id-17 .poscom-voice-card__title,
  #body_wrap.page-id-19 .poscom-voice-card__title,
  #body_wrap.page-id-21 .poscom-voice-card__title {
    margin-bottom: 12px;
    font-size: 19px;
    line-height: 1.38;
  }

  #body_wrap.page-id-17 .poscom-voice-card__text,
  #body_wrap.page-id-19 .poscom-voice-card__text,
  #body_wrap.page-id-21 .poscom-voice-card__text {
    font-size: 13.2px;
    line-height: 1.64;
  }

  #body_wrap.page-id-17 .poscom-voice-card__meta,
  #body_wrap.page-id-19 .poscom-voice-card__meta,
  #body_wrap.page-id-21 .poscom-voice-card__meta {
    padding-top: 11px;
    font-size: 11px;
  }
}

/* 横幅が狭めのPC */
@media (max-width: 1366px) and (min-width: 960px) {
  #body_wrap.page-id-17 .poscom-voice-card,
  #body_wrap.page-id-19 .poscom-voice-card,
  #body_wrap.page-id-21 .poscom-voice-card {
    width: 228px;
    height: 370px;
  }

  #body_wrap.page-id-17 .poscom-voice-fan__stage,
  #body_wrap.page-id-19 .poscom-voice-fan__stage,
  #body_wrap.page-id-21 .poscom-voice-fan__stage {
    min-height: 430px;
  }

  #body_wrap.page-id-17 .poscom-voice-card__title,
  #body_wrap.page-id-19 .poscom-voice-card__title,
  #body_wrap.page-id-21 .poscom-voice-card__title {
    font-size: clamp(17px, 1.25vw, 19px);
    line-height: 1.34;
    letter-spacing: 0.01em;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  #body_wrap.page-id-17 .poscom-voice-card__text,
  #body_wrap.page-id-19 .poscom-voice-card__text,
  #body_wrap.page-id-21 .poscom-voice-card__text {
    font-size: 13px;
    line-height: 1.58;
  }

  #body_wrap.page-id-17 .poscom-voice-card__label,
  #body_wrap.page-id-19 .poscom-voice-card__label,
  #body_wrap.page-id-21 .poscom-voice-card__label {
    margin-bottom: 12px;
  }
}

/* スマホ・タブレット */
@media (max-width: 959px) {
  #body_wrap.page-id-17 .poscom-voice-fan,
  #body_wrap.page-id-19 .poscom-voice-fan,
  #body_wrap.page-id-21 .poscom-voice-fan {
    width: 100%;
    max-width: 100%;
    margin: clamp(54px, 12vw, 84px) 0;
    padding: clamp(42px, 9vw, 60px) 16px 30px;
  }

  #body_wrap.page-id-17 .poscom-voice-fan__head,
  #body_wrap.page-id-19 .poscom-voice-fan__head,
  #body_wrap.page-id-21 .poscom-voice-fan__head {
    margin-bottom: 24px;
  }

  #body_wrap.page-id-17 .poscom-voice-fan__head .poscom-ttl-gradient__base,
  #body_wrap.page-id-19 .poscom-voice-fan__head .poscom-ttl-gradient__base,
  #body_wrap.page-id-21 .poscom-voice-fan__head .poscom-ttl-gradient__base,
  #body_wrap.page-id-17 .poscom-voice-fan__head .poscom-ttl-gradient__shine,
  #body_wrap.page-id-19 .poscom-voice-fan__head .poscom-ttl-gradient__shine,
  #body_wrap.page-id-21 .poscom-voice-fan__head .poscom-ttl-gradient__shine,
  #body_wrap.page-id-17 .poscom-voice-fan__head .poscom-ttl-gradient__sub,
  #body_wrap.page-id-19 .poscom-voice-fan__head .poscom-ttl-gradient__sub,
  #body_wrap.page-id-21 .poscom-voice-fan__head .poscom-ttl-gradient__sub {
    white-space: normal;
  }

  #body_wrap.page-id-17 .poscom-voice-fan__bgword,
  #body_wrap.page-id-19 .poscom-voice-fan__bgword,
  #body_wrap.page-id-21 .poscom-voice-fan__bgword {
    top: 120px;
    font-size: clamp(64px, 22vw, 112px);
    opacity: 0.7;
  }

  #body_wrap.page-id-17 .poscom-voice-fan__stage,
  #body_wrap.page-id-19 .poscom-voice-fan__stage,
  #body_wrap.page-id-21 .poscom-voice-fan__stage,
  #body_wrap.page-id-17 .poscom-voice-fan.is-static .poscom-voice-fan__stage,
  #body_wrap.page-id-19 .poscom-voice-fan.is-static .poscom-voice-fan__stage,
  #body_wrap.page-id-21 .poscom-voice-fan.is-static .poscom-voice-fan__stage {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
    perspective: none;
  }

  #body_wrap.page-id-17 .poscom-voice-card,
  #body_wrap.page-id-19 .poscom-voice-card,
  #body_wrap.page-id-21 .poscom-voice-card,
  #body_wrap.page-id-17 .poscom-voice-fan.is-static .poscom-voice-card,
  #body_wrap.page-id-19 .poscom-voice-fan.is-static .poscom-voice-card,
  #body_wrap.page-id-21 .poscom-voice-fan.is-static .poscom-voice-card {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    min-height: auto;
    transform: none !important;
  }

  #body_wrap.page-id-17 .poscom-voice-card__float,
  #body_wrap.page-id-19 .poscom-voice-card__float,
  #body_wrap.page-id-21 .poscom-voice-card__float,
  #body_wrap.page-id-17 .poscom-voice-card__flip,
  #body_wrap.page-id-19 .poscom-voice-card__flip,
  #body_wrap.page-id-21 .poscom-voice-card__flip {
    position: relative;
    inset: auto;
    transform: none !important;
  }

  #body_wrap.page-id-17 .poscom-voice-card__face,
  #body_wrap.page-id-19 .poscom-voice-card__face,
  #body_wrap.page-id-21 .poscom-voice-card__face {
    position: relative;
    inset: auto;
    min-height: auto;
    padding: 24px;
    backface-visibility: visible;
  }

  #body_wrap.page-id-17 .poscom-voice-card__face--front,
  #body_wrap.page-id-19 .poscom-voice-card__face--front,
  #body_wrap.page-id-21 .poscom-voice-card__face--front {
    display: none;
  }

  #body_wrap.page-id-17 .poscom-voice-card__face--back,
  #body_wrap.page-id-19 .poscom-voice-card__face--back,
  #body_wrap.page-id-21 .poscom-voice-card__face--back {
    transform: none !important;
  }

  #body_wrap.page-id-17 .poscom-voice-card__title,
  #body_wrap.page-id-19 .poscom-voice-card__title,
  #body_wrap.page-id-21 .poscom-voice-card__title {
    font-size: 21px;
  }

  #body_wrap.page-id-17 .poscom-voice-card__text,
  #body_wrap.page-id-19 .poscom-voice-card__text,
  #body_wrap.page-id-21 .poscom-voice-card__text {
    font-size: 14px;
    line-height: 1.85;
  }
}


/* ======================================
  Shipping Voice SP Flip Cards
  商品発送代行SP：お客様の声カード反転
====================================== */

#body_wrap.page-id-19 .poscom-voice-sp-flip--shipping {
  display: none;
}

@media (max-width: 959px), (hover: none), (pointer: coarse) {
  #body_wrap.page-id-19 .poscom-voice-fan--shipping {
    display: none !important;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-flip--shipping {
    position: relative;
    z-index: 1;
    display: block;
    isolation: isolate;
    width: 100vw;
    max-width: 100vw;
    margin: clamp(54px, 12vw, 86px) calc(50% - 50vw) clamp(22px, 5vw, 38px);
    padding: clamp(42px, 10vw, 68px) 16px max(44px, calc(env(safe-area-inset-bottom, 0px) + 34px));
    background:
      radial-gradient(circle at 16% 12%, rgba(83, 178, 187, 0.15), transparent 28%),
      radial-gradient(circle at 86% 82%, rgba(141, 194, 31, 0.08), transparent 28%),
      linear-gradient(135deg, #f6fbfc 0%, #ffffff 48%, #f3f8f5 100%);
  }

  #body_wrap.page-id-19 .poscom-voice-sp-flip__inner {
    width: min(100%, 760px);
    margin: 0 auto;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-flip__head {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin: 0 auto clamp(26px, 7vw, 44px);
    text-align: center;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-flip__head .poscom-ttl-gradient {
    width: 100%;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-flip__lead {
    max-width: 34em;
    margin: 0 auto;
    color: rgba(6, 27, 58, 0.72);
    font-size: clamp(14px, 3.7vw, 16px);
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: 0.035em;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-flip__cards {
    display: grid;
    gap: 0;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-card {
    --poscom-voice-sp-card-height: clamp(292px, 46vh, 350px);
    --poscom-voice-sp-card-gap: 20px;

    display: flex;
    justify-content: center;
    min-height: calc(var(--poscom-voice-sp-card-height) + var(--poscom-voice-sp-card-gap));
    perspective: 1300px;
    transform-style: preserve-3d;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-card__sticky {
    position: sticky;
    top: clamp(74px, 11vh, 92px);
    width: min(72vw, 300px);
    height: var(--poscom-voice-sp-card-height);
    transform-style: preserve-3d;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-card__flip {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    will-change: transform;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-card__face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: clamp(17px, 4.5vw, 22px);
    border-radius: 24px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    box-shadow:
      0 24px 58px rgba(6, 27, 58, 0.18),
      0 1px 0 rgba(255, 255, 255, 0.82) inset;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-card__face--front {
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-align: center;
    background:
      radial-gradient(circle at 22% 18%, rgba(82, 207, 222, 0.22), transparent 36%),
      linear-gradient(145deg, #113b74 0%, #092a57 52%, #061f43 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  #body_wrap.page-id-19 .poscom-voice-sp-card__face--front::after {
    content: "";
    position: absolute;
    inset: 15px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    pointer-events: none;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-card__face--back {
    isolation: isolate;
    justify-content: center;
    align-items: center;
    color: #142033;
    text-align: center;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 250, 252, 0.99) 100%);
    border: 1px solid rgba(11, 43, 88, 0.1);
    transform: rotateY(180deg);
  }

  #body_wrap.page-id-19 .poscom-voice-sp-card__face--back::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 52px;
    z-index: 0;
    width: 82px;
    height: 82px;
    pointer-events: none;
    opacity: 0.1;
    background: #0f5270;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'%3E%3Cpath fill='%23000' d='M31 42c8.3 0 15-6.7 15-15S39.3 12 31 12 16 18.7 16 27s6.7 15 15 15Zm0 8C15.5 50 7 59.1 7 71.2V80h48v-8.8C55 59.1 46.5 50 31 50Z'/%3E%3Cpath fill='%23000' d='M59 18h22c6.6 0 11 4.4 11 11v17c0 6.6-4.4 11-11 11h-8.5L60 68V57h-1c-6.6 0-11-4.4-11-11V29c0-6.6 4.4-11 11-11Zm5 13v5h24v-5H64Zm0 12v5h17v-5H64Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'%3E%3Cpath fill='%23000' d='M31 42c8.3 0 15-6.7 15-15S39.3 12 31 12 16 18.7 16 27s6.7 15 15 15Zm0 8C15.5 50 7 59.1 7 71.2V80h48v-8.8C55 59.1 46.5 50 31 50Z'/%3E%3Cpath fill='%23000' d='M59 18h22c6.6 0 11 4.4 11 11v17c0 6.6-4.4 11-11 11h-8.5L60 68V57h-1c-6.6 0-11-4.4-11-11V29c0-6.6 4.4-11 11-11Zm5 13v5h24v-5H64Zm0 12v5h17v-5H64Z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-card__face--back > * {
    position: relative;
    z-index: 1;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-card__front-label {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.18em;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-card__front-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(25px, 7.2vw, 31px);
    font-weight: 900;
    line-height: 1.38;
    letter-spacing: 0.055em;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-card__label {
    display: inline-flex;
    align-self: center;
    max-width: 100%;
    margin: 0 0 12px;
    padding: 7px 14px;
    border-radius: 999px;
    color: #0f5270;
    background: rgba(74, 177, 190, 0.14);
    font-size: clamp(14px, 3.8vw, 16px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.035em;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-card__title {
    margin: 0 0 10px;
    color: #0b1f3d;
    font-size: clamp(17.5px, 4.65vw, 20px);
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-card__text,
  #body_wrap.page-id-19 .poscom-voice-sp-card__face--back .poscom-voice-card__text {
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0;
    color: rgba(17, 31, 51, 0.78);
    font-size: clamp(12.4px, 3.35vw, 13.6px);
    font-weight: 650;
    line-height: 1.66;
    letter-spacing: 0.018em;
    text-align: left;
    overflow-wrap: break-word;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-card__meta {
    width: 100%;
    margin: 12px 0 0;
    padding-top: 11px;
    border-top: 1px solid rgba(11, 43, 88, 0.12);
    color: rgba(17, 31, 51, 0.56);
    font-size: clamp(11px, 3vw, 12.2px);
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: 0.04em;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-flip--shipping.is-static .poscom-voice-sp-flip__cards {
    gap: 18px;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-flip--shipping.is-static .poscom-voice-sp-card {
    min-height: auto;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-flip--shipping.is-static .poscom-voice-sp-card__sticky,
  #body_wrap.page-id-19 .poscom-voice-sp-flip--shipping.is-static .poscom-voice-sp-card__flip {
    position: relative;
    top: auto;
    height: auto;
    min-height: 320px;
    transform: none !important;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-flip--shipping.is-static .poscom-voice-sp-card__face {
    position: relative;
    inset: auto;
    min-height: 320px;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-flip--shipping.is-static .poscom-voice-sp-card__face--front {
    display: none;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-flip--shipping.is-static .poscom-voice-sp-card__face--back {
    transform: none !important;
  }
}

@media (max-width: 380px) {
  #body_wrap.page-id-19 .poscom-voice-sp-card {
    --poscom-voice-sp-card-height: clamp(278px, 45vh, 330px);
  }

  #body_wrap.page-id-19 .poscom-voice-sp-card__sticky {
    width: min(74vw, 286px);
  }

  #body_wrap.page-id-19 .poscom-voice-sp-card__face {
    padding: 16px;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-card__front-title {
    font-size: clamp(23px, 7vw, 28px);
  }

  #body_wrap.page-id-19 .poscom-voice-sp-card__title {
    font-size: clamp(16px, 4.9vw, 18.5px);
    line-height: 1.34;
  }

  #body_wrap.page-id-19 .poscom-voice-sp-card__text,
  #body_wrap.page-id-19 .poscom-voice-sp-card__face--back .poscom-voice-card__text {
    font-size: clamp(11.8px, 3.55vw, 12.8px);
    line-height: 1.62;
  }
}


/* ======================================
  Privacy Mark Section
  全ページ共通：Pマーク取得アピール
  ※事業ページ・トップページ共通コンポーネント
====================================== */

.poscom-privacy-mark-section {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  margin: clamp(42px, 5vw, 78px) 0 clamp(42px, 5vw, 76px);
  padding: clamp(48px, 5vw, 82px) clamp(34px, 4.8vw, 72px);
  border: 1px solid rgba(6, 27, 58, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 16%, rgba(83, 178, 187, 0.13), transparent 34%),
    radial-gradient(circle at 88% 76%, rgba(34, 142, 56, 0.08), transparent 34%),
    linear-gradient(135deg, #f8fcfc 0%, #ffffff 50%, #edf7f5 100%);
  box-shadow:
    0 24px 64px rgba(6, 27, 58, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.poscom-privacy-mark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 27, 58, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(6, 27, 58, 0.02) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 18%,
    #000 82%,
    transparent 100%
  );
  opacity: 0.42;
}

.poscom-privacy-mark-section__inner {
  display: grid;
  grid-template-columns: minmax(220px, 30%) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
}

.poscom-privacy-mark-section__visual {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 16px;
  min-width: 0;
}

.poscom-privacy-mark-section__mark {
  position: relative;
  display: block;
  width: clamp(210px, 17vw, 286px);
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.poscom-privacy-mark-section__mark::before {
  content: none;
}

.poscom-privacy-mark-section__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 28px;
  background: #ffffff;
  box-shadow:
    0 16px 34px rgba(6, 27, 58, 0.07),
    0 4px 12px rgba(6, 27, 58, 0.035);
}

.poscom-privacy-mark-section__label {
  margin: 0 !important;
  color: var(--poscom-deep-navy, #061b3a);
  font-size: clamp(20px, 1.55vw, 30px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
}

.poscom-privacy-mark-section__meta {
  margin: -10px 0 0 !important;
  color: rgba(6, 27, 58, 0.72);
  font-size: clamp(16px, 1.12vw, 21px);
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: 0.03em;
  text-align: center;
}

.poscom-privacy-mark-section__meta span {
  font-size: 0.88em;
  font-weight: 700;
}

.poscom-privacy-mark-section__body {
  min-width: 0;
}

.poscom-privacy-mark-section h2.poscom-ttl-gradient--privacy-mark {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  font-size: clamp(30px, 3.35vw, 54px) !important;
  line-height: 1.2 !important;
  letter-spacing: 0.055em;
}

.poscom-privacy-mark-section__lead {
  max-width: 820px;
  margin: clamp(22px, 2.2vw, 32px) 0 0 !important;
  color: rgba(6, 27, 58, 0.74);
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.045em;
}

.poscom-privacy-mark-section__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 22px);
  margin-top: clamp(30px, 3vw, 42px);
}

.poscom-privacy-mark-section__point {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 112px;
  padding: 22px;
  border: 1px solid rgba(6, 27, 58, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 10px 24px rgba(6, 27, 58, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  text-align: center;
}

.poscom-privacy-mark-section__point-icon {
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(10, 143, 163, 0.10) 0%, rgba(255, 255, 255, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 6px 14px rgba(6, 27, 58, 0.05);
}

.poscom-privacy-mark-section__point-icon svg {
  width: 24px;
  height: 24px;
  stroke: #0b2c5e;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.poscom-privacy-mark-section__point-text {
  display: inline-flex;
  justify-content: center;
  color: var(--poscom-deep-navy, #061b3a);
  font-size: clamp(17px, 1.1vw, 22px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.03em;
  text-align: center;
}

/* Tablet Adjustment */
@media (min-width: 960px) and (max-width: 1180px) {
  .poscom-privacy-mark-section {
    padding: clamp(42px, 5.2vw, 58px) clamp(34px, 5vw, 54px);
  }

  .poscom-privacy-mark-section__inner {
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 40px);
    align-items: center;
  }

  .poscom-privacy-mark-section__visual {
    max-width: 360px;
    margin-inline: auto;
    gap: 8px;
  }

  .poscom-privacy-mark-section__mark {
    width: clamp(170px, 22vw, 220px);
    margin-bottom: 16px;
  }

  .poscom-privacy-mark-section__label {
    margin: 0 !important;
    line-height: 1.28;
  }

  .poscom-privacy-mark-section__meta {
    margin: -5px 0 0 !important;
    line-height: 1.35;
  }

  .poscom-privacy-mark-section__body {
    width: 100%;
    max-width: 820px;
    margin-inline: auto;
  }

  .poscom-privacy-mark-section h2.poscom-ttl-gradient--privacy-mark {
    margin-bottom: clamp(20px, 2.6vw, 28px) !important;
    font-size: clamp(32px, 4.1vw, 44px) !important;
    line-height: 1.24 !important;
    letter-spacing: 0.035em;
  }

  .poscom-privacy-mark-section__lead {
    max-width: 780px;
    font-size: clamp(15px, 1.55vw, 17px);
    line-height: 1.9;
    letter-spacing: 0.04em;
  }

  .poscom-privacy-mark-section__points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 20px);
    margin-top: clamp(26px, 3.2vw, 34px);
  }

  .poscom-privacy-mark-section__point {
    --pm-tablet-icon-size: 36px;
    --pm-tablet-gap: 8px;
    --pm-tablet-text-width: 10em;

    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    min-height: 88px;
    padding: 18px 14px;
    text-align: center;
    box-sizing: border-box;
  }

  .poscom-privacy-mark-section__point-icon {
    position: absolute;
    top: 50%;
    left: max(
      10px,
      calc(
        50% - (var(--pm-tablet-text-width) / 2) - var(--pm-tablet-gap) - var(--pm-tablet-icon-size)
      )
    );
    width: var(--pm-tablet-icon-size);
    height: var(--pm-tablet-icon-size);
    flex-basis: var(--pm-tablet-icon-size);
    transform: translateY(-50%);
  }

  .poscom-privacy-mark-section__point-icon svg {
    width: 19px;
    height: 19px;
  }

  .poscom-privacy-mark-section__point-text {
    display: block;
    width: var(--pm-tablet-text-width);
    max-width: 100%;
    margin-inline: auto;
    color: var(--poscom-deep-navy, #061b3a);
    font-size: clamp(15.5px, 1.45vw, 17px);
    line-height: 1.35;
    letter-spacing: 0.018em;
    text-align: center;
    white-space: nowrap;
  }

  .poscom-privacy-mark-section__point-text br {
    display: none;
  }
}

@media (max-width: 959px) {
  .poscom-privacy-mark-section {
    margin: clamp(38px, 7vw, 54px) 0 clamp(48px, 8vw, 68px);
    padding: clamp(30px, 6vw, 44px) clamp(18px, 4.5vw, 30px) clamp(36px, 7vw, 50px);
    border-radius: clamp(22px, 5vw, 28px);
  }

  .poscom-privacy-mark-section__inner {
    grid-template-columns: 1fr;
    gap: clamp(24px, 5vw, 34px);
    align-items: center;
  }

  .poscom-privacy-mark-section__visual {
    gap: clamp(10px, 2.8vw, 14px);
  }

  .poscom-privacy-mark-section__mark {
    width: clamp(150px, 34vw, 220px);
    max-width: 100%;
    margin-bottom: 10px;
  }

  .poscom-privacy-mark-section__label {
    margin-bottom: -3px !important;
    font-size: clamp(18px, 4.4vw, 24px);
    line-height: 1.24;
  }

  .poscom-privacy-mark-section__meta {
    font-size: clamp(14px, 3.4vw, 17px);
    line-height: 1.34;
  }

  .poscom-privacy-mark-section__body {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
    text-align: left;
  }

  .poscom-privacy-mark-section__lead {
    font-size: clamp(15px, 3.4vw, 17px);
    line-height: 1.9;
    letter-spacing: 0.045em;
  }

  .poscom-privacy-mark-section__points {
    grid-template-columns: 1fr;
    gap: clamp(14px, 3.4vw, 20px);
    margin-top: clamp(24px, 5vw, 34px);
  }

  .poscom-privacy-mark-section__point {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    justify-content: start;
    gap: 18px;
    min-height: 86px;
    padding: 18px 22px;
    text-align: left;
  }

  .poscom-privacy-mark-section__point-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .poscom-privacy-mark-section__point-text {
    justify-content: flex-start;
    font-size: clamp(18px, 4vw, 22px);
    line-height: 1.42;
    text-align: left;
  }
}

/* Pマーク見出し：タブレット・スマホでは安全表示に切り替え */
@media (max-width: 1180px) {
  .poscom-privacy-mark-section h2.poscom-ttl-gradient--privacy-mark {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 0 !important;
    overflow: visible !important;
    color: var(--poscom-deep-navy, #061b3a) !important;
    text-align: center;
  }

  .poscom-privacy-mark-section h2.poscom-ttl-gradient--privacy-mark .poscom-ttl-gradient__main {
    display: block !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-inline: auto;
    padding-inline: 0.35em;
    overflow: visible !important;
    color: inherit !important;
    font-size: clamp(25px, 3.4vw, 38px) !important;
    line-height: 1.28 !important;
    letter-spacing: 0.01em !important;
    text-align: center;
    white-space: normal !important;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .poscom-privacy-mark-section h2.poscom-ttl-gradient--privacy-mark .poscom-ttl-gradient__base {
    position: relative !important;
    display: block !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-align: center;
    white-space: normal !important;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .poscom-privacy-mark-section h2.poscom-ttl-gradient--privacy-mark .poscom-ttl-gradient__shine {
    display: none !important;
  }
}

@media (min-width: 601px) and (max-width: 959px) {
  .poscom-privacy-mark-section__points {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
  }

  .poscom-privacy-mark-section__point {
    --pm-tablet-narrow-icon-size: 48px;
    --pm-tablet-narrow-gap: 18px;
    --pm-tablet-narrow-text-width: 11.2em;

    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    justify-content: center;
    min-height: 90px;
    padding: 18px 22px;
    text-align: center;
    box-sizing: border-box;
  }

  .poscom-privacy-mark-section__point-icon {
    position: absolute;
    top: 50%;
    left: max(
      24px,
      calc(
        50% - (var(--pm-tablet-narrow-text-width) / 2) - var(--pm-tablet-narrow-gap) - var(--pm-tablet-narrow-icon-size)
      )
    );
    width: var(--pm-tablet-narrow-icon-size);
    height: var(--pm-tablet-narrow-icon-size);
    flex-basis: var(--pm-tablet-narrow-icon-size);
    transform: translateY(-50%);
  }

  .poscom-privacy-mark-section__point-text {
    display: block;
    width: var(--pm-tablet-narrow-text-width);
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
    color: var(--poscom-deep-navy, #061b3a);
    font-size: clamp(19px, 2.5vw, 22px);
    line-height: 1.35;
    letter-spacing: 0.018em;
    text-align: center;
    white-space: nowrap;
  }

  .poscom-privacy-mark-section__point-text br {
    display: none;
  }
}

@media (max-width: 600px) {
  .poscom-privacy-mark-section {
    margin: 34px 0 54px;
    padding: 28px 14px 40px;
    border-radius: 22px;
  }

  .poscom-privacy-mark-section__inner {
    gap: 24px;
  }

  .poscom-privacy-mark-section__body {
    width: 100%;
    max-width: 100%;
    text-align: left;
  }

  .poscom-privacy-mark-section__visual {
    gap: 9px;
  }

  .poscom-privacy-mark-section__mark {
    width: clamp(118px, 32vw, 144px);
    margin-bottom: 8px;
  }

  .poscom-privacy-mark-section__label {
    margin-bottom: -3px !important;
    font-size: clamp(17px, 5vw, 21px);
    line-height: 1.24;
  }

  .poscom-privacy-mark-section__meta {
    font-size: clamp(13.5px, 4.1vw, 16px);
    line-height: 1.34;
  }

  .poscom-privacy-mark-section h2.poscom-ttl-gradient--privacy-mark {
    margin-bottom: 18px !important;
  }

  .poscom-privacy-mark-section h2.poscom-ttl-gradient--privacy-mark .poscom-ttl-gradient__main {
    padding-inline: 0.45em;
    font-size: clamp(20px, 5.05vw, 22px) !important;
    line-height: 1.34 !important;
    letter-spacing: 0 !important;
  }

  .poscom-privacy-mark-section__lead {
    font-size: clamp(13.5px, 3.55vw, 15px);
    line-height: 1.9;
    letter-spacing: 0.025em;
  }

  .poscom-privacy-mark-section__points {
    gap: 14px;
    margin-top: 24px;
  }

  .poscom-privacy-mark-section__point {
    --pm-point-icon-size: 44px;
    --pm-point-gap: 16px;
    --pm-point-text-width: 7.6em;

    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    width: 84%;
    max-width: 360px;
    min-height: 78px;
    margin-inline: auto;
    padding: 16px 18px;
    border-radius: 22px;
    text-align: center;
    box-sizing: border-box;
  }

  .poscom-privacy-mark-section__point-icon {
    position: absolute;
    top: 50%;
    left: max(
      18px,
      calc(
        50% - (var(--pm-point-text-width) / 2) - var(--pm-point-gap) - var(--pm-point-icon-size)
      )
    );
    width: var(--pm-point-icon-size);
    height: var(--pm-point-icon-size);
    flex-basis: var(--pm-point-icon-size);
    border-radius: 13px;
    transform: translateY(-50%);
  }

  .poscom-privacy-mark-section__point-icon svg {
    width: 22px;
    height: 22px;
  }

  .poscom-privacy-mark-section__point-text {
    display: block;
    width: var(--pm-point-text-width);
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
    color: var(--poscom-deep-navy, #061b3a);
    font-size: clamp(17px, 4.4vw, 19px);
    line-height: 1.42;
    letter-spacing: 0.018em;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .poscom-privacy-mark-section {
    padding: 26px 12px 38px;
  }

  .poscom-privacy-mark-section__mark {
    width: 116px;
    margin-bottom: 6px;
  }

  .poscom-privacy-mark-section h2.poscom-ttl-gradient--privacy-mark .poscom-ttl-gradient__main {
    padding-inline: 0.3em;
    font-size: 19px !important;
    line-height: 1.36 !important;
    letter-spacing: 0 !important;
  }

  .poscom-privacy-mark-section__lead {
    font-size: 13.2px;
    line-height: 1.86;
    letter-spacing: 0.018em;
  }

  .poscom-privacy-mark-section__point {
    --pm-point-icon-size: 40px;
    --pm-point-gap: 12px;
    --pm-point-text-width: 7.4em;

    grid-template-columns: 1fr;
    width: 86%;
    max-width: 330px;
    min-height: 72px;
    margin-inline: auto;
    padding: 14px 12px;
  }

  .poscom-privacy-mark-section__point-icon {
    width: var(--pm-point-icon-size);
    height: var(--pm-point-icon-size);
    left: max(
      14px,
      calc(
        50% - (var(--pm-point-text-width) / 2) - var(--pm-point-gap) - var(--pm-point-icon-size)
      )
    );
  }

  .poscom-privacy-mark-section__point-text {
    width: var(--pm-point-text-width);
    font-size: 16px;
    line-height: 1.42;
    letter-spacing: 0.012em;
    text-align: center;
  }
}


/* ======================================
  Footer Sitemap
  フッター用サイトマップメニュー
====================================== */

#body_wrap .poscom-footer-sitemap {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: clamp(30px, 3vw, 50px) clamp(18px, 2.4vw, 34px);
  color: #f7fafc;
}

#body_wrap .poscom-footer-sitemap__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#body_wrap .poscom-footer-sitemap__card {
  position: relative;
  min-width: 0;
  padding: clamp(22px, 1.8vw, 30px) clamp(17px, 1.45vw, 24px) clamp(24px, 1.8vw, 32px);
  background:
    linear-gradient(
      180deg,
      rgba(40, 16, 137, 0.96),
      rgba(29, 8, 109, 0.96)
    );
}

#body_wrap .poscom-footer-sitemap__card + .poscom-footer-sitemap__card {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

#body_wrap .poscom-footer-sitemap__card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 18% 0%,
      rgba(89, 231, 224, 0.12),
      transparent 34%
    );
  opacity: 0;
  transition: opacity 0.3s ease;
}

#body_wrap .poscom-footer-sitemap__card:has(.poscom-footer-sitemap__title-link:hover)::before {
  opacity: 1;
}

/* 見出しリンク */
#body_wrap .poscom-footer-sitemap__title-link {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
  min-height: 34px;
  color: #f7fafc;
  text-decoration: none;
  line-height: 1.25;
}

/* フッター内：非リンクリストの中に混ぜる個別リンク */
#body_wrap .poscom-footer-sitemap__item-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  color: rgba(232, 242, 248, 0.96);
  text-decoration: none;
  transition:
    color 0.22s ease,
    transform 0.22s ease;
}

#body_wrap .poscom-footer-sitemap__item-link::after {
  content: "↗";
  color: #67f0ec;
  font-size: 0.78em;
  line-height: 1;
  opacity: 0.9;
}

#body_wrap .poscom-footer-sitemap__item-link:hover {
  color: #67f0ec;
  transform: translateX(3px);
}

#body_wrap .poscom-footer-sitemap__mark {
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, #79fff7, #6f7b86);
  box-shadow:
    0 0 14px rgba(121, 255, 247, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.14);
}

#body_wrap .poscom-footer-sitemap__title {
  min-width: 0;
  color: inherit;
  font-size: clamp(18px, 1.16vw, 22px);
  font-weight: 800;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

/* 見出し横の遷移サイン */
#body_wrap .poscom-footer-sitemap__title-link::after {
  content: "VIEW";
  display: inline-flex;
  align-items: center;
  gap: 0.42em;
  color: rgba(143, 255, 249, 0.86);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
  opacity: 0.9;
  transform: translateY(1px);
}

#body_wrap .poscom-footer-sitemap__title-link::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #67f0ec, rgba(103, 240, 236, 0));
  transition: width 0.28s ease;
}

#body_wrap .poscom-footer-sitemap__title-link:hover {
  color: #ffffff;
}

#body_wrap .poscom-footer-sitemap__title-link:hover::before {
  width: 100%;
}

/* VIEWの後ろに矢印 */
#body_wrap .poscom-footer-sitemap__title-link .poscom-footer-sitemap__title::after {
  content: "↗";
  display: inline-block;
  margin-left: 0.36em;
  color: #67f0ec;
  font-size: 0.78em;
  font-weight: 800;
  transform: translateY(-0.08em);
}

/* ラベル：ピルではなく小さなメタ情報にする */
#body_wrap .poscom-footer-sitemap__caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 14px;
  color: rgba(210, 232, 238, 0.6);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#body_wrap .poscom-footer-sitemap__caption::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(103, 240, 236, 0.34),
    rgba(255, 255, 255, 0.02)
  );
}

/* リスト：箇条書き感を消す */
#body_wrap .poscom-footer-sitemap__items {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#body_wrap .poscom-footer-sitemap__items li {
  position: relative;
  margin: 0;
  padding: 0;
  color: rgba(232, 242, 248, 0.92);
  font-size: clamp(13.5px, 0.92vw, 16px);
  font-weight: 700;
  line-height: 1.52;
  letter-spacing: 0.035em;
  border: 0;
  cursor: default;
}

#body_wrap .poscom-footer-sitemap__items li::before {
  content: "";
  display: none;
}

#body_wrap .poscom-footer-sitemap__items li span {
  display: block;
  margin-top: 2px;
  color: rgba(210, 226, 235, 0.66);
  font-size: 0.86em;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.025em;
}

/* 実リンクだけは、さりげなくリンクと分かるようにする */
#body_wrap .poscom-footer-sitemap__items a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: rgba(232, 242, 248, 0.96);
  text-decoration: none;
  transition:
    color 0.22s ease,
    transform 0.22s ease;
}

#body_wrap .poscom-footer-sitemap__items--links a::after {
  content: "↗";
  color: #67f0ec;
  font-size: 0.78em;
  line-height: 1;
  opacity: 0.9;
}

#body_wrap .poscom-footer-sitemap__items--links a:hover {
  color: #67f0ec;
  transform: translateX(3px);
}

/* リンクではない業務項目は、情報タグのように見せる */
#body_wrap .poscom-footer-sitemap__items:not(.poscom-footer-sitemap__items--links) li {
  display: block;
  padding-left: 0;
}

#body_wrap .poscom-footer-sitemap__items:not(.poscom-footer-sitemap__items--links) li::after {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  margin-top: 7px;
  background: rgba(103, 240, 236, 0.22);
}

/* タブレット：上3列 / 下2列 */
@media (max-width: 1180px) {
  #body_wrap .poscom-footer-sitemap {
    width: min(100%, 1040px);
    padding: clamp(28px, 4vw, 44px) clamp(16px, 3vw, 28px);
  }

  #body_wrap .poscom-footer-sitemap__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  /* 上段3枚：各2/6幅 */
  #body_wrap .poscom-footer-sitemap__card {
    grid-column: span 2;
    padding: 22px 20px 26px;
  }

  /* 下段2枚：各3/6幅 = 50% / 50% */
  #body_wrap .poscom-footer-sitemap__card:nth-child(4),
  #body_wrap .poscom-footer-sitemap__card:nth-child(5) {
    grid-column: span 3;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  /* 下段左 */
  #body_wrap .poscom-footer-sitemap__card:nth-child(4) {
    border-left: 0;
  }

  /* 下段右 */
  #body_wrap .poscom-footer-sitemap__card:nth-child(5) {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  #body_wrap .poscom-footer-sitemap__title-link {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 9px;
  }

  #body_wrap .poscom-footer-sitemap__title {
    font-size: clamp(17px, 2.2vw, 21px);
  }

  #body_wrap .poscom-footer-sitemap__title-link::after {
    font-size: 9.5px;
  }

  #body_wrap .poscom-footer-sitemap__caption {
    font-size: 9.5px;
  }

  #body_wrap .poscom-footer-sitemap__items li {
    font-size: 13.5px;
    line-height: 1.52;
  }
}

/* スマホ：2列 */
@media (max-width: 767px) {
  #body_wrap .poscom-footer-sitemap {
    padding: 28px 14px 34px;
  }

  #body_wrap .poscom-footer-sitemap__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* タブレットの span 指定をスマホ内だけで解除 */
  #body_wrap .poscom-footer-sitemap__card,
  #body_wrap .poscom-footer-sitemap__card:nth-child(4),
  #body_wrap .poscom-footer-sitemap__card:nth-child(5) {
    grid-column: auto;
  }

  #body_wrap .poscom-footer-sitemap__card {
    padding: 20px 16px 22px;
  }

  #body_wrap .poscom-footer-sitemap__card:nth-child(odd) {
    border-left: 0;
  }

  #body_wrap .poscom-footer-sitemap__card:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  #body_wrap .poscom-footer-sitemap__card:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  #body_wrap .poscom-footer-sitemap__title-link {
    grid-template-columns: auto minmax(0, 1fr);
  }

  #body_wrap .poscom-footer-sitemap__title-link::after {
    display: none;
  }

  #body_wrap .poscom-footer-sitemap__title {
    font-size: 15px;
  }

  #body_wrap .poscom-footer-sitemap__caption {
    margin: 15px 0 12px;
    font-size: 9px;
  }

  #body_wrap .poscom-footer-sitemap__items {
    gap: 8px;
  }

  #body_wrap .poscom-footer-sitemap__items li {
    font-size: 12px;
    line-height: 1.48;
  }
}

/* 狭いスマホ：1列 */
@media (max-width: 520px) {
  #body_wrap .poscom-footer-sitemap__grid {
    grid-template-columns: 1fr;
  }

  #body_wrap .poscom-footer-sitemap__card,
  #body_wrap .poscom-footer-sitemap__card:nth-child(4),
  #body_wrap .poscom-footer-sitemap__card:nth-child(5) {
    grid-column: auto;
    border-left: 0 !important;
  }

  #body_wrap .poscom-footer-sitemap__card + .poscom-footer-sitemap__card {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  #body_wrap .poscom-footer-sitemap__title-link {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  #body_wrap .poscom-footer-sitemap__title-link::after {
    display: inline-flex;
    font-size: 9px;
  }

  #body_wrap .poscom-footer-sitemap__title {
    font-size: 16px;
  }

  #body_wrap .poscom-footer-sitemap__caption {
    font-size: 9px;
  }

  #body_wrap .poscom-footer-sitemap__items li {
    font-size: 13px;
  }
}

/* ======================================
  Footer Sitemap Slight Wide
  PCのみ：幅広なしリッチカラムを安全に少し広げる
  ※下段ブランド行・スマホは触らない
====================================== */

@media (min-width: 960px) {
  #body_wrap .poscom-footer-scale-wrap .poscom-footer-main-parts {
    /*
      親幅より少しだけ左右へ広げる。
      ただし max-width で途中停止させず、
      広げる量そのものを viewport に合わせて制限する。
    */
    --poscom-footer-side-safe: 40px;
    --poscom-footer-overhang-max: 96px;
    --poscom-footer-overhang: clamp(
      0px,
      calc((100vw - 100%) / 2 - var(--poscom-footer-side-safe)),
      var(--poscom-footer-overhang-max)
    );

    position: relative;
    box-sizing: border-box;
    width: calc(100% + (var(--poscom-footer-overhang) * 2)) !important;
    max-width: none !important;
    margin-left: calc(var(--poscom-footer-overhang) * -1) !important;
    margin-right: calc(var(--poscom-footer-overhang) * -1) !important;
  }

  #body_wrap .poscom-footer-scale-wrap .poscom-footer-main-parts > .swell-block-columns__inner {
    width: 100% !important;
    max-width: 100% !important;
  }

  #body_wrap .poscom-footer-scale-wrap .poscom-footer-sitemap {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* 大きいPC：VIEWとの被りを避けるため、上段だけさらに広げる */
@media (min-width: 1367px) {
  #body_wrap .poscom-footer-scale-wrap .poscom-footer-main-parts {
    --poscom-footer-side-safe: 48px;
    --poscom-footer-overhang-max: 180px;
  }
}

/* パビリオン150%・実効幅が狭いPC：広げすぎない */
@media (min-width: 960px) and (max-width: 1366px) {
  #body_wrap .poscom-footer-scale-wrap .poscom-footer-main-parts {
    --poscom-footer-side-safe: 28px;
    --poscom-footer-overhang-max: 52px;
  }

  #body_wrap .poscom-footer-scale-wrap .poscom-footer-sitemap__title {
    font-size: clamp(17px, 1.45vw, 20px);
    letter-spacing: 0.028em;
  }

  #body_wrap .poscom-footer-scale-wrap .poscom-footer-sitemap__title-link::after {
    font-size: 9.5px;
    letter-spacing: 0.08em;
  }
}

/* ======================================
  Footer Brand Row Buttons Hover Only
  SWELLのshiny演出はそのまま使い、ホバー挙動だけ追加
====================================== */

#body_wrap .poscom-footer-brand-row .swell-block-button__link {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    filter 0.28s ease;
}

#body_wrap .poscom-footer-brand-row .swell-block-button__link:hover,
#body_wrap .poscom-footer-brand-row .swell-block-button__link:focus-visible {
  transform: translate(3px, -3px);
  filter: brightness(1.04) saturate(1.06);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.22),
    0 0 22px rgba(103, 240, 236, 0.14);
}

/* 右上アイコンだけ、遷移方向に少し動かす */
#body_wrap .poscom-footer-brand-row .swell-block-button__link .swl-inline-icon {
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
}

#body_wrap .poscom-footer-brand-row .swell-block-button__link:hover .swl-inline-icon,
#body_wrap .poscom-footer-brand-row .swell-block-button__link:focus-visible .swl-inline-icon {
  transform: translate(3px, -3px);
  opacity: 1;
}

/* 動きを減らす設定の人には移動だけ止める */
@media (prefers-reduced-motion: reduce) {
  #body_wrap .poscom-footer-brand-row .swell-block-button__link,
  #body_wrap .poscom-footer-brand-row .swell-block-button__link .swl-inline-icon {
    transition: none;
  }

  #body_wrap .poscom-footer-brand-row .swell-block-button__link:hover,
  #body_wrap .poscom-footer-brand-row .swell-block-button__link:focus-visible,
  #body_wrap .poscom-footer-brand-row .swell-block-button__link:hover .swl-inline-icon,
  #body_wrap .poscom-footer-brand-row .swell-block-button__link:focus-visible .swl-inline-icon {
    transform: none;
  }
}


/* =========================================
   Sidebar Video Badge
   サイドバー動画：ピルバナーを動画左上に半分だけ重ねる
========================================= */

#body_wrap .poscom-sidebar-video-badge {
  position: relative;
  margin: 0 0 26px !important; /* 下のPOS-COMロゴ画像との余白を残す */
  overflow: visible;
}

#body_wrap .poscom-sidebar-video-badge > .wp-block-group__inner-container {
  position: relative;
  overflow: visible;
  margin: 0 !important;
  padding-top: 22px; /* ピルが上に突き出る分の逃げ */
}

/* ピル画像：動画の左上に約50%だけ重ねる */
#body_wrap .poscom-sidebar-video-badge > .wp-block-group__inner-container > figure.wp-block-image {
  position: absolute !important;
  top: 0;
  left: 10px;
  z-index: 3;
  width: min(76%, 260px);
  margin: 0 !important;
  pointer-events: none;
}

/* ピル画像本体 */
#body_wrap .poscom-sidebar-video-badge > .wp-block-group__inner-container > figure.wp-block-image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  filter: drop-shadow(0 4px 8px rgba(6, 27, 58, 0.12));
}

/* 動画側 */
#body_wrap .poscom-sidebar-video-badge > .wp-block-group__inner-container > figure.wp-block-video {
  position: relative;
  z-index: 1;
  margin: 0 !important;
}

/* 動画本体 */
#body_wrap .poscom-sidebar-video-badge > .wp-block-group__inner-container > figure.wp-block-video video {
  display: block;
  width: 100% !important;
  height: auto !important;
}

/* タブレット */
@media (max-width: 960px) {
  #body_wrap .poscom-sidebar-video-badge {
    margin-bottom: 24px !important;
  }

  #body_wrap .poscom-sidebar-video-badge > .wp-block-group__inner-container {
    padding-top: 16px;
  }

  #body_wrap .poscom-sidebar-video-badge > .wp-block-group__inner-container > figure.wp-block-image {
    top: 0;
    left: 9px;
    width: min(76%, 260px);
  }
}

/* スマホ */
@media (max-width: 767px) {
  #body_wrap .poscom-sidebar-video-badge {
    margin-bottom: 24px !important;
  }

  #body_wrap .poscom-sidebar-video-badge > .wp-block-group__inner-container {
    padding-top: 15px;
  }

  #body_wrap .poscom-sidebar-video-badge > .wp-block-group__inner-container > figure.wp-block-image {
    top: 0;
    left: 8px;
    width: min(76%, 260px);
  }
}

/* =========================================
   Sidebar video: 動画を少し浮かせるカード化
========================================= */

#body_wrap .poscom-sidebar-video-badge > .wp-block-group__inner-container > figure.wp-block-video {
  position: relative;
  z-index: 1;
  margin: 0 !important;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(247,250,253,0.96) 100%);
  border: 1px solid rgba(18, 55, 103, 0.10);
  border-radius: 16px;
  box-shadow:
    0 10px 24px rgba(6, 27, 58, 0.08),
    0 2px 8px rgba(6, 27, 58, 0.05);
  overflow: hidden;
}

/* 動画本体 */
#body_wrap .poscom-sidebar-video-badge > .wp-block-group__inner-container > figure.wp-block-video video {
  display: block;
  width: 100% !important;
  height: auto !important;
  border-radius: 10px;
}

/* スマホで少しだけ控えめに */
@media (max-width: 767px) {
  #body_wrap .poscom-sidebar-video-badge > .wp-block-group__inner-container > figure.wp-block-video {
    padding: 8px;
    border-radius: 14px;
    box-shadow:
      0 8px 18px rgba(6, 27, 58, 0.07),
      0 2px 6px rgba(6, 27, 58, 0.04);
  }

  #body_wrap .poscom-sidebar-video-badge > .wp-block-group__inner-container > figure.wp-block-video video {
    border-radius: 9px;
  }
}


/* =========================================
   Sidebar Brand Image Card
   サイドバー下部POS-COMロゴ画像を軽くカード化
========================================= */

#body_wrap .poscom-sidebar-brand-card {
  margin: 26px 0 22px !important;
  padding: 8px;
  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(247, 250, 253, 0.94) 100%
    );

  border: 1px solid rgba(18, 55, 103, 0.09);
  border-radius: 16px;

  box-shadow:
    0 8px 20px rgba(6, 27, 58, 0.055),
    0 2px 7px rgba(6, 27, 58, 0.035);

  box-sizing: border-box;
}

#body_wrap .poscom-sidebar-brand-card img {
  display: block;
  width: 100% !important;
  height: auto !important;

  border-radius: 10px;

  filter:
    saturate(1.02)
    contrast(1.02);
}

/* 画像がリンク化されている場合も崩さない */
#body_wrap .poscom-sidebar-brand-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* スマホ・狭いサイドバー */
@media (max-width: 767px) {
  #body_wrap .poscom-sidebar-brand-card {
    margin: 24px 0 20px !important;
    padding: 7px;
    border-radius: 14px;

    box-shadow:
      0 6px 16px rgba(6, 27, 58, 0.05),
      0 1px 5px rgba(6, 27, 58, 0.03);
  }

  #body_wrap .poscom-sidebar-brand-card img {
    border-radius: 9px;
  }
}





/* ======================================
  Service Fullwide Medium Width
  3事業ページ共通：
  小さい実効幅PCだけ、SWELLの「幅広」と「幅広なし」の中間幅にする
  ※背景フルワイド・大きいPC・スマホは触らない
====================================== */

/*
  使い方：
  3事業ページの対象フルワイドブロックに
  .poscom-service-width-medium
  を追加する。

  狙い：
  - 大きいPC：SWELLの幅広感を維持
  - 15.6型・14型の推奨値：基本は現状維持
  - パビリオン13.3型150% / 14型225%など：中身だけ中間幅へ
  - スマホ：絶対に触らない
*/

@media (min-width: 960px) and (max-width: 1366px) {
  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner {
    width: min(92vw, 1240px) !important;
    max-width: calc(100vw - 48px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner *,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner *,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner * {
    box-sizing: border-box;
  }

  /*
    フルワイド内にあるSWELLのalignwideだけ、
    この中間幅コンテナの中に収める。
    サイト全体の .alignwide は触らない。
  */
  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner .alignwide,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner .alignwide,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner .alignwide {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
  }

  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner .swell-block-columns,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner .swell-block-columns,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner .swell-block-columns,
  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner .swell-block-columns__inner,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner .swell-block-columns__inner,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner .swell-block-columns__inner {
    max-width: 100% !important;
  }
}

/* さらに実効幅が狭いPCだけ、少しだけ絞る */
@media (min-width: 960px) and (max-width: 1180px) {
  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner {
    width: min(90vw, 1120px) !important;
    max-width: calc(100vw - 40px) !important;
  }
}

/* ギリギリの小さいPCだけの保険。スマホには効かない */
@media (min-width: 960px) and (max-width: 1060px) {
  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium > .swell-block-fullWide__inner {
    width: min(88vw, 1040px) !important;
    max-width: calc(100vw - 32px) !important;
  }
}


/* ======================================
  Service Fullwide Medium Width / Shipping Flow Fix
  商品発送代行：
  小さい実効幅PCだけ、サービスの流れが親の中間幅からはみ出すのを防ぐ
====================================== */

@media (min-width: 960px) and (max-width: 1366px) {
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium .poscom-service-flow-v4 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }
}

/* さらに狭い実効幅では、カード内余白だけ少し詰める */
@media (min-width: 960px) and (max-width: 1180px) {
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium .poscom-service-flow-v4 {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }
}

@media (min-width: 960px) and (max-width: 1060px) {
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium .poscom-service-flow-v4 {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }
}

/* ======================================
  Service Fullwide Medium Width / Solution List Safe Tune
  90%中間幅制御時だけ：解決リストの変な1文字改行を調整
  ※左右カラム幅は触らない。右画像を下に落とさない。
====================================== */

@media (min-width: 960px) and (max-width: 1366px) {
  /*
    解決カード本体の中だけ調整。
    .poscom-solution-copy / .poscom-solution-visual の列幅は触らない。
  */
  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list {
    width: 100% !important;
    max-width: 100% !important;
  }

  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__row,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__row,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__row {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: clamp(10px, 1vw, 16px) !important;
    padding-left: clamp(22px, 2.4vw, 34px) !important;
    padding-right: clamp(22px, 2.4vw, 34px) !important;
  }

  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__label,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__label,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__label {
    width: 96px !important;
    height: 96px !important;
    font-size: 21px !important;
  }

  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__items,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__items,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__items {
    gap: 16px 18px !important;
  }

  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__items li,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__items li,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__items li {
    padding-left: 1.45em !important;
    font-size: clamp(15px, 1.05vw, 16.5px) !important;
    line-height: 1.62 !important;
    letter-spacing: 0 !important;
  }

  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__items li::before,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__items li::before,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__items li::before {
    left: 0 !important;
    font-size: 1.2em !important;
  }
}

/* さらに狭い実効幅PCだけ、解決ラベルと余白をもう少し詰める */
@media (min-width: 960px) and (max-width: 1120px) {
  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__row,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__row,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__row {
    grid-template-columns: 86px minmax(0, 1fr) !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__label,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__label,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__label {
    width: 86px !important;
    height: 86px !important;
    font-size: 20px !important;
  }

  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__items,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__items,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__items {
    gap: 14px 14px !important;
  }

  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__items li,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__items li,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium .poscom-solution-list__items li {
    padding-left: 1.35em !important;
    font-size: 14.8px !important;
    line-height: 1.6 !important;
  }
}


/* ======================================
  Service Fullwide Medium Width / Privacy Mark Points
  90%中間幅制御時だけ：
  プライバシーマーク3カードをアイコン上・文字下に整える
  ※大きいPC・スマホは触らない
====================================== */

@media (min-width: 960px) and (max-width: 1366px) {
  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium .poscom-privacy-mark-section__points,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium .poscom-privacy-mark-section__points,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium .poscom-privacy-mark-section__points {
    gap: clamp(16px, 1.8vw, 24px) !important;
  }

  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium .poscom-privacy-mark-section__point,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium .poscom-privacy-mark-section__point,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium .poscom-privacy-mark-section__point {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    padding: clamp(20px, 2.2vw, 28px) clamp(16px, 2vw, 24px) !important;
    text-align: center !important;
  }

  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium .poscom-privacy-mark-section__point-icon,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium .poscom-privacy-mark-section__point-icon,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium .poscom-privacy-mark-section__point-icon {
    margin: 0 auto !important;
    transform: none !important;
  }

  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium .poscom-privacy-mark-section__point-text,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium .poscom-privacy-mark-section__point-text,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium .poscom-privacy-mark-section__point-text {
    display: block !important;
    width: 100% !important;
    max-width: 7.8em !important;
    margin: 0 auto !important;
    font-size: clamp(17px, 1.55vw, 22px) !important;
    line-height: 1.45 !important;
    letter-spacing: 0.035em !important;
    text-align: center !important;
  }
}

/* さらに狭い実効幅PCだけ、少し小さめにする */
@media (min-width: 960px) and (max-width: 1120px) {
  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium .poscom-privacy-mark-section__point,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium .poscom-privacy-mark-section__point,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium .poscom-privacy-mark-section__point {
    gap: 9px !important;
    padding: 20px 14px !important;
  }

  #body_wrap.page-id-17 .swell-block-fullWide.poscom-service-width-medium .poscom-privacy-mark-section__point-text,
  #body_wrap.page-id-19 .swell-block-fullWide.poscom-service-width-medium .poscom-privacy-mark-section__point-text,
  #body_wrap.page-id-21 .swell-block-fullWide.poscom-service-width-medium .poscom-privacy-mark-section__point-text {
    max-width: 7.2em !important;
    font-size: 17px !important;
    line-height: 1.42 !important;
    letter-spacing: 0.025em !important;
  }
}