<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">@charset "UTF-8";
/* ナンプレ頭脳トレーニング */
/* みんなの知識ちょっと便利帳 */
/* https://www.benricho.org/game/numple-puzzles/ */
/* 2025/05/13 */

/* ======= 基本スタイル ======= */
.maincontent {
  font-family: Arial, sans-serif;
  background-color: #e0f7fa;
  margin: 0;
  padding: 0 0 10px;
  border: blue 1px solid;
  border-radius: 5px;
}

.contenttitle {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  padding: 20px 0;
  background-color: #2990FF;
  color: white;
  margin: 0;
}

.controls {
  text-align: center;
  margin-top: 20px;
  background-color: #ffffff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  width: 90%;
  max-width: 600px;
  box-sizing: border-box;
  overflow-x: auto;
}

button, select {
  margin: 7px 3px;
  padding: 3px 10px;
  font-size: 16px;
  border: none;
  background-color: #2990FF;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

button.selected {
  background-color: #ff6f61;
}

table {
  border-collapse: collapse;
  margin: 10px auto;
  width: 90%;
  max-width: 400px;
  table-layout: fixed;
}

td {
  border: 1px solid #2990FF;
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 28px;
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

td:nth-child(3),
td:nth-child(6) {
  border-right: 2px solid #2990FF;
}

tr:nth-child(3) td,
tr:nth-child(6) td {
  border-bottom: 2px solid #2990FF;
}

.maincontent input {
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 26px;
  line-height: 1;
  border: 1px solid #2990FF;
  border-radius: 5px;
  background-color: white;
  transition: background-color 0.5s ease;
  box-sizing: border-box;
  color: crimson;
  font-weight: bold;
  vertical-align: middle;
}

.maincontent input[type="number"] {
  -moz-appearance: textfield;
}

.maincontent input::-webkit-outer-spin-button,
.maincontent input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.maincontent input.hint-highlight {
  background-color: yellow !important;
  border: 2px solid orange;
}

.maincontent input.highlight-cell {
  background-color: #fff59d !important;
}

.maincontent input.selected-cell {
  background-color: #d0f0ff;
  outline: 2px solid #007BFF;
}

.correct-answer {
  background-color: yellow!important;
  border: 2px solid #1B5E20;
  box-shadow: 0 0 15px #1B5E20;
  transform: rotate(360deg);
  transition: all 0.5s ease;
  color: white;
  font-weight: bold;
  animation: correctPop 0.3s ease;
}

@keyframes correctPop {
  0% { transform: scale(1); background-color: #cfc; }
  50% { transform: scale(1.2); background-color: #8f8; }
  100% { transform: scale(1); background-color: #cfc; }
}

.highlight-row,
.highlight-col {
  background-color: #fff59d !important;
}

#sudokuImage {
  margin: 10px 0 0;
}

.provide {
  font-size: 14px;
  margin: 0 15px 0 0;
  text-align: right;
}

li strong {
  font-size: 17px;
}

.description {
  background-color: #f9f9f9;
  border-left: 6px solid #2990FF;
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 8px;
  line-height: 1.8;
}

.description .contenttitle {
  color: #FFF;
  font-size: 1.2em;
  margin-bottom: 12px;
  padding: 10px !important;
}

.description p,
.description ul,
.description ol {
  font-size: 1em;
  margin-bottom: 12px;
  padding-left: 1.5em;
}

.description ul li,
.description ol li {
  margin-bottom: 8px;
}

.description strong {
  color: #333;
  font-weight: bold;
}

.image-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.image-container img {
  width: 280px;
  height: auto;
}

#popupPad {
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid #999;
  padding: 5px 10px !important;
  z-index: 1000;
}

#popupNumbers {
  display: grid;
  grid-template-columns: repeat(3, 30px);
  gap: 5px;
}

#popupNumbers button {
  margin: 3px 0;
}

#popupDelete {
  margin: 5px 0 3px 0;
  width: 100%;
  background: #f88;
}

/* ======= 印刷設定 ======= */
@page {
  size: A4 portrait;
  margin: 0;
}

@media print {
  html, body {
    width: 210mm;
    height: 297mm;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  body * {
    visibility: hidden;
  }

  #sudokuBoard,
  #sudokuBoard *,
  #answerWrapper,
  #answerWrapper *,
  .provide {
    visibility: visible;
  }

  #sudokuBoard,
  #answerWrapper {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
  }

  #sudokuBoard {
    top: 100px;
  }

  #answerWrapper {
    top: 520px;
  }

  #answerWrapper h3 {
    font-size: 18px;
    margin-top: 20px;
  }

  .provide {
    position: absolute;
    bottom: 30px;
    right: 40px;
    font-size: 12px;
  }

  body, table, td, input, .provide {
    background: none !important;
    background-color: white !important;
  }

  table {
    border-collapse: collapse;
  }

  td, input {
    border: 1px solid #000 !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 24px !important;
    border-radius: 0 !important;
  }

  .controls,
  .description,
  header,
  footer,
  nav {
    display: none !important;
  }

  .maincontent {
    width: 100%;
    max-height: 100%;
    margin: 0 auto;
    padding: 0;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  * {
    page-break-before: avoid !important;
    page-break-after: avoid !important;
    page-break-inside: avoid !important;
  }

  #answerBoard td {
    border: 1px solid #000 !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 24px !important;
  }
}

