@charset "UTF-8";
/* ふるさと納税シミュレーション スタイル */
.simulation-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}
.simulation-title-wrapper .page-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #2c5aa0;
  margin-bottom: 0;
}

.simulation-linemarker {
  display: inline-block;
  position: relative;
}
.simulation-linemarker::before {
  content: "";
  display: block;
  width: 100%;
  height: 10px;
  background-color: #fff200;
  left: 0;
  bottom: 2px;
  position: absolute;
}

.simulation-linemarker-text {
  position: relative;
  font-weight: bold;
}

.simulation-image {
  max-width: 100px;
  margin-top: 1rem;
}

/* シミュレーション説明カード */
.simulation-description {
  max-width: 800px;
  margin: 30px auto;
  padding: 0 20px;
}

.disclaimer-text {
  color: #d50015;
}

.description-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.description-card {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.description-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.simple-card {
  border-left: 4px solid #28a745;
}
.simple-card .card-title {
  color: #28a745;
}

.detailed-card {
  border-left: 4px solid #2c5aa0;
}
.detailed-card .card-title {
  color: #2c5aa0;
}

.card-header {
  margin-bottom: 15px;
}
.card-header .card-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 5px 0;
}
.card-header .card-subtitle {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.card-content p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 15px;
}
.card-content .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.card-content .feature-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #555;
  font-size: 14px;
}
.card-content .feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

.simulation-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

/* タブナビゲーション */
.tab-navigation {
  display: flex;
  margin-bottom: 0;
}

.tab-button {
  flex: 1;
  padding: 15px 20px;
  border: none;
  background: #e9ecef;
  color: #999;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  border-bottom: none;
  font-weight: 800;
}
.tab-button:first-child {
  border-radius: 8px 8px 0 0;
}
.tab-button:last-child {
  border-radius: 8px 8px 0 0;
}
.tab-button:hover {
  background: #e9ecef;
  color: #333;
}
.tab-button.active {
  position: relative;
  z-index: 1;
  background-color: #fff;
  color: #2c5aa0;
}
.tab-button.active .tab-title-underline {
  border-bottom: 2px solid #2c5aa0;
  display: inline-block;
  padding-bottom: 0.3rem;
}

/* タブコンテンツ */
.tab-content {
  display: none !important;
}
.tab-content.active {
  display: block !important;
}

.simulation-section {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  margin-bottom: 30px;
  padding: 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.simulation-title {
  color: #2c5aa0;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 25px;
  text-align: center;
  border-bottom: 2px solid #2c5aa0;
  padding-bottom: 1rem !important;
}
.simulation-title .simulation-title-sub {
  font-size: 14px;
  display: block;
  margin-bottom: 0.5rem;
}

.simulation-form {
  max-width: 600px;
  margin: 0 auto;
}
.simulation-form .simulation-form-inner {
  margin-bottom: 5rem;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  font-size: 16px;
}

.form-select,
.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  background: #fff;
  transition: border-color 0.3s ease;
}

