/* =========================================================
   5分で分かるガイド付き体験：共通スタイル
   ---------------------------------------------------------
   主な構成
   1. 体験ページ共通レイアウト・フォーム・モーダル
   2. application outline 風画面（STEP1）
   3. database manager 風画面（STEP2）
   4. program generator / pdf designer / menu editor（STEP3～5）
   5. 保存済み画面に合わせるためのSTEP1上書き調整

   注意：後半には同じセレクタを上書きする指定があります。
   順序を変更すると表示が変わるため、並び順は維持してください。
   ========================================================= */

/* ---------- 共通リセット・基本文字 ---------- */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif;
  color: #18324a;
  background: #f4f8fb;
}

/* ---------- ページ共通の表示幅 ---------- */

.trial-shell {
  width: min(1040px,calc(100% - 32px));
  margin: auto;
}

/* ---------- ヘッダー・所要時間表示 ---------- */

.trial-header {
  background: linear-gradient(135deg,#e9f6ff,#fff);
  border-bottom: 1px solid #d7e6f0;
}

.trial-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
}

.trial-kicker {
  margin: 0 0 4px;
  color: #1374a8;
  font-weight: 800;
}

.trial-header h1 {
  margin: 0;
  font-size: clamp(22px,3.2vw,34px);
}

.trial-time {
  background: #fff;
  border: 1px solid #b9d8e8;
  border-radius: 999px;
  padding: 8px 15px;
  font-weight: 700;
}

/* ---------- STEP進行表示 ---------- */

.trial-steps {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 8px;
  list-style: none;
  padding: 24px 0;
  margin: 0;
}

