/*
Theme Name: SOURCE Child
Template: source_tcd045
*/

/* ===== EcoChange サイト共通スタイル ===== */

:root {
  --eco-navy:   #1A3A5C;
  --eco-orange: #FF9A1A;
  --eco-gray:   #f7f7f7;
}

.eco-top {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

/* ── ボタン ── */
.eco-btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}
.eco-btn:hover { opacity: 0.85; text-decoration: none; }
.eco-btn--primary        { background: var(--eco-orange); color: #fff; }
.eco-btn--secondary      { background: transparent; color: #fff; border: 2px solid #fff; }
.eco-btn--white          { background: var(--eco-orange); color: #fff; }
.eco-btn--outline-white  { background: transparent; color: #fff; border: 2px solid #fff; }

/* ── 中小企業共通EDI準拠 認定セクション ── */
.eco-cert-section { background: #fff; }
.eco-cert-section__title {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 16px;
}
.eco-cert-section__rule {
  border: none;
  border-top: 1px solid #ddd;
  margin: 0 0 36px;
}
.eco-cert-layout {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}
.eco-cert-logo {
  flex-shrink: 0;
  text-align: center;
  width: 180px;
}
.eco-cert-logo img {
  width: 160px;
  height: auto;
}
.eco-cert-number {
  font-size: 0.78rem;
  color: #666;
  margin-top: 10px;
}
.eco-cert-body {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eco-cert-text {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.85;
  margin-bottom: 12px;
  text-align: center;
}
.eco-cert-btn {
  display: inline-block;
  margin-top: 8px;
}
.eco-btn--outline-navy {
  background: transparent;
  color: var(--eco-navy);
  border: 2px solid var(--eco-navy);
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.eco-btn--outline-navy:hover {
  background: var(--eco-navy);
  color: #fff;
}
@media (max-width: 640px) {
  .eco-cert-layout { flex-direction: column; align-items: center; }
  .eco-cert-logo { width: auto; }
}

/* ── Hero ── */
.eco-hero {
  background: linear-gradient(135deg, #5b9bd5 0%, #2d6db8 100%);
  color: #fff;
  padding: 100px 20px 104px;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 48px));
}
.eco-hero__catch {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
}
.eco-hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.7;
}
.eco-hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── セクション共通 ── */
.eco-section { padding: 80px 20px; }
.eco-section--gray  { background: var(--eco-gray); }
.eco-section--guide { background: #edf4fb; }
/* TOPページのみ：斜めカット＋ブルー系グレー */
.eco-top .eco-section--gray {
  background: #eef3fb;
  clip-path: polygon(0 48px, 100% 0, 100% calc(100% - 48px), 0 100%);
}
.eco-section__inner { max-width: 1100px; margin: 0 auto; }
.eco-section__inner--narrow { max-width: 800px; margin: 0 auto; }
.eco-section__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--eco-orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.eco-section__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 16px;
}
.eco-section__title-sub {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  color: #999;
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 10px;
  letter-spacing: 0.05em;
}
.eco-section__lead {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 48px;
  text-align: center;
}

/* ── 課題カード ── */
.eco-problems {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
@keyframes eco-float {
  0%, 100% { transform: translateY(0px);    box-shadow: 0 4px 16px rgba(0,0,0,0.09); }
  50%       { transform: translateY(-16px); box-shadow: 0 20px 36px rgba(0,0,0,0.14); }
}
.eco-problem-card {
  position: relative;
  overflow: hidden;
  background: #fff9f5;
  border-left: 4px solid var(--eco-orange);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.09);
  animation: eco-float 5.5s ease-in-out infinite;
}
.eco-problem-card::before {
  content: attr(data-icon);
  position: absolute;
  bottom: -12px;
  right: -6px;
  font-size: 6.5rem;
  line-height: 1;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}
.eco-problem-card > * {
  position: relative;
  z-index: 1;
}
.eco-problem-card:nth-child(1) { animation-delay: 0.0s; }
.eco-problem-card:nth-child(2) { animation-delay: 0.7s; }
.eco-problem-card:nth-child(3) { animation-delay: 1.4s; }
.eco-problem-card:nth-child(4) { animation-delay: 2.1s; }
.eco-problem-card:nth-child(5) { animation-delay: 2.8s; }
.eco-problem-card:nth-child(6) { animation-delay: 3.5s; }
.eco-problem-card__icon  { font-size: 2.2rem; margin-bottom: 12px; }
.eco-problem-card__title { font-weight: 700; font-size: 1rem; color: #1a1a1a; margin-bottom: 8px; }
.eco-problem-card__text  { font-size: 0.9rem; color: #666; line-height: 1.7; }

/* ── Before/After テーブル ── */
.eco-ba-table {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.09);
}
.eco-ba-table__header {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
}
.eco-ba-table__head {
  padding: 14px 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.eco-ba-table__head--before { background: #fdecea; color: #b71c1c; }
.eco-ba-table__head--after  { background: #deeeff; color: var(--eco-navy); }
.eco-ba-table__head-spacer  { background: #f5f5f5; }
.eco-ba-table__row {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  border-top: 1px solid #eee;
}
.eco-ba-table__row:hover .eco-ba-table__cell--before { background: #fff0ef; }
.eco-ba-table__row:hover .eco-ba-table__cell--after  { background: #dceeff; }
.eco-ba-table__cell {
  padding: 14px 18px;
  font-size: 0.9rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}
.eco-ba-table__cell--before { background: #fffafa; color: #666; }
.eco-ba-table__cell--after  { background: #f0f7ff; color: #1a3a5c; font-weight: 600; }
.eco-ba-table__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--eco-orange);
  font-size: 1.1rem;
  font-weight: 700;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
}
.eco-ba-x     { color: #c44; font-weight: 700; flex-shrink: 0; }
.eco-ba-check { color: #1a6b3a; font-weight: 700; flex-shrink: 0; }
@media (max-width: 600px) {
  .eco-ba-table__header,
  .eco-ba-table__row { grid-template-columns: 1fr 28px 1fr; }
  .eco-ba-table__cell { padding: 12px 10px; font-size: 0.8rem; gap: 4px; }
  .eco-ba-table__head { padding: 12px 10px; font-size: 0.7rem; }
  .eco-ba-table__arrow { font-size: 0.85rem; }
}

/* ── 特長カード ── */
.eco-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.eco-feature-card {
  background: #f3f0ff;
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-top: 4px solid var(--eco-navy);
}
.eco-feature-card__icon  { font-size: 2.8rem; margin-bottom: 12px; line-height: 1; }
.eco-feature-card__num   { font-size: 0.75rem; font-weight: 700; color: var(--eco-orange); letter-spacing: 0.15em; margin-bottom: 14px; display: block; }
.eco-feature-card__title { font-size: 1.05rem; font-weight: 700; color: #1a1a1a; margin-bottom: 16px; line-height: 1.6; }
.eco-feature-card__text  { font-size: 0.9rem; color: #555; line-height: 2.0; text-align: left !important; }

/* ── 事例カード ── */
.eco-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.eco-case-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s;
  position: relative;
}
.eco-case-card { text-decoration: none; color: inherit; cursor: pointer; }
.eco-case-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.eco-case-card__logo  { background: #fff; border-bottom: 1px solid #e0e0e0; padding: 18px 20px; min-height: 72px; display: flex; align-items: center; justify-content: center; }
.eco-case-card__logo img { max-height: 48px; max-width: 180px; object-fit: contain; }
.eco-case-card__logo-text { font-size: 0.9rem; font-weight: 700; color: var(--eco-navy); letter-spacing: 0.02em; }
.eco-case-card__body  { padding: 20px; background: #f0faf6; text-align: center; }
.eco-case-card__title { font-weight: 700; font-size: 1rem; color: #1a1a1a; margin-bottom: 10px; }
.eco-case-card__text  { font-size: 0.85rem; color: #666; line-height: 1.7; }

/* ── コラムカード ── */
.eco-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.eco-col-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.eco-col-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.13); transform: translateY(-4px); text-decoration: none; color: inherit; }

/* サムネイル（NoMedia時はグラデーション＋ラベル） */
.eco-col-card__thumb {
  position: relative;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.eco-col-card--edi   .eco-col-card__thumb { background: linear-gradient(135deg, #5b9bd5, #2d6db8); }
.eco-col-card--point .eco-col-card__thumb { background: linear-gradient(135deg, #56c48a, #2a9060); }
.eco-col-card--howto .eco-col-card__thumb { background: linear-gradient(135deg, #ffb347, #e07a00); }
.eco-col-card__thumb-label {
  font-size: 1.4rem;
  font-weight: 900;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.06em;
  pointer-events: none;
}
.eco-col-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* img が入ったらラベルを隠す */
.eco-col-card__thumb img ~ .eco-col-card__thumb-label { display: none; }

/* カード本文 */
.eco-col-card__body  { padding: 20px; display: flex; flex-direction: column; flex: 1; text-align: center; }
.eco-col-card__tag   { display: inline-block; background: #fff4e6; color: var(--eco-orange); font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; align-self: center; }
.eco-col-card__title { font-weight: 700; font-size: 0.95rem; color: #1a1a1a; line-height: 1.5; margin-bottom: 8px; }
.eco-col-card__text  { font-size: 0.85rem; color: #666; line-height: 1.7; flex: 1; }
.eco-col-card__more  { display: block; margin-top: 14px; font-size: 0.82rem; font-weight: 700; color: var(--eco-orange); }

/* ── CTAバナー ── */
.eco-cta {
  background: linear-gradient(135deg, #5b9bd5, #2d6db8);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}
.eco-cta__title   { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; margin-bottom: 16px; }
.eco-cta__text    { font-size: 1rem; opacity: 0.9; margin-bottom: 40px; line-height: 1.8; }
.eco-cta__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── もっと見るリンク ── */
.eco-more-link { text-align: center; }
.eco-more-link a {
  display: inline-block;
  border: 2px solid var(--eco-orange);
  color: var(--eco-orange);
  padding: 12px 40px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.eco-more-link a:hover { background: var(--eco-orange); color: #fff; text-decoration: none; }

/* ===== EDI知識ガイドページ ===== */
.eco-toc { max-width: 480px; margin: 0 auto; padding: 0; list-style: none; counter-reset: toc; }
.eco-toc li { counter-increment: toc; border-bottom: 1px solid #e8e8e8; }
.eco-toc li:last-child { border-bottom: none; }
.eco-toc a { display: flex; align-items: center; gap: 12px; padding: 14px 8px; color: var(--eco-navy); font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: color 0.2s; }
.eco-toc a::before { content: "0" counter(toc); font-size: 0.75rem; font-weight: 700; color: var(--eco-orange); min-width: 28px; }
.eco-toc a:hover { color: var(--eco-orange); }

.eco-guide-body { max-width: 720px; margin: 0 auto; }
.eco-guide-body p { line-height: 1.9; color: #444; margin-bottom: 1.2em; }

.eco-guide-point { background: #eef5ff; border-left: 4px solid var(--eco-navy); padding: 14px 18px; margin-top: 24px; border-radius: 0 6px 6px 0; font-size: 0.9rem; color: #1a1a1a; line-height: 1.7; }
.eco-guide-point__label { display: inline-block; font-weight: 700; color: var(--eco-navy); margin-right: 8px; }

.eco-guide-merits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.eco-guide-merit-card { background: #f8f9ff; border-radius: 10px; padding: 24px 20px; text-align: center; }
.eco-guide-merit-card__icon { font-size: 2rem; margin-bottom: 12px; }
.eco-guide-merit-card__title { font-weight: 700; font-size: 0.95rem; color: var(--eco-navy); margin-bottom: 8px; }
.eco-guide-merit-card__text { font-size: 0.85rem; color: #555; line-height: 1.7; }

.eco-guide-types { max-width: 720px; margin: 0 auto; border: 1px solid #dde5ee; border-radius: 8px; overflow: hidden; }
.eco-guide-type-row { display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid #dde5ee; }
.eco-guide-type-row:last-child { border-bottom: none; }
.eco-guide-type-row__label { background: var(--eco-navy); color: #fff; font-weight: 700; font-size: 0.85rem; padding: 16px 14px; display: flex; align-items: center; }
.eco-guide-type-row__body { padding: 16px 18px; background: #fff; }
.eco-guide-type-row__body p { margin: 0; font-size: 0.88rem; color: #444; line-height: 1.75; }

/* ===== ページ共通ヘッダー ===== */
.eco-page-hero {
  background: linear-gradient(135deg, #5b9bd5 0%, #2d6db8 100%);
  color: #fff;
  padding: 72px 20px 60px;
  text-align: center;
}
.eco-page-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.eco-page-hero__catch {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 700;
  margin-bottom: 14px;
  opacity: 1;
  line-height: 1.5;
}
.eco-page-hero__lead {
  font-size: 1rem;
  opacity: 0.85;
  line-height: 1.8;
}

/* ===== お問い合わせページ ===== */

/* 種別カード */
.eco-contact-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.eco-contact-type {
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  border-top: 4px solid var(--eco-navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.eco-contact-type--document { background: #e8f3fd; border-top-color: #4a90c8; }
.eco-contact-type--demo     { background: #e8f7ed; border-top-color: #3ea86b; }
.eco-contact-type--consult  { background: #fff4e6; border-top-color: var(--eco-orange); }
.eco-contact-type--trial    { background: #f0eafa; border-top-color: #8a5cc9; }
.eco-contact-type__icon  { font-size: 2rem; margin-bottom: 10px; }
.eco-contact-type__title { font-weight: 700; font-size: 1rem; color: var(--eco-navy); margin-bottom: 8px; }
.eco-contact-type__text  { font-size: 0.85rem; color: #666; line-height: 1.7; }

/* フォームエリア */
.eco-contact-form-note {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 24px;
}
.eco-required-mark { color: #c00; font-weight: 700; margin-right: 4px; }

.eco-cf7-wrap {
  background: #f7f9fc;
  border-radius: 10px;
  padding: 24px 28px;
}

/* セクションタイトル（親テーマのh4スタイルをリセット） */
.eco-cf7-wrap h4.contact-phrase {
  all: unset;
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--eco-navy);
  background: #eef4fb;
  border-left: 4px solid var(--eco-orange);
  padding: 8px 16px;
  border-radius: 0 4px 4px 0;
  margin: 18px 0 10px;
  letter-spacing: 0.05em;
}
.eco-cf7-wrap h4.contact-phrase:first-child { margin-top: 0; }

/* ラベル（inputとの間は詰める・前の入力との間隔はwrapが担う） */
.eco-cf7-wrap label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #444;
  margin-top: 0;
  margin-bottom: 3px;
  padding-top: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* CF7が自動付与するpのマージンをリセット */
.eco-cf7-wrap .wpcf7-form p {
  margin: 0;
  padding: 0;
}
/* ラベルと入力欄の間のbrを非表示 */
.eco-cf7-wrap label + br,
.eco-cf7-wrap label ~ br {
  display: none;
}

/* CF7 コントロールラップ：ここで次の設問との間隔を作る */
.eco-cf7-wrap .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0;
  margin-bottom: 14px;
}

/* テキスト・メール・電話入力 */
.eco-cf7-wrap input[type="text"],
.eco-cf7-wrap input[type="email"],
.eco-cf7-wrap input[type="tel"],
.eco-cf7-wrap select,
.eco-cf7-wrap textarea {
  width: 100%;
  border: 1px solid #cdd5e0;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.eco-cf7-wrap input:focus,
.eco-cf7-wrap select:focus,
.eco-cf7-wrap textarea:focus {
  outline: none;
  border-color: var(--eco-navy);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}
.eco-cf7-wrap textarea { min-height: 140px; resize: vertical; }

/* チェックボックス・ラジオ */
.eco-cf7-wrap .wpcf7-checkbox,
.eco-cf7-wrap .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 6px;
}
.eco-cf7-wrap .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.eco-cf7-wrap .wpcf7-list-item label {
  font-weight: 400;
  margin: 0;
  cursor: pointer;
  font-size: 0.875rem;
}

/* テキストの折り返し */
.eco-cf7-wrap p,
.eco-cf7-wrap span:not(.wpcf7-form-control-wrap) {
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.8;
  font-size: 0.875rem;
  color: #555;
}

/* プライバシーポリシー欄 */
.eco-cf7-wrap p[style] {
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 24px;
  text-align: left !important;
  font-size: 0.85rem;
  line-height: 1.9;
  color: #444;
}

/* 同意チェックボックス */
.eco-cf7-wrap .wpcf7-acceptance {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.9rem;
}

/* 送信ボタン */
.eco-cf7-wrap input[type="submit"] {
  background: var(--eco-orange);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 16px 56px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  display: block;
  margin: 24px auto 0;
}
.eco-cf7-wrap input[type="submit"]:hover { opacity: 0.85; }

/* バリデーションエラー */
.eco-cf7-wrap .wpcf7-not-valid-tip {
  font-size: 0.8rem;
  color: #c00;
  margin-top: 4px;
  display: block;
}

/* 導入フロー */
.eco-flow {
  display: flex;
  align-items: flex-start;
  column-gap: 0;
  row-gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.eco-flow-step {
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
  width: 160px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-top: 4px solid var(--eco-navy);
}
.eco-flow-step:nth-child(1) { background: #edf4fb; }
.eco-flow-step:nth-child(3) { background: #e8f7ed; }
.eco-flow-step:nth-child(5) { background: #f0eafa; }
.eco-flow-step:nth-child(7) { background: #fff4e6; }
.eco-flow-step:nth-child(9) { background: #fef9e0; }
.eco-flow-step--last { border-top-color: var(--eco-orange); }
.eco-flow-step__num  { font-size: 0.7rem; font-weight: 700; color: var(--eco-navy); letter-spacing: 0.1em; margin-bottom: 6px; }
.eco-flow-step__icon { font-size: 1.8rem; margin-bottom: 8px; }
.eco-flow-step__title { font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; color: #1a1a1a; }
.eco-flow-step__text  { font-size: 0.78rem; color: #666; line-height: 1.6; }
.eco-flow-arrow {
  align-self: center;
  font-size: 1.4rem;
  color: var(--eco-navy);
  padding: 0 8px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .eco-flow { flex-direction: column; align-items: center; }
  .eco-flow-arrow { transform: rotate(90deg); }
  .eco-flow-step { width: 100%; max-width: 320px; }
}

/* ===== ヘッダー オーバーライド（白地＋オレンジアクセント） ===== */

/* ヘッダー全幅：幅に関わらず共通 */
#header {
  background-color: #fff !important;
  border-bottom: 3px solid var(--eco-orange);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ハンバーガーボタン：幅に関わらず共通（非表示はTCD側が制御） */
.menu_button {
  background-color: var(--eco-navy) !important;
  border-radius: 4px !important;
  padding: 4px 10px !important;
  color: #fff !important;
  text-decoration: none !important;
  line-height: 1 !important;
}
.menu_button span {
  color: #fff !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.06em !important;
}

/* ロゴリンク */
#logo_image .logo a {
  color: var(--eco-navy) !important;
}

/* デスクトップ：グローバルナビ（横並びメニュー） */
@media (min-width: 1101px) {
  #global_menu {
    margin-left: 220px;
  }
  #global_menu a {
    color: var(--eco-navy) !important;
  }
  #global_menu a:hover {
    color: var(--eco-orange) !important;
  }
}

/* モバイル：グローバルナビ（ハンバーガー展開時） */
@media (max-width: 1100px) {
  #global_menu a,
  #global_menu li a {
    color: #fff !important;
  }
  #global_menu a:hover,
  #global_menu li a:hover {
    color: #7ec8e3 !important;
  }
}

/* ===== フッター サイトマップ・住所エリア（スカイブルー＋白文字） ===== */

#footer_top,
#footer_top_inner {
  background: linear-gradient(135deg, #5b9bd5 0%, #2d6db8 100%) !important;
}

#footer_menu a,
#footer_menu li a,
#footer_address a,
#footer_address p,
#footer_address li {
  color: #ffffff !important;
  text-decoration: none;
}

#footer_menu a:hover,
#footer_menu li a:hover,
#footer_address a:hover {
  color: #ffe090 !important;
  text-decoration: underline;
}

#footer_address .logo_area a,
#footer_address .info li {
  color: #ffffff !important;
}

/* コピーライト帯 */
#footer_bottom,
#footer_bottom_inner {
  background-color: #1a3a5c !important;
}

#copyright,
#copyright a {
  color: #fff !important;
}

#copyright a:hover {
  color: #7ec8e3 !important;
}

#footer_social_link a {
  color: #ccdae8 !important;
}

#footer_social_link a:hover {
  color: #7ec8e3 !important;
}

/* ===== お問い合わせページ：フッターCTAバナーを非表示 ===== */
/* #footer_image = 背景画像＋「お問い合わせ」ボタンのセクション            */
/* WP body class: page-contact.php → page-template-page-contact-php */

/* ===== フッターCTAバナー：テキスト可読性向上（暗オーバーレイ） ===== */

#footer_image .wide_image {
  position: relative;
}
#footer_image .wide_image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}
#footer_image .wide_image .caption {
  position: relative;
  z-index: 1;
}

/* お問い合わせページのみボタンを非表示 */
.page-template-page-contact-php #footer_image a.button {
  display: none !important;
}

/* ===== EcoChange製品ページ ===== */

.eco-product__lead {
  text-align: center;
  color: #555;
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 48px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* スクリーンショット */
.eco-screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.eco-screenshot__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--eco-navy);
  text-align: center;
  margin-bottom: 10px;
}
.eco-screenshot__img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  border: 1px solid #dde3ec;
}

/* 特徴カード（6枚・3列） */
.eco-product-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.eco-product-feature-card {
  background: #eef4fb;
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
  border-top: 4px solid var(--eco-navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.eco-product-feature-card__icon  { font-size: 2.2rem; margin-bottom: 12px; }
.eco-product-feature-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.eco-product-feature-card__text  {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* 機能概要（縦リスト） */
.eco-functions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.eco-function-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid var(--eco-orange);
}
.eco-function-item__icon { font-size: 2rem; flex-shrink: 0; line-height: 1; }
.eco-function-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}
.eco-function-item__text {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* 取引プロセス */
.eco-product__process-note {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.eco-process-table-wrap { overflow-x: auto; }
.eco-process-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.eco-process-table th,
.eco-process-table td {
  border: 1px solid #dde3ec;
  padding: 12px 16px;
  text-align: center;
}
.eco-process-table thead th {
  background: var(--eco-navy);
  color: #fff;
  font-weight: 700;
}
.eco-process-table tbody tr:nth-child(even) { background: #f0f5fb; }
.eco-process-table tbody td:first-child { font-weight: 700; color: var(--eco-navy); }

/* 動作要件テーブル */
.eco-spec-table-wrap { overflow-x: auto; }
.eco-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.eco-spec-table th,
.eco-spec-table td {
  border: 1px solid #dde3ec;
  padding: 14px 20px;
  text-align: left;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.eco-spec-table th {
  background: #eef4fb;
  font-weight: 700;
  color: var(--eco-navy);
  width: 30%;
  white-space: nowrap;
}
.eco-spec-table tbody tr:hover { background: #f7fafd; }

/* ===== 料金ページ ===== */

/* プラン比較カード */
.eco-plan-card-link {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.eco-plan-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}

.eco-plan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 16px;
}
.eco-plan-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.eco-plan-card__head {
  padding: 28px 28px 20px;
  background: linear-gradient(135deg, #1a5c4a, #0d3d30);
  color: #fff;
}
.eco-plan-card--flat .eco-plan-card__head {
  background: linear-gradient(135deg, #3d2460, #261540);
}
.eco-plan-card__badge {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.eco-plan-card__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.eco-plan-card--flex .eco-plan-card__body {
  padding: 28px;
  background: #f0faf6;
}
.eco-plan-card--flat .eco-plan-card__body {
  padding: 28px;
  background: #f5f0ff;
}
.eco-plan-card__price {
  font-size: 1rem;
  color: #666;
  margin-bottom: 12px;
}
.eco-plan-card--flex .eco-plan-card__price strong {
  font-size: 2rem;
  color: #1a5c4a;
  font-weight: 700;
}
.eco-plan-card--flat .eco-plan-card__price strong {
  font-size: 2rem;
  color: #3d2460;
  font-weight: 700;
}
.eco-plan-card__price span {
  font-size: 0.85rem;
  color: #999;
}
.eco-plan-card__desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.eco-plan-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.eco-plan-card__list li {
  font-size: 0.875rem;
  color: #444;
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.eco-plan-card__list li::before {
  content: "✓";
  color: var(--eco-orange);
  font-weight: 700;
  position: absolute;
  left: 0;
}
.eco-plan-card__btn {
  display: block;
  text-align: center;
}

/* ===== 料金ページ タブ ===== */
.eco-price-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 0;
  border-bottom: 3px solid var(--eco-navy);
}
.eco-price-tab-btn {
  flex: 1;
  background: #e8eef5;
  border: none;
  border-radius: 8px 8px 0 0;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: #666;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.eco-price-tab-btn__label {
  font-size: 0.72rem;
  font-weight: 500;
  color: #999;
  background: transparent;
}
.eco-price-tab-btn.is-active {
  background: var(--eco-navy);
  color: #fff;
}
.eco-price-tab-btn.is-active .eco-price-tab-btn__label { color: rgba(255,255,255,0.7); }
.eco-price-tab-btn:hover:not(.is-active) { background: #cdd8e8; }

.eco-price-tab-panel { display: none; padding-top: 24px; }
.eco-price-tab-panel.is-active { display: block; }

/* ===== 申込構造・料金の仕組み ===== */
.eco-price__guide-title { font-size: 1.05rem; font-weight: 700; color: var(--eco-navy); margin: 32px 0 10px; padding: 4px 0 4px 14px; border-left: 4px solid var(--eco-navy); }
.eco-price__guide-title--mt { margin-top: 48px; }
.eco-price__guide-lead { font-size: 0.92rem; color: #444; line-height: 1.8; margin-bottom: 20px; }
.eco-price__guide-note { font-size: 0.82rem; color: #888; margin-top: 12px; padding-left: 1em; text-indent: -1em; }

/* コンソーシアム図 */
.eco-consortium-diagram { display: flex; flex-direction: column; align-items: center; gap: 0; margin: 20px 0 24px; }
.eco-consortium-host { background: var(--eco-navy); color: #fff; border-radius: 10px; padding: 16px 22px; text-align: center; min-width: 150px; max-width: 200px; }
.eco-consortium-host__badge { display: inline-block; background: var(--eco-orange); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 2px 10px; border-radius: 20px; margin-bottom: 6px; }
.eco-consortium-host__name { font-size: 1rem; font-weight: 700; }
.eco-consortium-host__desc { font-size: 0.75rem; color: #ccdae8; margin-top: 2px; }
.eco-consortium-arrows { display: flex; gap: 48px; justify-content: center; margin: 8px 0; }
.eco-consortium-arrow { font-size: 0.7rem; color: #999; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.eco-consortium-arrow::before { content: '▲'; display: block; font-size: 0.65rem; color: #bbb; line-height: 1; }
.eco-consortium-arrow::after { content: '▼'; font-size: 0.65rem; color: #bbb; }
.eco-consortium-clients { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.eco-consortium-client { background: #fff; border: 2px solid var(--eco-sky, #5b9bd5); border-radius: 10px; padding: 16px 22px; text-align: center; min-width: 150px; }
.eco-consortium-client__badge { display: inline-block; background: var(--eco-sky, #5b9bd5); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 6px; }
.eco-consortium-client__name { font-size: 0.95rem; font-weight: 700; color: var(--eco-navy); line-height: 1.5; }
.eco-consortium-client__desc { font-size: 0.82rem; color: #888; margin-top: 2px; }
.eco-consortium-client--add { border-style: dashed; border-color: #ccc; color: #bbb; font-size: 0.82rem; display: flex; align-items: center; justify-content: center; min-height: 80px; }

/* ロール比較 */
.eco-role-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.eco-role-card { border-radius: 10px; padding: 18px 20px; }
.eco-role-card--host { background: #eef2f8; border: 2px solid var(--eco-navy); }
.eco-role-card--client { background: #e8f4ff; border: 2px solid var(--eco-sky, #5b9bd5); }
.eco-role-card__title { font-weight: 700; font-size: 0.92rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.eco-role-badge { font-size: 0.72rem; font-weight: 700; color: #fff; padding: 2px 8px; border-radius: 20px; }
.eco-role-badge--host { background: var(--eco-navy); }
.eco-role-badge--client { background: var(--eco-sky, #5b9bd5); }
.eco-role-card ul { margin: 0; padding-left: 18px; }
.eco-role-card li { font-size: 0.83rem; line-height: 1.8; color: #444; }

/* 従量課金フロー図 */
.eco-fee-flow { display: grid; grid-template-columns: 1fr 80px 1fr; gap: 0; align-items: center; margin: 16px 0; }
.eco-fee-actor { border-radius: 10px; padding: 16px; text-align: center; }
.eco-fee-actor--host { background: #eef2f8; border: 2px solid var(--eco-navy); }
.eco-fee-actor--client { background: #e8f4ff; border: 2px solid var(--eco-sky, #5b9bd5); }
.eco-fee-actor__badge { display: inline-block; color: #fff; font-size: 0.75rem; font-weight: 700; padding: 3px 12px; border-radius: 20px; margin-bottom: 6px; }
.eco-fee-actor__name { font-weight: 700; font-size: 0.9rem; color: var(--eco-navy); margin-bottom: 10px; }
.eco-fee-actor__item { font-size: 0.8rem; color: #444; padding: 5px 8px; background: #fff; border-radius: 6px; margin-top: 6px; text-align: left; line-height: 1.5; }
.eco-fee-charge { color: var(--eco-orange); font-weight: 700; }
.eco-fee-free { color: #888; }
.eco-fee-mid { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 0 8px; }
.eco-fee-mid__row { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.eco-fee-mid__line { width: 64px; height: 2px; background: var(--eco-orange); position: relative; }
.eco-fee-mid__line--right::after { content: ''; position: absolute; right: -7px; top: -5px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid var(--eco-orange); }
.eco-fee-mid__line--left::after { content: ''; position: absolute; left: -7px; top: -5px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-right: 9px solid var(--eco-orange); }
.eco-fee-mid__label { font-size: 0.68rem; color: var(--eco-orange); font-weight: 700; text-align: center; }

/* 費用サマリカード */
.eco-fee-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 16px; }
.eco-fee-summary-card { border-radius: 10px; padding: 18px 16px; border: 1px solid #dde5ee; }
.eco-fee-summary-card--initial { border-top: 4px solid var(--eco-navy);            background: #eef2f8; }
.eco-fee-summary-card--monthly { border-top: 4px solid var(--eco-sky, #5b9bd5);    background: #e8f3fd; }
.eco-fee-summary-card--usage   { border-top: 4px solid var(--eco-orange);          background: #fff4e6; }
.eco-fee-summary-card--option  { border-top: 4px solid #aaa;                       background: #f5f5f5; }
.eco-fee-summary-card__icon  { font-size: 1.8rem; margin-bottom: 8px; }
.eco-fee-summary-card__title { font-weight: 700; color: var(--eco-navy); font-size: 0.88rem; margin-bottom: 6px; }
.eco-fee-summary-card__body  { font-size: 0.8rem; color: #555; line-height: 1.7; }

@media (max-width: 600px) {
  .eco-price-tabs { flex-direction: column; border-bottom: none; }
  .eco-price-tab-btn { border-radius: 8px; }
  .eco-role-compare { grid-template-columns: 1fr; }
  .eco-fee-flow { grid-template-columns: 1fr; }
  .eco-fee-mid { flex-direction: row; }
}

/* 料金テーブル共通 */
.eco-price__plan-desc {
  text-align: center;
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 32px;
}
.eco-price__notes-link {
  text-align: right;
  font-size: 0.82rem;
  margin-top: 12px;
}
.eco-price__notes-link a {
  color: var(--eco-navy);
  text-decoration: underline;
}
.eco-price__table-note {
  font-size: 0.82rem;
  color: #666;
  margin-top: 8px;
  padding-left: 1em;
  text-indent: -1em;
}
.eco-price__guide-link {
  margin-top: 24px;
  font-size: 0.9rem;
  text-align: right;
}
.eco-price__guide-link a {
  color: var(--eco-navy);
  font-weight: 600;
  text-decoration: underline;
}
.eco-price__table-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--eco-navy);
  border-left: 4px solid var(--eco-orange);
  padding: 8px 14px;
  background: #eef4fb;
  border-radius: 0 4px 4px 0;
  margin: 40px 0 16px;
}
.eco-price-table-wrap { overflow-x: auto; margin-bottom: 8px; }
.eco-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.eco-price-table th,
.eco-price-table td {
  border: 1px solid #dde3ec;
  padding: 12px 16px;
  text-align: left;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.eco-price-table thead th {
  background: var(--eco-navy);
  color: #fff;
  font-weight: 700;
}
.eco-price-table tbody tr:nth-child(even) { background: #f5f8fc; }
.eco-price-table__price {
  font-weight: 700;
  color: var(--eco-navy);
  white-space: nowrap;
  text-align: right;
}

/* 注意事項 */
.eco-note-mark {
  font-size: 0.75rem;
  color: var(--eco-orange);
  font-weight: 700;
  vertical-align: super;
  margin-left: 2px;
}
.eco-price-notes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 10px;
}
.eco-price-notes li {
  display: block;
  border-radius: 8px;
  padding: 14px 16px;
  word-break: break-word;
  overflow-wrap: anywhere;
}
/* 3列グリッド想定で行ごとに交互 */
.eco-price-notes li:nth-child(6n+1),
.eco-price-notes li:nth-child(6n+2),
.eco-price-notes li:nth-child(6n+3) { background: #eef4fc; }
.eco-price-notes li:nth-child(6n+4),
.eco-price-notes li:nth-child(6n+5),
.eco-price-notes li:nth-child(6n+6) { background: #f5f0fa; }
@media (max-width: 719px) {
  .eco-price-notes li:nth-child(odd) { background: #eef4fc; }
  .eco-price-notes li:nth-child(even) { background: #f5f0fa; }
}
.eco-note-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.eco-note-icon { font-size: 1.4rem; line-height: 1; }
.eco-note-title { font-weight: 700; font-size: 0.9rem; color: var(--eco-navy); margin: 0 0 6px; line-height: 1.4; }
.eco-note-body { font-size: 0.82rem; color: #555; line-height: 1.7; margin: 0; }
.eco-price-notes li .eco-note-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 22px;
  background: var(--eco-navy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
}

/* ===== 連携方法・ZEDI：the_content()出力のスタイル整備 ===== */

/* 見出し：オレンジアクセントバー付き */
.eco-renkeiho .eco-section h2,
.eco-renkeiho .eco-section h3,
.eco-zedi .eco-section h2,
.eco-zedi .eco-section h3 {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 700;
  color: var(--eco-navy);
  text-align: center;
  margin: 64px 0 0;
  padding-bottom: 0;
  border-bottom: none;
}
.eco-renkeiho .eco-section h2::after,
.eco-renkeiho .eco-section h3::after,
.eco-zedi .eco-section h2::after,
.eco-zedi .eco-section h3::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: var(--eco-orange);
  border-radius: 2px;
  margin: 10px auto 20px;
}
.eco-renkeiho .eco-section h2:first-child,
.eco-renkeiho .eco-section h3:first-child,
.eco-zedi .eco-section h2:first-child,
.eco-zedi .eco-section h3:first-child { margin-top: 0; }

/* 説明文：読みやすい幅でセンタリング */
.eco-renkeiho .eco-section p,
.eco-zedi .eco-section p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
  margin: 0 auto 12px;
  max-width: 720px;
}

/* 箇条書き */
.eco-renkeiho .eco-section ul,
.eco-renkeiho .eco-section ol,
.eco-zedi .eco-section ul,
.eco-zedi .eco-section ol {
  max-width: 720px;
  margin: 0 auto 16px;
  padding-left: 1.5em;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
}

/* 画像：影・角丸・センター */
.eco-renkeiho .eco-section img,
.eco-renkeiho .eco-section figure,
.eco-zedi .eco-section img,
.eco-zedi .eco-section figure {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

/* ===== 導入事例ページ ===== */

.eco-work-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.eco-work-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.eco-work-card__head {
  background: var(--eco-navy);
  padding: 20px 24px;
}
.eco-work-card__date {
  font-size: 0.75rem;
  color: #ccdae8;
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.eco-work-card__company {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.eco-work-card__body { padding: 24px; }
.eco-work-card__quote {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--eco-navy);
  border-left: 3px solid var(--eco-orange);
  padding-left: 14px;
  margin-bottom: 14px;
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.eco-work-card__text {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.8;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* ===== Q&Aページ ===== */

.eco-faq__category {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--eco-navy);
  background: #eef4fb;
  border-left: 4px solid var(--eco-orange);
  padding: 10px 16px;
  border-radius: 0 4px 4px 0;
  margin: 48px 0 16px;
}
.eco-faq__category:first-of-type { margin-top: 0; }

.eco-faq-list { display: flex; flex-direction: column; gap: 8px; }

.eco-faq-item {
  border: 1px solid #dde3ec;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.eco-faq-item[open] { border-color: var(--eco-navy); }

.eco-faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  cursor: pointer;
  list-style: none;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.eco-faq-item__q::-webkit-details-marker { display: none; }
.eco-faq-item__q::before {
  content: "Q";
  flex-shrink: 0;
  background: var(--eco-orange);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.eco-faq-item__q::after {
  content: "＋";
  margin-left: auto;
  flex-shrink: 0;
  color: var(--eco-navy);
  font-size: 1.2rem;
  line-height: 1;
}
.eco-faq-item[open] .eco-faq-item__q::after { content: "－"; }

.eco-faq-item__a {
  padding: 0 20px 16px 56px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* ===== ご利用までの流れページ ===== */

.eco-flow-page__note {
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 40px;
}

.eco-flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.eco-flow-step-v {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0;
  position: relative;
}
.eco-flow-step-v::after {
  content: '';
  position: absolute;
  left: 49px;
  top: 100%;
  width: 2px;
  height: 32px;
  background: #dde3ec;
}
.eco-flow-step-v:last-child::after { display: none; }

.eco-flow-step-v__num {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--eco-navy);
  letter-spacing: 0.05em;
}
.eco-flow-step-v__num span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--eco-navy);
  line-height: 1;
}
.eco-flow-step-v--last .eco-flow-step-v__num span { color: var(--eco-orange); }

.eco-flow-step-v__content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 3px solid var(--eco-navy);
}
.eco-flow-step-v--last .eco-flow-step-v__content { border-left-color: var(--eco-orange); }
.eco-flow-step-v--optional .eco-flow-step-v__content { border-left-style: dashed; }

.eco-flow-step-v__img {
  width: 80px;
  flex-shrink: 0;
  border-radius: 4px;
}
.eco-flow-step-v__title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.eco-flow-step-v__optional-badge {
  font-size: 0.7rem;
  background: #f0f5fb;
  color: var(--eco-navy);
  border: 1px solid #ccdae8;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
}
.eco-flow-step-v__text {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .eco-flow-step-v { grid-template-columns: 60px 1fr; }
  .eco-flow-step-v__content { flex-direction: column; gap: 12px; }
  .eco-flow-step-v__img { width: 60px; }
}

/* ===== フリップカード（特長セクション）===== */
.eco-flip-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.eco-flip-card {
  perspective: 1000px;
  height: 300px;
  cursor: pointer;
}
.eco-flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.55s ease;
  transform-style: preserve-3d;
}
.eco-flip-card:hover .eco-flip-card__inner,
.eco-flip-card.is-flipped .eco-flip-card__inner {
  transform: rotateY(180deg);
}
.eco-flip-card__front,
.eco-flip-card__back {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
/* 表面：課題 */
.eco-flip-card__front {
  background: #fff;
  border-top: 4px solid var(--eco-orange);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  text-align: center;
}
.eco-flip-card__front-icon  { font-size: 3rem; margin-bottom: 16px; line-height: 1; }
.eco-flip-card__front-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.65;
  margin-bottom: 18px;
}
.eco-flip-card__front-hint  {
  font-size: 0.75rem;
  color: #aaa;
  margin: 0;
}
/* 裏面：解決策 */
.eco-flip-card__back {
  background: #1A3A5C;
  color: #fff;
  transform: rotateY(180deg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  text-align: center;
}
.eco-flip-card__back-icon   { font-size: 2.2rem; margin-bottom: 10px; line-height: 1; }
.eco-flip-card__back-num    {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--eco-orange);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.eco-flip-card__back-title  {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 14px;
}
.eco-flip-card__back-text   {
  font-size: 0.82rem;
  line-height: 1.8;
  opacity: 0.88;
  text-align: left;
}

/* ===== Step09: 特長カード Before→After ラベル ===== */
.eco-feature-card__ba {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 12px;
}
.eco-feature-card__ba-before {
  background: #fff3e0;
  color: #e65100;
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 700;
}
.eco-feature-card__ba-arrow {
  color: var(--eco-navy);
  font-size: 14px;
  font-weight: 700;
}
.eco-feature-card__ba-after {
  background: #e8f0f8;
  color: var(--eco-navy);
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 700;
}

/* ===== ページ遷移アニメーション ===== */
body {
  opacity: 0;
  transition: opacity 0.4s ease;
}
body.page-loaded {
  opacity: 1;
}

/* ===== 料金テーブル 必須・オプション区分 ===== */
.eco-price__table-title--mt { margin-top: 2.5rem; }

.eco-price-table__th-req {
  width: 64px;
  min-width: 64px;
  text-align: center;
  white-space: nowrap;
}
.eco-price-table__req {
  text-align: center;
  vertical-align: middle;
}
.eco-price-req-badge {
  display: inline-block;
  background: var(--eco-navy);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
  letter-spacing: .03em;
}
.eco-price-req-badge--cond {
  background: #e07b00;
}
.eco-price-table__row--opt { background: #fafafa; }
.eco-price-table__row--opt .eco-price-table__req {
  border-left: 3px solid #e0e0e0;
}


/* ===== 連携アプリケーション一覧ページ ===== */

/* ページヒーロー：連携ページ専用オーバーレイ */
.eco-page-hero--appli {
  background:
    radial-gradient(ellipse at 15% 60%, rgba(91,155,213,0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(255,154,26,0.15) 0%, transparent 45%),
    linear-gradient(135deg, #0d2847 0%, #1a3a5c 50%, #2d6db8 100%);
  padding: 90px 20px 72px;
}

/* フィルターバー */
.eco-appli-filter-bar {
  background: #fff;
  border-bottom: 1px solid #e8edf3;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.eco-appli-filter-bar .eco-section__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.eco-appli-filter-label {
  font-size: 0.8rem;
  color: #888;
  white-space: nowrap;
  flex-shrink: 0;
}
.eco-appli-filter-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}
.eco-appli-filter-btn {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1.5px solid #d0d8e4;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.eco-appli-filter-btn:hover {
  border-color: var(--eco-navy);
  color: var(--eco-navy);
}
.eco-appli-filter-btn.is-active {
  background: var(--eco-navy);
  border-color: var(--eco-navy);
  color: #fff;
}
.eco-appli-filter-count {
  font-size: 0.78rem;
  color: #999;
  white-space: nowrap;
  margin-left: auto;
}

/* グリッド */
.eco-appli-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

/* カード非表示（フィルター） */
.eco-appli-card.is-hidden {
  display: none;
}

/* カード本体 */
.eco-appli-card {
  background: #fff;
  border: 1px solid #dde4ee;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.eco-appli-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.11);
  transform: translateY(-3px);
}

/* セクション別 上部ボーダー（borderを上書き） */
.eco-appli-cards--provider .eco-appli-card { border-top: 4px solid var(--eco-orange); }
.eco-appli-cards--app     .eco-appli-card { border-top: 4px solid var(--eco-navy); }
.eco-appli-cards--addon   .eco-appli-card { border-top: 4px solid #1a5c4a; }

/* カードロゴ */
.eco-appli-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  padding: 20px 24px;
  background: #fff;
  border-bottom: 1px solid #e8edf3;
}
.eco-appli-card__logo img {
  max-width: 100%;
  max-height: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* カードヘッダー：全カード共通・高さ固定 */
.eco-appli-card__head {
  background: #f8fafc;
  padding: 12px 18px 10px;
  border-bottom: 1px solid #e8edf3;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.eco-appli-card__product {
  font-size: 0.97rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.eco-appli-card__company {
  font-size: 0.72rem;
  color: #999;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.eco-appli-card__type {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: #666;
  background: rgba(0,0,0,0.06);
  border-radius: 3px;
  padding: 2px 7px;
  align-self: flex-start;
  margin-top: auto;
}

/* タグ */
.eco-appli-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 12px 18px 8px;
}
.eco-appli-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
}
.eco-appli-tag--certified { background: #fff3e0; color: #b85c00; border: 1px solid #ffd08a; }
.eco-appli-tag--order     { background: #e8eef6; color: #1a3a5c; border: 1px solid #b8cce0; }
.eco-appli-tag--csv       { background: #e6f4ed; color: #1a5c3a; border: 1px solid #90d0aa; }
.eco-appli-tag--api       { background: #e3f1ff; color: #1655a0; border: 1px solid #90bfe8; }
.eco-appli-tag--auto      { background: #f0eaff; color: #5a1a8c; border: 1px solid #c4a0e8; }

/* 説明文：2行クランプ */
.eco-appli-card__desc {
  font-size: 0.84rem;
  color: #666;
  line-height: 1.7;
  padding: 8px 18px 14px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* リンク */
.eco-appli-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 18px 16px auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--eco-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--eco-navy);
  padding-bottom: 1px;
  transition: opacity 0.15s;
}
.eco-appli-cards--provider .eco-appli-card__link { color: var(--eco-orange); border-color: var(--eco-orange); }
.eco-appli-cards--addon   .eco-appli-card__link  { color: #1a5c4a; border-color: #1a5c4a; }
.eco-appli-card__link:hover { opacity: 0.7; }

/* 補完製品：2列止まり */
.eco-appli-cards--addon {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  max-width: 720px;
}

@media (max-width: 640px) {
  .eco-appli-filter-bar { position: static; }
  .eco-appli-cards { grid-template-columns: 1fr; }
  .eco-appli-cards--addon { max-width: 100%; }
}
