@charset "UTF-8";
.card {
  max-width: 800px; }

/* 結果表示エリア */
.result-container {
  position: relative;
  margin-bottom: 1em; }

.result-area {
  background: #F8F9FA;
  padding: 1em;
  border-radius: 0.5em;
  font-family: 'Courier New', monospace;
  font-size: 140%;
  text-align: center;
  border: 2px dashed var(--border-color);
  cursor: pointer;
  word-break: break-all;
  transition: all 0.3s ease; }
  .result-area:hover {
    background: #fff;
    border-color: var(--primary-color); }

.copy-hint {
  font-size: 75%;
  color: var(--text-sub);
  text-align: center;
  margin-top: 0.5em; }

/* 強度メーター */
.strength-meter-container {
  margin-bottom: 1.5em; }

.strength-meter {
  height: 6px;
  background: #EEE;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px; }

.strength-bar {
  height: 100%;
  width: 0%;
  transition: width 0.5s ease, background-color 0.5s ease; }

.strength-text {
  font-size: 80%;
  font-weight: bold;
  text-align: right; }

/* 設定項目 */
.setting-group {
  margin-bottom: 1.5em; }

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 90%;
  margin-bottom: 0.75em; }

.slider-control {
  display: flex;
  align-items: center;
  gap: 12px; }

input[type="range"] {
  flex: 1;
  cursor: pointer;
  accent-color: var(--primary-color);
  background-color: var(--bg-color);
  border-radius: 100vh; }

input[type="checkbox"] {
  border: 1px solid #333;
  display: block;
  margin-top: 2px;
  position: relative;
  width: 1em;
  height: 1em; }
  input[type="checkbox"]:checked::after {
    border-right: 0.25em solid var(--primary-color);
    border-bottom: 0.25em solid var(--primary-color);
    content: '';
    display: block;
    height: 1.2em;
    margin-top: -1em;
    opacity: 1;
    position: absolute;
    top: 64%;
    left: 8%;
    transform: rotate(45deg) scale(0.7);
    transition: transform .2s ease-in-out, opacity .2s ease-in-out;
    width: 0.5em; }

.adjust-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-color);
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 120%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  line-height: 1; }
  .adjust-btn:hover {
    background: #f0f0f0;
    border-color: #bbb; }

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 2em; }

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 90%;
  cursor: pointer;
  user-select: none; }

.main-generate {
  width: 100%;
  padding: 1em;
  background: var(--primary-color);
  color: #FFFFFF;
  border: none;
  border-radius: 0.5em;
  font-size: 100%;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease; }
  .main-generate:hover {
    background: var(--primary-hover); }

.tools_note {
  font-size: 75%;
  margin-top: 1em;
  text-align: center; }

@media screen and (min-width: 1680px) {
  /* 1680px以上 */
  .card {
    max-width: 1024px; } }
