
.container {
  max-width: 600px;
  margin: auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
}
.description {
  margin-bottom: 20px;
  color: #555;
}
label {
  display: block;
  margin: 10px 0;
}
button {
  margin-top: 20px;
  padding: 10px 15px;
  background: #007bff;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 4px;
}
button:hover {
  background: #0056b3;
}
.meta {
  margin-top: 30px;
  font-size: 0.9em;
  color: #777;
}

.bar-row {
  margin-bottom: 12px;
}
.bar-label {
  margin-bottom: 4px;
  font-weight: bold;
}
.bar-bg {
  background: #eee;
  height: 24px;
  border-radius: 4px;
  overflow: hidden;
}
.bar-fill {
  background: #007bff;
  height: 100%;
  color: white;
  text-align: right;
  padding-right: 8px;
  line-height: 24px;
  white-space: nowrap;
  transition: width 0.5s ease;
}

input[type="text"], textarea {
  max-width: 90%;
  padding: 8px;
  margin-top: 5px;
  box-sizing: border-box;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

//シェアボタン調整
a.share-x { margin: 10px;}
a.share-line { margin: 10px;}
a.share-copy { margin: 10px;}

//進捗バー表示用
/* Container */
.progress {
  max-width: 640px;
  margin: 16px auto;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
}

/* Top label */
.progress__label {
  font-size: 0.95rem;
  color: #222;
  margin-bottom: 8px;
  font-weight: 600;
}

/* Track (background) */
.progress__track {
  position: relative;
  height: 10px;
  min-height: 10px;
  background: #e6e8eb;          /* light gray */
  border-radius: 10px;
  overflow: hidden;
}

/* Fill (progress) */
.progress__fill {
  position: relative;
  height: 100%;
//  width: 0;
min-width: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 320ms ease;
}


/* Colors: green baseline, orange when conditions met */
.progress__fill.is-green {
  background-color: #22a35a;     /* green */
}
.progress__fill.is-orange {
  background-color: #f58b1f;     /* orange */
}
.progress__fill.is-red {
  background-color: #CD2D37;     /* red */
}

/* Value text inside bar */
.progress__value {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  padding: 0 8px;
  white-space: nowrap;
}

/* Helper text below bar */
.progress__helper {
  margin-top: 8px;
  font-size: 0.92rem;
  color: #333;
}

/* Accessibility: focus styles for keyboard users on track */
.progress__track:focus-visible {
  outline: 3px solid #5da9ff;
  outline-offset: 2px;
}

/* Responsive tweaks */
@media (max-width: 599px) {
  .progress__value { font-size: 0.82rem; }
  .progress__helper { font-size: 0.88rem; }
  .progress__label { font-size: 0.9rem; }
}
