/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 29 2026 | 07:10:24 */
/* MT4・EA 導入手順ページ用スタイル v2
   貼り付け先: 外観 > カスタマイズ > 追加CSS */

.trgy-mt4-ea-guide {
  --tmg-bg: #F7F6F2;
  --tmg-card: #FFFFFF;
  --tmg-soft: #EEECEA;
  --tmg-ink: #1A1A18;
  --tmg-ink-soft: #5C5C58;
  --tmg-muted: #9A9A94;
  --tmg-line: rgba(26,26,24,.10);
  --tmg-line-soft: rgba(26,26,24,.06);
  --tmg-accent: #0F6E56;
  --tmg-accent-soft: #E1F5EE;
  --tmg-link: #185FA5;
  --tmg-warn-ink: #854F0B;
  --tmg-warn-bg: #FAEEDA;
  --tmg-r: 14px;
  --tmg-rs: 10px;
  font-family:  'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', 'sans-serif';
  color: var(--tmg-ink);
  background: var(--tmg-bg);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  display: block;
  width: 100%;
}

/* 親コンテナの幅制限・パディングを解除して全幅化 */
.trgy-mt4-ea-guide,
body .trgy-mt4-ea-guide {
  box-sizing: border-box;
}

.col-md-9.mainSection:has(.trgy-mt4-ea-guide),
.col-md-9.mainSection:has(.trgy-mt4-ea-guide) .entry-body,
.row.con_width:has(.trgy-mt4-ea-guide),
.container:has(.trgy-mt4-ea-guide) {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
}

/* サイドバー列を非表示にして1カラム全幅にする */
.col-md-9.mainSection:has(.trgy-mt4-ea-guide) ~ .col-md-3,
.col-md-3.subSection:has(~ .col-md-9 .trgy-mt4-ea-guide) {
  display: none !important;
}

.trgy-mt4-ea-guide *,
.trgy-mt4-ea-guide *::before,
.trgy-mt4-ea-guide *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.trgy-mt4-ea-guide img {
  max-width: 100%;
  height: auto;
  display: block;
}

.trgy-mt4-ea-guide .tmg-wrap {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  padding: 0 28px;
}

/* ページヘッダ */
.trgy-mt4-ea-guide .tmg-page-head {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--tmg-line);
}

.trgy-mt4-ea-guide .tmg-ph-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tmg-muted);
  margin-bottom: 16px;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 8px;
}

.trgy-mt4-ea-guide .tmg-ph-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--tmg-muted);
  border-radius: 2px;
}

/* h1の代わりにdivクラスで対応 */
.trgy-mt4-ea-guide .tmg-page-head-h1 {
  font-family:  'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', 'sans-serif';
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 1.5;
  color: var(--tmg-ink);
  margin-bottom: 14px;
  display: block;
}

.trgy-mt4-ea-guide .tmg-lead {
  font-size: 1.6rem;
  color: var(--tmg-ink-soft);
  line-height: 2.0;
  display: block;
}

/* セクション */
.trgy-mt4-ea-guide .tmg-section {
  padding: 56px 0 0;
  display: block;
}

.trgy-mt4-ea-guide .tmg-sec-head {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.trgy-mt4-ea-guide .tmg-sec-no {
  -webkit-flex: 0 0 auto;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tmg-accent-soft);
  color: var(--tmg-accent);
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  font-family:  'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', 'sans-serif';
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1;
}

.trgy-mt4-ea-guide .tmg-sec-no.tmg-warn {
  background: var(--tmg-warn-bg);
  color: var(--tmg-warn-ink);
}

.trgy-mt4-ea-guide .tmg-sec-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tmg-muted);
  margin-bottom: 3px;
  display: block;
}

/* h2の代わりにdivクラスで対応 */
.trgy-mt4-ea-guide .tmg-sec-title {
  font-family:  'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', 'sans-serif';
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.5;
  color: var(--tmg-ink);
  display: block;
  border: none;
  padding: 0;
  background: none;
  margin: 0;
}

/* カード */
.trgy-mt4-ea-guide .tmg-card {
  background: var(--tmg-card);
  border: 1px solid var(--tmg-line);
  border-radius: var(--tmg-r);
  overflow: hidden;
  display: block;
}

/* ステップ */
.trgy-mt4-ea-guide .tmg-step {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 28px;
  padding: 28px 30px;
  border-bottom: 1px solid var(--tmg-line-soft);
  -webkit-align-items: start;
  align-items: start;
}

.trgy-mt4-ea-guide .tmg-step:last-child {
  border-bottom: none;
}

.trgy-mt4-ea-guide .tmg-step-figure {
  -webkit-flex: 0 0 auto;
  flex: 0 0 auto;
  width: 300px;
  max-width: 100%;
  border: 1px solid var(--tmg-line);
  border-radius: var(--tmg-rs);
  overflow: hidden;
  background: var(--tmg-soft);
}

.trgy-mt4-ea-guide .tmg-step-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.trgy-mt4-ea-guide .tmg-step-text {
  -webkit-flex: 1 1 280px;
  flex: 1 1 280px;
  min-width: 0;
}

