@charset "UTF-8";
/* ==========================================================================
   enpay byGMO トップページ 再現用スタイル
   ※ ブランドカラーは本人確認済みの正式トークン（2026/07/14）。
     --brand-cta（CTAボタンのオレンジ）と --brand-yellow（強調テキストの黄）は
     公式パレットに該当色が無いため、本人確認の上あえて暫定色のまま維持している。
   ========================================================================== */

:root {
  --brand-main: #0068B7;
  --brand-main-dark: #004e89;
  --brand-cta: #ed991d;
  --brand-dark: #475569;
  --brand-accent: #d1d1d1;
  --brand-yellow: #ffc83d;
  --brand-koufuri: #3aab84;
  --brand-koufuri-dark: #2e8a6a;
  --color-severity-high: #ef4444;
  --color-severity-mid: #f59e0b;
  --color-severity-low: #10b981;
  --bg-page: #ffffff;
  --bg-page-alt: #F5F5F5;
  --bg-page-alt-2: #F4F6F9;
  --text-main: #1c2530;
  /* 補助テキスト色。#5b6673 は薄青背景で 5.58:1 と AA ぎりぎりで、現行サイトの本文
     #333(12.06:1) より体感で明らかに薄かった。#2f3844 で 11.33:1。
     コーポレートサイト(pages/corporate-site/style.css)と同じ値に揃えている。 */
  --text-sub: #2f3844;
  --bg-light-blue: #f1f7fb;
  --border-gray: #e5e9ec;
  --radius: 14px;
  --max-width: 1140px;
  --gmo-header-height: 29px; /* GMOグループ共通ヘッダー(.gmoGroupHeader)の実測高さ。position:fixed; top:0; z-index:99999999 */
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text-main);
  line-height: 1.8;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

ul { list-style: none; margin: 0; padding: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: var(--gmo-header-height);
  left: -9999px;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--brand-main);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb-bar {
  background: var(--bg-light-blue);
  border-bottom: 1px solid var(--border-gray);
}
.breadcrumb {
  padding: 12px 0;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  font-size: .8rem;
  color: var(--text-sub);
}
.breadcrumb li { display: flex; align-items: center; min-width: 0; }
.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin: 0 8px;
  color: var(--text-sub);
  flex-shrink: 0;
}
.breadcrumb a { color: var(--text-sub); }
.breadcrumb a:hover { color: var(--brand-main); }
.breadcrumb [aria-current="page"] {
  display: block;
  color: var(--text-main);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  max-width: 420px;
}
@media (max-width: 600px) {
  .breadcrumb [aria-current="page"] { max-width: 55vw; }
}

.btn-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--brand-cta);
  color: #fff;
  box-shadow: 0 8px 20px rgba(237,153,29,.35);
}
.btn-outline {
  background: #fff;
  color: var(--brand-dark);
  border: 2px solid var(--border-gray);
}
.btn-outline-blue {
  background: #fff;
  color: var(--brand-main);
  border: 2px solid var(--brand-main);
}
.btn-outline-green {
  background: #fff;
  color: #3aab84;
  border: 2px solid #3aab84;
}
.btn-white {
  background: #fff;
  color: var(--brand-dark);
}

.section {
  padding: 88px 0;
}
.section-gray { background: var(--bg-light-blue); }

.eyebrow {
  color: var(--brand-main);
  font-weight: 700;
  letter-spacing: .05em;
  font-size: .85rem;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.5;
  margin: 8px 0 20px;
}

