p{
  margin: 1em 0;
}

p.caption{
  color:#666;
}

a.button {
  border: 1px #ccc solid;
  border-radius: 5px;
  padding: 0.7em;
  line-height: 3em;
}

a.button:hover {
  background-color: #ccffcc;
  cursor: pointer;
}

.small-text{
  font-size: 80%;
}

/*
edit
*/
.editFrame{
  width:100%;
  display:flex;
}
.editSide{
  width: 20vw;
}
.editMain{
}

.editMain section.editBox{
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 10px 0;
  position:relative;
}
.editMain section.editBox h3{
  background-color: #ccc;
  padding:10px;
}
.editMain section.editBox h3 div.control{
  position:absolute;
  top: 6px;
  right: 10px;
  display:flex;
}
.editMain section.editBox p{
  padding:10px;
}
.square_btn {
  display: block;
  position: relative;
  width: 30px;
  height: 30px;
  background: #333; /* ボタンの背景色 */
}
 
.square_btn::before, .square_btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 25px;
  background: #fff; /* バツ印の色 */
}
 
.square_btn::before {
  transform: translate(-50%,-50%) rotate(45deg);
}
 
.square_btn::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}
.arrow-top {
  display: block;
  position: relative;
  width: 30px;
  height: 30px;
  border: 2px solid #333; /* 枠の調整 */
  background: #fff; /* ボタンの背景色 */
}
.arrow-top::before {
    content: "";
    position: absolute;
    top: 30%;
    left: 0;
    width: 18px;
    height: 18px;
    margin: 0 4px;
    border-top: 4px solid #000;
    border-left: 4px solid #000;
    transform: rotate(45deg);
}

.arrow-bottom {
  display: block;
  position: relative;
  width: 30px;
  height: 30px;
  border: 2px solid #333; /* 枠の調整 */
  background: #fff; /* ボタンの背景色 */
}

.arrow-bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
  width: 18px;
  height: 18px;
    margin: 0 4px;
  border-bottom: 4px solid #000;
  border-right: 4px solid #000;
  transform: rotate(45deg);
}
/*
  form
*/
.form-group{
  display: flex;
}

.control-label{
  min-width: 16vw;
  line-height: 4em;
  font-weight: 600;
  text-align: right;
  margin-right: 2em;
}

input.form-control{
  padding: 0.6em 1em;
  margin: 10px 0;
} 

input.number{
  width: 6em;
  text-align: right;
}

textarea.form-control{
  width: 100%;
  padding: 0.6em 1em;
  margin: 10px 0;
} 

input.zipcode, input.telephone_number{
  width: 15em;
}

input.button{
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 5px;
  min-width: 20em;
}

input[type=date]{
  width:10em;
}

input[type=time]{
  width:7em;
}

.btn_group{
  margin: 5em;
  text-align: center;
}

button{
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #999;
  background-color:#ddd;
}

button.royal-road{
  background-color: #ccffcc;
}

button.put-off{
  background-color: #ffcccc;
}

button:hover {
  opacity: 0.8;
  cursor: pointer;
}

.ticket_box{
  margin: 3vw 0;
  padding: 1vw;
  border: solid #999 1px;
  border-radius: 5px;
}

table{
  border:1px #999 solid;
}
table tr th,table tr td{
  border:1px #999 solid;
  padding: 5px 10px;
}
table tr td.number{
  text-align:right;
}

table tr.hiddenOption td{
  background-color: #999;
}

@media screen and (max-width:779px){
  .form-group{
    display: block;
  }
  .control-label{
    line-height: 1em;
    text-align: left;
  }
  .form-box{
    margin-bottom: 2em;
  }

  input.form-control{
    min-width: 90vw;
    padding: 0.6em 1em;
    margin: 10px auto;
  } 
  input.zipcode, input.telephone-number{
    min-width: 15em;
  }
  input.button{
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 5px;
    min-width: 90vw;
  }

  .btn_group{
    margin: 5em 0 0;
    text-align: center;
  }
}


/*モーダル本体の指定 + モーダル外側の背景の指定
.modal-container{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	background: rgba(0,0,0,50%);
	padding: 40px 20px;
	overflow: auto;
	opacity: 0;
	visibility: hidden;
	transition: .3s;
    box-sizing: border-box;
}
/*モーダル本体の擬似要素の指定
.modal-container:before{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル
.modal-container.active{
	opacity: 1;
	visibility: visible;
}
/*モーダル枠の指定
.modal-body{
	position: relative;
	display: inline-block;
	vertical-align: middle;
	width: 90%;
}
/*モーダルを閉じるボタンの指定
.closeHelp{
	position: absolute;
	display: flex;
    align-items: center;
    justify-content: center;
	top: -40px;
	right: -40px;
	width: 40px;
	height: 40px;
	font-size: 40px;
	color: #fff;
	cursor: pointer;
}
/*モーダル内のコンテンツの指定
.modal-content{
	background: #fff;
	text-align: left;
	padding: 30px;
}*/