@charset "utf-8";

/*
  共通
*/

body {
  color: #4a4849;
}

img {
  display: inline-block;
  vertical-align: bottom;
}

/* h2のリセット */
#main h2 {
  width: auto;
  margin: 0;
  padding: 0;
  border: none;
  font-weight: normal;
  background: none;
  font-size: 1em;
  text-align: inherit;
}

/* pのリセット */
#main p {
  padding: 0;
}

/*スマホとタブレットのみに適用*/
@media (max-width: 979px) {
 .sp-tablet-none {display: none;}
}

/*タブレットとPCのみに適用*/
@media (min-width: 768px) {
 .tablet-pc-none {display: none;}
}

/*スマホのみに適用*/
@media (max-width: 767px) {
 .sp-none {display: none;}
}

/*タブレットのみに適用*/
@media (min-width: 768px) and (max-width: 979px) {
 .tablet-none {display: none;}
}

/*PCのみに適用*/
@media (min-width: 980px) {
 .pc-none {display: none;}
}

@media (min-width: 767px) {
  body {
    min-width: 1000px;
  }
}

/*
  header
*/

header .inner h1 img {
  vertical-align: inherit;
}

/*
  main-img
*/

.main-img {
  margin-bottom: 10%;
}

@media (min-width: 767px) {
  .main-img {
    margin-bottom: 5%;
  }
}

/*
  flow
*/

.flow {
  padding: 0 10px;
  margin-bottom: 10%;
}

#main .flow h2 {
  margin-bottom: 6%;
  font-size: 20px;
  color: #008f4c;
  text-align: center;
}

@media (min-width: 767px) {
  .flow {
    padding: 0;
    margin-bottom: 5%;
    display: flex;
  }

  #main .flow h2 {
    margin-bottom: 3%;
    width: 22%;
    margin-right: 3%;
    font-size: px;
  }

  .flow p {
    width: 75%;
    font-size: 18px;
    line-height: 1.4;
  }
}


/*
  form-area
*/

.form-area {
  padding: 30px 15px;
  background: #fff;
}

.form-area .entry {
  margin-bottom: 80px;
}

#main .form-area h2 {
  margin-bottom: 6%;
  padding-bottom: 6%;
  font-size: 20px;
  color: #008f4c;
  text-align: center;
  border-bottom: 3px dotted #008f4c;
}

#main .form-area h2:before {
  content: attr(data-no);
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 15px;
  font-size: 12px;
  color: inherit;
  line-height: 16px;
  font-weight: bold;
  vertical-align: middle;
  border-radius: 50%;
  border: 2px solid #008f4c;
}

.form-area .heading {
  font-size: 15px;
  margin-bottom: 5px;
  position: relative;
  overflow: hidden;
}

.form-area .heading.required:after {
  content: "※必須";
  display: block;
  font-family: inherit;
  font-size: inherit;
  color: red;
  position: absolute;
  top: 0;
  right: 5px;
}

.form-area .input {
  margin-bottom: 15px;
}

.form-area input[type="text"],
.form-area select,
.form-area textarea {
  width: 100%;
  padding: 4px 8px;
  font-family: inherit;
  font-size: 0.9em;
  border: 1px solid #ccc;
  background: #fff;
}

.form-area .item-list {
  padding-left: 0;
}

.form-area .item-list li {
  margin-bottom: 5px;
}

@media (max-width: 767px) {
  .form-area .item-list input[type="text"]:first-child {
    width: calc(68% - 1.25em) !important;
  }

  .form-area .item-list input[type="text"]:last-child {
    width: calc(32% - 1.25em) !important;
  }
} /* min-width: 767px */


.form-area textarea {
  height: 100px;
  resize: vertical;
}

.form-area .photo-select {
  margin-bottom: 80px;
}

.form-area .photo-select-message {
  margin-bottom: 30px;
}

.form-area .photo-select li {
  margin-bottom: 16px;
  margin-left: 1.8em;
}

.form-area .photo-select input[type="file"] {
  max-width: calc(100% - 1.8em);
}

.submit-area {
  text-align: center;
}

.submit-area input[type="submit"] {
  width: 80%;
  font-family: inherit;
  font-size: 16px;
  line-height: 36px;
  color: #fff;
  border: none;
  background: #425042;
}

@media (min-width: 767px) {
  .form-area {
    padding: 50px 30px;
    background: #fff;
  }

  #main .form-area h2 {
    margin-bottom: 3%;
    padding-bottom: 0%;
    font-size: 30px;
  }

  #main .form-area h2:before {
    width: 30px;
    height: 30px;
    margin-right: 20px;
    font-size: 14px;
    line-height: 28px;
    border: 3px solid #008f4c;
  }

  .form-area .entry-list {
    padding: 0 40px;
  }

  .form-area li {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
  }

  .form-area .heading {
    width: 30%;
    font-size: 16px;
  }

  .form-area .heading span:last-child {
    float: none;
  }

  .form-area .input {
    width: 68%;
    margin-bottom: 0;
    font-size: 18px;
  }

  .form-area .item-list li {
    margin-bottom: 20px;
  }

  .form-area .photo-select-message {
    margin-bottom: 50px;
    text-align: center;
  }

  .form-area .photo {
    width: 500px;
    margin: 0 auto;
  }

  .form-area .photo-select li {
    display: list-item;
    font-size: 18px;
    margin-bottom: 20px;
    margin-left: 0;
  }

  .submit-area input[type="submit"] {
    width: 300px;
    font-weight: bold;
    font-size: 18px;
    line-height: 40px;
    cursor: pointer;
  }

  .submit-area input[type="submit"]:hover {
    opacity: .9;
  }
}

/*
  confirm
*/

.form-area .photo .tmp-photo {
  margin-bottom: 20px;
}

.form-area .photo .tmp-photo p {
  text-align: center;
}

.form-area .photo img {
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  max-height: 300px;
  object-fit: inherit !important;
}

.submit-area input[type="submit"] {
  display: block;
  margin: 0 auto 5%;
}

.submit-area #btn_edit {
  background: #999;
  transform: scale(0.9);
}

@media (max-width: 767px) {
  .form-area .entry.confirm .entry-list > li {
    margin-bottom: 18px;
    border-bottom: 1px dashed #ccc;
  }

  .form-area .entry.confirm .item-list li {
    display: block;
  }

  .form-area .entry.confirm .heading span:last-child {
    float: none;
  }

  .form-area .photo img {
    max-height: 200px;
  }
}

/*
  applicant
*/

#main.applicant h2 {
  font-size: 26px;
  text-align: center;
  margin-bottom: 40px;
}

#main.applicant div {
  padding: 0 15px;
  margin-bottom: 40px;
  font-size: 16px;
  text-align: center;
  font-weight: bold;
}

@media (max-width: 767px) {
  #main.applicant h2 {
    padding-top: 30px;
  }
}

.section-title {
  z-index: 5;
  margin-bottom: 20px;
}

input:not([type=file]):not([type=color]):not([type=range]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]), textarea {
  width: 100%;
  padding: 4px 8px;
}

.entry-list {
  padding-left: 0;
}

a {
  color: #333;
}