@charset "utf-8";

.logoWrapper{
  text-align: center;
}

.stepup_flow .flowUl {
  justify-content: center;
}

.stepup_flow .flowUl li:nth-child(3) {
  margin-right: 0;
}

.comTable {
    margin-bottom: 24px;
}

.photo_step {
    position: relative;
}

.photo_step ol {
    display: flex;
    justify-content: space-around;
    max-width: 400px;
    margin: 0 auto;
}

.photo_step li {
    position: relative;
    display: grid;
    justify-items: center;
    row-gap: 0.5em;
    font-weight: bold;
    text-align: center;
    color: #2b2b2b;
    background-color: #fff;
}

.photo_step li.checked {
    color: #ec1234;
}

.photo_step .number {
    display: grid;
    place-content: center;
    width: 32px;
    height: 32px;
    font-size: 1.2em;
    color: #2b2b2b;
    border: solid 2px #2b2b2b;
    border-radius: 32px; 
}

.photo_step .checked .number {
    color: #fff;
    background-color: #ec1234;
    border: solid 2px #ec1234;
}

.photo_step li:not(:last-of-type)::after {
    position: absolute;
    top: 1.4em;
    left: 100%;
    width: 100%;
    height: 0;
    border-bottom: 1px dashed #ec1234;
    content: "";
}

#Footer{
  margin-top: 24px;
}

#FtInr {
    background-color: #e2e2e2;
    padding: 8px 0;
    text-align: center;
    font-size: 10px;
}

#Footer #FtCopy {
    text-align: center;
    color: #fff;
    background-color: #d11026;
    font-size: 10px;
    padding: 16px 0;
}

/*--------------------------------------------------*/
/* モーダルを開くボタン */
.modal-open {
    font-size: 16px;
    font-weight: 500;
    width: 340px;
    color: #fff;
    background: #000;
    border: none;
    cursor: pointer;
    margin: 16px auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    background: #2b2b2b url(/img/common/icon18.png) no-repeat right 17px center;
    background-size: 18px auto;
    padding: 6px 30px 6px 0px;
    border-radius: 8px;
    box-shadow: 1px 1px 2px rgba(0,0,0,.1);
    border: 2px solid #000;
}

.modal-open strong{
    font-size: 18px;
    font-weight: 700;
    display: block;
}

.modal-open:hover {
  background: #fff;
  color: #000;
  border: 2px solid #000;
  background: #fff url(/img/common/icon03.png) no-repeat right 17px center;
  background-size: 18px auto;
}




/* モーダルと背景の指定 */
.modal{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,50%);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
}

/* モーダルの擬似要素の指定 */
.modal:before{
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  margin-left: -0.2em;
}

/* クラスが追加された時の指定 */
.modal.is-active{
  opacity: 1;
  visibility: visible;
}

/* モーダル内側の指定 */
.modal-container{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 600px;
  width: 90%;
}

/* モーダルを閉じるボタンの指定 */
.modal-close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -23px;
    right: -16px;
    width: 40px;
    height: 40px;
    color: #fff;
    background: #000;
    border-radius: 50%;
    cursor: pointer;
    font-size: 4rem;
}

/* モーダルのコンテンツ部分の指定 */
.modal-content{
  background: #fff;
  text-align: left;
  line-height: 1.8;
  padding: 20px;
  overflow: scroll;
  height: 600px;
}
.modal-content h3{
  background-color: #2b2b2b;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  font-size: 1.4em;
  margin-bottom: 8px;
}

.modal-content .photo_column {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.modal-content .photo_column p{
  width: 40%;
}

.modal-content .photo_column p.vertical {
    /*width: auto;*/
}

.modal-content .photo_column p.vertical img {
    height: auto;
}

.modal-content .photo_column p.arrow{
  width: 5%;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}


.modal-content ul li{
  padding-bottom: 32px;
}

.modal-content p.tit{
  width: 100%;
  text-align: center;
  border-bottom: 1px solid #2b2b2b;
  padding-bottom: 0px;
  margin-bottom: 8px;
}

.modal-content p.error{
  font-size: 1rem;
  margin-bottom: 3px;
}

#main .comForm .submit input {
    margin: 0;
    padding: 13px 14px;
    font-size: 1.6rem;
    color: #fff;
    background-color: #ec1234;
    border: 2px solid #ec1234;
    display: block;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-image: none;
    margin: 0 auto;
}

