@charset "utf-8";

/* --------------------------------------------


fee  利用料金


---------------------------------------------- */
:root {
  --fee-yellow: #fffde0;
}

.content-section {
  margin-bottom: 60px;
}

.fee-calc-card {
  margin-bottom: 60px;
  padding: 40px 32px 32px;
  background-color: var(--c-white);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.fee-formula-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 36px;
  padding: 0 10px;
}

.fee-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 110px;
  padding: 12px 8px;
  border-radius: 6px;
  text-align: center;
}

.fee-box__text {
  font-weight: bold;
  line-height: 1.35;
}

.fee-box__code {
  margin-top: 4px;
  font-weight: bold;
}

.fee-box--primary {
  background-color: var(--c-blue);
  color: var(--c-white);
}

.fee-box--yellow {
  background-color: var(--fee-yellow);
  border: 1px solid #fce881;
  color: #222222;
}

.fee-operator {
  flex-shrink: 0;
  font-size: 2.5rem;
  font-weight: bold;
  color: #222222;
}

.fee-calc-body {
  padding: 0 8px;
}

.fee-calc-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: var(--fz-l);
  font-weight: bold;
  color: var(--c-blue);
  line-height: 1.4;
}

.fee-calc-title .title-square {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background-color: var(--c-blue);
}

.fee-calc-desc {
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
  利用区分と料金の構成 テーブル
-------------------------------------------------------------------------- */
/* 狭い画面では表を横スクロールさせる */
.fee-table-wrapper {
  margin-top: 24px;
  overflow-x: auto;
}

.fee-table {
  width: 100%;
  min-width: 900px;
  border: 1px solid #cccccc;
  background-color: var(--c-white);
  line-height: 1.5;
}

.fee-table th,
.fee-table td {
  padding: 12px 10px;
  border: 1px solid #cccccc;
  vertical-align: middle;
}

.th-main-category,
.th-main-fee {
  text-align: center;
  color: var(--c-white);
  font-weight: bold;
  background-color: var(--c-blue);
}

.tr-sub-header {
  background-color: var(--fee-yellow);
}

.th-fee-sub {
  text-align: center;
}

.u-text-blue {
  color: var(--c-blue);
  font-weight: bold;
  background-color: var(--c-bg);
}

.u-text-red {
  text-align: center;
  color: var(--c-red);
  font-weight: bold;
}

.td-category-main {
  width: 9%;
}

.td-category-sub {
  width: 12%;
}

.td-task {
  width: 11%;
  text-align: center;
}

.td-category-priority,
.td-category-trial {
  padding-left: 16px;
}

.td-price-single {
  width: 14%;
  text-align: center;
}

.td-applied-price {
  width: 15%;
  text-align: center;
}

.td-note-cell {
  padding: 16px;
  line-height: 1.6;
}

.td-free {
  text-align: center;
}

.fee-table-caption {
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
  料金の内訳 テーブル
-------------------------------------------------------------------------- */
.fee-detail-table-wrapper {
  margin-top: 24px;
}

.fee-detail-table {
  width: 100%;
  border: 1px solid #d0d0d0;
  background-color: var(--c-white);
}

.fee-detail-table th,
.fee-detail-table td {
  padding: 20px 24px;
  border: 1px solid #d0d0d0;
  vertical-align: middle;
}

.th-fee-label {
  width: 25%;
  background-color: var(--fee-yellow);
}

.label-inner {
  display: flex;
  align-items: flex-start;
}

.label-num {
  flex-shrink: 0;
}

.label-text {
  flex: 1;
}

.td-fee-content {
  width: 75%;
  line-height: 1.75;
}

.fee-flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.fee-text-lead {
  margin-bottom: 8px;
}

.fee-text-paragraph {
  margin-bottom: 16px;
}

.fee-text-paragraph:last-child {
  margin-bottom: 0;
}

.fee-bullet-list {
  margin-bottom: 16px;
}

.fee-bullet-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
}

.fee-bullet-list li::before {
  content: "・";
  content: "・" / "";
  position: absolute;
  top: 0;
  left: 0;
}

.fee-alert-text {
  color: var(--c-red);
  line-height: 1.7;
}

.fee-note-inline {
  display: inline-block;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
  各種料金表・関連資料（ボタン配置用レイアウト）
-------------------------------------------------------------------------- */
.fee-links-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.fee-links-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.fee-btn-item {
  min-width: 270px;
  text-align: center;
}

.fee-links-container .pill-btn {
  padding: clamp(10px, 1vw, 16px);
  font-size: clamp(1.4rem, 1vw, 1.8rem);
}

/* --------------------------------------------------------------------------
   レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .fee-formula-wrapper {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  .fee-box {
    height: auto;
    min-height: 72px;
  }

  .fee-operator {
    align-self: center;
    line-height: 1;
  }
}

