@charset "utf-8";
/* CSS Document */

#contents-wrapper {
 width: 100%;
 max-width: 100%;
 padding: 0;
}

#contents-wrapper p {
 margin-bottom: 0
}

#contents-wrapper #h1-wrapper {
 width: 100%;
 margin-bottom: 40px;
 background: #009744;
}
#contents-wrapper #h1-wrapper h1 {
 position: static;
 width: 100%;
 max-width: 1020px;
 font-size: 35px;
 padding: 40px 20px;
 color: #fff;
 margin: 0 auto;
 border: none
}
#contents-wrapper h1::before {
 display: none
}
#contents-wrapper #h1-wrapper span {
 display: block;
 font-size: 20px;
}
#contents {
 width: 100%;
 max-width: 1020px;
 margin: 0 auto;
 padding: 30px 10px 60px;
}
.require {
 color: red;
 font-weight: bold;
 font-size: 14px;
}
.form {
 width: 100%;
 max-width: 1020px;
 margin: 0 auto;
 text-align: left
}
.form-header {
 display: flex;
 justify-content: space-between;
 flex-direction: row-reverse;
 align-items: center
}
#contents-wrapper h2::before {
 display: none
}
.form-header h2 {
 font-size: 27px;
 color: #009744;
 background: url("../img/title01.png") left center no-repeat;
 padding: 10px 0 10px 60px;
 font-weight: bold
}
.form-header .form-step .step {
 width: 100%;
 max-width: 324px;
}
.form-header .form-step .step img {
 width: 100%;
 max-width: 324px;
 height: auto;
 margin: 0 auto;
 display: block
}
.form-area,
.poster-info-wrap,
.complete-message{
 width: 100%;
 padding: 30px 70px;
 border: solid 1px #cccccc;
 margin-bottom: 40px;
}

.complete-message{
 padding: 100px 70px;
 text-align:center;
 font-weight:bold;
 font-size:18px;
}

form table {
 width: 100%;
 max-width: 860px;
 margin: 0 auto;
}
form th {
 width: 50%;
 padding: 20px 80px 20px 20px;
 font-size: 16px;
 font-weight: bold;
 border-bottom: dashed 1px #8d8d8d;
}
form td {
 padding: 20px;
 font-weight: bold;
 border-bottom: dashed 1px #8d8d8d;
}
form table tr:last-of-type th, form table tr:last-of-type td {
 border-bottom: none;
}
input[type="text"] {
 margin-right: 5px;
 width: 100px;
 padding: 3px 5px;
 font-size: 14px;
 border: 1px solid #ccc;
 border-radius: 4px
}
form textarea {
 font-size: 14px;
 border: 1px solid #ccc;
 border-radius: 4px;
 padding: 3px 5px;
}
form label {
 margin-right: 30px;
 cursor: pointer;
 white-space: nowrap;
}
form label input {
 margin-bottom: 8px;
}
.poster-info li {
 margin-bottom: 15px;
}
.poster-info .txtbox {
 margin-top: 5px;
 width: 90%;
}
.comment span {
 font-size: 14px;
 display: block
}
.btn {
 display: flex;
 margin: 0 auto 50px;
 justify-content: center;
}
.btn div {
 padding: 0 10px
}
.btn .back a {
 line-height: 1.2 !important;
 width: 150px;
 height: 50px;
 display: block;
 padding: 15px;
 border: solid 1px #009744;
 border-radius: 3px;
 color: #009744;
 font-size: 18px;
 font-weight: bold;
 text-decoration: none !important;
 text-align: center;
}

.btn button[type="submit"] {
background:#009744;
}

.btn a:hover {
 background: #dff4da
}
input[type="submit"],
button[type="submit"],
button[type="button"]{
 line-height: 1.0 !important;
 width: 150px;
 height: 50px;
 margin: 0 auto;
 display: block;
 padding: 15px;
 background: #009744;
 border-radius: 3px;
 color: #fff;
 font-size: 18px;
 font-weight: bold;
 border: none;
 font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W6", sans-seri;
}
input[type="submit"]:hover,
button[type="submit"]:hover,
button[type="button"]:not(.Zebra_DatePicker_Icon):hover{
 cursor: pointer;
 background: #00813a
}
.size span {
 margin-right: 30px;
}

.error-message{
border: 1px solid #db0000;
color:#db0000;
padding: 15px;
margin-bottom:20px;
font-weight: bold;
}

/*写真アップロード画面ここから*/
.form-header h2.upload-title {
 background-image: url("../img/title02.png");
}
#upload-box h3 {
 font-size: 22px;
 text-align: center;
 margin-top: 30px;
}
#upload-box dl {
 margin: 50px auto;
 max-width: 700px;
}
#upload-box dl dt {
 margin-bottom: 10px;
 font-weight: bold;
}
#upload-box dl dd {
 margin-bottom: 10px;
 position: relative;
 padding-left: 20px;
 margin-left: 10px;
 line-height: 1.2
}
#upload-box dl dd::before {
 content: "•";
 position: absolute;
 left: 0;
 color: #333; /* マークの色 */
}
#upload-box .upload-area {
 margin: 50px auto;
 padding: 40px 20px;
 max-width: 700px;
 border:solid 1px #009744;
 text-align: center
}
#upload-box .upload-area p {
 margin: 0 auto 30px;
}
#upload-box input[type="file"] {
 cursor: pointer
}
#upload-box .upload-area label.file-upload {
 margin: 0;
 display: inline-block;
 font-size: 15px;
 position: relative;
 padding: 10px 10px 10px 22px;
 width: 200px;
 background: #009744;
 border-radius: 4px
}
#upload-box .upload-area .file-upload:before {
 position: absolute;
 content: "";
 background: url("../img/upload.svg") center;
 width: 20px;
 height: 17px;
 background-size: 100%;
 left: 10px;
 top: 12px;
}
#upload-box .upload-area .file-upload input[type="submit"] {
 line-height: 1.0 !important;
 width: auto;
 height: auto;
 margin: 0;
 display: inline;
 padding: 0;
 border-radius: 0;
 color: #fff;
 font-size: 15px;
 font-weight: bold;
 border: none;
 background-color: none;
}
#upload-box .upload-area label.file-upload:hover, #upload-box .upload-area .file-upload input[type="submit"]:hover {
 background: #00813a
}
/*詳細入力画面ここから*/
.form-header h2.input-title {
 background-image: url("../img/title03.png");
}

.detail-box {
 width: 100%;
 padding: 10px;
 font-size: 15px;
 overflow: hidden
}
.detail-box .sousa {
 display: flex;
 justify-content: end;
 column-gap: 20px;
 margin-bottom: 15px
}
.detail-box .sousa a {
 font-weight: bold
}
.detail {
 overflow: hidden;
 border-bottom: dashed 1px #8d8d8d;
 padding-bottom: 20px;
}

.detail-box .detail-pic {
 width: 230px;
 margin-right: 15px;
 margin-bottom: 10px;
 float: left;
}
.detail-pic-inner {
 width: 100%;
 border: solid 1px #ccc;
 position: relative;
 overflow: hidden;
 display: block;
 background: #fff;
}
.detail-pic-inner::before {
 content: "";
 padding-top: 200px;
 display: block;
}
.detail-pic-inner .pic {
 width: 100%;
 height: 100%;
 position: absolute;
 top: 0;
 left: 0;
 object-fit: contain;
 border: none;
 cursor: default;
 image-orientation: from-image;
}
#houkoku-step03 form label {
margin-right: 0
}

.insect-info, .data-info, .location-info {
 float: left;
 width: calc(100% - 245px);
}
.insect-info {
 display: flex;
 justify-content: flex-start;
 column-gap: 15px;
}

#houkoku-step03 span:not(.require) {
 display: block;
 font-weight: bold
}

