body {
  font-family: 'Segoe UI', 'Hiragino Sans', sans-serif;
  margin: 0;
  background: #f9fff9;
  color: #333;
}
header {
  background: linear-gradient(135deg, #2e8b57, #3cb371);
  color: #fff;
  text-align: center;
  padding: 20px 10px;
}
header h1 {
  font-size: 26px;
  margin: 0;
}
nav {
  background: #e6f5ea;
  text-align: center;
  padding: 10px 0;
}
nav a {
  color: #2e8b57;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
}
nav a:hover {
  text-decoration: underline;
}
.hero {
  text-align: center;
  padding: 50px 15px 30px;
  background: linear-gradient(135deg, #f0fff0, #ffffff);
}
.hero h2 {
  color: #1a6d3b;
  font-size: 28px;
  margin-bottom: 10px;
}
.hero p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 25px;
}
.call-btn {
  display: inline-block;
  background: #2e8b57;
  color: #fff;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.2s;
}
.call-btn:hover {
  background: #1a6d3b;
  transform: scale(1.05);
}
.banner {
  margin: 50px auto;
  background: linear-gradient(135deg, #e6f7e6, #ffffff);
  border: 2px solid #2e8b57;
  border-radius: 14px;
  padding: 25px;
  text-align: center;
  max-width: 800px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.banner h3 {
  color: #2e8b57;
  font-size: 22px;
  margin-bottom: 10px;
}
.banner p {
  font-size: 16px;
  margin-bottom: 15px;
}
footer {
  background: #2e8b57;<!--緑系濃い#2e8b57-->
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
  font-size: 14px;
}
footer a {
  color: #c9ffd9;<!--薄い黄緑#c9ffd9;-->
  text-decoration: none;
  margin: 0 5px;
}
footer .nav {
  margin-top: 15px;
}
footer .nav a {
  display: inline-block;
  color: #c9ffd9;<!--←文字の色ナビ薄緑でOK--><!--#6E6339-->
  margin: 5px 8px;
  font-size: 15px;
}
footer .nav a i {
  margin-right: 5px;
}

body {
  font-family: 'Segoe UI', 'Hiragino Sans', sans-serif;
  margin: 0;
  background: #f9fff9;
  color: #333;
}
header {
  background: linear-gradient(135deg, #2e8b57, #3cb371);
  color: #fff;
  text-align: center;
  padding: 20px 10px;
}
/* …（中略）… */
.bottom-nav {
  display: none;
}
@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #2e8b57, #3cb371);
    border-top: 2px solid #1a6d3b;
    z-index: 999;
    padding: 6px 0;
  }
  .bottom-nav a {
    flex: 1;
    text-align: center;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
  }
  .bottom-nav a i {
    display: block;
    font-size: 22px;
  }
  body {
    padding-bottom: 65px;
  }
}



/* テーブルを縦方向に色分け強化 */
table.price-table th:nth-child(1),
table.price-table td:nth-child(1) {
    background: #e0f5e0; /* 距離列：淡いグリーン */
    font-weight: bold;
}

table.price-table th:nth-child(2),
table.price-table td:nth-child(2) {
    background: #fff8e5; /* 旧料金：淡いクリーム色 */
}

table.price-table th:nth-child(3),
table.price-table td:nth-child(3) {
    background: #eaf2ff; /* 通常料金：淡いブルー */
}

table.price-table th:nth-child(4),
table.price-table td:nth-child(4) {
    background: #fde6e6; /* 深夜料金：淡い赤 */
}

/* ヘッダー色引き継ぎ */
table.price-table th {
    background: #0a7b20 !important;
    color: white;
}



/* ===== 料金シミュレーターBOX ===== */
.price-calc-box {
  background: #f7f7f7;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 25px;
  border: 1px solid #ddd;
}

.price-calc-box input,
.price-calc-box select {
  width: 100%;
  padding: 10px;
  margin: 6px 0 12px;
  font-size: 16px;
}

.price-calc-box button {
  width: 100%;
  padding: 12px;
  background: #2e8b57;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 17px;
}

.result-box {
  margin-top: 15px;
  padding: 10px;
  font-size: 18px;
  font-weight: bold;
}

/* ===== 距離別料金テーブル ===== */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
}

.price-table th,
.price-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
}