.trgy-mt4-ea-guide .tmg-step.tmg-no-img .tmg-step-text {
  -webkit-flex: 1 1 100%;
  flex: 1 1 100%;
}

.trgy-mt4-ea-guide .tmg-step-text ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.trgy-mt4-ea-guide .tmg-step-text li {
  position: relative;
  padding: 5px 0 5px 18px;
  color: var(--tmg-ink);
  line-height: 1.9;
  overflow-wrap: break-word;
  word-break: break-word;
}

.trgy-mt4-ea-guide .tmg-step-text li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tmg-accent);
  opacity: .55;
}

.trgy-mt4-ea-guide .tmg-step-text a {
  color: var(--tmg-link);
  text-decoration: none;
  word-break: break-all;
}

.trgy-mt4-ea-guide .tmg-step-text a:hover {
  opacity: .75;
}

/* 注意ボックス */
.trgy-mt4-ea-guide .tmg-notice {
  background: var(--tmg-warn-bg);
  border-radius: var(--tmg-rs);
  border-left: 3px solid var(--tmg-warn-ink);
  padding: 22px 26px;
  display: block;
}

.trgy-mt4-ea-guide .tmg-notice ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.trgy-mt4-ea-guide .tmg-notice li {
  position: relative;
  padding: 5px 0 5px 18px;
  color: var(--tmg-ink);
  line-height: 1.9;
  overflow-wrap: break-word;
  word-break: break-word;
}

.trgy-mt4-ea-guide .tmg-notice li::before {
  content: '·';
  position: absolute;
  left: 4px;
  top: 3px;
  color: var(--tmg-warn-ink);
  font-weight: 700;
  font-size: 1.1rem;
}

.trgy-mt4-ea-guide .tmg-notice strong {
  color: var(--tmg-warn-ink);
  font-weight: 700;
}

/* 会社情報 */
.trgy-mt4-ea-guide .tmg-company {
  margin-top: 40px;
  background: #FFFFFF;
  border: 1px solid rgba(26,26,24,.10);
  border-radius: 14px;
  overflow: hidden;
  display: block;
}

.trgy-mt4-ea-guide .tmg-company-title {
  font-family: 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', 'sans-serif';
  font-weight: 700;
  font-size: 1.6rem;
  color: #1A1A18;
  padding: 18px 26px;
  border-bottom: 1px solid rgba(26,26,24,.10);
  background: #EEECEA;
  display: block;
}


.trgy-mt4-ea-guide .tmg-company-body {
 padding: 22px 26px;
  color: #1A1A18;
  font-size: 14px;
  line-height: 1.95;
}

.trgy-mt4-ea-guide .tmg-company-body p {
  margin: 4px 0;
  line-height: 1.95;
}

.trgy-mt4-ea-guide .tmg-company-body a {
  color: #185FA5;
  text-decoration: none;
  word-break: break-all;
  display: block;
  margin-top: 8px;
}

.trgy-mt4-ea-guide .tmg-company-body a:hover {
  opacity: .75;
}

.trgy-mt4-ea-guide .tmg-foot-space {
  height: 80px;
  display: block;
}

/* レスポンシブ */
@media (max-width: 640px) {
  .trgy-mt4-ea-guide .tmg-wrap { padding: 0 18px; }
  .trgy-mt4-ea-guide .tmg-page-head { padding: 48px 0 32px; }
  .trgy-mt4-ea-guide .tmg-page-head-h1 { font-size: 1.7rem; }
  .trgy-mt4-ea-guide .tmg-section { padding: 44px 0 0; }
  .trgy-mt4-ea-guide .tmg-step { gap: 14px; padding: 22px 20px; }
  .trgy-mt4-ea-guide .tmg-step-figure { width: 100%; max-width: 380px; }
  .trgy-mt4-ea-guide .tmg-sec-no { width: 38px; height: 38px; font-size: .95rem; }
  .trgy-mt4-ea-guide .tmg-sec-title { font-size: 1.2rem; }
}

/* ─── トリロジー外部リンク注意モーダル ─── */
.trgy-mt4-ea-guide .trgy-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.trgy-mt4-ea-guide .trgy-modal-box {
  background: #ffffff;
  border-radius: 8px;
  max-width: 480px;
  width: 100%;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
}
.trgy-mt4-ea-guide .trgy-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #1A1A18;
  margin-bottom: 16px;
  line-height: 1.5;
}
.trgy-mt4-ea-guide .trgy-modal-text {
  font-size: 13px;
  color: #5C5C58;
  line-height: 1.8;
  margin-bottom: 24px;
}
.trgy-mt4-ea-guide .trgy-modal-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.trgy-mt4-ea-guide .trgy-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  border: none;
  transition: opacity .15s;
}
.trgy-mt4-ea-guide .trgy-modal-btn--cancel {
  background: #EEECEA;
  color: #5C5C58 !important;
}
.trgy-mt4-ea-guide .trgy-modal-btn--ok {
  background: #D83333;
  color: #ffffff !important;
}
.trgy-mt4-ea-guide .trgy-modal-btn:hover { opacity: .85; }

/* スクロール固定用（モーダル表示中にbodyスクロールを止める） */
body.trgy-modal-open {
  overflow: hidden !important;
}