@charset "UTF-8";
/* 4=25% 5=20% 6=16.6% */
h1, h2, h3, h4, h5, h6 {
  font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ　ProN W3", "Hiragino kaku Gothic ProN", "MS Pゴシック", "MS P Gothic", Verdana, Arial, Helvetica, sans-serif;
}

p, a, td, li {
  font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ　ProN W3", "Hiragino kaku Gothic ProN", "MS Pゴシック", "MS P Gothic", Verdana, Arial, Helvetica, sans-serif;
}

.block { display: block; }
.b-none { border: none !important; box-shadow: none !important; }
.b-s { border: 1px solid #666; box-shadow: 5px 5px 2px rgba(0, 0, 0, 0.4); }
.td-none { text-decoration: none !important; }
.left  { float: left  !important; }
.right { float: right !important; }
.white { color: #fff; }
.red   { color: #f00; }
.blue  { color: #00f; }
.black { color: #000; }
.f12p  { font-size: 12px !important; }
.f14p  { font-size: 14px !important; }
.f16p  { font-size: 16px !important; }
.f20p  { font-size: 20px !important; }
.fw500 { font-weight: 500; }
.fw900 { font-weight: 900; }

/* ページトップ */
#pagetop {
  position: fixed;
  display: block;
  border: 1px solid #666;
  border-radius: 30px;
  background-color: #666;
  background-image: url("../images/set/pagetop.png");
  background-repeat: no-repeat;
  background-position: center 30px;
  background-size: 50%;
  opacity: 0.7;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 10px;
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}
#pagetop a { color: #fff !important; text-decoration: none; font-size: 8px; font-weight: 900; }

/* 管理室メニュー */
#admin_menu {
  position: fixed;
  display: block;
  width: 200px;
  top: 20px;
  left: 10px;
  z-index: 10000;
}
#admin_menu .title {
  width: 100%; height: 40px; line-height: 40px;
  background-color: #444; border-radius: 10px; opacity: 0.9;
  box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.2); color: #fff;
  text-indent: 20px; cursor: pointer;
}
#admin_menu a { display: block; color: #fff; text-decoration: none; font-size: 10px; font-weight: 900; cursor: pointer; }
#admin_menu ul.base {
  display: none; width: 100%; background-color: #777; border-radius: 10px; opacity: 0.9;
  box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.2); color: #fff; text-indent: 30px; border: 1px solid #666;
}
#admin_menu ul.base li { min-height: 30px; line-height: 30px; border-bottom: 1px solid #666; font-size: 10px; font-weight: 900; }
#admin_menu ul.base li:last-child { border-bottom: none; }
#admin_menu ul.base li:hover { background-color: rgba(255,255,255,0.2); }
#admin_menu a.logout { background-image: url("../images/set/logout.png"); }

/* □■ ページタイトル背景 */
html body h2 {
  background-image: url("../images/page_title/page_title_03.jpg");
}

/* □■ シミュレーションページ固有スタイル */
html body #contents #main p.sim_intro {
  width: 90%;
  margin: 20px auto 30px;
  line-height: 1.9em;
  font-size: 15px;
  border: none;
}
@media print, screen and (min-width: 640px) {
  html body #contents #main p.sim_intro {
    width: 80%;
  }
}

#sim_box {
  width: 92%;
  margin: 0 auto 40px;
  background-color: rgba(255,255,255,0.95);
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 25px 20px;
  box-shadow: 3px 3px 8px rgba(0,0,0,0.1);
}
@media print, screen and (min-width: 640px) {
  #sim_box {
    width: 80%;
    padding: 35px 40px;
  }
}

/* セクション */
.sim_section {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px dotted #ccc;
}
.sim_section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sim_label {
  display: block;
  font-size: 17px;
  font-weight: 900;
  color: #333;
  margin-bottom: 14px;
  padding-left: 10px;
  border-left: 4px solid #cc3366;
}

/* ステップ番号 */
.sim_step {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  background-color: #cc3366;
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  margin-right: 8px;
  vertical-align: middle;
}

/* ボタン選択 */
.sim_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sim_buttons_col {
  flex-direction: column;
}
@media print, screen and (min-width: 640px) {
  .sim_buttons_col {
    flex-direction: row;
  }
}

.sim_btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 18px;
  border: 2px solid #bbb;
  border-radius: 6px;
  background-color: #f5f5f5;
  color: #555;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  line-height: 1.4;
}
.sim_buttons_col .sim_btn {
  width: 100%;
}
@media print, screen and (min-width: 640px) {
  .sim_buttons_col .sim_btn {
    width: auto;
    flex: 1;
  }
}
.sim_btn:hover {
  border-color: #cc3366;
  color: #cc3366;
  background-color: #fff0f4;
}
.sim_btn.active {
  border-color: #cc3366;
  background-color: #cc3366;
  color: #fff;
}
.sim_btn_warn {
  border-color: #e08030;
}
.sim_btn_warn:hover {
  border-color: #e08030;
  color: #e08030;
  background-color: #fff8f0;
}
.sim_btn_warn.active {
  border-color: #e08030;
  background-color: #e08030;
  color: #fff;
}
.sim_btn_title {
  display: block;
  font-size: 15px;
  font-weight: 900;
}
.sim_btn_sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 2px;
}

/* 面積単位切替 */
.sim_unit_toggle {
  margin-bottom: 12px;
}
.sim_unit_toggle .sim_btn_small {
  padding: 6px 16px;
  font-size: 13px;
  flex: none;
}

/* 面積入力 */
.sim_area_wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
#sim_area_range {
  flex: 1;
  min-width: 160px;
  height: 6px;
  accent-color: #cc3366;
  cursor: pointer;
}
.sim_area_input_wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
#sim_area {
  width: 90px;
  height: 44px;
  font-size: 22px;
  font-weight: 900;
  text-align: right;
  border: 2px solid #bbb;
  border-radius: 6px;
  padding: 0 6px;
  color: #333;
}
.sim_unit {
  font-size: 18px;
  font-weight: 700;
  color: #555;
}
.sim_note {
  margin: 8px 0 0;
  font-size: 12px;
  color: #888;
  border: none !important;
}

/* チェックボックス */
.sim_checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sim_check_label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  color: #444;
}
.sim_check_label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #cc3366;
  cursor: pointer;
}

/* 結果エリア */
#sim_result {
  margin-top: 30px;
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sim_result_inner {
  background: linear-gradient(135deg, #fff5f8 0%, #fff 100%);
  border: 2px solid #cc3366;
  border-radius: 10px;
  padding: 25px 20px;
  text-align: center;
  margin-bottom: 20px;
}
.sim_result_label {
  font-size: 14px;
  font-weight: 700;
  color: #cc3366;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  border: none !important;
}
.sim_result_price {
  font-size: 18px;
  font-weight: 900;
  color: #333;
  line-height: 1.4em;
  margin: 10px 0 16px;
  border: none !important;
}
.sim_result_price #min_cost,
.sim_result_price #max_cost {
  font-size: 42px;
  color: #cc3366;
}
.sim_result_wave {
  font-size: 28px;
  color: #999;
  margin: 0 8px;
}
.sim_result_note {
  font-size: 12px;
  color: #888;
  line-height: 1.8em;
  border: none !important;
}

/* 内訳テーブル */
.sim_breakdown {
  margin: 16px 0 10px;
  text-align: left;
}
.sim_breakdown_title {
  font-size: 13px;
  font-weight: 900;
  color: #888;
  margin-bottom: 6px;
  border: none !important;
}
.sim_breakdown_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.sim_breakdown_table th {
  width: 50%;
  padding: 7px 10px;
  background-color: #f8f0f4;
  border: 1px solid #e0c0cc;
  color: #666;
  font-weight: 700;
  text-align: left;
}
.sim_breakdown_table td {
  padding: 7px 10px;
  border: 1px solid #e0c0cc;
  background-color: #fff;
  color: #444;
}
.sim_breakdown_table .bd_total_row th,
.sim_breakdown_table .bd_total_row td {
  background-color: #fff0f4;
  border-color: #cc3366;
  color: #cc3366;
  font-weight: 900;
}

/* CTA */
.sim_cta {
  background-color: #fff8f0;
  border: 1px solid #f0a060;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}
.sim_cta_text {
  font-size: 15px;
  line-height: 1.8em;
  margin-bottom: 16px;
  color: #444;
  border: none !important;
}
.sim_cta_btn {
  display: block;
  width: 90%;
  max-width: 360px;
  margin: 10px auto;
  padding: 16px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  background-color: #cc3366;
  color: #fff;
  box-shadow: 2px 3px 6px rgba(0,0,0,0.2);
  transition: background-color 0.2s;
}
.sim_cta_btn:hover {
  background-color: #aa2255;
  color: #fff;
}
.sim_cta_btn.sim_cta_tel {
  background-color: #2255aa;
}
.sim_cta_btn.sim_cta_tel:hover {
  background-color: #1a4488;
}

/* 費用表 */
.sim_price_table {
  width: 92%;
  margin: 0 auto 20px;
  overflow-x: auto;
}
@media print, screen and (min-width: 640px) {
  .sim_price_table {
    width: 80%;
  }
}
.sim_price_table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.sim_price_table th {
  background-color: #cc3366;
  color: #fff;
  padding: 12px 10px;
  text-align: center;
  font-weight: 900;
  border: 1px solid #aa2255;
}
.sim_price_table td {
  padding: 12px 10px;
  border: 1px solid #ddd;
  vertical-align: top;
  line-height: 1.7em;
  background-color: #fff;
}
.sim_price_table tr:nth-child(even) td {
  background-color: #fdf5f8;
}
.sim_price_table td.str_name {
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

/* 注意書き */
p.sim_attention {
  width: 90%;
  margin: 10px auto 40px;
  padding: 16px;
  background-color: #fffbe6;
  border: 1px solid #e8c840;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.8em;
  color: #555;
  border-bottom: none !important;
}
@media print, screen and (min-width: 640px) {
  p.sim_attention {
    width: 80%;
  }
}