.section-lead {
  color: var(--text-sub);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 0 48px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.top-notice {
  background: var(--brand-main);
  color: #fff;
  font-size: .8rem;
  text-align: center;
  padding: 8px 16px;
}
.top-notice a { color: #fff; font-weight: 700; margin-left: 6px; text-decoration: underline; }
.top-notice a::after { content: "›"; margin-left: 4px; text-decoration: none; display: inline-block; }

header.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border-gray);
  position: sticky;
  top: var(--gmo-header-height);
  z-index: 90;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 24px;
}
.logo img { height: 28px; }
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: flex-end;
  font-size: .88rem;
  color: var(--text-main);
}
nav.main-nav a:hover { color: var(--brand-main); }
.has-dropdown { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
.has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  color: var(--text-main);
  border-radius: 10px;
  padding: 18px 10px 10px;
  min-width: 220px;
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 8px 12px; border-radius: 6px; font-size: .85rem; }
.dropdown a:hover { background: var(--bg-light-blue); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .78rem;
  color: var(--text-main);
}
.header-cta .btn-primary { padding: 10px 20px; font-size: .82rem; }
.header-cta .icon-mail { font-size: 1.3em; }
.nav-toggle { display: none; background: none; border: none; color: var(--text-main); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 960px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(45deg, #80e8c8, #8ccbe6, #4b66af);
  color: #fff;
  padding: 72px 0 56px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}
.hero-copy img { max-width: 384px; margin-bottom: 24px; }
.hero-copy img.has-shadow { filter: drop-shadow(0 14px 26px rgba(0,0,0,.3)); }
.hero-copy p {
  font-size: 1.05rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero-image img { border-radius: var(--radius); }

.ad-banner { text-align: center; padding: 24px 0; }
.ad-banner a { display: inline-block; line-height: 0; }
.ad-banner img { margin: 0 auto; height: 100px; width: auto; max-width: 100%; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy img { margin: 0 auto 24px; }
  .hero-actions { justify-content: center; }
}

/* ---------- Sub-page hero (機能紹介 / 法人オプション / AI請求 系) ---------- */
.hero--collecting { background: linear-gradient(120deg, #bfe4ee 0%, #4a6fc4 100%); padding: 64px 0 0; text-align: left; }
.hero--corp { background: linear-gradient(63deg, #89d0e0, #3376c8); }
.hero--ai { background: linear-gradient(63deg, #89d0e0 27%, #8a2be2 100%); }
.hero-copy h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.4; margin: 0 0 20px; color: #fff; }
.hero-copy .accent { color: var(--brand-yellow); }
.hero--collecting .hero-image { max-width: 420px; margin: 0 0 0 auto; }
.hero-note { font-size: .78rem; color: rgba(255,255,255,.85); margin-top: 20px; }

/* ---------- Tab nav (機能紹介 pill tabs, box style) ---------- */
.func-tabs { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin: 40px 0 0; }
.func-tabs a {
  flex: 1 1 200px;
  max-width: 260px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius);
  padding: 20px 16px;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.func-tabs a span { display: block; color: var(--brand-main); margin-top: 6px; }
.func-tabs a:hover { color: var(--brand-main); }

/* ---------- Full-width colored function banner ---------- */
.func-banner {
  background: var(--brand-main);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  padding: 20px 28px;
  border-radius: 10px;
  margin: 0 0 32px;
}

/* ---------- Feature row: big image + text, 2 columns ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 0 0 56px;
}
.feature-row img { border-radius: 10px; }
.feature-row h3 { color: var(--brand-main); font-size: 1.3rem; margin: 0 0 10px; }
.feature-row .feature-lead { font-weight: 700; font-size: 1.05rem; margin: 0 0 12px; }
.feature-row p:last-child { color: var(--text-sub); margin: 0; }

/* ---------- Feature pair: two smaller items side by side, image on top ---------- */
.feature-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 0 0 56px;
}
.feature-pair-item img { border-radius: 10px; margin: 0 0 20px; }
.feature-pair-item h3 { color: var(--brand-main); font-size: 1.15rem; margin: 0 0 8px; }
.feature-pair-item .feature-lead { font-weight: 700; margin: 0 0 10px; }
.feature-pair-item p:last-child { color: var(--text-sub); margin: 0; }

@media (max-width: 860px) {
  .feature-row, .feature-pair { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Numbered feature (法人オプション / AI機能 の特徴) ---------- */
.numbered-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin: 0 0 72px; }
.numbered-feature .num { font-size: 3.2rem; font-style: italic; font-weight: 800; color: var(--brand-main); line-height: 1; margin: 0 0 8px; }
.numbered-feature h3 { font-size: 1.4rem; margin: 0 0 14px; }
.numbered-feature p { color: var(--text-sub); margin: 0; }
.numbered-feature img { border-radius: 10px; }
@media (max-width: 860px) {
  .numbered-feature { grid-template-columns: 1fr; gap: 20px; text-align: center; }
}

/* ---------- Plain image comparison row (no card chrome; images are pre-designed) ---------- */
.img-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.img-row img { border-radius: 10px; }
@media (max-width: 760px) {
  .img-row { grid-template-columns: 1fr; }
}

/* ---------- Merit / callout image grid (2x2, images self-contained) ---------- */
.merit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.merit-grid img { border-radius: 10px; }
@media (max-width: 760px) {
  .merit-grid { grid-template-columns: 1fr; }
}

/* ---------- Testimonial stack (お客様の声, full-width quote rows) ---------- */
.testimonial-stack { display: flex; flex-direction: column; gap: 24px; }
.testimonial-stack .quote-line { font-size: 1.05rem; line-height: 1.9; margin: 0; }
.testimonial-stack .quote-highlight { color: var(--brand-cta); font-weight: 700; }
.testimonial-stack .quote-attribution { text-align: right; color: var(--text-sub); font-size: .9rem; margin: 8px 0 0; }
.testimonial-card-2 {
  background: #fff;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
}

/* ---------- Intro text section ---------- */
.intro-text {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.intro-text .section-title { text-align: center; }
.intro-text p { color: var(--text-sub); }
.intro-text strong { color: var(--text-main); }

.intro-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  max-width: 960px;
  margin: 40px auto 0;
}
.intro-row-text { flex: 1 1 460px; max-width: 560px; }
.intro-row-text p { color: var(--text-main); margin: 0 0 20px; }
.intro-row-text p:last-child { margin-bottom: 0; }
.intro-row-text strong { color: var(--text-main); }
.intro-row-image { flex: 0 0 340px; max-width: 340px; }
.intro-row-image img { max-width: 100%; display: block; }
@media (max-width: 900px) {
  .intro-row { flex-direction: column; text-align: center; }
  .intro-row-image { order: -1; }
}

/* ---------- Features (alternating showcase rows, top page only) ---------- */
.feature-showcase { padding: 60px 0 80px; overflow: hidden; }
.feature-showcase .feature-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto 40px;
  max-width: 1920px;
}
.feature-showcase .feature-row:last-child { margin-bottom: 0; }
.feature-text {
  flex: 0 0 500px;
  max-width: 500px;
  padding: 0 60px;
  box-sizing: border-box;
}
.feature-num {
  font-size: 3.5rem;
  font-style: italic;
  font-weight: 800;
  color: var(--brand-main);
  line-height: 1;
  margin-bottom: 10px;
}
.feature-text h3 { font-size: 1.4rem; font-weight: 700; margin: 10px 0; line-height: 1.5; }
.feature-text p { font-size: .95rem; color: var(--text-main); line-height: 1.8; margin: 0; }
.feature-payment-logos { margin-top: 20px; }
.feature-payment-logos img { max-width: 100%; height: auto; display: block; }
.feature-image {
  flex: 1;
  max-width: 50vw;
  min-height: 320px;
  align-self: stretch;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-light-blue);
}

@media (max-width: 900px) {
  .feature-showcase .feature-row { flex-direction: column; }
  .feature-text { max-width: 100%; flex: 1 1 auto; padding: 0 24px; margin-bottom: 20px; }
  .feature-image { width: 100%; max-width: 100%; min-height: 220px; }
}

/* ---------- Flow ---------- */
.flow-section { text-align: center; }
.flow-section img { margin: 0 auto 32px; width: 70%; }

.effect-hero-img { display: block; width: 720px; max-width: 100%; margin: 0 auto 32px; }
.effect-bottom-img { display: block; width: 920px; max-width: 100%; margin: 0 auto; }

/* ---------- Final CTA (light blue, image + text) ---------- */
.cta-final {
  background: var(--bg-light-blue);
  color: var(--text-main);
}
.cta-final .section-title { color: var(--brand-main); margin-bottom: 40px; }
.cta-final-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  max-width: 960px;
  margin: 0 auto;
}
.cta-final-text { flex: 1 1 460px; max-width: 560px; }
.cta-final-text p { color: var(--text-main); margin: 0 0 28px; }
.cta-final-text strong { color: var(--text-main); }
.cta-final-image { flex: 0 0 340px; max-width: 340px; }
.cta-final-image img { max-width: 100%; display: block; }
@media (max-width: 900px) {
  .cta-final-row { flex-direction: column; text-align: center; }
  .cta-final-image { order: -1; }
  .cta-final-text .btn-row { justify-content: center; }
}

/* ---------- Effects / before-after table ---------- */
.effect-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
  font-size: 1.05rem;
}
.effect-table th, .effect-table td {
  padding: 28px 24px;
  vertical-align: top;
  text-align: left;
}
.effect-table thead th { font-style: italic; font-weight: 700; font-size: 1.15rem; text-align: center; }
.effect-table thead th.th-before { background: #e3e3e3; color: #1a1a1a; }
.effect-table thead th.th-after { background: var(--brand-main); color: #fff; }
.effect-table tbody td:first-child { color: var(--text-main); font-weight: 500; background: #fff; }
.effect-table tbody tr:nth-child(odd) td.before { background: #ececec; }
.effect-table tbody tr:nth-child(even) td.before { background: #fff; }
.effect-table tbody tr:nth-child(odd) td.after { background: #dbe8f8; }
.effect-table tbody tr:nth-child(even) td.after { background: #c2d7f0; }
.effect-table td.before { color: var(--text-main); }
.effect-table td.after { color: var(--text-main); }
.effect-table td.after strong { color: var(--brand-main); font-weight: 700; }
.effect-note { color: var(--text-sub); font-size: .85rem; }

/* ---------- External tools list table ---------- */
.exttools-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-size: .85rem;
}
.exttools-table th, .exttools-table td {
  padding: 12px 10px;
  border: 1px solid var(--border-gray);
  text-align: left;
  vertical-align: top;
}
.exttools-table thead th {
  background: #f5f7f9;
  color: var(--text-sub);
  font-weight: 700;
}
.effect-summary {
  text-align: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 32px 0;
}
.effect-summary .num-big { font-size: 2.4rem; }

/* ---------- CTA banner ---------- */
.cta-section { background: var(--bg-light-blue); padding: 44px 0; }
.cta-banner {
  color: var(--brand-dark);
  padding: 56px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}
.cta-banner img { border-radius: 10px; }
.cta-banner h3 { font-size: 1.4rem; margin: 0 0 20px; }
.cta-banner .btn-white { border: 2px solid var(--brand-dark); box-shadow: 0 4px 14px rgba(18,33,58,.12); }
@media (max-width: 900px) {
  .cta-banner { flex-direction: column; text-align: center; }
  .cta-banner .btn-row { justify-content: center; }
}

/* ---------- Case studies ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  position: relative;
  display: block;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow .2s ease, transform .2s ease;
}
.case-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.08); transform: translateY(-3px); }
.case-thumb { width: 100%; aspect-ratio: 1200 / 628; object-fit: cover; display: block; background: var(--bg-light-blue); }
.case-card-body { padding: 24px; }
.case-date { font-size: .75rem; font-weight: 700; color: var(--text-sub); margin-bottom: 10px; }
.case-title { font-weight: 700; font-size: .98rem; margin-bottom: 16px; }
.case-meta { font-size: .78rem; color: var(--text-sub); display: flex; flex-wrap: wrap; gap: 8px; }
.case-meta span { background: var(--bg-light-blue); padding: 3px 10px; border-radius: 999px; }

.case-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.case-tag--enpay { background: var(--brand-main); }
.case-tag--koufuri { background: #3aab84; }

.case-filter-groups { margin-bottom: 20px; }
.case-filter-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.case-filter-label {
  flex: 0 0 auto;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-sub);
  min-width: 76px;
}
.case-filter-select {
  padding: 8px 34px 8px 18px;
  border-radius: 999px;
  border: 2px solid var(--border-gray);
  background: #fff;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  font-family: inherit;
}
.case-filter-select:hover { border-color: var(--brand-main); }
.case-filter-row--selects { justify-content: space-between; width: 100%; }
.case-filter-pair { display: flex; align-items: center; gap: 10px; }

.case-filter { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.case-filter-row .case-filter { margin-bottom: 0; }
.case-filter-btn {
  padding: 8px 22px;
  border-radius: 999px;
  border: 2px solid var(--border-gray);
  background: #fff;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.case-filter-btn:hover { border-color: var(--brand-main); }
.case-filter-btn[data-filter="koufuri"]:hover { border-color: #3aab84; }
.case-filter-btn.is-active { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.case-filter-btn[data-filter="enpay"].is-active { background: var(--brand-main); border-color: var(--brand-main); }
.case-filter-btn[data-filter="koufuri"].is-active { background: #3aab84; border-color: #3aab84; }

@media (max-width: 900px) {
  .case-grid { grid-template-columns: 1fr; }
}

/* ---------- Whitepapers (list page) ---------- */
.wp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.wp-card {
  display: block;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow .2s ease, transform .2s ease;
}
.wp-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.08); transform: translateY(-3px); }
.wp-card-thumb { width: 100%; aspect-ratio: 1200 / 628; object-fit: cover; display: block; }
.wp-card-body { padding: 20px; }
.wp-card-title { font-weight: 700; font-size: .95rem; margin-bottom: 10px; }
.wp-card-lead {
  font-size: .8rem;
  color: var(--text-sub);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .wp-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border-gray);
  padding: 22px 0;
}
.faq-item .faq-q {
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.faq-item .faq-q .q-mark {
  color: var(--brand-main);
  font-size: 1.43rem;
  flex-shrink: 0;
}
.faq-item p {
  margin: 14px 0 0 30px;
  color: var(--text-sub);
  font-size: .92rem;
}

/* ---------- Simple lists (resources / events / news) ---------- */
.simple-list { max-width: 800px; margin: 0 auto; }
.simple-list li {
  border-bottom: 1px solid var(--border-gray);
  padding: 18px 4px;
}
.simple-list a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
}
.simple-list a:hover .list-title { color: var(--brand-main); }
.list-date { color: var(--text-sub); font-size: .8rem; flex-shrink: 0; }
.list-title { font-size: .95rem; }

/* 日付＋カテゴリタグ＋タイトルの3要素を持つリスト（ニュース一覧など）専用。
   タグの文字数が変わっても列幅が変動しないよう、グリッドで固定幅にする。
   タイトルの開始位置が縦にきれいに揃う。 */
.simple-list--news a {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: baseline;
  gap: 20px;
  justify-content: normal;
}
.simple-list--news .list-meta {
  display: grid;
  grid-template-columns: 86px 104px;
  align-items: baseline;
  gap: 10px;
}
.simple-list--news .list-date { white-space: nowrap; }
.simple-list--news .news-tag {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
}
.simple-list--news .list-title { text-align: left; }

@media (max-width: 600px) {
  .simple-list--news a { grid-template-columns: 1fr; gap: 6px; }
  .simple-list--news .list-meta { grid-template-columns: auto auto; justify-content: start; }
}

.event-item .event-meta { font-size: .75rem; color: var(--text-sub); display:flex; gap:12px; margin-bottom:6px; }
.event-tag { background: var(--brand-main); color: #fff; padding: 2px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; }

/* ---------- News list ---------- */
.list-meta { display: flex; align-items: baseline; gap: 10px; flex-shrink: 0; }
.news-tag { background: var(--brand-main); color: #fff; padding: 2px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; white-space: nowrap; }

/* ---------- News detail share buttons ---------- */
.news-meta-line { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; }
.news-date { font-size: .85rem; color: var(--text-sub); }
.news-share { display: flex; align-items: center; gap: 12px; margin: 0 0 32px; }
.news-share-btn {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.news-share-btn img { width: 100%; height: 100%; display: block; }
.news-copy-btn.copied::after {
  content: "コピーしました";
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-dark);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 6px;
}

/* ---------- News detail prev/next pager ---------- */
.news-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin: 40px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--border-gray);
}
.news-pager-side { display: flex; min-width: 0; }
.news-pager-side--next { justify-content: flex-end; text-align: right; }
.news-pager-prev, .news-pager-next {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  font-size: .88rem;
  color: var(--text-main);
  line-height: 1.6;
  text-decoration: none;
}
.news-pager-arrow { flex-shrink: 0; display: inline-flex; margin-top: 3px; }
.news-pager-arrow .pager-icon { display: block; }
.news-pager-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news-pager-prev:hover, .news-pager-next:hover { color: var(--brand-main); }
.news-pager-list { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 700px) {
  .news-pager { grid-template-columns: 1fr; text-align: center; }
  .news-pager-side--next { justify-content: center; text-align: center; }
}

/* ---------- Pager ---------- */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 36px 0 0; }
.pager-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text-main);
  font-size: .85rem;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.pager-btn:hover:not(:disabled) { border-color: var(--brand-main); color: var(--brand-main); }
.pager-btn.is-active { background: var(--brand-main); border-color: var(--brand-main); color: #fff; }
.pager-btn:disabled { opacity: .4; cursor: not-allowed; }
.pager-nav { font-size: .8rem; }

.list-more { text-align: center; margin-top: 28px; }

/* ---------- Event cards (with thumbnail) ---------- */
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.event-card {
  display: block;
  position: relative;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow .2s ease, transform .2s ease;
}
.event-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.08); transform: translateY(-3px); }
.event-card img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.event-card .event-card-body { padding: 18px 20px; }
.event-card .event-meta { font-size: .75rem; color: var(--text-sub); display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.event-card .event-card-title { font-size: .92rem; font-weight: 700; line-height: 1.6; }

/* 終了イベント：グレースケール化＋opacity低下＋「終了」バッジ（サムネイル左上）。
   event-meta の「開催日」ラベル文言自体は変えない（is-ended は script.js が自動付与）。 */
.event-card.is-ended { opacity: .65; }
.event-card.is-ended img { filter: grayscale(.85); }
.event-card.is-ended::after {
  content: "終了";
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(20, 20, 20, .82);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 5px 14px;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .event-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .event-grid { grid-template-columns: 1fr; }
}

/* ---------- Security section ---------- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.security-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius);
  padding: 24px;
}
.security-card img { width: 90px; }
.security-card h4 { margin: 0 0 6px; }
.security-card p { margin: 0; font-size: .85rem; color: var(--text-sub); }

.patent-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.patent-group h4 { color: var(--text-main); font-size: .95rem; margin: 0 0 4px; }
.patent-item { font-size: .8rem; color: var(--text-sub); line-height: 1.5; margin-bottom: 4px; }

@media (max-width: 900px) {
  .security-grid { grid-template-columns: 1fr; }
  .patent-group { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Footer ---------- */
/* ---------- Footer security section (GMOグループ共通) ---------- */
.footer-security {
  border-top: 1px solid var(--border-gray);
  padding: 40px 0 0;
}
.footer-security-inner {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-gray);
}
.footer-security-logo { display: inline-block; }
.footer-security-logo img { height: 20px; display: block; }

footer {
  background: var(--brand-dark);
  color: #cfe0ea;
  padding: 64px 0 24px;
  font-size: .85rem;
}
.footer-top { margin-bottom: 40px; }
.footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.footer-col h2 { color: #fff; margin: 0 0 14px; font-size: .9rem; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #fff; transition: opacity .15s ease; }
.footer-col a:hover { color: #fff; opacity: .5; }
.footer-col--legal a { font-size: .75rem; color: #9fb2c2; }
.footer-col--legal a:hover { color: #9fb2c2; opacity: .5; }
.footer-sublabel { display: block; font-size: .8rem; color: #cfe0ea; font-weight: 500; margin-bottom: 3px; }
.footer-sublabel--below { margin-top: 4px; margin-bottom: 0; }
.footer-sub-link { margin-left: 14px; }
.footer-sub-link a { font-size: .85rem; color: #fff; }
.footer-sub-link--flush { margin-left: 0; }
.footer-sub-link .icon-external { font-size: .8em; margin-left: 2px; }
.footer-service-name { font-size: 1.05rem; font-weight: 700; color: #fff; }
.footer-service-name:hover { color: #fff; opacity: .8; }
.footer-service-logo { height: 44px; display: block; margin: 2px 0 8px; filter: brightness(0) invert(1); }
.footer-service-group { border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 14px 16px 12px; margin-bottom: 14px; }
.footer-service-group--koufuri { border-color: rgba(255,255,255,.25); }

.footer-bottom {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .75rem;
  color: #7d93a5;
  text-align: right;
}

@media (max-width: 960px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
}

.skip-note {
  background: #fff8e1;
  border: 1px dashed #e0c14a;
  color: #7a5c00;
  font-size: .78rem;
  padding: 10px 16px;
  text-align: center;
}

/* ---------- Detail pages (news / case studies) ---------- */
.detail-body { font-size: .98rem; }
.detail-body h2 { font-size: 1.3rem; margin: 40px 0 16px; }
.detail-body h3 { font-size: 1.1rem; margin: 32px 0 12px; }
.detail-body p { margin: 0 0 20px; color: var(--text-main); }
.detail-body img { border-radius: 10px; margin: 24px 0; }
.detail-body ul, .detail-body ol { margin: 0 0 20px; padding-left: 1.4em; color: var(--text-main); }
.link-underline { color: var(--brand-main); text-decoration: underline; }
.link-underline:hover { opacity: .7; }

/* ---------- Case study detail page (voice-customer) ---------- */
.voice-hero { background: var(--bg-light-blue); padding: 56px 0 0; }
.voice-hero .wrap { max-width: 940px; }
.voice-service-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
  margin-bottom: 14px;
}
.voice-service-tag--enpay { background: var(--brand-main); }
.voice-service-tag--koufuri { background: #3aab84; }
.voice-date { font-size: .9rem; color: var(--text-sub); margin: 0 0 10px; }
.voice-hero h1.section-title { text-align: left; font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin: 0 0 20px; }
.voice-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--text-main); margin: 0; padding-bottom: 32px; }
.voice-hero-meta span { background: #fff; padding: 3px 12px; border-radius: 999px; }

.voice-hero-img-wrap { background: var(--bg-light-blue); padding: 0 0 56px; }
.voice-hero-img-wrap .wrap { max-width: 940px; }
.voice-hero-img { display: block; width: 100%; height: 380px; object-fit: cover; border-radius: 8px; margin: 0; }

.voice-body-wrap { max-width: 940px; margin: 0 auto; }

.voice-summary-card {
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(1, 105, 183, .3);
  border-radius: 6px;
  padding: 24px;
  margin: 0 0 40px;
}
.voice-summary-card img { width: 150px; flex-shrink: 0; }
.voice-summary-card h2 { color: var(--brand-main); font-size: 1.05rem; font-weight: 700; margin: 0 0 10px; }
.voice-summary-list { list-style: disc; margin: 0; padding-left: 20px; color: var(--text-main); }
.voice-summary-list li { margin-bottom: 6px; }

.voice-speaker-note {
  border-left: 3px solid var(--brand-main);
  background: var(--bg-light-blue);
  padding: 16px 20px;
  margin: 0 0 40px;
  border-radius: 0 6px 6px 0;
}
.voice-speaker-note p { margin: 0 0 4px; color: var(--text-main); }
.voice-speaker-note p:last-child { margin-bottom: 0; }

.voice-speaker-photo {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border-gray);
  border-radius: 6px;
  padding: 16px 20px;
  margin: 0 0 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.voice-speaker-photo img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.voice-speaker-photo p { margin: 0; font-size: .85rem; color: var(--text-sub); }
.voice-speaker-photo strong { display: block; font-size: .95rem; color: var(--text-main); margin-top: 2px; }

.voice-quote {
  background: var(--bg-light-blue);
  color: var(--brand-main);
  font-size: 1.3rem;
  font-weight: 500;
  padding: 12px 20px;
  margin: 48px 0 20px;
}
.voice-quote:first-of-type { margin-top: 0; }

.voice-body-wrap h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-main); margin: 32px 0 14px; line-height: 1.5; }
.voice-body-wrap .voice-quote + h3 { margin-top: 0; }

/* ---------- Case study facility info table ---------- */
.facility-table {
  background: var(--bg-light-blue);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 0 0 32px;
}
.facility-row { display: flex; gap: 8px; padding: 6px 0; font-size: .92rem; flex-wrap: wrap; }
.facility-label { color: var(--text-sub); flex-shrink: 0; min-width: 7em; }
.facility-value { color: var(--text-main); word-break: break-word; }

.voice-back-link { text-align: center; margin-top: 8px; }

/* ---------- Case study detail: recommended cases ---------- */
.recommended-cases-section {
  margin: 8px 0 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-gray);
}
.rec-cases-head { margin-bottom: 20px; }
.rec-cases-head h2 { font-size: 1.2rem; font-weight: 700; color: var(--text-main); margin: 0 0 6px; }
.rec-cases-sub { font-size: .84rem; color: var(--text-sub); margin: 0; }

.rec-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.rec-case-card {
  position: relative;
  display: block;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow .2s ease, transform .2s ease;
}
.rec-case-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.08); transform: translateY(-3px); }
.rec-case-thumb-wrap { position: relative; }
.rec-case-thumb { width: 100%; aspect-ratio: 1200 / 628; object-fit: cover; display: block; background: var(--bg-light-blue); }
.rec-case-body { padding: 16px; }
.rec-case-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.rec-case-badge {
  font-size: .7rem;
  font-weight: 700;
  color: var(--brand-main);
  background: var(--bg-light-blue);
  padding: 3px 10px;
  border-radius: 999px;
}
.rec-case-title {
  font-weight: 700;
  font-size: .88rem;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-case-meta { font-size: .74rem; color: var(--text-sub); display: flex; flex-wrap: wrap; gap: 6px; }
.rec-case-meta span { background: var(--bg-light-blue); padding: 2px 9px; border-radius: 999px; }

@media (max-width: 780px) {
  .rec-case-grid {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    margin: 0 -20px;
    padding: 0 20px 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .rec-case-card { flex: 0 0 78%; scroll-snap-align: start; }
}

/* ---------- Whitepaper detail page ---------- */
.wp-thumb { border-radius: var(--radius); margin: 24px 0 32px; width: 100%; }
.wp-lead { font-size: 1rem; color: var(--text-main); margin: 0 0 32px; }
.wp-form-embed {
  margin: 8px 0 48px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-gray);
  background: var(--bg-light-blue);
}
.wp-form-embed iframe { width: 100%; min-height: 640px; border: 0; display: block; }

.inquiry-cta {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--bg-light-blue);
  border-radius: var(--radius);
  padding: 28px;
  margin: 0 0 56px;
}
.inquiry-cta img { width: 44px; height: 44px; flex-shrink: 0; }
.inquiry-cta h4 { margin: 0 0 8px; font-size: 1.05rem; }
.inquiry-cta p { margin: 0 0 16px; color: var(--text-sub); font-size: .88rem; }

/* ---------- Inquiry / contact form pages ---------- */
.inquiry-page-header {
  padding: 32px 0 12px;
  text-align: center;
}
.inquiry-page-header .logo img { height: 20px; }

.inquiry-section { padding: 40px 0 64px; }
.inquiry-section .eyebrow { display: block; text-align: center; }
.inquiry-section .section-title { text-align: center; }
.inquiry-lead { font-size: .92rem; color: var(--text-sub); margin: 12px auto 0; max-width: 560px; line-height: 1.8; text-align: center; }
.inquiry-lead a { color: var(--brand-main); font-weight: 700; }
.inquiry-subnote {
  background: var(--bg-light-blue);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: .85rem;
  color: var(--text-main);
  text-align: center;
  margin: 20px auto 0;
  max-width: 560px;
}
.inquiry-subnote a { color: var(--brand-main); font-weight: 700; }

/* カテゴリタブ（導入の問い合わせ/ご利用中のお客様/資料請求/その他） */
.inquiry-category-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.inquiry-category-btn {
  appearance: none;
  border: 2px solid var(--border-gray);
  background: #fff;
  color: var(--brand-dark);
  font-family: inherit;
  font-size: .9rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.inquiry-category-btn:hover { border-color: var(--brand-main); }
.inquiry-category-btn.is-active { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

.inquiry-category-panel { display: none; padding-top: 32px; }
.inquiry-category-panel.is-active { display: block; }
.inquiry-category-lead { text-align: center; font-size: .88rem; color: var(--text-sub); margin: 0 0 28px; }

.inquiry-tabs { margin-top: 0; }
.inquiry-tab-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  border-bottom: 1px solid var(--border-gray);
  padding-bottom: 0;
}
.inquiry-tab-btn {
  appearance: none;
  border: 1px solid var(--border-gray);
  border-bottom: none;
  background: var(--bg-light-blue);
  color: var(--text-sub);
  font-family: inherit;
  font-size: .88rem;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  margin-bottom: -1px;
  transition: background .15s ease, color .15s ease;
}
.inquiry-tab-btn:hover { color: var(--brand-main); }
.inquiry-tab-btn.is-active {
  background: #fff;
  color: var(--brand-main);
  border-color: var(--border-gray);
  border-bottom: 1px solid #fff;
}
.inquiry-tab-btn[data-tab-target="koufuri"]:hover { color: #3aab84; }
.inquiry-tab-btn[data-tab-target="koufuri"].is-active { color: #3aab84; border-bottom: 1px solid #fff; }
.inquiry-tab-panel { display: none; padding-top: 24px; }
.inquiry-tab-panel.is-active { display: block; }
.inquiry-tab-panel .wp-form-embed { margin: 0; background: #fff; }
.inquiry-tab-panel .wp-form-embed iframe { min-height: 1200px; }
.inquiry-category-panel[data-category-panel="request"] .wp-form-embed { background: #fff; }
.inquiry-category-panel[data-category-panel="request"] .wp-form-embed iframe { min-height: 1200px; }

@media (max-width: 640px) {
  .inquiry-tab-nav { border-bottom: none; gap: 6px; }
  .inquiry-tab-btn { border-radius: 999px; border-bottom: 1px solid var(--border-gray); flex: 1 1 auto; font-size: .8rem; padding: 10px 14px; margin-bottom: 0; }
  .inquiry-tab-btn.is-active { border-color: var(--brand-main); background: var(--brand-main); color: #fff; }
  .inquiry-tab-btn[data-tab-target="koufuri"].is-active { border-color: #3aab84; background: #3aab84; color: #fff; }
}

/* ---------- Simple native contact form (inquiry-users / general inquiry) ---------- */
.simple-form { max-width: 560px; margin: 0 auto; }
.form-group { margin-bottom: 22px; }
.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}
.form-required {
  font-size: .68rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand-cta);
  padding: 2px 8px;
  border-radius: 999px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  font-family: inherit;
  font-size: .92rem;
  color: var(--text-main);
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: 2px solid var(--brand-main); outline-offset: 1px; }
.form-checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--text-main); }
.form-checkbox-row input { margin-top: 3px; }
.form-submit-row { text-align: center; margin-top: 32px; }
.form-submit-btn {
  appearance: none;
  border: none;
  background: var(--brand-main);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 56px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease;
}
.form-submit-btn:hover { background: var(--brand-main-dark); }
.form-submit-btn[href] { display: inline-block; text-decoration: none; text-align: center; }
.form-submit-btn--koufuri { background: var(--brand-koufuri); }
.form-submit-btn--koufuri:hover { background: var(--brand-koufuri-dark); }

.inquiry-chat-support { display: flex; flex-direction: row; justify-content: center; gap: 32px; margin: 0 auto; }
.inquiry-chat-support-item { text-align: center; }
.inquiry-chat-support-label { display: block; font-weight: 700; font-size: .9rem; color: var(--text-main); margin-bottom: 12px; }
@media (max-width: 900px) {
  .inquiry-chat-support { flex-direction: column; max-width: 420px; gap: 24px; }
}

/* ---------- Function pages (tab nav / compare / testimonials) ---------- */
.tab-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 32px 0 0;
}
.tab-nav a {
  padding: 10px 28px;
  border-radius: 999px;
  background: var(--bg-light-blue);
  color: var(--brand-main-dark);
  font-weight: 700;
  font-size: .9rem;
}
.tab-nav a:hover { background: var(--brand-main); color: #fff; }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin: 32px 0;
}
.compare-grid figure { margin: 0; text-align: center; }
.compare-grid img { border-radius: var(--radius); border: 1px solid var(--border-gray); }
.compare-grid figcaption { margin-top: 10px; font-size: .82rem; color: var(--text-sub); }
.compare-grid .compare-arrow { width: 28px; }
@media (max-width: 760px) {
  .compare-grid { grid-template-columns: 1fr; }
  .compare-grid .compare-arrow { transform: rotate(90deg); margin: 0 auto; }
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-light-blue);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.testimonial-card p.quote {
  margin: 0 0 16px;
  font-size: .95rem;
  color: var(--text-main);
}
.testimonial-card .quote-by { font-size: .8rem; color: var(--text-sub); }
@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

.step-note {
  text-align: center;
  color: var(--text-sub);
  font-size: .85rem;
  margin: 0 0 12px;
}

/* ==========================================================================
   コーポレートサイト / ミッション / 会社概要 / 採用情報 / koufuri+ ページ用
   ========================================================================== */

/* ---------- Alt header variants (corporate site / koufuri+) ---------- */
.top-notice--light { background: #f1f4f7; color: var(--text-main); border-bottom: 1px solid var(--border-gray); }
.top-notice--light a { color: var(--brand-main); }
.header--corp .logo img { height: 20px; }
.header--koufuri .logo img { height: 26px; }
.header--koufuri .header-cta .btn-primary { background: var(--brand-cta); box-shadow: 0 8px 20px rgba(237,153,29,.3); }

/* ---------- Corporate hero (bokeh gradient, centered copy) ---------- */
.hero--bokeh {
  background:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,.55), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.4), transparent 35%),
    radial-gradient(circle at 70% 85%, rgba(255,255,255,.35), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(255,255,255,.3), transparent 35%),
    linear-gradient(135deg, #bcd9ec, #8fb7de);
  color: #fff;
  text-align: center;
  padding: 100px 0;
}
.hero--bokeh .eyebrow { color: rgba(255,255,255,.9); }
.hero--bokeh h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; margin: 12px 0 24px; }
.hero--bokeh p.lead { max-width: 700px; margin: 0 auto; font-size: .95rem; line-height: 2.1; color: rgba(255,255,255,.92); }
.section-bokeh { background: linear-gradient(180deg, #90b8dd, #7aa0d2); color: #fff; padding: 80px 0; }
.section-bokeh .eyebrow { color: rgba(255,255,255,.9); }
.section-bokeh .section-title { color: #fff; }

/* ---------- Large italic eyebrow + small JP label (corporate-site section headers) ---------- */
.eyebrow-lg { font-style: italic; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 2px; }
.eyebrow-jp { font-size: .95rem; margin: 0 0 28px; opacity: .85; }

/* ---------- Service intro rows (corporation SERVICE section) ---------- */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--border-gray); }
.service-row:last-child { border-bottom: none; }
.service-row img.service-logo { height: 68px; margin-bottom: 18px; }
.service-row .service-copy { color: var(--text-sub); margin: 0 0 22px; }
.service-row img.service-shot { border-radius: 10px; }
@media (max-width: 860px) { .service-row { grid-template-columns: 1fr; } }

/* ---------- Company profile cards (3-card grid w/ photo) ---------- */
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.profile-card { display: block; }
.profile-card .profile-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.profile-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-card .profile-overlay { position: absolute; inset: 0; background: rgba(20,30,50,.28); display: flex; align-items: center; justify-content: center; padding: 20px; }
.profile-card .profile-overlay img { width: auto; height: auto; max-width: 70%; object-fit: contain; }
.profile-card figcaption { text-align: center; margin: 14px 0 0; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; }
.profile-card:hover figcaption { color: var(--brand-main); }
@media (max-width: 860px) { .profile-grid { grid-template-columns: 1fr; } }

/* ---------- Photo gallery row ---------- */
.photo-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photo-gallery img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 860px) { .photo-gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- Value cards (MISSION page, 2x2 gradient cards) ---------- */
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.value-card { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius); padding: 48px 32px; text-align: center; color: #fff; }
.value-card h3 { font-size: 1.7rem; font-style: italic; font-weight: 800; margin: 0 0 8px; }
.value-card .value-jp { font-weight: 700; margin: 0 0 18px; }
.value-card p.value-desc { font-size: .88rem; color: rgba(255,255,255,.92); margin: 0 0 26px; line-height: 1.9; }
.value-card .btn-outline-white { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; border-radius: 999px; border: 1px solid rgba(255,255,255,.6); color: #fff; font-size: .8rem; font-weight: 700; background: none; cursor: pointer; font-family: inherit; }
.value-card .btn-outline-white:hover { background: rgba(255,255,255,.15); }
@media (max-width: 760px) { .value-grid { grid-template-columns: 1fr; } }

/* ---------- Value detail modal (ミッションページ READ MORE) ---------- */
.value-modal { display: none; position: fixed; inset: 0; background: rgba(10,20,30,.55); z-index: 200; align-items: center; justify-content: center; padding: 24px; }
.value-modal.is-open { display: flex; }
.value-modal-box { background: #fff; border-radius: var(--radius); max-width: 560px; width: 100%; max-height: 80vh; overflow-y: auto; padding: 44px 36px; position: relative; }
.value-modal-box h3 { font-size: 1.6rem; font-style: italic; font-weight: 800; color: var(--brand-main); margin: 0 0 20px; }
.value-modal-box p { color: var(--text-main); line-height: 1.9; margin: 0; }
.value-modal-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border-gray); background: #fff; font-size: 1.1rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-sub);
}
.value-modal-close:hover { background: var(--bg-light-blue); }

/* ---------- Company info table rows ---------- */
.info-table { border-top: 1px solid var(--border-gray); }
.info-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--border-gray); }
.info-row dt { font-weight: 700; color: var(--text-main); margin: 0; }
.info-row dd { margin: 0; color: var(--text-sub); line-height: 1.9; }
.info-row dd a { color: var(--brand-main); text-decoration: underline; }
.info-row dd p { margin: 0 0 4px; }
@media (max-width: 640px) { .info-row { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Recruit hero (photo bg) ---------- */
.hero--recruit {
  background: linear-gradient(rgba(10,15,20,.45), rgba(10,15,20,.45)), url("/assets/common/6981b4597ff8c9891e455e1d_bg_01.png");
  background-size: cover;
  background-position: center top;
  color: #fff;
  text-align: center;
  padding: 130px 0;
}
.hero--recruit h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-style: italic; font-weight: 800; margin: 0; letter-spacing: .02em; }

/* ---------- Workstyle section (mountain bg photo) ---------- */
.workstyle-section {
  background: linear-gradient(rgba(10,20,30,.4), rgba(10,20,30,.6)), url("/assets/common/61b77cbff5359994fb911e4a_maintenance.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 88px 0;
}
.workstyle-section .eyebrow { color: rgba(255,255,255,.85); }
.workstyle-section .section-title { color: #fff; }
.workstyle-section .info-row { border-color: rgba(255,255,255,.25); }
.workstyle-section .info-row dt { color: #fff; }
.workstyle-section .info-row dd { color: rgba(255,255,255,.88); }

/* ---------- koufuri+ ブランドカラー（公式トークン #0FA789 グリーン） ---------- */
/* koufuri+ 関連ページ本体に .page-koufuri を付与すると、共通クラス(.eyebrow / nav hover 等が
   参照する --brand-main）がこのページ内だけグリーンに切り替わる。 */
.page-koufuri {
  --brand-main: #0FA789;
  --brand-main-dark: #0b7d67;
}
.hero--koufuri { background: linear-gradient(120deg, #e2f2ec, #c3e3d7); color: var(--text-main); padding: 56px 0; overflow: visible; }
.hero--koufuri .hero-copy h1 { color: var(--text-main); font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; line-height: 1.5; }
.hero--koufuri .accent-green { color: #2c8a69; }
.hero--koufuri .hero-copy p.hero-desc { color: var(--text-sub); text-shadow: none; font-size: .95rem; }
.hero--koufuri .badge-note { display: inline-block; background: #fdf1c8; color: #8a6d00; font-size: .75rem; font-weight: 700; padding: 5px 16px; border-radius: 999px; margin-bottom: 10px; }
.btn-koufuri { background: #3aab84; color: #fff; box-shadow: 0 8px 20px rgba(58,171,132,.3); }

/* ---------- Comparison boxes (koufuri+ vs 一般的な口座振替) ---------- */
.compare-box-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.compare-box { border: 1px solid var(--border-gray); border-radius: var(--radius); padding: 28px; }
.compare-box.is-highlight { background: #eef8f4; border-color: transparent; }
.compare-box .compare-box-logo { height: 26px; margin-bottom: 16px; }
.compare-box h4 { margin: 0 0 14px; font-size: 1.05rem; }
.compare-box p { color: var(--text-sub); font-size: .88rem; margin: 0 0 18px; }
.compare-box img { border-radius: 8px; }
@media (max-width: 860px) { .compare-box-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonial with avatar (koufuri+ 導入施設の声) ---------- */
.testimonial-people { max-width: 820px; margin: 0 auto; }
.testimonial-person { display: flex; gap: 20px; align-items: flex-start; padding: 26px 0; border-bottom: 1px solid var(--border-gray); }
.testimonial-person:last-child { border-bottom: none; }
.testimonial-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial-person h4 { margin: 0 0 10px; font-size: 1rem; }
.testimonial-person p { margin: 0 0 10px; color: var(--text-sub); }
.testimonial-person a { color: var(--brand-main); font-weight: 700; font-size: .85rem; }

/* ---------- Benefit row (支払う人にも便利) ---------- */
.benefit-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.benefit-row ul { margin: 20px 0 0; }
.benefit-row li { padding: 8px 0 8px 22px; position: relative; color: var(--text-sub); }
.benefit-row li::before { content: "・"; position: absolute; left: 0; color: #2f8f6f; font-weight: 700; }
@media (max-width: 860px) { .benefit-row { grid-template-columns: 1fr; } }

/* ---------- 補助金活用のご案内 LP (subsidy-portal) ---------- */
.hero--subsidy {
  background: url("/assets/common/65dc5580e48a1e375cfb1b84_subsidy-portal_hero_pc_0226.webp") center center / cover no-repeat;
  height: 600px;
  padding: 120px 0 0;
  box-sizing: border-box;
}
.hero--subsidy .hero-inner { max-width: 620px; }
.hero--subsidy .hero-eyebrow { font-size: 1.05rem; font-weight: 700; color: #333; margin: 0 0 14px; line-height: 1.5; }
.hero--subsidy h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; color: var(--brand-main); line-height: 1.3; margin: 0 0 28px; }
.hero--subsidy .hero-card {
  background: #fff;
  border: 1px solid var(--brand-main);
  border-radius: 8px;
  padding: 26px 30px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero--subsidy .hero-lead { font-size: .95rem; font-weight: 700; margin: 0; color: var(--brand-dark); }
@media (max-width: 900px) {
  .hero--subsidy { height: auto; padding: 60px 0 260px; background-position: center 20%; }
  .hero--subsidy .hero-card { flex-direction: column; text-align: center; }
}

.subsidy-card { background: #fff; border-radius: 10px; padding: 40px 44px 44px; margin-bottom: 28px; box-shadow: 0 8px 25px rgba(0,0,0,.1); }
.subsidy-card h3 { font-size: 1.25rem; font-weight: 700; text-align: center; margin: 0 0 16px; }
.subsidy-card .subsidy-desc { color: var(--text-main); margin: 0 0 24px; font-size: .92rem; line-height: 1.9; }
.subsidy-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.subsidy-meta-item { border: 1px solid var(--brand-main); border-radius: 6px; padding: 14px 16px 16px; text-align: center; }
.subsidy-meta-item h4 { font-size: 1rem; color: var(--brand-main); font-weight: 700; margin: 0; }
.subsidy-meta-rule { height: 1px; background: var(--brand-main); width: 88%; margin: 10px auto; }
.subsidy-meta-item p { margin: 0; font-weight: 700; font-size: .88rem; }
.subsidy-logos { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.subsidy-logos img { height: 24px; }
@media (max-width: 700px) {
  .subsidy-card { padding: 28px 24px 32px; }
  .subsidy-meta { grid-template-columns: 1fr; }
}

.subsidy-cta { background: var(--bg-light-blue); border-radius: var(--radius); padding: 48px 40px; text-align: center; }
.subsidy-cta h2 { margin: 0 0 12px; }
.subsidy-cta p { color: var(--text-sub); margin: 0 0 28px; }

/* ---------- Slide embed mock (会社紹介資料 / speakerdeck-style link card) ---------- */
.slide-embed { max-width: 760px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-gray); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.slide-embed-bar { background: #fff; padding: 12px 18px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border-gray); font-size: .85rem; color: var(--text-sub); }
.slide-embed-bar img { height: 20px; }
.slide-embed-body { background: linear-gradient(120deg, #2a5db0, #1c3f7d); color: #fff; padding: 64px 40px; text-align: center; }
.slide-embed-body img { height: 40px; margin: 0 auto 16px; }
.slide-embed-body h4 { font-size: 1.6rem; margin: 0 0 8px; }
.slide-embed-body p { color: rgba(255,255,255,.75); font-size: .8rem; margin: 24px 0 0; }

/* ---------- developers.enpay.co.jp（別サブドメイン。本体サイトのnav/breadcrumbは使わない） ---------- */
.dev-topbar { padding: 24px 0; }
/* 404ページ専用のロゴヘッダー。ロゴは右寄せ */
.dev-topbar .wrap { display: flex; justify-content: flex-end; }
.dev-topbar .logo img { height: 28px; width: auto; }

/* developersページ共通の左右ガター。共通の .wrap は固定24pxだが、
   このページはヘッダー・hero・各セクション・フッターすべてを 24px〜64px の
   可変ガターに揃える（画面幅を狭めても余白が潰れない）。
   本家 web-corporate-version-03 側には影響しない。 */
.page-developers .wrap {
  padding-left: clamp(24px, 5vw, 64px);
  padding-right: clamp(24px, 5vw, 64px);
}
/* フッターだけは対象外。リンクの列数が多く、ガターを広げると
   「口座振替業務支援サービス」などの項目名が折り返してしまうため元の24pxのまま。 */
.page-developers footer .wrap {
  padding-left: 24px;
  padding-right: 24px;
}

/* 背景は実サイト（developers.enpay.co.jp の .section-2）の計算値に合わせている。
   共通変数 --bg-light-blue（#f1f7fb）だと青みが薄く、別物になっていた。 */
.dev-hero { background-color: #f5f7fa; background-image: linear-gradient(309deg, #ddedfa, #fff); padding: 64px 0 56px; overflow: hidden; }
.dev-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.dev-hero-copy { max-width: 560px; }
.dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--brand-main);
  border-radius: 999px;
  color: var(--brand-main);
  font-size: .85rem;
  font-weight: 700;
  margin: 0 0 20px;
}
.dev-badge img { width: 14px; height: auto; }
.dev-hero-title { margin: 0 0 24px; }
/* 右のイラストに対してロゴが小さく見えたので 360→400px に。左端はラベル・本文と揃える（左余白なし） */
.dev-hero-title img { max-width: 400px; width: 100%; height: auto; display: block; margin: 0; }
.dev-hero .dev-lead { max-width: 560px; margin: 0 0 32px; color: var(--text-sub); font-size: .98rem; line-height: 1.9; }
/* 「できま／す。」「パートナー企／業様」のような語中の改行を防ぐ。HTML側の <wbr>（文節の区切り）でだけ改行させる。
   iOS Safari は word-break: auto-phrase 非対応のため keep-all + <wbr> にしている。 */
.dev-hero .dev-lead,
.dev-hero-note { word-break: keep-all; overflow-wrap: anywhere; }
.dev-hero .btn-row { justify-content: flex-start; }
.dev-hero-note { margin: 20px 0 0; font-size: .78rem; color: var(--text-sub); }
.dev-hero-visual { flex: 0 0 auto; width: 560px; max-width: 48%; }
.dev-hero-visual img { width: 100%; height: auto; display: block; }
/* ファーストビューの登場アニメーション（enpay.co.jp のトップ・学校向けLPと同じ動き）。
   読み込み直後に下から少しせり上がりながら順にフェードイン。 */
@keyframes dev-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.dev-badge,
.dev-hero-title,
.dev-hero .dev-lead,
.dev-hero .btn-row,
.dev-hero-note,
.dev-hero-visual { animation: dev-fade-up .7s cubic-bezier(.2, .7, .3, 1) backwards; }
.dev-badge { animation-delay: .05s; }
.dev-hero-title { animation-delay: .15s; }
.dev-hero .dev-lead { animation-delay: .25s; }
.dev-hero .btn-row { animation-delay: .35s; }
.dev-hero-note { animation-delay: .42s; }
.dev-hero-visual { animation-duration: 1s; animation-delay: .25s; }
@media (prefers-reduced-motion: reduce) {
  .dev-badge,
  .dev-hero-title,
  .dev-hero .dev-lead,
  .dev-hero .btn-row,
  .dev-hero-note,
  .dev-hero-visual { animation: none; }
}

@media (max-width: 900px) {
  .dev-hero-inner { flex-direction: column; text-align: center; }
  .dev-hero-copy { max-width: 100%; }
  .dev-badge { margin: 0 auto 20px; }
  .dev-hero-title img { margin: 0 auto; }
  .dev-hero .dev-lead { margin: 0 auto 32px; }
  .dev-hero .btn-row { justify-content: center; }
  .dev-hero-visual { width: 80%; max-width: 340px; }
}

/* SP幅ではheroのCTAを横幅いっぱいに。左右は .page-developers .wrap のガター
   （SP幅では下限の24px）がそのまま残るので、画面端にはくっつかない。 */
@media (max-width: 640px) {
  .dev-hero .btn-row { width: 100%; }
  .dev-hero .btn-row .btn { width: 100%; }
  /* SP幅の並び順: ラベル → ロゴ → イラスト → リード文 → ボタン → 注記。
     イラストは .dev-hero-copy の外にあるので、.dev-hero-copy を display: contents にして
     中身を .dev-hero-inner の直接の子として並べ、order で入れ替える。 */
  .dev-hero-inner { align-items: stretch; gap: 0; }
  .dev-hero-copy { display: contents; }
  .dev-badge { order: 1; align-self: flex-start; margin: 0 0 20px; background: #fff; }
  .dev-hero-title { order: 2; }
  /* イラストはSP幅では右揃え（中央寄せだと左右に中途半端な余白が出るため） */
  .dev-hero-visual { order: 3; align-self: flex-end; margin: 0 0 24px; }
  .dev-hero .dev-lead { order: 4; text-align: left; }
  /* 900px以下の中央寄せが残っていたので、ロゴ・注記もラベルや本文と同じ左揃えにする */
  .dev-hero-title img { margin: 0; }
  .dev-hero .btn-row { order: 5; }
  .dev-hero-note { order: 6; text-align: left; }
  /* ファーストビューを最初の表示時の画面高さいっぱいにする。
     SP幅ではGMOグループ共通ヘッダーがページ最下部に回るので、上に差し引くものは無い。
     svh（アドレスバー表示時の高さ）はスクロールで伸び縮みしないので、表示中に高さがガタつかない。
     svh非対応ブラウザ向けに vh を先に書いておく。中身が画面より高い端末では中身の高さが優先される。 */
  .dev-hero { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; box-sizing: border-box; }
  .dev-hero > .wrap { width: 100%; }
}

.dev-eyebrow-blue { font-size: 24px; font-weight: 700; color: var(--brand-main); margin: 0; }
.dev-about-title { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 700; color: var(--text-main); line-height: 1.4; margin: 10px 0 20px; }
/* 上限680pxだと1行目（実測747px）が途中で折り返してしまうため、
   <br> の位置どおりに改行されるよう760pxまで広げている。 */
.dev-about-lead { max-width: 760px; margin: 0 0 20px; color: var(--text-main); font-size: 1rem; line-height: 1.7; }

.btn-solid-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-main);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 25px;
  border-radius: 6px;
}
.btn-solid-blue:hover { opacity: .9; }

.dev-about-cards { display: flex; gap: 20px; margin-top: 40px; }
.dev-about-card {
  flex: 1;
  background-color: #eaf6ff;
  border-radius: 16px;
  padding: 60px;
  background-repeat: no-repeat;
  background-position: 100% 100%;
}
.dev-about-card--api { background-image: url('/assets/developers/bg-setting.png'); background-size: 226px; }
.dev-about-card--contact { background-image: url('/assets/developers/bg-contact.png'); background-size: 269px; }
.dev-about-card h3 { color: var(--brand-main); font-size: 1.35rem; font-weight: 700; margin: 0 0 16px; }
.dev-about-card p { color: var(--text-main); font-size: .94rem; line-height: 1.7; margin: 0 0 24px; }

.dev-target-title { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 700; color: var(--text-main); margin: 0 0 40px; }

/* ご利用対象・FAQ は独自の max-width（940px / 800px）で中央寄せされていて、
   About やフッターより内側に入り、セクションごとに横幅が違って見えていた。
   ページ共通のガター幅に揃える。 */
.dev-target-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.page-developers .faq-list { max-width: none; }
.dev-target-card { border-radius: 16px; padding: 37px 40px; }
.dev-target-card--primary { background: #e3f2fb; border: 1px solid var(--brand-main); }
.dev-target-card--outline { background: transparent; border: 1px solid #c0c0c0; }
.dev-target-card-head { display: flex; align-items: center; gap: 8px; margin: 0 0 22px; }
.dev-target-card-head h3 { font-size: 1.25rem; font-weight: 700; margin: 0; }
.dev-target-card--primary .dev-target-card-head h3 { color: var(--brand-main); }
.dev-target-card--outline .dev-target-card-head h3 { color: #636363; }
.dev-target-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border-radius: 24px;
  padding: 4px 8px;
  font-size: .95rem;
  color: var(--text-main);
  margin: 0 0 16px;
}
.dev-target-card--primary p { color: var(--text-main); font-size: 1rem; line-height: 1.7; margin: 0; }
.dev-target-row { display: flex; align-items: flex-start; gap: 16px; margin: 0 0 16px; }
.dev-target-row:last-child { margin-bottom: 0; }
.dev-target-row img { flex: 0 0 auto; margin-top: 2px; }
.dev-target-row p { color: var(--text-main); font-size: 1rem; line-height: 1.7; margin: 0; }
.dev-target-note { max-width: 680px; margin: 32px auto 0; text-align: center; color: var(--text-sub); font-size: .88rem; }
.dev-target-note a { color: var(--brand-main); font-weight: 700; text-decoration: underline; }

@media (max-width: 700px) {
  .dev-about-cards { flex-direction: column; }
  .dev-about-card { padding: 40px 32px; }
  .dev-target-grid { grid-template-columns: 1fr; }
}

/* SP幅ではカード内のCTAもカード幅いっぱいに。hero のCTAと揃える。
   左右はカードの内側パディング（32px）がそのまま残る。 */
@media (max-width: 640px) {
  .dev-about-card .btn-solid-blue { display: flex; width: 100%; }
}

/* ---------- 園経営ステップアップカンファレンス2023 (/conference/stepup2023) ---------- */
.page-conference-stepup2023 {
  --conf-main: rgb(20, 182, 182);
  --conf-cta: rgb(255, 49, 123);
}

.conference-section .eyebrow { color: var(--conf-main); text-align: center; display: block; }
.conference-section .section-title { text-align: center; }
.conference-section .faq-q .q-mark { color: var(--conf-main); }
.conference-section .wp-form-embed { background: #fff; }

.conference-hero { position: relative; overflow: hidden; }
.conference-hero-img { width: 100%; height: auto; }
.conference-hero-img--sp { display: none; }
.conference-hero-btn {
  position: absolute;
  left: 5.5%;
  top: 76.2%;
  padding: 0 28px;
  height: 10.75%;
  min-height: 48px;
  background: var(--conf-cta);
  box-shadow: 0 8px 20px rgba(255,49,123,.35);
}

@media (max-width: 900px) {
  .conference-hero-img--pc { display: none; }
  .conference-hero-img--sp { display: block; }
  .conference-hero-btn { left: 15%; top: 90.7%; width: 70%; height: auto; padding: 12px 0; }
}

.conference-recommend-list { max-width: 640px; margin: 0 auto; }
.conference-recommend-list li {
  position: relative;
  padding-left: 26px;
  margin: 0 0 12px;
  color: var(--text-main);
  font-size: .95rem;
  line-height: 1.8;
}
.conference-recommend-list li::before { content: "✓"; position: absolute; left: 0; color: var(--conf-main); font-weight: 700; }

.conference-summary-list { max-width: 560px; margin: 0 auto; }
.conference-summary-row {
  display: flex;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-gray);
}
.conference-summary-row dt { flex: 0 0 120px; font-weight: 700; color: var(--conf-main); }
.conference-summary-row dd { margin: 0; color: var(--text-main); }

.conference-cta-row { display: flex; justify-content: center; margin-top: 36px; }
.conference-cta-row .btn-primary { background: var(--conf-cta); box-shadow: 0 8px 20px rgba(255,49,123,.35); }

.conference-day { max-width: 880px; margin: 0 auto 64px; }
.conference-day:last-child { margin-bottom: 0; }
.conference-day-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--conf-main);
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--conf-main);
}

.conference-session { padding: 28px 0; border-bottom: 1px solid var(--border-gray); }
.conference-session:last-of-type { border-bottom: none; }
.conference-session-time { font-weight: 700; color: var(--brand-cta); font-size: .95rem; margin-bottom: 14px; }
.conference-session-body { display: flex; gap: 24px; align-items: flex-start; }
.conference-session-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.conference-session-title { font-size: 1.05rem; font-weight: 700; line-height: 1.6; margin: 0 0 12px; }
.conference-speaker-name { font-weight: 700; margin: 0 0 4px; }
.conference-speaker-role { color: var(--text-sub); font-size: .85rem; line-height: 1.6; margin: 0 0 12px; }
.conference-speaker-bio { color: var(--text-sub); font-size: .85rem; line-height: 1.8; margin: 0; }

@media (max-width: 640px) {
  .conference-session-body { flex-direction: column; align-items: center; text-align: center; }
}
