@charset "utf-8";

/*100億企業化コンサルティングとは*/

/* ==========================================================================
   1. Base Layout (全体のレイアウト)
   ========================================================================== */
.fn-panel-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto;
  color: #333;
  box-sizing: border-box;
}

.fn-panel-left,
.fn-panel-right {
  box-sizing: border-box;
}

.fn-panel-left {
  width: calc(60% - 10px);
}

.fn-panel-right {
  width: calc(40% - 10px);
}

/* Typography */
.fn-panel-title {
  border-bottom: 2px solid #ccc;
  padding-bottom: 8px;
  margin-bottom: 15px;
  text-align: center;
  font-size: 2rem;
}

.fn-panel-subtitle {
  margin-bottom: 10px;
}

.fn-panel-desc {
  text-align: center;
  line-height: 1.5;
  margin-bottom: 20px;
}

.fn-panel-source {
  color: #666;
  margin-top: 10px;
  clear: both;
}

/* ==========================================================================
   2. Table Styles (テーブル関連)
   ========================================================================== */
.fn-panel-table-wrapper {
  width: 100%;
  font-size: 95%;
  overflow-x: visible;
}

.fn-panel-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

/* Header & Cells */
.fn-panel-table th {
  background-color: #00A0E9;
  color: #fff;
  padding: 5px;
  border: 1px solid #fff;
  white-space: nowrap;
}

.fn-panel-table td {
  padding: 2px 5px;
  border: 1px solid #ccc;
  text-align: right;
  white-space: nowrap;
  width: 1%;
}

.fn-panel-table td:first-child {
  text-align: left;
  /*background-color: #f9f9f9;*/
  white-space: nowrap;
  width: 1%;
}

/* Special Rows / Columns */
.fn-panel-empty-header {
  background-color: transparent !important;
  border: none !important;
  width: 160px;
}

.fn-panel-highlight-row {
  background-color: #d9d9d9;
}

.fn-panel-table tfoot td {
  font-weight: bold;
}

/* ==========================================================================
   3. Decorations (吹き出し・バッジ・装飾)
   ========================================================================== */
[class^="fn-panel-group-cell-"] {
  border: none !important;
  background-color: transparent !important;
  padding: 0;
  vertical-align: middle;
  position: relative;
  width: auto;
}

.fn-panel-group-container {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  margin-left: -1px;
  z-index: 1;
}

/* Bracket (括弧) */
.fn-panel-bracket {
  width: 15px;
  height: calc(100% - 10px);
  border: 2px solid #ccc;
  border-left: none;
  position: absolute;
  left: 0;
  top: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.fn-panel-bracket::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 2px;
  background-color: #ccc;
}

/* Badge (バッジ) */
.fn-panel-badge {
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  text-align: center;
  margin-left: 25px;
  min-width: 122px;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fn-panel-badge::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid;
}

/* Badge Colors */
.fn-panel-badge-1 { background-color: #005CAF; }
.fn-panel-badge-1::before { border-right-color: #005CAF; }

.fn-panel-badge-2 { background-color: #0093D1; }
.fn-panel-badge-2::before { border-right-color: #0093D1; }

.fn-panel-badge-3 { background-color: #00A0E9; }
.fn-panel-badge-3::before { border-right-color: #00A0E9; }

.fn-panel-badge-perc {
  font-weight: bold;
  font-size: 120%;
}

/* Banner Image */
.s-bnr img {
  max-width: 100%;
  height: auto;
}

.about-img{
  padding: 20px 0;
}

/* ==========================================================================
   4. Responsive (モバイル対応)
   ========================================================================== */
@media (max-width: 900px) {
  .fn-panel-left,
  .fn-panel-right {
    width: 100%;
  }

  .fn-panel-title {
    font-size: 1.6rem;
  }

  /* Table Scroll UI */
  .fn-panel-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 15px;
    position: relative;
  }

  .fn-panel-table {
    min-width: 650px; /* 横スクロールを発生させるための最小幅 */
  }

  [class^="fn-panel-group-cell-"],
  .fn-panel-empty-header {
    display: table-cell;
  }

  /* Custom Scrollbar Styles */
  .fn-panel-table-wrapper::-webkit-scrollbar {
    height: 8px;
  }

  .fn-panel-table-wrapper::-webkit-scrollbar-thumb {
    background: #00A0E9;
    border-radius: 4px;
  }

  .fn-panel-table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
  }

  .about-img{
  padding: 0;
}

}

/*100億企業化コンサルティングとは　ここまで*/

/* 全体コンテナ */
.rm-container {
    color: #333;
    max-width: 1200px;
    margin: 20px auto;
    padding: 10px;
    line-height: 1.5;
}

/* セクションタイトル */
.rm-section-title {
    background-color: #0089ba;
    color: white;
    padding: 10px 15px;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    border: none;
}

.rm-section-title::before {
    content: "■";
    margin-right: 10px;
}

.rm-description {
    margin-bottom: 20px;
    font-weight: 500;
}

/* 画像のレスポンシブ設定 */
.rm-responsive-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ロードマップ画像の外枠 */
.rm-roadmap-wrapper {
    border: 1px solid #ddd;
    padding: 10px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* コンセプト画像の外枠 */
.rm-concept-box {
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
}

/* 下部赤い矢印 */
.rm-bottom-arrow-box {
    background-color: #c00000;
    color: white;
    text-align: center;
    padding: 12px;
    margin-top: 15px;
    font-weight: bold;
    clip-path: polygon(5% 0%, 100% 0%, 100% 100%, 5% 100%, 0% 50%);
}

/* レスポンシブ設計 */
@media screen and (max-width: 992px) {
    .rm-flex-layout {
        display: flex;
        flex-direction: column;
    }
    .rm-right-col {
        margin-top: 40px;
    }
}

@media screen and (min-width: 993px) {
    .rm-flex-layout {
        display: flex;
        gap: 30px;
    }
    .rm-left-col { flex: 2.5; }
    .rm-right-col { flex: 1; }
}