.trial-steps li {
  background: #e8eef3;
  color: #6d7d89;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}

.trial-steps span {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #cad5dd;
  margin-right: 4px;
}

.trial-steps .is-current {
  background: #d9f2ff;
  color: #075d8a;
  box-shadow: inset 0 0 0 2px #55b5dd;
}

.trial-steps .is-current span,
.trial-steps .is-done span {
  background: #138ac0;
  color: #fff;
}

.trial-steps .is-done {
  color: #36718d;
}

/* ---------- 説明カード・入力フォーム ---------- */

.trial-card {
  background: #fff;
  border-radius: 18px;
  padding: clamp(20px,4vw,42px);
  box-shadow: 0 12px 35px rgba(27,69,98,.09);
  margin-bottom: 35px;
}

.guide {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #f1f9fd;
  border-left: 5px solid #37a9d5;
  padding: 18px;
  border-radius: 12px;
  margin-bottom: 28px;
}

.guide>span {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #138ac0;
  color: white;
  font-size: 20px;
  font-weight: 800;
}

.guide p {
  margin: 5px 0 0;
  line-height: 1.7;
}

.trial-form {
  display: grid;
  gap: 20px;
}

.trial-form label,
.trial-form fieldset {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.trial-form input,
.trial-form select {
  width: 100%;
  padding: 13px;
  border: 1px solid #b8c8d3;
  border-radius: 9px;
  font: inherit;
  background: #fff;
}

.trial-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 25px;
}

.btn-primary,
.btn-back,
.btn-sub {
  display: inline-block;
  border: 0;
  border-radius: 9px;
  padding: 13px 20px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background: #e67e22;
  color: #fff;
}

.btn-back,
.btn-sub {
  background: #e9f0f4;
  color: #264b62;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 160px 44px;
  gap: 10px;
  margin-bottom: 10px;
}

.btn-remove {
  border: 0;
  border-radius: 8px;
  background: #f6e8e8;
  color: #9b3838;
  font-size: 22px;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.summary-grid>div {
  background: #f7fafc;
  padding: 17px;
  border-radius: 10px;
}

.summary-grid small,
.summary-grid strong {
  display: block;
}

.summary-grid small {
  color: #647a88;
  margin-bottom: 5px;
}

.trial-table,
.app-preview table {
  width: 100%;
  border-collapse: collapse;
}

.trial-table th,
.trial-table td,
.app-preview th,
.app-preview td {
  padding: 12px;
  border-bottom: 1px solid #dde6ec;
  text-align: left;
}

/* ---------- 生成中・完了表示 ---------- */

.generating-card {
  text-align: center;
}

.spinner {
  width: 58px;
  height: 58px;
  border: 6px solid #d9ecf5;
  border-top-color: #168abb;
  border-radius: 50%;
  margin: 10px auto 25px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.generate-list {
  display: inline-grid;
  text-align: left;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.generate-list li:before {
  content: '✓';
  color: #168abb;
  font-weight: 900;
  margin-right: 10px;
}

.muted {
  color: #69808f;
}

.complete-badge {
  display: inline-block;
  background: #dff5e7;
  color: #20743d;
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 14px;
}

.lead {
  font-size: 18px;
}

/* ---------- 生成された業務画面の簡易プレビュー ---------- */

.app-preview {
  display: grid;
  grid-template-columns: 220px 1fr;
  border: 1px solid #cbdbe5;
  border-radius: 12px;
  overflow: hidden;
  min-height: 360px;
}

.app-preview aside {
  background: #183b55;
  padding: 20px;
  color: white;
}

.app-preview aside h3 {
  margin-top: 0;
}

.app-preview aside button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: #dcebf4;
  padding: 12px;
  text-align: left;
  border-radius: 7px;
}

.app-preview aside button.active {
  background: #2e668a;
  color: white;
}

.app-main {
  padding: 22px;
  overflow: auto;
}

.app-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-toolbar button {
  border: 0;
  background: #168abb;
  color: #fff;
  padding: 9px 13px;
  border-radius: 7px;
}

.pdf-preview {
  margin-top: 25px;
  padding: 15px;
  background: #f4f7f9;
  border: 1px dashed #a9bbc7;
}

.conversion-note {
  margin-top: 25px;
  padding: 18px;
  background: #fff8e9;
  border-radius: 10px;
}

.trial-footer {
  text-align: center;
  color: #647987;
  padding: 10px 20px 35px;
}

/* ---------- デモ入力用モーダル ---------- */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-box {
  position: relative;
  background: #fff;
  width: min(520px,100%);
  padding: 30px;
  border-radius: 15px;
  display: grid;
  gap: 14px;
}

.modal-box label {
  display: grid;
  gap: 5px;
}

.modal-box input {
  padding: 11px;
  border: 1px solid #bacad4;
  border-radius: 7px;
}

.modal-close {
  position: absolute;
  right: 13px;
  top: 10px;
  border: 0;
  background: none;
  font-size: 26px;
}

.modal[hidden] {
  display: none;
}

#savedMessage {
  color: #257345;
  font-weight: 800;
}

/* ---------- 共通画面：スマートフォン対応 ---------- */

@media (max-width: 700px) {
  .trial-shell {
    width: min(100% - 20px,1040px);
  }
  .trial-header-inner {
    padding: 18px 0;
  }
  .trial-time {
    display: none;
  }
  .trial-steps {
    overflow-x: auto;
    grid-template-columns: repeat(5,110px);
    padding: 14px 0;
  }
  .trial-steps li {
    font-size: 12px;
  }
  .trial-steps b {
    display: block;
    margin-top: 4px;
  }
  .trial-card {
    padding: 20px 15px;
  }
  .field-row {
    grid-template-columns: 1fr 105px 40px;
  }
  .summary-grid {
    grid-template-columns: 1fr;
  }
  .trial-actions {
    flex-direction: column-reverse;
  }
  .trial-actions>* {
    text-align: center;
    width: 100%;
  }
  .app-preview {
    grid-template-columns: 1fr;
  }
  .app-preview aside {
    display: flex;
    overflow: auto;
    gap: 6px;
    padding: 10px;
  }
  .app-preview aside h3 {
    display: none;
  }
  .app-preview aside button {
    white-space: nowrap;
    width: auto;
  }
  .app-main {
    padding: 14px;
  }
  .app-toolbar h2 {
    font-size: 19px;
  }
}

/* Application Outline inspired trial screen */

/* STEP1：画面全体 */

.outline-demo-body {
  margin: 0;
  background: #d9e0e6;
  color: #17232d;
  font-family: "Yu Gothic UI","Meiryo",sans-serif;
  font-size: 13px;
  overflow-x: auto;
}

.outline-demo {
  min-width: 980px;
}

/* STEP1：上部ツールバー */

.outline-topbar {
  height: 54px;
  display: grid;
  grid-template-columns: 112px 210px minmax(280px,1fr) 58px 230px 58px;
  border-bottom: 1px solid #7e94a4;
  background: #b9cad6;
}

.outline-logo,
.outline-product,
.outline-title,
.outline-process,
.outline-top-actions,
.outline-menu-stack {
  border-right: 1px solid #8299aa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.outline-logo {
  background: #264e67;
}

.outline-logo span {
  width: 88px;
  padding: 5px 0;
  text-align: center;
  border: 3px double #aec6d5;
  background: #eff6f9;
  color: #1e5b7f;
  font: italic 700 20px Verdana;
}

.outline-product {
  background: #315f79;
  color: #eef8fd;
  font: italic 700 20px Verdana;
}

.outline-title {
  background: #e2ebf0;
  flex-direction: column;
}

.outline-title small {
  font-size: 10px;
  color: #6a7f8d;
}

.outline-title strong {
  font-size: 17px;
  color: #095aa0;
}

.outline-process {
  background: #9eb6c6;
  font-weight: 700;
}

.outline-top-actions {
  gap: 8px;
  background: #bfd0da;
}

.outline-small-button {
  height: 27px;
  min-width: 96px;
  border: 1px solid #7f909b;
  background: linear-gradient(#fff,#d9e0e4);
  font-weight: 700;
}

.outline-small-button:disabled {
  color: #55636c;
  opacity: 1;
}

.outline-register {
  color: #164d70;
}

.outline-menu-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  background: #d4dfe5;
}

.outline-menu-stack button {
  height: 27px;
  border: 0;
  border-bottom: 1px solid #8ba0ae;
  background: #a9bdc9;
  font-size: 11px;
  cursor: pointer;
}

.outline-menu-stack button:hover {
  background: #dbe8ef;
}

.outline-guidebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 40px;
  padding: 7px 18px;
  background: #fff6c9;
  border-bottom: 1px solid #d8c46d;
  color: #493f17;
}

.outline-guidebar b {
  color: #b01f2e;
}

.outline-guidebar span {
  padding: 5px 10px;
  border-radius: 4px;
  background: #fff;
  color: #17679b;
  border: 1px solid #79aeca;
  white-space: nowrap;
}

/* STEP1：中央キャンバスと右側設定欄 */

.outline-workspace {
  display: grid;
  grid-template-columns: minmax(700px,1fr) 292px;
  align-items: start;
  background: #eef2f4;
}

.outline-canvas-column {
  min-width: 0;
  border-right: 1px solid #91a2ad;
}

.outline-pgm-overview {
  position: relative;
  background: #f5f7f8;
  border-bottom: 2px solid #778b98;
  padding-left: 52px;
}

.outline-section-label {
  position: absolute;
  left: 0;
  top: 0;
  width: 52px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #b8c9d4;
  font-size: 11px;
  font-weight: 700;
}

.outline-pgm-overview table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.outline-pgm-overview th,
.outline-pgm-overview td {
  height: 24px;
  padding: 2px 4px;
  border-right: 1px solid #9daeb9;
  border-bottom: 1px solid #aebbc3;
  background: #fff;
  font-size: 11px;
}

.outline-pgm-overview th {
  background: #c7d7e1;
  text-align: center;
}

.outline-pgm-overview th:first-child {
  width: 145px;
}

.outline-pgm-overview th:nth-child(n+2):nth-child(-n+7) {
  width: 48px;
}

.outline-flow-panel {
  background: #fff;
}

.outline-flow-toolbar {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  background: #edf1f3;
  border-bottom: 1px solid #97a6af;
}

.outline-flow-toolbar strong {
  margin-right: 3px;
}

.outline-flow-toolbar select,
.outline-flow-toolbar button {
  height: 23px;
  border: 1px solid #83949e;
  background: #fff;
  font-size: 11px;
}

.outline-flow-toolbar button {
  min-width: 38px;
}

.outline-flow-toolbar span {
  margin-left: 8px;
  color: #5e6f79;
  font-size: 11px;
}

.outline-flow-canvas {
  position: relative;
  height: 535px;
  min-width: 700px;
  background-color: #fafafa;
  background-image: linear-gradient(#e5e8ea 1px,transparent 1px),linear-gradient(90deg,#e5e8ea 1px,transparent 1px);
  background-size: 19px 19px;
  overflow: hidden;
}

.flow-zone-title {
  position: absolute;
  top: 12px;
  color: #0759ae;
  font-size: 12px;
}

.zone-db {
  left: 5%;
}

.zone-pgm {
  left: 31%;
}

.zone-prt {
  left: 60%;
}

.zone-memo {
  left: 83%;
}

.flow-divider {
  position: absolute;
  top: 12px;
  bottom: 0;
  border-left: 1px dashed #8b8b8b;
}

.divider-1 {
  left: 25%;
}

.divider-2 {
  left: 54%;
}

.divider-3 {
  left: 78%;
}

.flow-node {
  position: absolute;
  top: 160px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

.flow-node span {
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 6px;
}

.flow-node b {
  font-size: 13px;
}

.flow-db {
  left: 7%;
  width: 150px;
  border: 4px double #1684b4;
  border-radius: 50%/18%;
}

.flow-pgm {
  left: 34%;
  width: 185px;
  border: 4px double #4b86c2;
  border-radius: 10px;
}

.flow-prt {
  left: 61%;
  width: 150px;
  border: 4px double #6b80a7;
  border-radius: 4px;
}

.flow-arrow {
  position: absolute;
  left: 27.2%;
  top: 184px;
  color: #44749a;
  font-size: 34px;
  font-weight: 700;
}

.flow-arrow.arrow-2 {
  left: 56.6%;
}

.flow-memo {
  position: absolute;
  left: 80.5%;
  top: 145px;
  width: 17%;
  min-width: 130px;
  padding: 13px;
  background: #fffbdc;
  border: 1px solid #c7b960;
  line-height: 1.7;
  transform: rotate(-1deg);
}

/* STEP1：右側の設定パネル */

.outline-settings {
  position: sticky;
  top: 0;
  padding: 5px;
  background: #d4e0e7;
  min-height: 622px;
}

.outline-setting-card {
  margin-bottom: 4px;
  border: 1px solid #748e9e;
  background: #dbe8ef;
  box-shadow: 1px 1px 0 #fff;
}

.outline-setting-heading {
  height: 29px;
  padding: 4px 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #b8ccd8;
  border-bottom: 1px solid #8da2af;
}

.outline-setting-heading strong {
  color: #b11228;
}

.outline-setting-heading label,
.outline-setting-heading span {
  font-size: 11px;
}

.outline-setting-body {
  padding: 8px;
  background: #dce9ef;
}

.outline-help {
  margin-bottom: 8px;
  padding: 7px;
  background: #fff9c9;
  border: 1px solid #d0bd5b;
  color: #534510;
  font-size: 11px;
  line-height: 1.55;
}

.outline-form-grid {
  display: grid;
  gap: 7px;
}

.code-name-row {
  grid-template-columns: 62px 1fr;
}

.outline-setting-body label {
  display: block;
  font-size: 11px;
  line-height: 1.4;
}

.outline-setting-body input,
.outline-setting-body select {
  width: 100%;
  height: 26px;
  margin-top: 2px;
  border: 1px solid #8096a5;
  background: #fff;
  font: inherit;
}

.outline-wide-label {
  margin-top: 7px;
}

.outline-disabled-row {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 7px;
  margin-top: 7px;
  align-items: end;
}

.outline-disabled-row input {
  width: 42px;
  text-align: center;
}

.outline-disabled-row input[type=checkbox] {
  width: auto;
  height: auto;
}

.outline-disabled-row select:disabled,
.outline-disabled-row input:disabled {
  color: #5b6770;
  background: #eef1f3;
}

.outline-apply {
  display: block;
  margin: 9px 0 0 auto;
  width: 68px;
  height: 28px;
  border: 1px solid #687c88;
  background: linear-gradient(#fff,#ced9df);
  font-weight: 700;
}

.outline-apply.is-applied {
  background: #d9f2df;
  color: #176b2d;
}

.muted-card {
  opacity: .72;
}

.outline-next-box {
  margin-top: 10px;
  padding: 10px;
  background: #fff;
  border: 2px solid #e2872d;
}

.outline-next-box p {
  margin: 0 0 9px;
  line-height: 1.55;
  font-size: 11px;
}

.outline-next-box button {
  width: 100%;
  padding: 11px 8px;
  border: 0;
  background: #e67e22;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

.outline-next-box button:hover {
  filter: brightness(.96);
}

/* STEP1：スマートフォン対応 */

@media (max-width: 700px) {
  .outline-demo {
    min-width: 0;
  }
  .outline-topbar {
    height: auto;
    grid-template-columns: 100px 1fr 52px;
  }
  .outline-logo {
    grid-row: 1/3;
  }
  .outline-product {
    grid-column: 2;
    font-size: 16px;
  }
  .outline-title {
    grid-column: 2;
    padding: 5px;
  }
  .outline-process,
  .outline-top-actions {
    display: none;
  }
  .outline-menu-stack {
    grid-column: 3;
    grid-row: 1/3;
  }
  .outline-guidebar {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 8px 10px;
  }
  .outline-guidebar span {
    white-space: normal;
  }
  .outline-workspace {
    display: flex;
    flex-direction: column;
  }
  .outline-canvas-column {
    width: 100%;
    border-right: 0;
  }
  .outline-pgm-overview {
    overflow-x: auto;
  }
  .outline-pgm-overview table {
    min-width: 760px;
  }
  .outline-flow-toolbar {
    overflow-x: auto;
    white-space: nowrap;
  }
  .outline-flow-canvas {
    min-width: 760px;
    height: 430px;
  }
  .outline-flow-panel {
    overflow-x: auto;
  }
  .outline-settings {
    position: static;
    width: 100%;
    min-height: 0;
    padding: 8px;
  }
  .outline-form-grid.code-name-row {
    grid-template-columns: 75px 1fr;
  }
  .outline-next-box button {
    font-size: 16px;
  }
}

/* Database Manager inspired trial screen */

/* STEP2：画面全体 */

.db-demo-body {
  margin: 0;
  background: #d9e0e6;
  color: #17232d;
  font-family: "Yu Gothic UI","Meiryo",sans-serif;
  font-size: 13px;
  overflow-x: auto;
}

.db-demo {
  min-width: 1000px;
}

/* STEP2：上部ツールバー */

.db-topbar {
  height: 54px;
  display: grid;
  grid-template-columns: 112px 230px minmax(280px,1fr) 58px 230px 58px;
  border-bottom: 1px solid #7e94a4;
  background: #b9cad6;
}

.db-logo,
.db-product,
.db-title,
.db-process,
.db-top-actions,
.db-menu-stack {
  border-right: 1px solid #8299aa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.db-logo {
  background: #264e67;
}

.db-logo span {
  width: 88px;
  padding: 5px 0;
  text-align: center;
  border: 3px double #aec6d5;
  background: #eff6f9;
  color: #1e5b7f;
  font: italic 700 20px Verdana;
}

.db-product {
  background: #315f79;
  color: #eef8fd;
  font: italic 700 19px Verdana;
}

.db-title {
  background: #e2ebf0;
  flex-direction: column;
}

.db-title small {
  font-size: 10px;
  color: #6a7f8d;
}

.db-title strong {
  font-size: 17px;
  color: #095aa0;
}

.db-process {
  background: #9eb6c6;
  font-weight: 700;
}

.db-top-actions {
  gap: 8px;
  background: #bfd0da;
}

.db-small-button {
  height: 27px;
  min-width: 96px;
  border: 1px solid #7f909b;
  background: linear-gradient(#fff,#d9e0e4);
  font-weight: 700;
}

.db-register {
  color: #164d70;
}

.db-menu-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  background: #d4dfe5;
}

.db-menu-stack button {
  height: 27px;
  border: 0;
  border-bottom: 1px solid #8ba0ae;
  background: #a9bdc9;
  font-size: 11px;
  cursor: pointer;
}

.db-menu-stack button:hover {
  background: #dbe8ef;
}

.db-guidebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 40px;
  padding: 7px 18px;
  background: #fff6c9;
  border-bottom: 1px solid #d8c46d;
  color: #493f17;
}

.db-guidebar b {
  color: #b01f2e;
}

.db-guidebar span {
  padding: 5px 10px;
  border-radius: 4px;
  background: #fff;
  color: #17679b;
  border: 1px solid #79aeca;
  white-space: nowrap;
}

/* STEP2：フィールド一覧と右側設定欄 */

.db-workspace {
  display: grid;
  grid-template-columns: minmax(700px,1fr) 322px;
  align-items: start;
  background: #edf1f3;
}

.db-list-area {
  min-width: 0;
  border-right: 1px solid #91a2ad;
  min-height: 650px;
}

.db-list-toolbar {
  height: 35px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px;
  background: #c7d7e1;
  border-bottom: 1px solid #879ba8;
}

.db-list-toolbar strong {
  color: #173e57;
}

.db-list-toolbar span {
  flex: 1;
  color: #455f70;
  font-size: 11px;
}

.db-list-toolbar button {
  height: 25px;
  border: 1px solid #7d919e;
  background: linear-gradient(#fff,#d6e0e5);
  font-weight: 700;
}

.db-table-wrap {
  overflow: auto;
  background: #fff;
}

.db-field-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  table-layout: fixed;
}

.db-field-table th,
.db-field-table td {
  height: 31px;
  padding: 3px 4px;
  border-right: 1px solid #98aab5;
  border-bottom: 1px solid #aebbc3;
  text-align: center;
}

.db-field-table th {
  background: #b9ccd8;
  color: #193c52;
  font-size: 11px;
}

.db-field-table td {
  background: #fff;
}

.db-field-table tr:hover td,
.db-field-table tr.is-selected td {
  background: #fff5bd;
}

.db-field-table input[type=text],
.db-field-table input:not([type]),
.db-field-table select {
  width: 100%;
  height: 24px;
  border: 1px solid #8196a4;
  background: #fff;
  font: inherit;
}

.db-field-table input[readonly] {
  background: #eef2f4;
  color: #425762;
}

.db-field-table input[type=checkbox] {
  width: auto;
}

.db-col-no {
  width: 42px;
}

.db-col-key,
.db-col-required {
  width: 48px;
}

.db-col-remove {
  width: 46px;
}

.db-field-table th:nth-child(2) {
  width: 145px;
}

.db-field-table th:nth-child(3) {
  width: 180px;
}

.db-field-table th:nth-child(4) {
  width: 88px;
}

.db-field-table th:nth-child(5) {
  width: 120px;
}

.db-remove {
  width: 26px;
  height: 24px;
  border: 1px solid #9c6b6b;
  background: #f7e8e8;
  color: #8d2929;
  font-size: 18px;
  line-height: 18px;
  cursor: pointer;
}

.db-lower-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 10px;
  padding: 10px;
  border: 1px solid #879ba8;
  background: #dce7ed;
}

.db-lower-panel>div {
  flex: 1;
}

.db-lower-panel strong {
  display: block;
  color: #b01f2e;
}

.db-lower-panel p {
  margin: 3px 0 0;
  font-size: 11px;
}

.db-lower-panel button {
  height: 28px;
  border: 1px solid #87939b;
  background: #e7ebed;
}

/* STEP2：右側の設定パネル */

.db-settings {
  position: sticky;
  top: 0;
  padding: 5px;
  background: #d4e0e7;
  min-height: 650px;
}

.db-setting-card {
  margin-bottom: 4px;
  border: 1px solid #748e9e;
  background: #dbe8ef;
  box-shadow: 1px 1px 0 #fff;
}

.db-setting-heading {
  height: 29px;
  padding: 4px 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #b8ccd8;
  border-bottom: 1px solid #8da2af;
}

.db-setting-heading strong {
  color: #b11228;
}

.db-setting-heading label,
.db-setting-heading span {
  font-size: 11px;
}

.db-setting-body {
  padding: 8px;
  background: #dce9ef;
}

.db-help {
  margin-bottom: 8px;
  padding: 7px;
  background: #fff9c9;
  border: 1px solid #d0bd5b;
  color: #534510;
  font-size: 11px;
  line-height: 1.55;
}

.db-setting-body label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  line-height: 1.4;
}

.db-setting-body input,
.db-setting-body select {
  width: 100%;
  height: 26px;
  margin-top: 2px;
  border: 1px solid #8096a5;
  background: #fff;
  font: inherit;
}

.db-setting-body input[readonly] {
  background: #eef2f4;
}

.db-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 5px;
}

.db-check-grid label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.db-check-grid input {
  width: auto;
  height: auto;
  margin: 0;
}

.db-apply {
  display: block;
  margin: 9px 0 0 auto;
  width: 68px;
  height: 28px;
  border: 1px solid #687c88;
  background: linear-gradient(#fff,#ced9df);
  font-weight: 700;
}

.db-apply.is-applied {
  background: #d9f2df;
  color: #176b2d;
}

.db-next-box {
  margin-top: 10px;
  padding: 10px;
  background: #fff;
  border: 2px solid #e2872d;
}

.db-next-box p {
  margin: 0 0 9px;
  line-height: 1.55;
  font-size: 11px;
}

.db-next-box button {
  width: 100%;
  padding: 11px 8px;
  border: 0;
  background: #e67e22;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

.db-next-box a {
  display: block;
  margin-top: 9px;
  text-align: center;
  color: #245b7b;
  font-size: 11px;
}

.db-next-box button:hover {
  filter: brightness(.96);
}

/* STEP2：スマートフォン対応 */

@media (max-width: 700px) {
  .db-demo {
    min-width: 0;
  }
  .db-topbar {
    height: auto;
    grid-template-columns: 100px 1fr 52px;
  }
  .db-logo {
    grid-row: 1/3;
  }
  .db-product {
    grid-column: 2;
    font-size: 15px;
  }
  .db-title {
    grid-column: 2;
    padding: 5px;
  }
  .db-process,
  .db-top-actions {
    display: none;
  }
  .db-menu-stack {
    grid-column: 3;
    grid-row: 1/3;
  }
  .db-guidebar {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 8px 10px;
  }
  .db-guidebar span {
    white-space: normal;
  }
  .db-workspace {
    display: flex;
    flex-direction: column;
  }
  .db-list-area {
    width: 100%;
    min-height: 0;
    border-right: 0;
  }
  .db-list-toolbar {
    height: auto;
    flex-wrap: wrap;
  }
  .db-list-toolbar span {
    width: 100%;
    flex-basis: 100%;
  }
  .db-table-wrap {
    width: 100%;
    overflow-x: auto;
  }
  .db-field-table {
    min-width: 820px;
  }
  .db-lower-panel {
    min-width: 680px;
  }
  .db-settings {
    position: static;
    width: 100%;
    min-height: 0;
    padding: 8px;
  }
  .db-next-box button {
    font-size: 16px;
  }
}

/* Shared real-tool inspired screens: Program Generator / PDF Designer / Menu Editor */

/* STEP3～5：画面全体の共通指定 */

.tool-demo-body {
  margin: 0;
  background: #d8e0e5;
  color: #172b39;
  font: 13px "Yu Gothic UI",Meiryo,sans-serif;
  overflow-x: auto;
}

.tool-demo {
  min-width: 1000px;
}

/* STEP3～5：共通上部ツールバー */

.tool-topbar {
  height: 54px;
  display: grid;
  grid-template-columns: 112px 230px minmax(280px,1fr) 65px 230px 58px;
  background: #b9cad6;
  border-bottom: 1px solid #7c919e;
}

.tool-logo,
.tool-product,
.tool-title,
.tool-process,
.tool-top-actions,
.tool-menu-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #8299aa;
}

.tool-logo {
  background: #264e67;
}

.tool-logo span {
  width: 88px;
  padding: 5px 0;
  text-align: center;
  border: 3px double #aec6d5;
  background: #eff6f9;
  color: #1e5b7f;
  font: italic 700 20px Verdana;
}

.tool-product {
  background: #315f79;
  color: #eef8fd;
  font: italic 700 18px Verdana;
}

.tool-title {
  background: #e3ebf0;
  flex-direction: column;
}

.tool-title small {
  font-size: 10px;
  color: #687e8c;
}

.tool-title strong {
  font-size: 17px;
  color: #075b9b;
}

.tool-process {
  background: #9eb6c6;
  font-weight: 800;
}

.tool-top-actions {
  gap: 7px;
}

.tool-top-actions button,
.designer-toolbar button {
  height: 27px;
  border: 1px solid #7d909b;
  background: linear-gradient(#fff,#d8e0e4);
  font-weight: 700;
}

.tool-menu-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.tool-menu-stack button {
  border: 0;
  border-bottom: 1px solid #8ba0ae;
  background: #a9bdc9;
  font-size: 10px;
}

.tool-guidebar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 18px;
  background: #fff6c9;
  border-bottom: 1px solid #d8c46d;
}

.tool-guidebar b {
  color: #b11b2b;
}

.tool-guidebar span {
  padding: 4px 10px;
  background: #fff;
  border: 1px solid #79aeca;
  color: #17679b;
}

/* STEP3～5：共通右側設定パネル */

.tool-settings {
  position: sticky;
  top: 0;
  padding: 5px;
  background: #d4e0e7;
  min-height: 650px;
}

.tool-setting-card {
  margin-bottom: 5px;
  border: 1px solid #748e9e;
  background: #dbe8ef;
}

.tool-setting-heading {
  height: 29px;
  padding: 4px 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #b8ccd8;
  border-bottom: 1px solid #8da2af;
}

.tool-setting-heading strong {
  color: #b11228;
}

.tool-setting-heading span {
  font-size: 11px;
}

.tool-setting-body {
  padding: 8px;
  background: #dce9ef;
}

.tool-help {
  margin-bottom: 8px;
  padding: 7px;
  background: #fff9c9;
  border: 1px solid #d0bd5b;
  font-size: 11px;
  line-height: 1.5;
}

.tool-setting-body label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
}

.tool-setting-body input,
.tool-setting-body select {
  width: 100%;
  height: 26px;
  margin-top: 2px;
  border: 1px solid #8096a5;
  background: #fff;
  font: inherit;
}

.tool-setting-body input[readonly] {
  background: #eef2f4;
}

.tool-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.tool-check-grid label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tool-check-grid input {
  width: auto;
  height: auto;
  margin: 0;
}

.tool-apply {
  display: block;
  margin: 8px 0 0 auto;
  width: 68px;
  height: 28px;
  border: 1px solid #687c88;
  background: linear-gradient(#fff,#ced9df);
  font-weight: 700;
}

.tool-next-box {
  margin-top: 10px;
  padding: 10px;
  background: #fff;
  border: 2px solid #e2872d;
}

.tool-next-box p {
  margin: 0 0 9px;
  font-size: 11px;
  line-height: 1.55;
}

.tool-next-box button {
  width: 100%;
  padding: 11px 8px;
  border: 0;
  background: #e67e22;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

.tool-next-box a {
  display: block;
  margin-top: 8px;
  text-align: center;
  color: #245b7b;
  font-size: 11px;
}

/* STEP3：program generator */

.pgm-workspace {
  display: grid;
  grid-template-columns: minmax(700px,1fr) 322px;
}

.pgm-list-area {
  min-height: 650px;
  border-right: 1px solid #91a2ad;
  background: #eef2f4;
}

.pgm-summary {
  display: flex;
  gap: 20px;
  align-items: center;
  height: 36px;
  padding: 4px 9px;
  background: #c7d7e1;
  border-bottom: 1px solid #879ba8;
}

.pgm-summary strong {
  color: #173e57;
}

.pgm-summary span {
  font-size: 11px;
}

.pgm-setting-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.pgm-setting-table th,
.pgm-setting-table td {
  height: 31px;
  padding: 4px 7px;
  border-right: 1px solid #98aab5;
  border-bottom: 1px solid #aebbc3;
}

.pgm-setting-table th {
  background: #b9ccd8;
  color: #193c52;
}

.pgm-setting-table th:first-child {
  width: 48px;
}

.pgm-setting-table th:nth-child(2) {
  width: 170px;
}

.pgm-setting-table th:last-child {
  width: 80px;
}

.pgm-setting-table tbody tr:hover td,
.pgm-setting-table tr.is-selected td {
  background: #fff5bd;
}

.pgm-preview-panel {
  margin: 26px 16px;
  border: 1px solid #879ba8;
  background: #fff;
}

.pgm-preview-title {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px;
  background: #315f79;
  color: #fff;
}

.pgm-preview-title b {
  flex: 1;
  font-size: 15px;
}

.pgm-preview-title button {
  border: 1px solid #b9c8d1;
  background: #eef5f8;
  padding: 5px 12px;
}

.pgm-preview-panel table {
  width: 100%;
  border-collapse: collapse;
}

.pgm-preview-panel th,
.pgm-preview-panel td {
  padding: 8px;
  border: 1px solid #c0ccd3;
}

.pgm-preview-panel th {
  background: #dce8ee;
}

/* STEP4：pdf designer */

.designer-workspace {
  display: grid;
  grid-template-columns: minmax(700px,1fr) 322px;
}

.designer-stage {
  min-height: 650px;
  border-right: 1px solid #91a2ad;
  background: #9daeb8;
  padding-bottom: 25px;
}

.designer-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 4px 8px;
  background: #c7d7e1;
  border-bottom: 1px solid #879ba8;
}

.designer-toolbar label {
  margin-left: auto;
  font-size: 11px;
}

.pdf-paper {
  position: relative;
  width: 650px;
  min-height: 900px;
  margin: 24px auto;
  background: #fff;
  box-shadow: 0 3px 14px rgba(0,0,0,.28);
  padding: 62px 42px;
}

.pdf-title-obj {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  border: 1px dashed transparent;
  padding: 8px;
}

.pdf-title-obj:hover {
  border-color: #3483b0;
  background: #eff8fc;
}

.pdf-date {
  text-align: right;
  margin: 16px 0;
}

.pdf-table-obj table {
  width: 100%;
  border-collapse: collapse;
}

.pdf-table-obj th,
.pdf-table-obj td {
  padding: 8px;
  border: 1px solid #555;
}

.pdf-table-obj th {
  background: #e8eef2;
}

.pdf-page {
  position: absolute;
  bottom: 25px;
  left: 0;
  right: 0;
  text-align: center;
}

/* STEP5：menu editor */

.menu-canvas {
  position: relative;
  width: min(760px,calc(100% - 50px));
  height: 500px;
  margin: 25px auto;
  background: #eef4f7;
  border: 4px double #5e7d91;
  box-shadow: 0 3px 12px rgba(0,0,0,.2);
}

.menu-canvas-title {
  padding: 13px 18px;
  background: #315f79;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.menu-button-grid {
  display: grid;
  grid-template-columns: repeat(2,210px);
  gap: 24px;
  justify-content: center;
  margin-top: 70px;
}

.menu-launch {
  height: 82px;
  border: 3px double #4f7c99;
  border-radius: 7px;
  background: linear-gradient(#fff,#dce8ef);
  box-shadow: 0 2px 5px rgba(0,0,0,.18);
  font: inherit;
}

.menu-launch span {
  display: block;
  color: #0d6d9d;
  font: bold 11px Verdana;
}

.menu-launch b {
  display: block;
  margin-top: 7px;
  font-size: 15px;
}

.menu-launch.is-selected {
  outline: 3px solid #efb84d;
  background: #fff6c9;
}

.menu-note {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  padding: 9px 15px;
  background: #fffbdc;
  border: 1px solid #c7b960;
  white-space: nowrap;
}

.completion-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 18px;
  background: #e2f6e8;
  border-bottom: 1px solid #7fb590;
}

.completion-banner strong {
  color: #176d33;
  font-size: 16px;
}

.completion-banner span {
  flex: 1;
}

.completion-banner a {
  color: #175b85;
  font-weight: 700;
}

/* STEP3～5：スマートフォン対応 */

@media (max-width: 700px) {
  .tool-demo {
    min-width: 0;
  }
  .tool-topbar {
    height: auto;
    grid-template-columns: 100px 1fr 52px;
  }
  .tool-logo {
    grid-row: 1/3;
  }
  .tool-product {
    grid-column: 2;
    font-size: 15px;
  }
  .tool-title {
    grid-column: 2;
    padding: 5px;
  }
  .tool-process,
  .tool-top-actions {
    display: none;
  }
  .tool-menu-stack {
    grid-column: 3;
    grid-row: 1/3;
  }
  .tool-guidebar {
    flex-direction: column;
    gap: 4px;
    padding: 8px 10px;
  }
  .pgm-workspace,
  .designer-workspace {
    display: flex;
    flex-direction: column;
  }
  .pgm-list-area,
  .designer-stage {
    width: 100%;
    min-height: 0;
    border-right: 0;
    overflow-x: auto;
  }
  .pgm-summary {
    min-width: 760px;
  }
  .pgm-setting-table {
    min-width: 760px;
  }
  .pgm-preview-panel {
    min-width: 720px;
  }
  .tool-settings {
    position: static;
    width: 100%;
    min-height: 0;
    padding: 8px;
  }
  .pdf-paper {
    transform: scale(.56);
    transform-origin: top left;
    margin-left: 10px;
    margin-bottom: -385px;
  }
  .designer-stage:has(.pdf-paper) {
    height: 540px;
  }
  .menu-canvas {
    min-width: 700px;
  }
  .completion-banner {
    align-items: flex-start;
    flex-direction: column;
  }
  .tool-next-box button {
    font-size: 16px;
  }
}

/* STEP1: keep guided trial content while matching saved appoutline.html */

/* STEP1上部：体験内容の説明パネル */

.trial-experience-intro {
  width: min(1187px,calc(100% - 24px));
  margin: 18px auto 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #c8d9e1;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(31,67,86,.08);
  display: grid;
  grid-template-columns: 105px 1fr auto;
  gap: 18px;
  align-items: center;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif;
  line-height: 1.65;
}

.trial-experience-step {
  align-self: stretch;
  display: grid;
  place-items: center;
  background: #1d708d;
  color: #fff;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

.trial-experience-copy h1 {
  margin: 0 0 5px;
  font-size: 22px;
  color: #163b50;
}

.trial-experience-copy p {
  margin: 0;
  color: #4d6370;
  font-size: 14px;
}

.trial-experience-points {
  display: grid;
  gap: 7px;
  min-width: 220px;
}

.trial-experience-points span {
  padding: 7px 9px;
  background: #eff9fb;
  border: 1px solid #bfdae3;
  border-radius: 8px;
  font-size: 12px;
  color: #25556c;
}

.trial-experience-points b {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 4px;
  border-radius: 50%;
  background: #247b98;
  color: #fff;
}

/* 保存済み application outline 画面に合わせた固定幅 */

.outline-demo {
  width: 1187px;
  min-width: 1187px;
  margin: 0 auto 28px;
  border: 1px solid #78979a;
  box-shadow: 0 5px 20px rgba(29,63,69,.16);
  background: #efffff;
}

.outline-topbar {
  grid-template-columns: 106px 240px minmax(280px,1fr) 54px 220px 50px;
  height: 50px;
  background: #80a0a0;
}

.outline-logo {
  background: #c0e0e0;
}

.outline-logo span {
  width: 88px;
  padding: 5px 0;
  background: #205050;
  color: #e8f8f8;
  border: 3px double #80a0a0;
  font: italic 700 20px Verdana;
}

.outline-product {
  background: #c0e0e0;
  color: #205050;
  font-size: 18px;
}

.outline-title {
  background: #d0f0f0;
}

.outline-title strong {
  color: blue;
  font-size: 16px;
}

.outline-process {
  background: #b0d0d0;
}

.outline-top-actions {
  background: #c0e0e0;
}

.outline-menu-stack button {
  background: #b0d0d0;
}

.outline-guidebar {
  background: #fff7c7;
  border-bottom: 1px solid #c9b55f;
}

.outline-workspace {
  grid-template-columns: 907px 280px;
}

.outline-canvas-column {
  background: #efffff;
}

.outline-pgm-overview {
  padding-top: 0;
}

.outline-section-label {
  height: 29px;
  width: 51px;
  padding: 8px 1px 0;
  text-align: right;
  background: #c0e0e0;
  font-size: 12px;
}

.outline-pgm-overview table {
  margin-left: 50px;
  width: 857px;
  font-size: 12px;
}

.outline-pgm-overview th {
  height: 29px;
  background: #e8f8f8;
  font-weight: 400;
}

.outline-pgm-overview td {
  height: 24px;
  background: #efffff;
}

.outline-flow-panel {
  border-top: 2px solid #a0c0c0;
}

.outline-flow-toolbar {
  height: 31px;
  background: #efffff;
  border-bottom: 0;
  padding: 2px 5px;
  color: #0055cc;
  font-size: 11px;
}

.outline-flow-toolbar strong {
  font-weight: 400;
}

.outline-flow-toolbar button {
  height: 21px;
  min-width: 28px;
  padding: 0 5px;
  border: 1px solid #7f9db9;
  background: #f4f4f4;
  font-size: 10px;
}

.outline-flow-canvas {
  height: 635px;
  background-color: #efffff;
  background-image: linear-gradient(#d9eeee 1px,transparent 1px),linear-gradient(90deg,#d9eeee 1px,transparent 1px);
  background-size: 10px 10px;
}

.flow-zone-title {
  top: 9px;
  color: #0055cc;
  font-size: 12px;
}

.zone-db {
  left: 44px;
}

.zone-pgm {
  left: 282px;
}

.zone-prt {
  left: 528px;
}

.zone-memo {
  left: 764px;
}

.flow-divider {
  top: 38px;
  height: 590px;
  border-left: 1px dashed gray;
}

.divider-1 {
  left: 210px;
}

.divider-2 {
  left: 465px;
}

.divider-3 {
  left: 680px;
}

.flow-node {
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  color: #111;
}

.flow-node .node-type {
  position: absolute;
  top: 7px;
  left: 8px;
  font: 700 9px Verdana;
  color: #276278;
}

.flow-node b {
  font: 400 15px "ＭＳ Ｐゴシック",sans-serif;
}

.flow-db {
  left: 34px;
  top: 68px;
  width: 140px;
  height: 72px;
  border: 0;
  background: radial-gradient(ellipse at center,#f3fbff 35%,#a7d5e6 36%,#6caec8 58%,#d7edf5 59%);
  border-radius: 50%;
}

.flow-db b {
  margin-top: 29px;
}

.flow-pgm {
  left: 246px;
  top: 76px;
  width: 189px;
  height: 60px;
  border: 2px solid #4d91ac;
  background: #eaf7fb;
}

.flow-pgm:before,
.flow-pgm:after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: #9ac2d0;
}

.flow-pgm:before {
  top: 10px;
}

.flow-pgm:after {
  bottom: 10px;
}

.flow-pgm b {
  margin-top: 18px;
}

.flow-prt {
  left: 506px;
  top: 76px;
  width: 144px;
  height: 64px;
  border: 0;
  background: linear-gradient(135deg,transparent 0 12px,#fff 12px) top right/100% 100% no-repeat;
  box-shadow: inset 0 0 0 2px #6b99aa;
}

.flow-prt:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  border-left: 12px solid #c9dde4;
  border-top: 12px solid #efffff;
}

.flow-prt b {
  margin-top: 20px;
}

.flow-arrow {
  left: 185px;
  top: 98px;
  width: 49px;
  height: 15px;
  background: #5d7f8c;
}

.flow-arrow:after {
  content: "";
  position: absolute;
  right: -13px;
  top: -6px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 16px solid #5d7f8c;
}

.flow-arrow span {
  display: none;
}

.flow-arrow.arrow-2 {
  left: 446px;
  top: 98px;
}

.flow-memo {
  left: 699px;
  top: 83px;
  width: 170px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 11px;
  line-height: 1.5;
}

.outline-settings {
  width: 280px;
  background: #c0d8d8;
  padding: 0;
}

.outline-setting-card {
  margin: 0;
  border: 0;
  border-bottom: 1px solid #80a0a0;
  border-left: 1px solid #f0f0f0;
  background: #d0f0f0;
}

.outline-setting-heading {
  height: 35px;
  background: #c0e0e0;
}

.outline-setting-body {
  background: #d0f0f0;
}

.outline-help {
  background: #ffffcc;
}

.outline-next-box {
  margin: 12px 8px 10px;
  padding: 12px;
  background: #fff;
  border: 3px solid #e48624;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
}

.outline-next-label {
  display: inline-block;
  margin: -3px 0 8px;
  padding: 4px 8px;
  background: #e48624;
  color: #fff;
  font-weight: 800;
  font-size: 11px;
}

.outline-next-box p {
  font-size: 12px;
}

.outline-next-box button {
  font-size: 14px;
}

.outline-next-box a {
  display: block;
  margin-top: 8px;
  text-align: center;
  color: #23627e;
  font-size: 11px;
}

/* STEP1上書き部分：タブレット対応 */

@media (max-width: 900px) {
  .trial-experience-intro {
    grid-template-columns: 80px 1fr;
  }
  .trial-experience-points {
    grid-column: 1/-1;
    grid-template-columns: repeat(3,1fr);
  }
  .outline-demo-body {
    overflow-x: auto;
  }
  .outline-demo {
    margin-left: 12px;
    margin-right: 12px;
  }
}

/* STEP1上書き部分：スマートフォン対応 */

@media (max-width: 600px) {
  .trial-experience-intro {
    grid-template-columns: 1fr;
  }
  .trial-experience-step {
    min-height: 42px;
  }
  .trial-experience-points {
    grid-template-columns: 1fr;
  }
  .trial-experience-copy h1 {
    font-size: 19px;
  }
}
