﻿:root {
            --ec-green: #009944;
            --ec-green-dark: #007a37;
            --ec-text: #242424;
            --ec-border: #e0e0e0;
            --ec-bg-light: #f4fbf7;
            --dl-teal: #00A8A5;
            --dl-gradient: linear-gradient(-135deg, #05E57E, #00A8A5);
}
.text-gray-500 {--tw-text-opacity: 1;color: rgb(107 114 128 / var(--tw-text-opacity, 1));}
.text-sm {font-size: 0.875rem;}

    .md\:pl-10 {
        padding-left: 2.5rem;
    }
    .md\:border-l {
        border-left-width: 1px;
    }
    .md\:w-1\/2 {
        width: 50%;
    }
.border-gray-200 {
    --tw-border-opacity: 1;
    border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}
.mb-6 {
    margin-bottom: 1.5rem;
}

.text-green-500 {
    --tw-text-opacity: 1;
    color: rgb(34 197 94 / var(--tw-text-opacity, 1));
}
.mr-2 {
    margin-right: 0.5rem;
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
a.text-green-600 {
    --tw-text-opacity: 1;
    color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}
.font-bold {
    font-weight: 700;
}
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.fa-arrow-up-right-from-square:before, .fa-external-link:before {
    content: "\f08e";
}
.text-gray-400 {
    --tw-text-opacity: 1;
    color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.font-normal {
    font-weight: 400;
}

/* ============================================================
   プランエリア
   ============================================================ */

.flex_out_w {
  display: flex;
  align-items: stretch;
  margin: 50px 0 40px;
  border: 1px solid var(--ec-border);
}

/* メルカート列（左1/3） */
.plan-col--mer {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--ec-border);
}

/* ecWorks（左1/3） */
.plan-col--ecworks {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--ec-border);
}

/* ecbeingラッパー（右2/3）：ロゴ帯1つ＋その下に2列 */
.plan-ec-wrap {
  flex: 2;
  display: flex;
  flex-direction: column;
  border-left: none;
}

/* ecbeingロゴ帯：2列分の幅で中央寄せ */
.plan-ec-wrap .plan-logo-bar {
  width: 100%;
}

/* ミドル＋エンタープライズ横並び */
.plan-ec-cards {
  display: flex;
  flex: 1;
  align-items: stretch;
}

/* ecbeing内の各列 */
.plan-ec-cards .plan-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--ec-border);
  border-top: 1px solid var(--ec-border);
}
.plan-ec-cards .plan-col:last-child { border-right: none; }
.plan-ec-cards .plan-col--featured { outline: 2px solid #007c72; outline-offset: -1px; z-index: 1; }
body.btob-page .plan-ec-cards .plan-col--featured { outline: 2px solid #051978; outline-offset: -1px; z-index: 1; }

/* ロゴ帯 */
.plan-logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  flex-shrink: 0;
}
.plan-logo-bar img { max-height: 36px; width: auto; max-width: 130px; display: block; }
.plan-logo-bar--mer { background: #02153d; }
.plan-logo-bar--ecworks { background: #4CAE8D; }
.plan-logo-bar--ec  { background: #007c72; }
body.btob-page .plan-logo-bar--ec {background: #051978;}

/* 採用数No.1：通常フローに置いてplan-headerの上端に表示 */
.featured-badge {
  display: block;
  background: #e8401c;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 5px 0;
  width: 140px;
  margin: 0 auto;
  border-radius: 10px;
}

/* カード本体 */
.plan-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #fff;
}

/* plan-header：全列で同じpadding。featuredだけバッジ分を上に確保 */
.plan-header {
  padding: 22px 18px 16px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}
/* ダミーspacerで高さを揃える（featuredのバッジと同じ高さ） */
.plan-header-spacer {
  display: block;
  height: 32px; /* featured-badgeと同じ高さ */
}

.plan-title { font-size: 18px; font-weight: 900; margin-bottom: 8px; color: #111; }
.plan-tagline {
  font-size: 12px; font-weight: 700;
  color: #007c72;
  line-height: 1.5;
  min-height: 2.8em;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}

body.btob-page .plan-tagline {
  color: #0068b5;
}

body.btob-page .plan-col--ecworks .plan-tagline--blue { color: #1a1a1a; }

.plan-tagline--blue { color: #1a1a1a; }

.plan-body { padding: 20px 18px; flex-grow: 1; }

.plan-section-label {
  font-size: 11px; font-weight: 900;
  color: #007c72;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}

body.btob-page .plan-section-label {
  color: #0068b5;
}

.plan-section-label::after { content: ""; flex-grow: 1; height: 1px; background: #eee; }
.plan-col--mer .plan-section-label { color: #1a1a1a; }
body.btob-page .plan-col--ecworks .plan-section-label { color: #1a1a1a; }

.check-list { list-style: none; padding: 0; margin-bottom: 20px; }
.check-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 12px; font-weight: 500;
  color: #333;
}
.check-list li i { position: absolute; left: 0; top: 6px; color: #007c72; font-size: 12px; }
body.btob-page .check-list li i {color: #0068b5;}


.check-list li.highlight { color: #007c72; font-weight: 700; }

body.btob-page .plan-col--ecworks .check-list li i.check-blue { color: #4CAE8D; }
.check-list li i.check-blue { color: #1a1a1a; }

.plan-example-box { background: #fafafa; border-radius: 6px; padding: 12px; margin-top: 8px; }
.plan-example-list { font-size: 11px; color: #666; line-height: 1.8; }

.plan-group-note {
  font-size: 11px; color: #999; line-height: 1.6;
  padding: 10px 0 0; margin-top: 10px;
  border-top: 1px dotted #ddd;
}

.plan-footer {
  padding: 16px 18px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

a.dl-btn {
  background: #007c72;
  color: #fff;
  width: 100%;
  display: flex; justify-content: center; align-items: center;
  height: 50px;
  border-radius: 4px;
  font-weight: 700; font-size: 16px;
  transition: 0.2s;
  text-decoration: none;
  box-sizing: border-box;
  border: 1px solid transparent;
}

body.btob-page a.dl-btn {
  background: #0068b5;
}

a.dl-btn:hover { opacity: .7; text-decoration: none; }
a.dl-btn--blue { background: #02153d; border-color: #02153d; }
body.btob-page .plan-col--ecworks a.dl-btn--blue { background: #4CAE8D; border-color: #4CAE8D; }
a.dl-btn--blue:hover {
  background-color: #fff;
  color: #02153d;
  border-color: #02153d;
  opacity: 1;
}

body.btob-page .plan-col--ecworks a.dl-btn--blue:hover {
  background-color: #fff;
  color: #4CAE8D;
  border-color: #4CAE8D;
  opacity: 1;
}

@media (max-width: 768px) {
  .flex_out_w { flex-direction: column; border: none; }
  .plan-col--mer { border-right: none; border-bottom: 1px solid var(--ec-border); }
  .plan-col--ecworks { border-right: none; border-bottom: 1px solid var(--ec-border); }
  .plan-ec-wrap { flex: none; }
  .plan-ec-cards { flex-direction: column; }
  .plan-ec-cards .plan-col { border-right: none; border-bottom: 1px solid var(--ec-border); }
  .plan-ec-cards .plan-col:last-child { border-bottom: none; }
  .plan-col--featured { outline: 2px solid #007c72; }
  .plan-header-spacer { display: none; }
}



@media (max-width: 900px) {
  .flex_out_w { flex-direction: column; }
  .flex_out_w .mer { flex: none; }
  .flex_out_w .ecworks { flex: none; }
  .flex_in { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .flex_out_w { flex-direction: column; }
  .flex_out_w .mer { flex: none; }
  .flex_out_w .ecworks { flex: none; }
  .flex_in { grid-template-columns: 1fr; }
}

        /* --- 月額費用の内訳 (plan_common) --- */
        .plan_common { background: #fff; border: 1px solid var(--ec-border); border-top: 4px solid #007c72; padding: 40px; margin-bottom: 60px; }
        body.btob-page .plan_common {border-top: 4px solid #0068b5; }
        .plan_common .sub_ttl { font-size: 20px; font-weight: 700; text-align: center; margin-bottom: 30px; line-height: 1.4; }
        .plan_common .sub_ttl span { font-size: 16px; font-weight: 500; color: #666; }
        .plan_common ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px 40px; list-style: none; padding: 0; max-width: 900px; margin: 0 auto; }
        .plan_common ul li { font-size: 14px; font-weight: 500; color: #444; padding-bottom: 12px; border-bottom: 1px dotted #ccc; }



        /* --- サポート --- */
        .support-after { text-align: center; padding: 80px 0; background: #fff; }

        .support-after .subtitle { font-size: 24px; font-weight: 700; margin-bottom: 25px; }
        .support-after .subtitle span { color: var(--ec-green); }
        .support-after .subtitle-text { font-size: 16px; color: #555; line-height: 1.8; margin-bottom: 40px; }
        .support-after .subtitle-text span { font-weight: 700; color: #111; }
        .support-after figure img { max-width: 100%; height: auto; margin: 0 auto; }


        /* --- 資料ダウンロード --- */
        .top202204_2 { background: #fff; padding: 100px 0; }
        .dl_area { max-width: 1000px; margin: 0 auto; }
        .dl_area .ttl { color: #01B79B; font-weight: bold; font-size: 20px; text-align: center; margin-bottom: 40px; letter-spacing: 0.05em; }
        .dl_y_bk { background: #F6F6F6; border-radius: 14px; box-shadow: 10px 10px 19px rgba(0,0,0,0.16); padding: 40px 60px; }
        .dl_y_bk ul { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; list-style: none; padding: 0; }
        .dl_y_bk li { width: 63%; }
        .dl_y_bk li.img { width: 30%; }
        .dl_y_bk li.img img { width: 100%; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
        .dl_y_bk .title { color: #00A8A5; font-size: 26px; font-weight: 900; margin-bottom: 15px; }
        .dl_y_bk .text { color: #272727; font-size: 13px; font-weight: 700; margin-bottom: 40px; line-height: 1.8; }
        .btn_flex { display: flex; gap: 20px; flex-wrap: wrap; }
        .btn3 a, .btn4 a { display: block; width: 220px; padding: 12px; border-radius: 37px; text-align: center; font-size: 14px; font-weight: bold; position: relative; transition: all 0.2s ease-out; top: 0; }
        .btn3 a { background: var(--dl-gradient); color: #fff; box-shadow: 2px 9px 16px rgba(76, 197, 171, 0.4); }
        .btn4 a { background: #fff; color: #272727; border: 1px solid #eee; box-shadow: 2px 9px 16px rgba(187, 187, 187, 0.4); }
        .btn3 a:after, .btn4 a:after { content: ""; border-top: solid 2px; border-right: solid 2px; width: 7px; height: 7px; transform: rotate(45deg); position: absolute; top: 43%; right: 25px; }
        .five_link { display: flex; justify-content: space-between; flex-wrap: wrap; list-style: none; padding: 0; margin-top: 60px; }
        .five_link li { width: 23%; position: relative; transition: transform 0.3s ease; }
        .five_link li img { width: 100%; border-radius: 10px; box-shadow: 0px 5px 15px rgba(0,0,0,0.1); margin-bottom: 20px; }
        .five_link li span { font-size: 12px; font-weight: bold; text-align: center; display: block; color: #111; line-height: 1.6; min-height: 3.2em; }
        .five_link li .arrow2 { color: #00A8A5; font-size: 14px; position: relative; display: block; text-align: center; margin-top: 10px; font-weight: 900; }
        .five_link li .arrow2:after { content: ""; border-top: solid 2px #00A8A5; border-right: solid 2px #00A8A5; width: 6px; height: 6px; transform: rotate(45deg); display: inline-block; margin-left: 8px; vertical-align: middle; }

@media (max-width: 768px) {
.md\:w-1\/2 {
    width: 100%;
}
}
/* ============================================================
   レスポンシブ
   ============================================================ */
@media screen and (max-width: 900px) {
  .voice_grid { grid-template-columns: repeat(2, 1fr); }
  .sub_nav ul li { width: 100%; }
  .plan_common ul { grid-template-columns: 1fr; }
  .price_contact_box { flex-direction: column; gap: 16px; }
}
@media screen and (max-width: 768px) {
  header { height: var(--sp_header_height); }
  .header_right { display: none; }
  .main_wrapper_ { padding-top: var(--sp_header_height); }
  .page_ttl_area h1 { font-size: 26px; }
  .section_ttl h2 { font-size: 22px; }
  .support-after .subtitle { font-size: 20px; }
  .voice_grid { grid-template-columns: 1fr; }
  .dl_y_bk { padding: 24px 20px; }
  .dl_y_bk li, .dl_y_bk li.img { width: 100%; margin-bottom: 20px; }
  .five_link li { width: 47%; }
  .plan_common { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }