 /*  メイン機能紹介コンテナ  */

.mainfea-container {
  width: 100%;
  max-width: 1500px;   /* 元は width:1500px */
  margin: 0 auto;
  margin-bottom: 40px;
  display: flex;
  gap: 20px;
  box-sizing: border-box;
  --left-width: 40%;
  --right-width: 60%;
}

.mainfea-container img.scale-full-width {
  width: 100%;
  height: auto;
  display: block;
}

/* 画面幅が狭くなったら縦並び（スマホ向け） */
@media (max-width: 768px) {
  .mainfea-container {
    flex-direction: column;
  }
  .mainfea-container .left-column,
  .mainfea-container .right-column {
    width: 100% !important;
  }
}

 /* tabコンテナ内 img の最大サイズを指定 */
img.scale-full-width {
  max-width: 100%;   
  height: auto;       
  display: block;    
}

/* 1項目コンテナ */

.one-container {
  width: 100%;
  max-width: 1500px;   /* 元は width:1500px */
  margin: 0 auto;
  margin-bottom: 40px;
}
/* スマホサイズで左右に 10px ずつ余白を追加したい場合（任意） */
@media (max-width: 480px) {
  .one-container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.spacer {
  height: 50px;      /* 上下に N px の空白を挿入 */
  background: transparent;
}


    /* -----------------------------
       タブグループ間の余白
    ----------------------------- */
    .tab-group {
      margin-bottom: 40px;
    }

    /* -----------------------------
       タブコンテナ
    ----------------------------- */
    .entabs {
      display: flex;
      gap: 10px;
      justify-content: center;   /* 中央揃え */
      flex-wrap: wrap;           /* 複数行に折り返し可能 */
      margin-bottom: 20px;
    }
    .entab {
      padding: 10px 20px;
      background-color: #ffffff;
      color: 2a2a2a;
      border: 2px solid orange;
      border-radius: 8px;
      cursor: pointer;
      font-size: 16px;
      transition: background-color 0.2s, color 0.2s;
    }
   .entab.active {
      background-color: #f16220;
      color: #ffffff;
    }

    /* -----------------------------
       タブコンテンツ（非表示/表示切替）
    ----------------------------- */
    .tab-content {
      display: none;
    }
    .tab-content.active {
      display: block;
    }




    /* ===================================================
       各ブロックの親コンテナ（幅1000pxに固定／左右並び）
       → CSS 変数で左右幅を切り替えられる
    =================================================== */
.parent-container {
  width: 100%;
  max-width: 1200px;   /* 元は width:1200px */
  margin: 0 auto;
  margin-bottom: 40px;
  display: flex;
  gap: 20px;
  box-sizing: border-box;
  --left-width: 40%;
  --right-width: 60%;
}

@media (max-width: 768px) {
  .parent-container {
    flex-direction: column;
  }
  .parent-container .left-column,
  .parent-container .right-column {
    width: 100% !important;
  }
}

    /* ---------------------------------------------------
       左カラム（幅は変数で制御）
    --------------------------------------------------- */
.left-column {
  width: var(--left-width);
  box-sizing: border-box;
  padding: 10px;
  line-height: 1.6;
  border-radius: 4px;
}
    /* ---------------------------------------------------
       右カラム（幅は変数で制御）
    --------------------------------------------------- */
.right-column {
  width: var(--right-width);
  box-sizing: border-box;
  position: relative;
}


    /* ===================================================
       イメージ比較コンテナ本体（右カラム内で幅100%）
    =================================================== */
.img-comp-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
  background-color: #000;
  border-radius: 4px;
}
    .img-comp-container img {
      display: block;
      width: 100%;
      height: auto;
      vertical-align: middle;
    }
    .img-comp-container .imgB {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: auto;
      /* 初期では右側50%を隠すクリップ */
      clip-path: inset(0 50% 0 0);
      -webkit-clip-path: inset(0 50% 0 0);
    }
    .img-comp-container .slider {
      position: absolute;
      z-index: 10;
      top: 0;
      left: 50%;                  /* 初期で中央 */
      width: 4px;                 /* バーの太さ */
      height: 100%;
      background-color: orange;   /* バーをオレンジに */
      border: 1px solid darkorange;
      cursor: ew-resize;
      margin-left: -2px;          /* 幅の半分を引いて中央 */
      overflow: visible;          /* 子要素がはみ出しても OK */
    }
    .img-comp-container .handle {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 20px;                /* 取っ手の直径 */
      height: 20px;
      background-color: orange;   /* 同色 */
      border: 2px solid darkorange;
      border-radius: 50%;
      box-shadow: 0 0 5px rgba(0,0,0,0.3);
      cursor: ew-resize;
      z-index: 11;
    }

    /* ---------------------------------------------------
       動画埋め込み用スタイル（ブロック③）
    --------------------------------------------------- */
.video-container {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background-color: #000;
}
    .video-container video {
      display: block;
      width: 100%;
      height: auto;
    }

    /* ---------------------------------------------------
       ブロック④：シンプル画像スライダー
    --------------------------------------------------- */
.simple-slider-container {
  position: relative;
  width: 100%;
  background-color: #000;
  border-radius: 4px;
  overflow: visible;
  margin-bottom: 20px;
}
    .simple-slider-container img {
      display: block;
      width: 100%;
      height: auto;
    }
    .simple-slider-range {
      position: absolute;
      bottom: -12px;           /* 取っ手の半分を画像下に出す */
      left: 0;
      width: 100%;
      height: 24px;            /* 取っ手（24px）に合わせる */
      background: transparent;
      -webkit-appearance: none;
      z-index: 20;
    }
    .simple-slider-range::-webkit-slider-runnable-track {
      height: 4px;
      background: orange;
      border: none;
      border-radius: 2px;
      position: relative;
      top: 10px;               /* 入力要素の中央にトラックを配置 */
    }
    .simple-slider-range::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 24px;             /* 取っ手の直径 */
      height: 24px;
      background: orange;
      border: 2px solid darkorange;
      border-radius: 50%;
      margin: -10px;           /* 取っ手中心をトラック上に */
      cursor: pointer;
      position: relative;
      z-index: 30;
    }
    /* Firefox 用 */
    .simple-slider-range::-moz-range-track {
      height: 4px;
      background: orange;
      border: none;
      border-radius: 2px;
    }
    .simple-slider-range::-moz-range-thumb {
      width: 24px; 
      height: 24px;
      background: orange;
      border: 2px solid darkorange;
      border-radius: 50%;
      margin: -10px;           /* 同様に中心を合わせる */
      cursor: pointer;
      position: relative;
      z-index: 30;
    }

    /* リンクボタン共通スタイル */
    .rounded-button {
      display: inline-block;            /* 行内ブロック要素にしてボタンっぽくする */
      padding: 10px 20px;               /* 上下 10px、左右 20px の余白 */
      font-size: 16px;                  /* 文字サイズ */
      text-decoration: none;            /* 下線を消す */
      color: #000;                      /* 通常時の文字色：黒 */
      background-color: #fff;           /* 通常時の背景色：白 */
      border: 1px solid #ff8c00;           /* オレンジの枠線 */
      border-radius: 8px;               /* 角丸の半径（数値を変えて丸みを調整） */
      transition: background-color 0.2s ease, color 0.2s ease;
                                        /* ホバー時の変化にアニメーションをつける */
    }
    /* ホバー時／フォーカス時のスタイル */
    .rounded-button:hover,
    .rounded-button:focus {
      background-color: #ff8c00;        /* ホバー時の背景色：オレンジ */
      color: #fff;                      /* ホバー時の文字色：白 */
      border-color: #ff8c00;            /* 枠線もオレンジに合わせる場合 */
    }
    .rounded-button:focus {
      outline: none;
      box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.4);
    }


/* プライス下のアップグレード案内ブロックのスタイル */
    /* 全体を横並びにするラッパー */
    .upanno-blocks {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      padding: 0;
      margin: 0 auto;           /* 中央揃え */
      max-width: 1200px;       /* 幅を1200pxに制限 */
      list-style: none;
    }
    /* 各ブロック */
    .upanno-block {
      flex: 1 1 calc(33.333% - 20px);
      box-sizing: border-box;
      background: #f9f9f9;
      padding: 20px;
    }
    /* 中くらい以下の画面幅で2カラム */
    @media (max-width: 900px) {
      .upanno-block {
        flex: 1 1 calc(50% - 20px);
      }
    }
    /* スマホなど狭い画面で1カラム */
    @media (max-width: 600px) {
      .upanno-block {
        flex: 1 1 100%;
      }
    }
    /* アイコンとタイトルを横並びに揃え（中央寄せ） */
    .upanno-block__header {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 10px;
    }
    .upanno-block__icon {
      width: 32px;
      height: 32px;
      margin-right: 10px;
      flex-shrink: 0;
    }
    .upanno-block__title {
      margin: 0;
      font-size: 1.1rem; /* root-relative unit for scalability */
      font-weight: bold;
      white-space: normal;       /* 通常改行を許可 */
      word-break: break-word;    /* 単語途中での折り返しを許可 */
    }
    .upanno-block__text {
      margin: 0;
      line-height: 1.5;
    }

/* Contact Form 7 の送信ボタン全体に適用 */
.wpcf7 .wpcf7-submit {
  display: inline-block;           /* ボタン幅を中身に合わせる */
  padding: 12px 32px;              /* 上下12px、左右32px の余白 */
  font-size: 16px;                 /* 文字サイズ */
  font-weight: bold;               /* 太字 */
  color: #ffffff;                  /* 文字色 */
  background-color: #0073aa;       /* 背景色 */
  border: 2px solid #006799;       /* 枠線 */
  border-radius: 4px;              /* 角丸 */
  cursor: pointer;                 /* マウスカーソルをポインターに */
  text-decoration: none;           /* 下線なし */
  transition: background-color 0.3s ease,    /* ホバー時の背景色変化 */
              color 0.3s ease,               /* ホバー時の文字色変化 */
              transform 0.1s ease;           /* 押下時の縮小アニメ */
}

/* ホバー時 */
.wpcf7 .wpcf7-submit:hover {
  background-color: #005f8d;
  color: #e2f1ff;
}

/* 押下（フォーカス／アクティブ）時 */
.wpcf7 .wpcf7-submit:active,
.wpcf7 .wpcf7-submit:focus {
  outline: none;                   /* フォーカス枠を消す */
  transform: scale(0.98);          /* 少し縮めて押下感 */
}

/* 無効化状態 */
.wpcf7 .wpcf7-submit.wpcf7-not-valid {
  background-color: #cccccc;
  border-color: #bbbbbb;
  cursor: not-allowed;
}

/* —————————————— */
/* CF7 プルダウン装飾 */
/* —————————————— */
.wpcf7 .wpcf7-form-control.wpcf7-select {
  /* サイズ・余白 */
  display: block;
  width: 100%;               /* 必要に応じ max-width で制限可 */
  max-width: 400px;
  padding: 10px 36px 10px 12px;
  font-size: 16px;
  line-height: 1.4;

  /* 色・背景・枠線 */
  color: #333;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 4px;

  /* ネイティブ矢印を消して疑似矢印を表示 */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: 
    url("data:image/svg+xml;charset=UTF-8,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6H0z' fill='%23666'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 6px;

  /* ホバー／フォーカス時の効果 */
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.wpcf7 .wpcf7-form-control.wpcf7-select:hover {
  border-color: #999;
}
.wpcf7 .wpcf7-form-control.wpcf7-select:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.2);
}

/* —————————————— */
/* option のスタイル （※ブラウザによっては制限あり） */
/* —————————————— */
.wpcf7 .wpcf7-form-control.wpcf7-select option {
  padding: 8px 12px;
  background-color: #fff;
  color: #333;
  /* ホバー色を出したい場合 */
}
.wpcf7 .wpcf7-form-control.wpcf7-select option:hover {
  background-color: #f0f8ff;
  color: #0073aa;
}

  /* メイン記事のタブ切り替え様 */

 .ok-container {
            width: 100%;
        }

        /* タブナビゲーション */
        .ok-tabs {
            display: flex;
            background: rgba(0, 0, 0, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 8px;
            margin-bottom: 1rem;
        }

        .ok-tab {
            flex: 1;
            padding: 12px 16px;
            background: transparent;
            border: none;
            color: #666;
            border-radius: 12px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
            font-size: 14px;
            min-width: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* レスポンシブ対応 */
        @media (max-width: 480px) {
            .ok-tabs {
                padding: 4px;
                gap: 4px;
                flex-wrap: wrap;
            }
            
            .ok-tab {
                padding: 10px 12px;
                font-size: 13px;
                min-width: 80px;
            }
        }

        @media (max-width: 360px) {
            .ok-tabs {
                flex-direction: column;
                gap: 4px;
            }
            
            .ok-tab {
                flex: none;
                width: 100%;
                text-align: center;
            }
        }

        @media (min-width: 768px) {
            .ok-tab {
                padding: 14px 24px;
                font-size: 15px;
            }
        }

        .ok-tab.ok-active {
            background: #1e3a8a;
            color: white;
            box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
        }

        .ok-tab:hover:not(.ok-active) {
            background: rgba(255, 255, 255, 0.5);
            color: #333;
        }

        /* コンテンツエリア */
        .ok-tab-content {
            background: transparent;
            color: #333;
            min-height: 200px;
            animation: ok-fadeIn 0.3s ease;
        }

        .ok-content-item {
            display: none;
        }

        .ok-content-item.ok-active {
            display: block;
        }


        .ok-content-item h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .ok-content-item p {
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        @keyframes ok-fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
