.display-none-sm {
    display: block; 
}
.display-none-pc {
    display: none;
}

.smaller{ font-size:0.6em;}
.lead{ font-size:1.15rem;}
.lead-big { font-size: clamp(1.125rem, 0.989rem + 0.68vw, 1.5rem); line-height: 1.8; }
.lead-border{background-color: #fff; border-radius: 1rem; border: solid 1px var(--accent-deep); padding: 1.5rem;}
.accent{color: var(--accent);}
.accent-deep{color: var(--accent-deep);}

.mb-1{ margin-bottom:16px!important;}
.mb-2{ margin-bottom:32px!important;}
.mb-3{ margin-bottom:48px!important;}
.mb-4{ margin-bottom:64px!important;}
.mb-5{ margin-bottom:80px!important;}

.mt-1{ margin-top:16px!important;}
.mt-2{ margin-top:32px!important;}
.mt-3{ margin-top:48px!important;}
.mt-4{ margin-top:64px!important;}
.mt-5{ margin-top:80px!important;}

.ml-1{ margin-left:16px!important;}
.ml-2{ margin-left:32px!important;}
.ml-3{ margin-left:48px!important;}
.ml-4{ margin-left:64px!important;}
.ml-5{ margin-left:80px!important;}

.mr-1{ margin-right:16px!important;}
.mr-2{ margin-right:32px!important;}
.mr-3{ margin-right:48px!important;}
.mr-4{ margin-right:64px!important;}
.mr-5{ margin-right:80px!important;}

.pb-1{ padding-bottom:16px!important;}
.pb-2{ padding-bottom:32px!important;}
.pb-3{ padding-bottom:48px!important;}
.pb-4{ padding-bottom:64px!important;}
.pb-5{ padding-bottom:80px!important;}

.pt-1{ padding-top:16px!important;}
.pt-2{ padding-top:32px!important;}
.pt-3{ padding-top:48px!important;}
.pt-4{ padding-top:64px!important;}
.pt-5{ padding-top:80px!important;}

.pl-1{ padding-left:16px!important;}
.pl-2{ padding-left:32px!important;}
.pl-3{ padding-left:48px!important;}
.pl-4{ padding-left:64px!important;}
.pl-5{ padding-left:80px!important;}

.pr-1{ padding-right:16px!important;}
.pr-2{ padding-right:32px!important;}
.pr-3{ padding-right:48px!important;}
.pr-4{ padding-right:64px!important;}
.pr-5{ padding-right:80px!important;}

/* ---- section-header: text left / decorative image right ---- */

/* section-header-img が上・右にブリードするためクリップが必要なセクション */
.services, .projects, .stats, .faq, .news { overflow: hidden; }

.section-header {
  display: flex;
  align-items: flex-end;
  gap: clamp(24px, 4vw, 64px);
  min-height: 0;
}

.section-header-text {
  display: flex;
    align-items: flex-end;
    gap: clamp(24px, 4vw, 64px);
    min-height: 0;
}

.section-header-img {
  flex: 0 0 auto;
  width: clamp(300px, 42vw, 580px);
  aspect-ratio: 16 / 7;
  align-self: flex-start;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #b8dce8 100%);
  position: relative;
  /* 上端をセクションの天端まで伸ばす（セクションの上パディング分を打ち消し） */
  margin-top: calc(-1 * clamp(80px, 10vw, 140px));
  /* 右端をビューポートの右端まで伸ばす */
  margin-right: calc(-1 * (var(--pad-x) + max(0px, (100vw - var(--container)) / 2)));
  /* 上・右はエッジに密着、左下のみ角丸 */
  border-radius: 0 0 0 var(--r-lg);
}

.section-header-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 画像未設定時: アクセントラインの装飾パターン */
.section-header-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 12px,
      rgba(38, 164, 192, 0.08) 12px,
      rgba(38, 164, 192, 0.08) 13px
    );
  pointer-events: none;
}

/* ---- intro-statement: text left / full-bleed image right ---- */
.intro-statement {
  padding: 0;
  overflow: hidden;
}

.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: clamp(520px, 55vw, 760px);
  /* 左端をcontainerに揃える */
  padding-left: calc(max(0px, (100vw - var(--container)) / 2) + var(--pad-x));
}