.price-table th {
  background: #2e8b57;
  color: #fff;
}

.price-table tr:nth-child(even) {
  background: #f0f0f0;
}

/* 注意事項 */
.notes li {
  margin-bottom: 6px;
}





/* === 料金表デザイン === */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.price-table th,
.price-table td {
  border: 1px solid #cde9cd;
  padding: 10px;
  text-align: center;
}

.price-table th {
  background-color: #0a7b20;
  color: white;
}

.price-table tr:nth-child(even) {
  background-color: #f0fff0;
}
/* 認定証ページ */
.license-section {
    padding: 40px 20px;
    background: #f9f9f9;
}

.page-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
}

.license-description {
    text-align: center;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.license-image-box {
    text-align: center;
}

.license-image {
    max-width: 380px;
    width: 45%;
    border: 2px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.law-section h1,
.law-section h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.law-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.law-table th,
.law-table td {
    border: 1px solid #ccc;
    padding: 10px;
}

.law-table th {
    background: #0a7b20;
    color: #fff;
    text-align: center;
}

.law-table td {
    background: #f9f9f9;
}
/* ================================
   lawページ専用 黒基調デザイン
================================ */

/* セクション全体 */
.law-section {
    background: #111; /* 黒背景 */
    color: #eee;      /* 明るめの文字色 */
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
}

/* 説明文 */
.law-lead {
    font-size: 1.1em;
    line-height: 1.8em;
    color: #ddd;
}

/* 各見出し */
.law-title {
    margin-top: 30px;
    color: #4ee14e; /* 緑系で読みやすい */
    border-left: 8px solid #4ee14e;
    padding-left: 10px;
}

/* テーブル */
.law-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.law-table th, .law-table td {
    border: 2px solid #555; /* グレーラインでクッキリ */
    padding: 12px;
    background: #222;
    color: #eee;
}

/* 見出しセル */
.law-table th {
    background: #0a7b20;
    color: #fff;
    font-weight: bold;
}

/* 色分け（ユーザーに見やすく） */
.after {
    color: #5cd65c; /* 緑 */
    font-weight: bold;
}
.after-strong {
    color: #36c936; /* 強めの緑 */
    font-weight: bold;
}
.warning {
    color: #ff6666; /* 赤系警告色 */
    font-weight: bold;
}

/* 強調スタイル */
.accent-warning {
    color: #ff6666;
    font-weight: bold;
}
.accent-safe {
    color: #4ee14e;
    font-weight: bold;
}
.accent-strong {
    color: #fff;
    font-weight: bold;
}

/* ボックス */
.law-box {
    background: #1b1b1b;
    border: 1px solid #444;
    padding: 15px;
    margin-top: 15px;
    border-radius: 8px;
}
/* 本文読みやすくする（黒背景用の濃いグレー文字） */
.law-page .law-text {
    color: #cccccc;   /* 優しい明るめグレー */
    line-height: 1.9;
    font-size: 16px;
}
/* 本文読みやすくする（黒背景用の濃いグレー文字） */
.law-page .law-text2 {
    color: #333333;   /* 濃いめのグレー */
    line-height: 1.9;
    font-size: 16px;
}



/* さらに薄くしたい場合 */
.law-page .law-text.light {
    color: #bbbbbb;
}

/* 見出し直下の段落を自動で適用させる場合（便利） */
.law-page h2 + p,
.law-page h3 + p {
    color: #cccccc !important;
    line-height: 1.9;
}
.law-page .text-grey {
    color: #696969 !important;
}

/* =========================
   ご利用方法ページ専用デザイン
========================= */

.howto-container {
    padding: 20px;
}

/* キャッチコピー改良 */
.improved-catch {
    text-align: center;
    font-size: 20px;
    line-height: 1.8;
    color: #333;
    background: #f9f9ff;
    border-left: 5px solid #4a6cf7;
    padding: 20px 15px;
    margin-bottom: 25px;
    border-radius: 8px;
}

/* 電話ブロック */
.call-block {
    background: #ffefef;
    border: 2px solid #ff9090;
    padding: 18px;
    text-align: center;
    margin: 20px auto;
    border-radius: 12px;
    max-width: 380px;
}

.call-block a {
    color: #d60000;
    text-decoration: none;
    font-weight: bold;
    display: block;
}

.call-block i {
    font-size: 28px;
    margin-right: 10px;
}

.call-number {
    font-size: 26px;
    display: block;
    margin: 5px 0;
}

.call-text {
    font-size: 15px;
    color: #777;
}

/* 見出し */
.howto-title {
    margin-top: 40px;
}

/* Step カード一覧 */
.steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 25px;
}

/* 個別カード */
.step-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e3e3e3;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.step-number {
    background: #4a6cf7;
    color: #fff;
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.step-card p {
    line-height: 1.7;
    color: #333;
}

/* 下部電話ブロック */
.bottom-call {
    margin-top: 35px;
}
/* キャッチコピー */
.catch {
    text-align: center;
    font-size: 28px;
    line-height: 1.6;
    margin: 30px 0;
    color: #023e8a;
    font-weight: bold;
}
.catch .line3 {
    font-size: 32px;
    color: #0077b6;
}

/* 電話ブロック（青系） */
.phone-banner {
    margin: 25px auto;
    text-align: center;
}
.phone-banner a {
    display: inline-block;
    background: #0077b6;
    color: #fff;
    padding: 16px 24px;
    border-radius: 10px;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: 0.2s;
}
.phone-banner a:hover {
    background: #0096c7;
}





.contact-wrapper {
    max-width: 720px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    font-size: 19px; /* ← 文字を大きく */
    line-height: 1.8; /* ← 行間広げる */
}

.contact-wrapper label {
    font-size: 20px;
    font-weight: bold;
    margin-top: 18px;
    display: block;
}

.contact-wrapper input,
.contact-wrapper select,
.contact-wrapper textarea {
    width: 100%;
    padding: 14px;
    font-size: 19px;
    border: 1px solid #bbb;
    border-radius: 8px;
    margin-top: 10px;
}

.contact-wrapper textarea {
    min-height: 160px;
}

.contact-wrapper .btn {
    display: inline-block;
    font-size: 19px;
    padding: 14px 26px;
    margin-top: 24px;
    border-radius: 8px;
}

.btn {
    background: #0a7b20;
    color: #fff;
    border: none;
    transition: 0.2s;
}
.btn:hover {
    background: #0c8f25;
}

/* フォーム全体（カード型） */
.contact-card {
  max-width: 600px;
  margin: 30px auto;
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  box-sizing: border-box;
}

/* タイトル */
.contact-card h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

/* ラベル */
.contact-card label {
  font-size: 18px;
  display: block;
  margin-bottom: 8px;
}

/* 入力フィールド */
.contact-card input,
.contact-card textarea {
  width: 100%;
  font-size: 18px;
  padding: 12px 14px;
  margin-bottom: 18px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

/* 送信ボタン */
.contact-card button {
  width: 100%;
  background: #007bff;
  color: #fff;
  font-size: 20px;
  padding: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-card button:hover {
  background: #0056c7;
}

/* スマホ対応 */
@media (max-width: 480px) {
  .contact-card {
    padding: 20px;
  }
  .contact-card label,
  .contact-card input,
  .contact-card textarea,
  .contact-card button {
    font-size: 17px;
  }
}