/* ======= レスポンシブ対応 ======= */
@media (max-width: 768px) {
  .controls {
    width: 100%;
    padding: 10px;
  }

  table {
    width: 95%;
  }

  td, input {
    font-size: 18px;
  }

  input {
    padding: 4px;
  }

  button, select {
    font-size: 13px;
    padding: 3px 8px;
  }
}

@media (max-width: 480px) and (orientation: portrait) {
  td, input {
    font-size: 19px;
    font-weight: bold;
    text-align: center;
    width: 30px;
    height: 30px;
  }

  input {
    padding: 3px;
  }

  button, select {
    font-size: 14px !important;
    padding: 4px 10px !important;
    min-width: 40px;
    min-height: 40px;
  }

  .contenttitle {
    font-size: 20px;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  td, input {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    width: 34px;
    height: 34px;
  }

  input {
    padding: 3px;
  }

  button, select {
    font-size: 15px !important;
    padding: 4px 10px !important;
    min-width: 44px;
    min-height: 44px;
  }

  .contenttitle {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  button, select {
    font-size: 14px !important;
    padding: 3px 12px !important;
    min-width: 44px;
    min-height: 44px;
  }
}

.fa-headphones{
	font-weight: bold; 
	margin:0 10px 0 3px
	}

.memo-cell {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 100%;
  text-align: left;
  pointer-events: none;
  font-size: 16px;
  line-height: 1.2;
  color: #555;
  white-space: normal;
  word-break: break-all;
}
td {
  position: relative;
}

@media (max-width: 768px) {
  .memo-cell {
    font-size: 14px;
    line-height: 1.1;
  }
}

@media (max-width: 480px) and (orientation: portrait) {
  .memo-cell {
    font-size: 12px;
    line-height: 1.1;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .memo-cell {
    font-size: 13px;
    line-height: 1.1;
  }
}

    #sudoku-strategy h1 {
      text-align: center;
      color: #007acc;
      font-size: 1.8em;
      border-bottom: 2px solid #007acc;
      padding-bottom: 0.2em;
    }

    #sudoku-strategy h2 {
      color: #007acc;
      margin-top: 1.5em;
      font-size: 1.3em;
      border-left: 4px solid #007acc;
      padding-left: 0.5em;
    }

    #sudoku-strategy h3 {
      font-size: 1.2em;
      margin: 20px 0 0 15px;
    }
	
	#sudoku-strategy table {
	  border-collapse: collapse;
	  margin: 10px auto;
	  width: 90%;
	  max-width: 600px;
	  table-layout: fixed;
	}	
	
    #sudoku-strategy ul {
      padding-left: 2em;
    }

    #sudoku-strategy li {
      margin-bottom: 0.5em;
    }

    #sudoku-strategy .description {
      margin: 15px 0;
    }

    #sudoku-strategy .notes {
      font-size: 14px;
      color: #555;
      margin-top: 10px;
    }

    #sudoku-strategy .notes02 {
      margin: 1em 0 0 1em;
    }
 
 
    #sudoku-strategy .notes03 {
      margin-left: 60px;
    }
 
    #sudoku-strategy .tip {
      margin-top: 20px;
      padding: 10px;
      background-color: #fff8e1;
      border-left: 5px solid #ffc107;
    }

    #sudoku-strategy .pattern th {
      background-color: #2990FF;
      color: white;
      font-weight: bold;
      text-align: center;
      width: 40px;
      height: 40px;
    }

    #sudoku-strategy .pattern td {
      font-size: 19px;
      color: #000;
    }

    #sudoku-strategy .pattern tr:nth-child(even) td {
      background-color: #f0f8ff;
    }

	/* 青と赤の候補「3」のスタイル */
	#sudoku-strategy .pattern .blue {
	  color: #0070C0;  /* 落ち着いた青 */
	  font-weight: bold;
	}

	#sudoku-strategy .pattern .red {
	  color: #C00000;  /* 落ち着いた赤 */
	  font-weight: bold;
	}

	#remainingCells{
	font-size: 18px;
	font-weight: bold;
	margin-top: 10px;
	}
	</pre></body></html>