.intro-text-col {
  padding: clamp(40px, 5vw, 72px) clamp(40px, 5vw, 72px) clamp(40px, 5vw, 72px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro-image-col {
  overflow: hidden;
  position: relative;
  /* 画像未設定時のプレースホルダー背景 */
  background: linear-gradient(135deg, #d4ecf1 0%, #b8dce8 100%);
}

.intro-slides {
  position: absolute;
  inset: 0;
}

.intro-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: opacity;
}

.intro-slide.active {
  opacity: 1;
}

.intro-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.accent-text {
    color: var(--accent);
    font-style: normal;
}
.accent-sub-text {
    color: var(--accent-sub);
    font-style: normal;
}

.accent-hl {
    background: linear-gradient(transparent 60%, #d4ecf1 60%);
    padding: 0 4px;
}

.accent-sub-hl {
    background: linear-gradient(transparent 60%, #dcdcec 60%);
    padding: 0 4px;
}

.accent-contact-hl {
    background: #323265;
    padding: 0 4px;
}

@media (max-width: 767px) {
    .display-none-sm {
    display: none;
    }
    .display-none-pc {
    display: block;
    }
    .section-header {display: block;}
    .section-header-text {display: block;}
}


/* ── スタッフ画像ホバー切り替え ── */
.staff-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.staff-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.5s ease;
}

.staff-img-wrap .img-off { opacity: 1; z-index: 1; }
.staff-img-wrap .img-on  { opacity: 0; z-index: 2; }

/* PC: cursor が hover をサポートする環境のみ */
@media (hover: hover) {
  .staff-card:hover .staff-img-wrap .img-on  { opacity: 1; }
  .staff-card:hover .staff-img-wrap .img-off { opacity: 0; }
}

/* ═══════════════════════════════════════════════
   CONTACT CHANNELS — 3カラム
═══════════════════════════════════════════════ */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.contact-channel-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-channel-card--line {
  border-color: #06C755;
  background: #f0fff4;
}
.ccc-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.ccc-icon--tel  { background: var(--accent-soft); color: var(--accent); }
.ccc-icon--line { background: #06C755; color: #fff; }
.ccc-icon--form { background: var(--bg-gray-deep); color: var(--ink-2); }
.ccc-label {
  font-family: var(--num);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.contact-channel-card--line .ccc-label { color: #06C755; }
.ccc-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}
.ccc-tel-num {
  font-family: var(--num);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.2;
}
.ccc-line-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.ccc-hours {
  font-size: 12px;
  color: var(--ink-3);
}
.ccc-note {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0 0 24px;
  flex-grow: 1;
}
.ccc-btn {
  width: 100%;
  justify-content: center;
  padding: 13px 20px;
  font-size: 14px;
}
.ccc-btn--line {
  background: #06C755;
  color: #fff;
  border-radius: var(--r-md);
}
.ccc-btn--line:hover {
  background: #05a848;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════
   LINE BANNER
═══════════════════════════════════════════════ */
.line-banner {
  background: #fff;
  border: 2px solid #06C755;
  border-radius: var(--r-xl);
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  align-items: flex-start;
  gap: clamp(32px, 5vw, 64px);
}
.line-banner-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.line-banner-icon {
  width: 72px;
  height: 72px;
  background: #06C755;
  color: #fff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.line-banner-eyebrow {
  font-family: var(--num);
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #06C755;
  margin: 0 0 8px;
}
.line-banner-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.25;
  color: var(--ink);
}
.line-banner-desc {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.8;
  margin: 0 0 20px;
  max-width: 520px;
}
.line-banner-points {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.line-banner-points li {
  font-size: 14px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.lbp-check {
  color: #06C755;
  font-weight: 700;
  flex-shrink: 0;
}
.line-banner-btn {
  background: #06C755;
  color: #fff;
  border-radius: var(--r-md);
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  transition: background 0.2s, transform 0.25s;
}
.line-banner-btn:hover {
  background: #05a848;
  transform: translateY(-2px);
}
.line-banner-qr {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.line-qr-box {
  width: 160px;
  height: 160px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
  padding: 8px;
}
.line-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.line-qr-caption {
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

/* ═══════════════════════════════════════════════
   INQUIRY FORM
═══════════════════════════════════════════════ */
.inquiry-form {
  max-width: 840px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.iq-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
}
.iq-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.iq-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.iq-req {
  color: #fff;
  font-size: 11px;
    font-weight: 500;
    background: var(--warn);
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 4px;
    vertical-align: middle;
}
.iq-input,
.iq-select,
.iq-textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.iq-input::placeholder,
.iq-textarea::placeholder { color: var(--ink-3); }
.iq-input:focus,
.iq-select:focus,
.iq-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.iq-select-wrap {
  position: relative;
}
.iq-select-wrap .iq-select {
  padding-right: 40px;
  cursor: pointer;
}
.iq-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 18px;
  color: var(--ink-3);
  pointer-events: none;
  line-height: 1;
}
.iq-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}

/* ラジオボタン */
.iq-fieldset {
  border: none;
  margin: 0;
  padding: 0;
}
.iq-fieldset > legend { /* same as .iq-label */
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.iq-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.iq-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
}
.iq-radio-label input[type="radio"] { display: none; }
.iq-radio-box {
  width: 18px;
  height: 18px;
  border: 2px solid var(--line);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s;
}
.iq-radio-box::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.15s;
}
.iq-radio-label input[type="radio"]:checked ~ .iq-radio-box {
  border-color: var(--accent);
}
.iq-radio-label input[type="radio"]:checked ~ .iq-radio-box::after {
  opacity: 1;
}

/* チェックボックス */
.iq-group--privacy { margin-top: 8px; }
.iq-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-2);
  cursor: pointer;
  line-height: 1.7;
}
.iq-checkbox-label input[type="checkbox"] { display: none; }
.iq-check-box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.iq-check-box::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 7px;
  height: 12px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.15s;
}
.iq-checkbox-label input[type="checkbox"]:checked ~ .iq-check-box {
  background: var(--accent);
  border-color: var(--accent);
}
.iq-checkbox-label input[type="checkbox"]:checked ~ .iq-check-box::after {
  opacity: 1;
}
.iq-privacy-link {
  color: var(--accent);
  text-decoration: underline;
}

/* 送信ボタン */
.iq-submit-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}
.iq-submit {
  padding: 18px 48px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--r-md);
  min-width: 320px;
  justify-content: center;
}
.btn-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}
.iq-submit-note {
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.7;
  margin: 0;
}

