@charset "UTF-8";

:root {
  --primaryColor: #f18101;
  --secondaryColor: #004020;
}

img {
  width: 100%;
}

body {
  max-width: 640px;
  margin: auto;
  font-size: 16px;
  line-height: 1.5;
}

main {
  width: 96%;
  margin: auto;
}


.contentsblock_wrapper {
  width: 96%;
  margin: 20px auto;
}

.contents_heading {
  background-color: var(--primaryColor);
  color: #fff;
  padding: 12px;
  font-size: 18px;
  text-align: center;
  border: 1px solid var(--primaryColor);
}

.contents_heading.form {
  width: 104%;
  transform: translateX(-2%);
}

.contents_detail {
  padding: 16px;
  border: 1px solid var(--primaryColor);
}


/* フォーム */
.form_top_text {
  padding: 12px 12px 0;
}

.form_top_text span {
  color: #f00;
}

.form_wrapper {
  padding: 12px;
}

.m-form-text {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 4px;
  border: none;
  box-shadow: 0 0 0 1px rgb(108, 108, 108) inset;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
}

.m-form-text:focus {
  outline: 0;
  box-shadow: 0px 0px 4px 2px rgb(162, 162, 162);
}

.form_block {
  margin-bottom: 20px;
}

.form_label {
  margin: 10px auto;
}

.form_label span {
  color: #f00;
}

.error_message {
  color: #f00;
  font-weight: bold;
  margin: 4px auto;
}

.form-item {
  width: 100%;
}

.form_input label {
  display: block;
  margin-bottom: 8px;
}

.form_input label input[type=radio] {
  transform: scale(1.1) translateY(-1px);
  margin-right: 4px;
}

.form-item_input_wrapper select {
  width: 100%;
  border: 1px solid #8f8f8f;
  padding: 12px;
  border-radius: 4px;
  margin-top: 0;
  margin-bottom: 10px;
}

.form-item_input_wrapper select:focus {
  outline: 0;
  box-shadow: 0px 0px 3px 2px rgb(209, 209, 209);
}

