@charset "utf-8";

/****************************************
 郵送はがき発行の有料化に関する重要なご案内
****************************************/
/* --- 変数定義 --- */
:root {
  --primary-color: #004098; /* 信頼感のある濃い青 */
  --accent-color: #d32f2f;  /* 注意・金額用 */
  --bg-color: #f4f7fa;      /* 清潔感のある薄い背景色 */
  --text-color: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --border-radius: 8px;
  --shadow: 0 4px 12px rgba(0, 64, 152, 0.08);
}

/* --- 基本設定(PC向け：本文エリアを中央寄せする) --- */
.info .mainArea,
.info .mainContents {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* 中央寄せ＋最大幅指定 */
.info .mainContents .Contents-area {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

/* --- テキスト --- */
strong {
  color: var(--primary-color);
  background: linear-gradient(transparent 70%, #ffeb3b 70%);
}

li {
  margin-bottom: 0.8em;
}

.note,
.small-note {
  font-size: 0.85em;
  color: var(--text-light);
}

/* --- 料金表 --- */
.fee-table-wrapper {
  overflow-x: auto;
  border-radius: var(--border-radius);
  border: 1px solid #e0e0e0;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.fee-table th {
  background-color: #eef4ff;
  color: var(--primary-color);
  padding: 15px;
  text-align: center;
  border-bottom: 2px solid #d0e0ff;
  white-space: nowrap;
}

.fee-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.fee-table tr:last-child td {
  border-bottom: none;
}

.fee-table td.price {
  font-size: 1.2em;
  font-weight: bold;
  color: var(--accent-color);
  text-align: center;
  white-space: nowrap;
  background-color: #fffcfc;
}

/* --- ボックス --- */
.box,.highlight-box {
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid #e0e0e0;
}

.box {
  background-color: #fcfcfc;
  border-left: 5px solid var(--primary-color);
}

.highlight-box {
  background-color: #fffbf0;
  border: 2px solid #ffe082;
  /* 重要ラベル(::before)は削除済み */
}

.box-title {
  display: block;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

/* --- レスポンシブ対応 --- */
@media (min-width: 375px) {
  .contact-sub {
    border-top: none;
    border-left: 1px dashed #ccc;
    padding-top: 0;
    padding-left: 20px;
  }
}

@media (max-width: 600px) {
  .container {
    margin: 0;
    padding: 0;
  }

  .content-card {
    border-radius: 0;
    padding: 25px 15px;
    box-shadow: none;
    margin-bottom: 0;
  }

  body {
    background-color: #fff;
  }

  .fee-table-wrapper {
    border: none;
  }

  .fee-table,
  .fee-table thead,
  .fee-table tbody,
  .fee-table th,
  .fee-table td,
  .fee-table tr {
    display: block;
  }

  .fee-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .fee-table tr {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #fff;
  }

  .fee-table td {
    border: none;
    padding: 5px 0;
    position: relative;
    padding-left: 0;
  }

  .fee-table td.price {
    text-align: left;
    color: var(--accent-color);
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .fee-table td:nth-of-type(1) {
    font-weight: bold;
    font-size: 1.1em;
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .fee-table td:nth-of-type(2)::before {
    content: "手数料：";
    color: #666;
    font-weight: normal;
    font-size: 0.9em;
  }
}