.form-select:focus,
.form-input:focus {
  outline: none;
  border-color: #2c5aa0;
  box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-help {
  display: block;
  color: #666;
  font-size: 14px;
  margin-top: 5px;
  line-height: 1.4;
}

.calc-button {
  width: 100%;
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.calc-button:hover {
  background: linear-gradient(135deg, #1e3f73 0%, #2c5aa0 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.calc-button:active {
  transform: translateY(0);
}

.result-box {
  background: #f8f9fa;
  border: 2px solid #28a745;
  border-radius: 8px;
  padding: 25px;
  margin-top: 25px;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.result-box h4 {
  color: #28a745;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
}

.result-amount {
  text-align: center;
  margin-bottom: 20px;
}

.amount-value {
  font-size: 36px;
  font-weight: bold;
  color: #dc3545;
  display: block;
  margin-bottom: 5px;
}

.result-amount.detailed .amount-value {
  color: #28a745;
}

.calculation-steps {
  background: #fff;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}

.step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.step:last-child {
  border-bottom: none;
}

.step-label {
  font-weight: bold;
  color: #333;
}

.step-value {
  font-weight: bold;
  color: #2c5aa0;
}

.result-note {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 1rem;
}

.result-note strong {
  color: #856404;
}

.note-text {
  font-size: 12px;
  line-height: 1.6;
  color: #856404;
  margin: 10px 0 0 0;
}

ul.note-text {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.note-text li {
  margin-left: 3rem;
  text-indent: -2.5rem;
}

.simulation-supervision {
  font-size: 12px;
  color: #666;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.disclaimer {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  padding: 15px;
}

.disclaimer h5 {
  color: #721c24;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

ul.disclaimer-text {
  font-size: 12px;
  line-height: 1.6;
  color: #721c24;
  margin: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.disclaimer-text li {
  text-indent: -1rem;
  margin-left: 1rem;
}

/* 詳細シミュレーション - 計算手順説明 */
.calculation-explanation {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
}

.explanation-title {
  font-size: 18px;
  font-weight: bold;
  color: #2c5aa0;
  margin-bottom: 15px;
  text-align: center;
}

.steps-overview {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.step-overview {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.step-number {
  margin-right: 1rem;
  text-align: center;
  display: inline-block;
  width: 30px;
  height: 30px;
  background: #2c5aa0;
  color: white;
  border-radius: 50%;
  line-height: 30px;
  font-weight: bold;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

/* 入力セクション */
.input-section {
  margin-bottom: 25px;
}

.section-title {
  font-size: 18px;
  font-weight: bold;
  color: #2c5aa0;
  margin-bottom: 20px;
  border-bottom: 2px solid #2c5aa0;
  padding-bottom: 8px;
}

.label-main {
  display: block;
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}

.label-sub {
  display: block;
  font-size: 14px;
  color: #666;
  font-weight: normal;
}

/* 計算ステップ */
.calculation-step {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
}

.step-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.step-title {
  font-size: 18px;
  font-weight: bold;
  color: #2c5aa0;
}

.step-formula {
  background: #f8f9fa;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.step-note {
  font-size: 12px;
  color: #666;
  font-style: italic;
  margin-bottom: 15px;
}

.step-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e8f4f8;
  padding: 12px 15px;
  border-radius: 6px;
}

.result-label {
  font-weight: bold;
  color: #333;
}

.result-value {
  font-weight: bold;
  color: #2c5aa0;
  font-size: 16px;
}

/* 税率表 */
.tax-rate-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
  margin: 15px 0;
}

.rate-item {
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

/* 最終結果 */
.final-result {
  text-align: center;
  margin-top: 15px;
}
.final-result .result-amount {
  background: #e8f5e8;
  border: 2px solid #28a745;
  border-radius: 8px;
  padding: 15px;
}
.final-result .result-amount .amount-value {
  font-size: 32px;
  color: #28a745;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  /* シミュレーション説明カード モバイル対応 */
  .simulation-description {
    padding: 0 10px;
    margin: 20px auto;
  }
  .description-cards {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
  }
  .description-card {
    padding: 20px;
  }
  .card-header .card-title {
    font-size: 18px;
  }
  .card-content p {
    font-size: 14px;
  }
  .feature-list li {
    font-size: 13px;
  }
  .simulation-section {
    padding: 20px 15px;
  }
  .simulation-title {
    font-size: 20px;
  }
  .amount-value {
    font-size: 28px;
  }
  .step {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .step-value {
    align-self: flex-end;
  }
  /* 詳細シミュレーション モバイル対応 */
  .steps-overview {
    flex-direction: column;
    gap: 15px;
  }
  .step-overview {
    flex-direction: row;
    text-align: left;
    align-items: center;
  }
  .tax-rate-table {
    grid-template-columns: 1fr;
  }
  .step-result {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .result-value {
    align-self: flex-end;
  }
  .final-result .result-amount .amount-value {
    font-size: 24px;
  }
  /* タブナビゲーション モバイル対応 */
  .tab-button {
    font-size: 12px;
    padding: 12px 10px;
  }
}

/*# sourceMappingURL=simulation.css.map */
