@charset "UTF-8";
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: lightblue; /* 背景色をlightblueに変更 */
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
}

div {
background-color: #fff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
max-width: 400px;
width: 100%;
margin: 10px 0;
}

h2 {
text-align: center;
color: #333;
}


label {
display: block;
margin: 15px 0 5px;
font-weight: bold;
color: #555;
}


input, select, textarea {
width: 100%;
padding: 5px;
font-size: 120%;
margin-bottom: 15px;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 4px;
}

textarea {
resize: vertical;
}

button {
font-size: 120%;
font-weight: bold;
background-color:#d3d3d3;
color: #000;
padding: 8px 8px;
border: 1px solid #000;
border-radius: 4px;
cursor: pointer;
width: 80%;
display: inline-block;
}

button:hover {
background-color: #45a049;
color: #fff;
}

.required::after {
content: "必須";
color: #ffffff;
background: #cc0000;
font-size: 0.8em;
padding: 0.3em;
border-radius: 0.5em;
margin-left:0.3em;
}

.any::after {
content: "任意";
color: #ffffff;
background: #696969;
font-size: 0.8em;
padding: 0.3em;
border-radius: 0.5em;
margin-left:0.3em;
}

.btxt{
background-color: #fff;
align: center;
}

.msg{
width: 100%%;
background-color: #fff;
text-align: center;
}

.minib{
background-color:#e6e6fa;
}

.slide-switch {
  position: relative;
  display: inline-block;
  width: 3em;
  height: 1.5em;
  border-radius: 1.5em;
  overflow: hidden;
}

.slide-switch input {
  display: none;
}

.slide-switch span {
  position: absolute;
  display: block;
  width: 4.5em;
  height: 100%;
  left: 0;
  background-color: #E3E3E3;
  transition: all 300ms linear;
}
.slide-switch span::before {
  content: 'ON';
  position: absolute;
  display: inline-block;
  right: .3em;
  color: white;
  font-size: 0.8em;
  line-height: 2em;
}
.slide-switch span::after {
  content: '';
  position: absolute;
  display: block;
  width: 1.3em;
  height: 1.3em;
  border-radius: 1.3em;
  left: 1.6em;
  top: 0.1em;
  background-color: white;
}

.slide-switch input:checked ~ span {
  left: -1.5em;
  background-color: limegreen;
}