/* ── EFO フォームセクション ── */
.iq-section {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: #f7f7f7;
}
.iq-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--line);
}
.iq-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.iq-step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-left: 1rem;
}
.iq-opt {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  background: var(--bg-alt);
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
}
.iq-hint {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
}
.iq-hint-inline {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  margin-left: 4px;
}
.iq-group--full { grid-column: 1 / -1; }

/* 住所 */
.iq-group--addr { gap: 10px; }
.iq-postal-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.iq-postal-prefix {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  flex-shrink: 0;
}
.iq-input--postal {
  width: 148px;
  flex-shrink: 0;
  letter-spacing: 0.08em;
}
.iq-btn-postal {
  height: 48px;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.iq-btn-postal:hover { background: var(--accent); transform: translateY(-1px); }
.iq-btn-postal:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.iq-addr-fields {
  display: grid;
  grid-template-columns: 130px 1fr 1.6fr;
  gap: 10px;
}

/* バリデーション状態 */
.iq-input.is-valid,
.iq-select.is-valid,
.iq-textarea.is-valid {
  border-color: #4caf50;
}
.iq-input.is-error,
.iq-select.is-error,
.iq-textarea.is-error {
  border-color: var(--warn);
}
.iq-error {
  display: block;
  font-size: 13px;
  color: var(--warn);
  margin-top: 4px;
}

/* チェックボックスカード（お問い合わせ内容） */
.iq-check-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
}
.iq-check-card {
  display: flex;
  cursor: pointer;
  user-select: none;
}
.iq-check-card input[type="checkbox"] { display: none; }
.iq-check-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.4;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}
.iq-check-inner:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}
.iq-check-icon {
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--line);
  border-radius: 3px;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.18s, background 0.18s;
}
.iq-check-icon::after {
  content: '';
  position: absolute;
  left: 2px;
  top: -1px;
  width: 6px;
  height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.15s;
}
.iq-check-card input[type="checkbox"]:checked ~ .iq-check-inner {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 600;
}
.iq-check-card input[type="checkbox"]:checked ~ .iq-check-inner .iq-check-icon {
  background: var(--accent);
  border-color: var(--accent);
}
.iq-check-card input[type="checkbox"]:checked ~ .iq-check-inner .iq-check-icon::after { opacity: 1; }

