@charset "utf-8";

.form{
  width: 100%;
  overflow: hidden;
  position: relative;
}
.form .container{
  padding-top: 30px;
  padding-bottom: 80px;
  max-width: 1118px;
}
.step{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-inline: auto;
    max-width: 367px;
}
.step li{
    background: #FFF 1px center / auto 100% no-repeat;
    border: none;
    border-radius: 100vh;
    color: #8B8B8B;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    line-height: 1.2;
    margin-left: 8%;
    min-height: 38px;
    padding: 2px 13px 0 0;
    text-align: left;
    max-width: 90px;
    width: 24.6%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}
.step .step1{
    margin-left: 0;
    background-image: url("../img/form/step1_mono.png?2507");
}
.step .step1.active{
  background-image: url("../img/form/step1.png?2507");
}
.step .step2{
  background-image: url("../img/form/step2_mono.png?2507");
}
.step .step2.active{
  background-image: url("../img/form/step2.png?2507");
}
.step .step3{
  background-image: url("../img/form/step3_mono.png?2507");
  padding-right: 5px;
  max-width: 115px;
  width: 34%;
}
.step .step3.active{
  background-image: url("../img/form/step3.png?2507");
}
.step li.active{
  background-color: #FFFFC9;
  color: #003C87;
}
.step li::before{
    content: "";
    background: url("../img/form/step_arrow.png") center center / contain no-repeat;
    position: absolute;
    top: 50%;
    left: calc(-12px - 7px);
    transform: translateY(-50%);
    height: 100%;
    width: 9px;
    flex: 1;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}
.step li:first-child::before{
    content: none;
}

.ttl.form-ttl{
  color: #FFF;
}
.form-wrap{
  background: #FFF;
  border: 5px solid #FFF;
  border-radius: 5px;
  padding: 0;
}

.form textarea.form-control{
  height: 150px;
}
.form .note{
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
}
.form .note.-orange{
  color: #EF4C4C;
}

.form .post{
  background-color: #F2EFEA;
  border-radius: 5px;
  padding: 20px 15px 25px;
}
.form .post dt,
.form .post dd{
  max-width: 325px;
  margin-inline: auto;
}
.form .post .ttl{
  color: #003C87;
  font-size: 16px;
  text-align: center;
  letter-spacing: .05em;
}
.form .post .photo_block{
  max-width: 260px;
  margin-inline: auto;
  width: 80%;
}
.form .post .photo{
  overflow: hidden;
  height: 0;
  width: 100%;
  padding-top: 100%;
  position: relative;
}
.form .post .photo img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
}
.form .post .photo_block .btn{
  width: 100%;
}
.form .img-thumbnail{
  display: block;
  border: none;
  border-radius: 0;
  padding: 0;
  max-width: 500px;
  margin-right: auto;
  margin-left: auto;
}
.form .post .alert-validation{
  margin-top: 15px;
}
.form .post .note{
  color: #003C87;
  text-align: left;
}

.form .form-right{
  padding: 0 15px 60px;
}

.form fieldset + fieldset{
  margin-top: 20px;
}
.form .control-label{
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.form .btn-select-group{
  flex-direction: row;
}
.btn-select-group .btn{
  font-weight: 400;
  width: calc(50% - 4px);
}
.btn-select-group .btn:last-child{
  width: 100%;
}
#fieldset--cute_cd .link-border{
  margin: 0;
}
.form .outline-wrap{
  margin: 0 auto;
  border-radius: 5px;
}
.form .rule-block{
  margin: 45px auto 0;
}
.form .rule-block .ttl.form-ttl{
  margin-bottom: 20px;
}
#edit_modal .modal-dialog{
  max-width: 400px;
  width: 90%;
}
.rsPhoto{
  width: 100%;
  margin-inline: auto;
  max-width: 500px;
  max-height: 400px;
  overflow: hidden;
}
#edit_modal .modal-content{
  border-radius: 20px;
  padding: 0 20px 30px;
}
#edit_modal .modal-header{
  color: #003C87;
  font-size: 16px;
  font-weight: 700;
  padding: 20px 0;
}
#edit_modal .modal-header .btn-close{
  top: 0;
  right: inherit;
  left: calc(100% + 20px + 10px);
}
#edit_modal .btn-group >.btn{
  border-width: 2px;
  font-size: 1.1em;
  padding: 8px 20px;
  min-height: inherit;
}
#edit_modal .btn-wrap-2col{
  gap: 5px 15px;
}
#edit_modal .btn-wrap-2col .btn{
  max-width: inherit;
}
#btn-entry{
  letter-spacing: .1em;
}
@media screen and (max-width:400px) {
  .form .note{
    font-size: 12px;
  }
}

/**
 * 投稿確認ページ
 */
.confirm .attention{
  color: #EF4C4C;
  font-size: 15px;
  font-weight: 300;
}
.confirm .form-left{
  background: linear-gradient(to bottom, #F2EFEA 49%, #FFFFC9 41%);
  border-radius: 5px;
  padding-block: 27px 40px;
}
.confirm .form-left .entry{
  margin-inline: auto;
  transform: none;
  width: 90%;
}
.confirm .form-left .entry .title{
  color: #003C87;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .05em;
}
.confirm .form-left .entry .control-label{
  text-align: left;
  margin-block: 5px 8px;
}
.calendarPreview_block{
  box-shadow: 3px 3px 3px rgba(0,0,0,.16);
}
.confirm .form-left .entry select{
  border-color: #003C87;
}
.confirm-content .title{
  font-weight: 600;
}
.confirm-content dd{
  color: #EF4C4C;
  font-weight: 400;
  font-size: 18px;
}
.confirm dd + dt{
  padding-top: 20px;
}

/**
 * 投稿完了ページ
 */
.complete .artifact-box{
  border: none;
  margin-top: 40px;
  padding-top: 25px;
}
.complete .ttl.form-ttl{
  color: #E15527;
  font-size: 23px;
  font-weight: 700;
  text-align: center;
  margin: 0;
}
.complete.artifact .photo-box{
  padding-top: 0;
}
.complete.artifact .photo-box::before{
  content: "";
  display: block;
  background: url("../img/artifact_top.png") bottom center / 100% 100% no-repeat;
  height: 87px;
  width: 100%;
  position: absolute;
  bottom: 100%;
  left: 0;
}
.complete.artifact .photo-box_inner{
  position: relative;
  padding: 0 20px 100px;
  top: -30px;
}
.complete.artifact .photo-box{
  margin-top: 110px;
}
.complete.artifact .name{
  margin-top: 36px;
}

.fix-btn:not(.footer-btn){
  display: none;
}
.complete .footer-btn{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}
.complete .footer-btn .footer-btn_inner{
  background: rgba(0,60,135,.9);
  padding: 11px 10px 8px;
  margin-inline: auto;
  max-width: 430px;
  width: 100%;
}
.complete .footer-btn .footer-btn_inner .btn{
  box-shadow: 1px 3px 5px rgba(0, 0, 0, .36);
  background-color: #fff95a;
  color: #003C87;
  font-weight: 700;
}
main:has(.complete) + footer{
  padding-bottom: 85px;
}
@media screen and (max-width:1100px) and (min-width:768px) {
  .complete .footer-btn .footer-btn_inner{
    margin-left: 35px;
  }
}
@media screen and (max-width:767px) {
  footer{
    padding-bottom: 15px;
  }
}