body {
    font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','ＭＳ Ｐゴシック','MS PGothic';
}

.page-title {
  font-size: 2em;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}
.page-content {
  font-size: 1em;
  padding: 0.5em 1em;
}
.question {
  font-size: 1.5em
}
.box {
    text-align: center;
    padding-right: 0px;
    padding-left: 0px;
    /* white-space: nowrap; */
}

.add {
    padding: 0.5em 1em;
    margin: 2em 1em;
    color: #5d627b;
    background: white;
    border-top: solid 5px #5d627b;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.add p {
    margin: 0; 
    padding: 0;
}

.remark {
    position: relative;
    margin: 1em 0.5em;
    padding: 0.5em 0.5em 0em 0.5em;
    border: 3px solid #bbb;
    border-radius: 8px;
}

.remark .remark-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    background: #FFF;
    color: black;
    font-weight: bold;
}
.remark-text {
    font-size: 0.6em;
    padding: 0px 15px;
    margin: 0 auto;
    text-align: left;
}
.remark-calc {
    font-size: 1em;
    text-align: center;
}

.scroll{
    overflow-x: auto;
    white-space: nowrap;
}

.del {
    color: gray;
    text-decoration: line-through;
}
input {
    text-align: center;
}

.table-responsive td {
    white-space: nowrap;
}

@media screen and (min-width: 650px)
{
.remark {
    width: 650px;
}
}

.toggle-buttons {
    display: flex;
    justify-content: center;
}

.toggle-buttons.vertical {
    flex-direction: column;
}

.toggle-buttons label {
    display: flex;
    position: relative;
}

.toggle-buttons [type=radio],
.toggle-buttons [type=checkbox] {
  -webkit-appearance: none;
  -moz-appearance: none;
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* appearance: none; for IE11 */
_:-ms-lang(x)::-ms-backdrop, .toggle-buttons [type=radio],
_:-ms-lang(x)::-ms-backdrop, .toggle-buttons [type=checkbox] {
  visibility: hidden;
}

input[type="radio"]:focus {
    outline: 0;
}

.button {
  display: inline-block;
  padding: .5em 1em;
  border-radius: 4px;
  text-align: center;
  vertical-align: middle;
  color: #eff;
  background-color: #678;
  cursor: pointer;
  margin: 1px;
}

.button:hover {
  background-color: #567;
}

.button:disabled {
  cursor: not-allowed;
  opacity: .6;
  color: #def;
}

.toggle-buttons .button {
  z-index: 1;
}

.toggle-buttons.vertical .button {
  width: 100%;
}

.toggle-buttons:not(.vertical) :not(:first-child) .button {
  border-left: 1px solid #567;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.toggle-buttons:not(.vertical) :not(:last-child) .button {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.toggle-buttons.vertical :not(:first-child) .button {
  border-top: 1px solid #567;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.toggle-buttons.vertical :not(:last-child) .button {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.toggle-buttons :checked + .button {
  background-color: #345;
}

.toggle-buttons :disabled + .button {
  cursor: not-allowed;
  opacity: .6;
  color: #def;
}

@media screen and (min-width: 576px)
{
.remark {
    margin: 1em 0.5em;
}
}
@media screen and (max-width: 575px) {
.remark {
    margin: 1em 0em;
}

.scroll::-webkit-scrollbar {
height: 5px;
}

.scroll::-webkit-scrollbar-track {
border-radius: 5px;
background: #eee;
}

.scroll::-webkit-scrollbar-thumb {
border-radius: 5px;
background: #666;
}
}