#main .comForm .radioUl {
    margin-bottom: -4px;
    color: #2b2b2b;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* overflow: hidden; */
    box-sizing: border-box;
}

#main .comForm .radioUl li {
    margin-right: 0px;
    /* display: inherit; */
    /* background: #ffffff; */
    padding: 0;
    font-size: 1.6rem;
    border-radius: 6px;
    width: 30%;
    margin-bottom: 12px;
    box-sizing: border-box;
}

#main .comForm .radioUl li label {
  
}

#main .comForm .radioUl input[type="radio"] + span {
    padding: 8px 0 8px 40px;
    border-radius: 0;
    line-height: 20px;
    border: none;
    display: block;
    background: url(/img/common/radio_bg.png) no-repeat 8px 8px;
    background-size: 20px 20px;
    background-color: #fff;
    width: auto;
    border-radius: 6px;
    box-sizing: border-box;
    border: 1px solid #fff;
}

#main .comForm .radioUl input[type="radio"]:checked + span {
    background-image: url(/img/common/radio_bg_over.png);
    border: 1px solid #9b9b9b;
}

#main .comForm .submit input:hover {
    color: #ec1234;
    background-color: #fff;
}

.inputError{
  color: #ec1234;
}

.stepup_flow .comImgBox .image {
    /*margin-right: 50px;
    width: 160px;
    margin-left: 24px;
    margin-top: 8px;*/
    margin: 8px auto;
    width: 270px;
}

.stepup_flow .comImgBox .image img{
    max-width: 160px;
}

.stepup_flow .comImgBox .image.landscape {

}

.stepup_flow .comImgBox .image.landscape img{
    max-width: 220px;
}

/*input file*/
.textBox label {
   
}

.textBox label > div {
}

.textBox input[type='file'] {
    /*display: none;*/
}

.textBox input[type='file'] {
  color: rgb(31, 41, 55);
  cursor: pointer;
  border: 1px solid rgb(191, 194, 199);
  border-radius: 0.375rem;
  padding-right: 0.5rem;
  width: 300px;
}

::file-selector-button,
::-webkit-file-upload-button {
  background-color: rgb(209, 213, 219);
  color: rgb(31, 41, 55);
  border: none;
  cursor: pointer;
  border-right: 1px solid rgb(191, 194, 199);
  padding: 0.25rem 1rem;
  margin-right: 1rem;
}

.informationBox label,
.informationBox textarea,
.informationBox .textBox{
    position: relative;
}

.informationBox .required + div,
.informationBox .required + span + p + div{
  display: none;
}

.informationBox .required.state_success + div,
.informationBox .required.state_success + span + p + div{
  display: block;
  position: absolute;
  top: -4px;
    right: 10px;
    width: 32px;
}

#main .informationBox textarea.required.state_success + div{
  top: 10px;
}

@media (max-width: 896px){
  #container #main .comFlow {
      margin: 16px auto 32px;
      padding: 0;
  }
  .stepup_flow .flowUl li {
      margin-bottom: 24px;
  }  
  .stepup_flow .headline12 .en {
      display: inline-block;
      padding-right: 8px;
  }
  .stepup_flow .headline12 {
      margin-bottom: 8px;
      padding-bottom: 0;
      border-bottom: none;
  }
  .photo_step ol {
      width: 100%;
  }
  /* モーダル */
  .modal {
      padding: 40px 0px;
  }

  .modal-close {
      top: -50px;
      right: 0px;
  }

  .modal-container {
      width: 96%;
  }
  .modal-content {
      padding: 20px 10px;
      height: 500px;
  }
  .modal-open {
      width: 100%;
      font-size: 14px;
      max-width: 340px;
  }
  .modal-content .photo_column p.arrow{
    font-size: 18px;
  }
  #main .comForm .radioUl li {
      width: 47%;
  }
  .textBox input[type='file'] {
      width: 100%;
  }
  .informationBox .required.state_success + span + p + div {
      top: -40px;
  }

}
