@charset "UTF-8";

main{
    margin: 90px auto 20px;
    width: 80%;
}
h2 {
  font-weight: 400;
  font-size: 23px;
  text-align: center;
  height: 45px;
  background-image: linear-gradient(90deg, transparent 0% 40%, var(--red) 40% 60%, transparent 60%);
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: center 100%;
}
.c-h4 {
  width: calc(100% - 5vw - 5px);
}
.none{
    display: none;
}
.inline{
    display: inline-block;
}
a {
  color: var(--red);
}

.required {
  display: inline-block;
  font-size: 10px;
  background-color: #9B2C2C;
  padding: 0 3px;
  color: #fff;
  height: 16px;
  vertical-align: middle;
  margin: 10px 0;
}

.optional {
  display: inline-block;
  font-size: 10px;
  background-color: #acacac;
  padding: 0 3px;
  color: #fff;
  height: 16px;
  vertical-align: middle;
  margin: 10px 0;
}

.form-item {
  margin: 0;
  display: inline-block;
  vertical-align: middle;
}

.form-note {
  margin: 0;
  font-size: 14px;
}

/*メールスパム対策*/
.domain::before {
   content: '@';
}

input,
button,
textarea,
select {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="text"],
input[type="time"],
input[type="date"],
input[type="number"],
input[type="email"],
textarea {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  background-color: #fff;
  border: 2px solid #fff;
  font-size: 20px;
  padding: 5px 8px;
  border-radius: 0;
  width: -webkit-calc(99.9% - 16px - 4px);
  width: calc(99.9% - 16px - 4px);
  margin: 0 0 20px 0;
}

select {
  background-color: #fff;
  border: 2px solid #fff;
  font-size: 14px;
  padding: 5px 8px;
  border-radius: 0;
  width: 100%;
  margin: 0 0 20px 0;
}

textarea {
  line-height: 1.5em;
  height: -webkit-calc(1.5em * 4 + 14px);
  height: calc(1.5em * 4 + 14px);
  resize: none;
}

input:focus,
textarea:focus,
select:focus {
  border: 2px solid #9B2C2C;
}

select {
  cursor: pointer;
}


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

input[type="radio"] + label {
  padding-left: 20px;
  position: relative;
  margin-right: 20px;
  cursor: pointer;
}

input[type="radio"] + label::before {
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  left: 0;
  width: 15px;
  height: 15px;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 50%;
}

input[type="radio"]:checked + label {
  color: #9B2C2C;
}

input[type="radio"]:checked + label::after {
  content: "";
  display: block;
  position: absolute;
  top: 8px;
  left: 3px;
  width: 11px;
  height: 11px;
  background: #9B2C2C;
  border-radius: 50%;
}


#present1,
#present2,
#present3,
#present4,
#present5{
    width: 100%;
    display: inline-block;
}

.radiobtn,
.checkbox {
  margin-bottom: 20px;
  line-height: 2em;
}
.checkbox{
    width: 100%;
}

.checkbox-input {
  opacity: 0;
}

.checkbox-parts {
  padding-left: 20px;
  position: relative;
  margin-right: 20px;
  cursor: pointer;
  
}

.checkbox-parts::before {
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #fff;
  background-color: #fff;
  border-radius: 0;
}

.checkbox-input:checked + .checkbox-parts {
  color: #9B2C2C;
}

.checkbox-input:checked + .checkbox-parts::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 5px;
  width: 7px;
  height: 14px;
  transform: rotate(40deg);
  border-bottom: 3px solid #9B2C2C;
  border-right: 3px solid #9B2C2C;
}

button {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  font-family: a-otf-gothic-bbb-pr6n, sans-serif;
    font-weight: 400;
    font-style: normal;
  cursor: pointer;
  margin: 5px 0;
}

.blueButton {
  background-color: #9B2C2C;
  color: #fff;
}

.grayButton {
  background-color: #fff;
  color: #444;
}

button:hover {
  opacity: .5;
}

.main_right h1 {
  font-size: 16px;
  color: #9B2C2C;
  border: 2px dotted #9B2C2C;
  padding: 10px;
  border-radius: 0;
  margin-bottom: 10px;
}

.backToTop {
  width:100%;
  background-color:#9B2C2C;
  position:relative;
  margin-top:20px;
}

.backToTop:hover {
  opacity:.5;
}

.backToTop a {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

.backToTop p {
  font-size:14px;
  color:#fff;
  padding:10px;
  text-align:center;
}

.notes_btn {
  display:inline-block;
  padding:10px 20px;
  margin:5px 10px 5px 0;
  border-radius:0;
  background-color:#9B2C2C;
  color:#fff;
  cursor:pointer;
}

.notes_btn:hover {
  opacity:.5;
}

.uploaded_img {
  max-width:50%;
  max-height:200px;
}

/* 表 */

th,
td {
  border: solid 2px #fff;
  padding: 10px;
  text-align: center;
}

th {
  background-color: #9B2C2C;
  color: #fff;
}

.orei_table {
  border-collapse: collapse;
  font-size: 12px;
  white-space: nowrap;
  max-width: 700px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
margin: 10px 5% 30px;
}

.orei_table th{
  font-size: 12px;
  width: 30px;
  min-width: 30px;
  font-size: 12px;
}

.orei_table td{
  font-size: 12px;
  width: 30px;
  min-width: 30px;
  font-size: 12px;
}

.td_color{
  background-color: gainsboro;
}
.table_img{
    width: 100%;
}

.credit_form_btn {
  display: inline-block;
  padding: 0.3em 1em;
  text-decoration: none;
  color: #9B2C2C;
  border: solid 2px #9B2C2C;
  border-radius: 3px;
  transition: .4s;
  cursor: pointer;
}

.credit_form_btn:hover {
  background: #9B2C2C;
  color: white;
}

.kuchi_number{
  width: 100%;
}


/* PC版 */

@media screen and (min-width:1024px) {
    main{
        width: 750px;
    }
  .orei_table th{
  width: 70px;
  min-width: 70px;
}

.orei_table td{
  width: 70px;
  min-width: 70px;
}
  
  .orei_table{
    white-space: normal;
      margin: 0 auto 50px;
  }
  
  .sumaho {
    display: none;
  }
  
}