/* 確認セクション */
.iq-section--confirm { background: var(--bg-cream); }
.iq-confirm-checks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── レスポンシブ ── */
@media (max-width: 960px) {
  .contact-channels { grid-template-columns: 1fr; gap: 16px; }
  .contact-channel-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px; padding: 24px 20px; }
  .ccc-icon { margin-bottom: 0; }
  .ccc-label { width: 100%; margin-bottom: 0; }
  .ccc-main { margin-bottom: 0; flex: 1; min-width: 180px; }
  .ccc-note { width: 100%; margin-bottom: 0; }
  .ccc-btn { flex-shrink: 0; width: auto; }
  .line-banner { flex-direction: column; gap: 32px; }
  .line-banner-qr { flex-direction: row; align-items: center; gap: 20px; }
  .line-qr-caption { text-align: left; }
}
@media (max-width: 768px) {
  .iq-section { padding: 24px 20px; }
  .iq-check-group { grid-template-columns: repeat(2, 1fr); }
  .iq-addr-fields { grid-template-columns: 110px 1fr; }
  .iq-addr-fields input:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .iq-row-2 { grid-template-columns: 1fr; }
  .iq-submit { min-width: 0; width: 100%; padding: 16px 24px; }
  .contact-channel-card { flex-direction: column; }
  .ccc-btn { width: 100%; justify-content: center; }
  .line-banner-btn { width: 100%; justify-content: center; }
  .line-banner-qr { flex-direction: column; align-items: flex-start; }
  .iq-check-group { grid-template-columns: 1fr; }
  .iq-addr-fields { grid-template-columns: 1fr; }
  .iq-addr-fields input:last-child { grid-column: auto; }
  .iq-input--postal { width: 130px; }
}

/* お客様の声: アイキャッチを自然サイズ（横100%・縦auto）で表示 */
.article-hero-img--natural .frame {
  height: auto;
}
.article-hero-img--natural .frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ═══════════════════════════════════════════════
   PARTNERS STRIP — 画像のみ・固定高さ
═══════════════════════════════════════════════ */
.partners-strip {
  padding: 20px 0;
}
.partner-logo {
  height: 64px;
  padding: 0 16px;
  gap: 0;
  justify-content: center;
  min-width: 100px;
}
.plm-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}
.plm {
  width: 40px;
  height: 40px;
  font-size: 16px;
}
@media (max-width: 767px) {
  .partner-logo { height: 52px; padding: 0 12px; }
  .plm-img { height: 32px; max-width: 80px; }
  .plm { width: 32px; height: 32px; font-size: 13px; }
}

/* ═══════════════════════════════════════════════
   CLIENTS — 取引先企業一覧 /company/client/
═══════════════════════════════════════════════ */
.clients-section {
  padding: 30px 0;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.clients-card a,
.clients-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 16px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  text-decoration: none;
  color: var(--ink);
  height: 100%;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}

.clients-card a:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(38, 164, 192, 0.12);
  transform: translateY(-4px);
}

.clients-logo {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.clients-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.clients-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  flex-shrink: 0;
}

.clients-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.03em;
  word-break: break-all;
}

.clients-empty {
  text-align: center;
  color: var(--ink-3);
  padding: 80px 0;
  font-size: 15px;
}

@media (max-width: 1100px) {
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .clients-logo { height: 52px; }
  .clients-card a,
  .clients-card-inner { padding: 22px 12px 18px; gap: 10px; }
}

/* JS によるモバイル自動切り替え（.is-on クラスで制御） */
.staff-img-wrap.is-on .img-on  { opacity: 1; }
.staff-img-wrap.is-on .img-off { opacity: 0; }

.voice-card .vc-img > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.voice-card:hover .vc-img > img { transform: scale(1.05); }

@media (max-width: 900px) {
  .intro-split {
    grid-template-columns: 1fr;
    padding-left: 0;
    min-height: auto;
  }
  .intro-text-col {
    padding: 48px var(--pad-x) 40px;
    order: 2;
  }
  .intro-image-col {
    order: 1;
    height: clamp(240px, 55vw, 360px);
    position: relative;
  }
  .section-header-img { display: none; }
}

/* ═══════════════════════════════════════════════
   CONTACT FORM 7 — 統合スタイル
═══════════════════════════════════════════════ */

/* CF7 ラッパーを block に（デフォルトは inline） */
.cf7-form .wpcf7-form-control-wrap {
  display: block;
}

/* CF7 バリデーションエラー */
.cf7-form .wpcf7-not-valid-tip {
  display: block;
  font-size: 12px;
  color: var(--warn);
  margin-top: 5px;
}
.cf7-form .iq-input.wpcf7-not-valid,
.cf7-form .iq-textarea.wpcf7-not-valid {
  border-color: var(--warn);
  box-shadow: 0 0 0 3px rgba(199, 93, 79, 0.12);
}

/* CF7 レスポンスメッセージ */
.cf7-form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 14px 20px;
  border-radius: var(--r-md);
  font-size: 14px;
  text-align: center;
  border: 1.5px solid var(--line);
  background: var(--bg-alt);
}
.cf7-form .wpcf7-mail-sent-ok {
  border-color: #4caf50;
  background: #f0faf1;
  color: #2e7d32;
}
.cf7-form .wpcf7-mail-sent-ng,
.cf7-form .wpcf7-spam-blocked {
  border-color: var(--warn);
  background: #fdf4f3;
  color: var(--warn);
}