.form-item_input_wrapper select.dropdown-select {
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%),
  linear-gradient(135deg, #fff 50%, transparent 50%),
  linear-gradient(to right, #404040, #404040);
    background-position: calc(100% - 15px) calc(1em + 5px),
    calc(100% - 10px) calc(1em + 5px),
    100% 0;
    background-size: 5px 5px,
  5px 5px,
  2.5em 3em;
    background-repeat: no-repeat;
}

.form-item textarea {
  resize: vertical;
  width: 100%;
  height: 60px;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 4px;
  border: none;
  box-shadow: 0 0 0 1px rgb(108, 108, 108) inset;
  line-height: 1.4;
}



.formUpload {
  width: 90%;
  background: #fff4de;
  display: block;
  margin: 12px auto 24px;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  border: 2px solid var(--primaryColor);
  font-size: 18px;
  font-weight: normal;
}

.Errorobi {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 32px;
  color: #f00;
  font-weight: bold;
}

.Errorobi_oreng {
  text-align: center;
}

.upload_filename {
  text-align: center;
}

.primary_btn {
  width: 90%;
  background: var(--primaryColor);
  color: #fff;
  padding: 14px;
  font-size: 18px;
  font-weight: bold;
  margin: auto;
  border-radius: 6px;
  display: block !important;
  text-align: center;
  box-shadow: 0px 8px 0px 0px #ffd3b5;
}

.primary_btn.confirm {
  margin-top: 52px;
}

.finished_message {
  width: 90%;
  background: #d5d5d5;
  color: #515151;
  padding: 14px;
  font-size: 18px;
  margin: 52px auto auto;
  border-radius: 6px;
  display: block;
  text-align: center;
}

.formUploadPreviewBox {
  width: 80%;
  margin: 20px auto;
}

.formUploadPreviewBox img {
  width: 100%;
}







/* 撮影方法 */
.method_good_img_wrapper {
  width: 90%;
  margin: auto auto 12px;
}

.method_good_img_wrapper img {
  width: 100%;
}

.method_good_checkList {
  margin: 12px auto auto;
}

.method_good_checkItem {
  margin-bottom: 8px;
  text-indent: -9px;
  margin-left: 19px;
}

.method_good_checkItem:last-of-type {
  margin-bottom: 0;
}

.method_good_checkItem .fa-check-square {
  color: var(--primaryColor);
  font-size: 16px;
  margin-right: 4px;
}

.method_bad_imgList {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.method_bad_imgItem {
  width: 32%;
  margin-bottom: 2%;
  text-align: center;
  font-size: 13px;
}

.method_bad_imgItem img {
  width: 100%;
}

.method_bad_cautionList {
  margin-bottom: 0;
}

.method_bad_cautionItem {
  text-indent: -1em;
  margin-left: 1em;
  margin-bottom: 8px;
}

.method_bad_cautionItem:last-child {
  margin-bottom: 0;
}




/* アコーディオン */
.accordion_wrapper {
  margin: auto auto 36px;
}

.toggle {
  display: none;
}

.option {
  position: relative;
  margin-bottom: 1em;
  padding: 8px;
}

.option.caution {
  margin-bottom: 0;
  padding: 1rem 12px;
}

.accordion_title,
.accordion_content {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s;
}

.accordion_title {
  padding: 12px;
  display: block;
  font-size: 20px;
  color: #fff;
  background: var(--primaryColor);
  margin-bottom: 0;
}

.accordion_title::after,
.accordion_title::before {
  content: "";
  position: absolute;
  right: 1.25em;
  top: 50%;
  width: 2px;
  height: 0.75em;
  transition: all 0.3s;
  text-shadow: -1px -1px 0 white, -1px 0 0 white, -1px 1px 0 white, 0 -1px 0 white, 0 1px 0 white, 1px -1px 0 white, 1px 0 0 white, 1px 1px 0 white;
  background: #fff;
}

.accordion_title::before {
  transform: translateY(-50%);
}

.accordion_title::after {
  transform: rotate(90deg) translateX(-400%);
}

.accordion_content {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  border: none;
}

.accordion_content_wrapper {
  width: 92%;
  margin: auto;
  padding: 12px 0 0;
}

.toggle:checked+.accordion_title+.accordion_content {
  max-height: 15000px;
  transition: all 1.5s;
}

.toggle:checked+.accordion_title::before {
  transform: translateY(-50%) rotate(90deg) !important;
}


/* 応募方法 */
.step_contents {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.step_text {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step_text.caution {
  text-indent: -1em;
  margin-left: 1em;
}

.step_img_wrapper {
  width: 50%;
}

.step_img_wrapper img {
  width: 100%;
}

.arrow_wrapper {
  text-align: center;
  margin: 12px;
}

.arrow_wrapper .fa-arrow-alt-circle-down {
  font-size: 2.8em;
  color: var(--stepColor);
}

.fas.fa-sort-down {
  text-align: center;
  display: block;
  font-size: 60px;
  color: var(--primaryColor);
}

.fa-sort-down:before {
  transform: translateY(-20px);
  display: block;
}


/* 応募規約 */
.notes_top_message {
  margin-top: 4px;
  margin-bottom: 20px;
  line-height: 1.7rem;
}

.notes_wrapper {
  margin-bottom: 28px;
}

.notes_wrapper:last-of-type {
  margin-bottom: 16px;
}

.notes_title {
  text-align: center;
  padding: 6px;
  margin: 36px auto 12px;
  color: var(--primaryColor);
  border: 1px solid var(--primaryColor);
}

.notes_message {
  margin-bottom: 12px;
  line-height: 1.7rem;
  word-break: break-all;
}

.notes_message a {
  text-decoration: underline;
}

.notes_item {
  text-indent: -1rem;
  margin-left: 1rem;
  margin-bottom: 8px;
  line-height: 1.7rem;
}

.notes_item a {
  text-decoration: underline;
}

.notes_item.red {
  color: #df0012;
}

.footer {
  padding: 10px 0;
  text-align: center;
  background-color: #f08300;
  margin-top: 40px;
}

.logo_wrapper {
  width: 30%;
  margin: auto auto 8px;
  border: 3px solid #fff;
}

small {
  font-size: 14px;
  color: #fff;
}

#pageTop {
  position: fixed;
  bottom: 10px;
  right: 15px;
  z-index: 88;
}

#pageTop .fa-arrow-alt-circle-up {
  display: inline-block;
  z-index: 999;
  font-size: 48px;
  background-color: var(--primaryColor);
  color: #fff;
  border-radius: 50%;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--primaryColor);
}


.confirm_label {
  padding: 0 12px;
  margin-top: 12px;
}

.confirm_answer {
  padding: 0 12px;
}

.confirm_upload {
  border: 1px solid var(--primaryColor);
  padding: 8px;
  color: var(--primaryColor);
  text-align: center;
  margin: 32px 12px 24px;
}

.correction_btn {
  background-color: #919191;
  display: block;
  width: 90%;
  margin: 40px auto;
  border-radius: 6px;
  padding: 14px;
  text-align: center;
  font-size: 18px;
  color: #fff;
}



.complete_text {
  font-size: 16px;
  margin-top: 12px;
  text-align: center;
}