.insect-info span:not(.require){
 width: 80px;
}
.data-info .calendar-wrapper, .location-box {
 display: flex;
 justify-content: flex-start;
 column-gap: 10px;
 margin-bottom: 10px
}
/*
.data-info .calendar-wrapper{
    position: relative;
}
*/
.insect-info select {
 cursor: pointer
}
.insect-info .species {
 width: 100%;
 max-width: 240px
}
.insect-info .species > span {
 display: block;
 font-weight: bold;
}
.insect-info .growth, .insect-info .instar {
 flex: 1
}
.insect-info .species, .insect-info .growth, .insect-info .instar {
 margin-bottom: 10px;
}
.data-info {
 float: left;
 margin-bottom: 10px
}
.data-info p,
.location-info p {
 font-weight: bold
}
.location-info .location-box {
 padding-left: 15px
}
.insect-info .species input[type="text"], .data-info input[type="text"] ,.location-box input[type="text"]{
 width: 100%;
 max-width: 240px
}
.data-info .calendar {
 display: inline-block;
 width: 24px;
 height: 25px;
 cursor: pointer
}
.data-info .calendar img {
 width: 100%;
 height: auto;
}
.location-info span{
margin-right: 2px
}
.location-info .prefecture, .location-info .city {
 flex: 1;
}

.location-info .prefecture label, .location-info .city label {
 display: flex;
 align-items: baseline;
 }

#add-btn input[type="submit"],
#add-btn button[type="button"] {
 width: 200px;
}


/*アップロード完了画面ここから*/
.form-header h2.complete-title{
 background-image: url("../img/title04.png");
}




@media screen and (max-width:1000px) {
.form-area {
 padding: 30px calc(100vw * 40 / 1000);
 }

}
@media screen and (max-width:900px) {
 form th {
  width: 60%;
  padding: 20px;
 }
 #upload-box h3 {
  text-align: left;
 }
 .insect-info {
  display: block;
 }

 .data-info {
  clear: both;
 }
 .location-info {
  clear: both;
  width: 100%;
 }
 .location-info .prefecture label, .location-info .city label{
  display: block;
 }

}
@media screen and (max-width:820px) {
 #contents-wrapper #h1-wrapper {
  margin-bottom: 0;
 }
 #contents-wrapper #h1-wrapper h1 {
  font-size: 20px;
  padding: 10px;
 }
 #contents-wrapper #h1-wrapper span {
  font-size: 14px;
 }
 .form-header .form-step .step {
  margin: 0 auto 30px;
 }
 .form-header {
  display: block
 }
 .form-header h2 {
  font-size: 19px;
  background-size: 40px 40px;
  padding: 10px 0 10px 50px;
 }
 .form-area,
 .poster-info-wrap{
  width: 100%;
  padding: 30px 20px;
 }

.complete-message {
  width: 100%;
  padding: 70px 20px;
 font-size:16px;
 }

 form th {
  width: 100%;
  padding: 10px;
  border: none;
  display: block;
  border-radius: 5px;
  background: #f1f1f1;
  border-bottom: none;
 }
 form td {
  display: block;
  padding: 25px 10px;
  border-bottom: none;
 }
 form tr {
  position: relative;
 }
 form tr:after {
  display: none
 }
 form tr:last-of-type:after {
  display: none
 }
 form textarea {
  width: 100%
 }
 
 .btn {
  margin: 0 auto;
}
 .btn div {
  padding: 0 10px;
  margin-bottom: 15px;
 }
 .btn a {
  padding: 10px 20px;
  font-size: 16px;
  text-align: center;
  margin: 0 auto;
  width: 110px;
 }

.btn .back a {
 width: 140px;
}

input[type="submit"],
button[type="submit"],
button[type="button"]{
 width: 140px;
}

 form label input[type="radio"] {
  font-size: 14px;
 }
 input[type="submit"] {
  padding: 10px 20px;
  font-size: 16px;
 }
 .btn .back a {
  font-size: 16px;
 }
 .size span {
  display: block;
  margin: 0 0 10px 0;
 }
 #upload-box h3 {
  font-size: 17px;
 }
 #upload-box .upload-area p {
  text-align: left;
 }
  #upload-box .upload-area p br{
  display: none
 }
 #upload-box .upload-area {
  margin: 50px auto 0;
 }
 #upload-box .upload-area input[type="file"] {
  margin-bottom: 20px;
 }
}

@media screen and (max-width:670px) {
.complete-message{
text-align:left;
}
}

@media screen and (max-width:600px) {
 /*詳細入力画面ここから*/
 .detail-box .sousa {
  display: flex;
  justify-content: center;
}
 .detail-box .detail-pic {
  float: none;
  margin: 0 auto 10px;
 }
 .insect-info,.data-info{
    width: 100%;
  }
.location-box{
display: block
}
}