/* ── カードチェックボックス（お問い合わせ内容） ── */
.cf7-check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.cf7-check-grid .wpcf7-list-item {
  margin: 0;
  display: flex;
}
.cf7-check-grid .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  color: var(--ink-2);
  cursor: pointer;
  line-height: 1.45;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}
.cf7-check-grid .wpcf7-list-item label:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}
/* ネイティブチェックボックスを非表示にしカスタムアイコンに置換 */
.cf7-check-grid .wpcf7-list-item input[type="checkbox"] {
  display: none;
}
.cf7-check-grid .wpcf7-list-item label::before {
  content: '';
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--line);
  border-radius: 3px;
  flex-shrink: 0;
  background: #fff;
  transition: border-color 0.18s, background 0.18s;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}
.cf7-check-grid .wpcf7-list-item label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 600;
}
.cf7-check-grid .wpcf7-list-item label:has(input:checked)::before {
  background-color: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ── ピルチェックボックス（ご連絡のきっかけ） ── */
.cf7-check-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.cf7-check-pills .wpcf7-list-item {
  margin: 0;
}
.cf7-check-pills .wpcf7-list-item input[type="checkbox"] {
  display: none;
}
.cf7-check-pills .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}
.cf7-check-pills .wpcf7-list-item label:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}
.cf7-check-pills .wpcf7-list-item label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

/* ── 単体チェックボックス（確認・プライバシー） ── */
.cf7-check-single {
  margin-top: 6px;
}
.cf7-check-single .wpcf7-list-item {
  margin: 0;
}
.cf7-check-single .wpcf7-list-item input[type="checkbox"] {
  display: none;
}
.cf7-check-single .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  line-height: 1.7;
}
.cf7-check-single .wpcf7-list-item label::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  flex-shrink: 0;
  margin-top: 2px;
  background: #fff;
  transition: border-color 0.18s, background 0.18s;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.cf7-check-single .wpcf7-list-item label:has(input:checked)::before {
  background-color: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 12'%3E%3Cpath d='M1 6l4.5 4.5L13 1' stroke='%23fff' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ── reCAPTCHA ── */
.cf7-recaptcha {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

/* ── 送信ボタン ── */
.cf7-form .submit_btn {
  display: flex;
  justify-content: center;
  margin: 0;
}
button.cf7-submit,
.cf7-form input[type="submit"].cf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 52px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--r-md);
  min-width: 320px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
  box-shadow: 0 4px 20px rgba(38, 164, 192, 0.28);
}
button.cf7-submit:hover,
.cf7-form input[type="submit"].cf7-submit:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(38, 164, 192, 0.35);
}
button.cf7-submit:disabled,
.cf7-form input[type="submit"].cf7-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ── レスポンシブ ── */
@media (max-width: 768px) {
  .cf7-check-grid { grid-template-columns: repeat(2, 1fr); }
  button.cf7-submit,
  .cf7-form input[type="submit"].cf7-submit {
    min-width: 0;
    width: 100%;
    padding: 16px 24px;
  }
}
@media (max-width: 480px) {
  .cf7-check-grid { grid-template-columns: 1fr; }
}

#vision{position: relative; background-image: url(../img/2025_HR_BrEdge-003.jpg); background-repeat: no-repeat; background-size: cover; color:#fff!important; margin-top:clamp(80px, 10vw, 140px); padding-bottom: 0; z-index: 0;}
#vision::after{background-color: rgba(0, 0, 0, 0.9); position: absolute; content: ""; top: 0; left: 0; height: 100%; width: 100%; z-index: -1; pointer-events: none;}
#vision > .container{position: relative; z-index: 2;}
#vision .section-header-en, #vision .section-header-jp, #vision p, #vision .brand-slogan, #vision .section-sub{color:#fff!important;}


/* ═══════════════════════════════════════════════
   service/cloud-tools.html
═══════════════════════════════════════════════ */

/* 対応可能ツール */
.tools-block {
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 40px);
}
.tools-block-title {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tools-block-title::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent);
  flex: 0 0 auto;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
}
.tools-category {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tools-cat-label {
  font-family: var(--num);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
}
.tools-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tool-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 7px 16px;
  line-height: 1.4;
  transition: all 0.25s;
}
.tool-tag:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: var(--accent-soft);
}
@media (max-width: 640px) {
  .tools-grid { grid-template-columns: 1fr; gap: 20px; }
}