/* IGSV Pricing Table Styles */
.ja,
.en,
.de{
  overflow-x: auto;
}

.igsv-pricing-container {
  width: 100%;
}


/* シミュレーター */
.igsv-simulator {
  margin-top: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.igsv-simulator-title {
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 1.1em;
}

.igsv-input-group {
  margin-bottom: 15px;
  display: contents;
  align-items: center;
}
.igsv-input-group-plan{
  margin-bottom: 15px;
}
.igsv-input-group label {
  display: inline-block;
  width: 100px;
  font-weight: 700;
}

.igsv-input-group input[type="text"] {
  padding: 8px;
  width: 100px!important;
  margin-bottom: 10px!important;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.igsv-input-group span {
  margin-left: 8px;
  margin-right: 3em;
}

.igsv-selected-plan {
  color: #4CAF50;
  font-weight: 600;
}

.igsv-calculate-btn {
  padding: 10px 20px!important;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;

  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.igsv-calculate-btn:hover {
  background-color: #45a049;
}

.igsv-calculate-btn:active {
  background-color: #3d8b40;
}

.igsv-result {
  margin-top: 20px;
}

.igsv-error {
  color: #d32f2f;
  font-weight: 600;
}

.igsv-plan-short {
  color: #4CAF50;
  font-weight: 600;
}

.igsv-plan-middle {
  color: #2196F3;
  font-weight: 600;
}

.igsv-plan-long {
  color: #FF9800;
  font-weight: 600;
}

.igsv-calculation-detail {
  padding-top: 15px;
}

.igsv-plan-info {
  color: #333;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 1.05em;
}

.igsv-calc-row {
  margin-bottom: 0;
  padding: 0;
}

.igsv-total {
  color: #4CAF50;
  margin-top: 15px;
  font-size: 1.2em;
  padding-top: 10px;
}

.igsv-note {
  margin-top: 15px;
  font-size: 0.9em;
  color: #666;
  font-style: italic;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {

  /* テーブルのホワイトスペース制御 - 追加内容優先 */
  .igsv-table th {
    white-space: nowrap;
    /* 追加 */
    padding: 0.5em;
    /* モバイル用に調整 */
  }

  .igsv-table td {
    white-space: pre;
    /* 追加内容優先（pre-line から pre に変更） */
    padding: 3px 5px;
    /* モバイル用に調整 */
  }

  .igsv-table {
    font-size: 14px;
  }

  .igsv-input-group {
    flex-direction: row;
    align-items: flex-start;
  }

  .igsv-input-group label {
    margin-bottom: 5px;
  }

  .igsv-input-group input[type="text"] {
    width: 100%;
    max-width: 200px;
  }

  .igsv-simulator {
    padding: 15px;
  }
}

@media screen and (max-width: 480px) {
  .igsv-table {
    font-size: 12px;
  }

  .igsv-table th {
    padding: 0.4em;
    font-size: 0.9em;
  }

  .igsv-table td {
    padding: 2px 4px;
    font-size: 0.9em;
  }

  .igsv-simulator-title {
    font-size: 1em;
  }

  .igsv-input-group label {
    width: 80px;
    font-size: 0.9em;
  }

  .igsv-calculate-btn {
    font-size: 14px;
    padding: 10px 16px;
  }
}