/* add 20240318 */

@media screen and (min-width: 768px) {
  body {
    min-width: 1225px;
  }
  nav {
    overflow-x: scroll;
    padding-bottom: 20px;
  }
  nav ul {
    background: url(../image/menu_bg_new.png) no-repeat center/100%;
    width: 1160px;
  }
}
@media screen and (max-width: 767px) {
  nav {
    background: url(../image/menu_bg_sp-new.png) no-repeat center/100%;
    height: 435px;
  }
}
  
  .form-new__wrap {
    width: 760px;
    padding: 50px 40px;
    max-width: 100%;
    margin: auto;
    margin-top: 40px;
    margin-bottom: 40px;
    background-image: url(../image/present-form_bg.png);
    background-size: contain;
    background-repeat: no-repeat;
  }
  
  .form-new__item {
    display: flex;
    align-items: center;
    width: 100%;
    column-gap: 20px;
    margin-bottom: 20px;
  }
  
  .form-new__input {
    flex: 1;
  }
  
  .form-new__head {
    width: 180px;
    padding: 2px 12px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    text-align: right;
    color: #403f3f;
    white-space: nowrap;
  }
  
  .form-new__head.lh2 {
    line-height: 2.4;
  }
  
  
  .form-new__input input[type=text] {
    padding: 10px 20px;
    border-radius: 40px;
    background: #fff;
    width: 100%;
  }
  
  .form-new__input {
    position: relative;
  }
  
  .form-new__input-remark {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    font-size: 13px;
    line-height: 1.2;
    color: #7a7a7a;
    padding-left: 14px;
  }
  
  .form-new__remark {
    margin-top: 40px;
    margin-bottom: 30px;
    font-size: 13px;
    line-height: 1.5;
    color: #403f3f;
  }
  
  .form-new__submit {
    text-align: center;
  }

  .form-new__submit {
    margin-top: 60px;
  }
  
  .form-new__submit input[type=submit] {
    width: 200px;
    margin: auto;
    border-radius: 40px;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: orange;
    border: 1px solid orange;
    transition: .3s;
  }
  .form-new__submit input[type=submit]:hover {
    cursor: pointer;
    background: transparent;
    color: orange;
  }
  
  .form-new__submit input[type=submit]:disabled {
    opacity: 0.5;
    pointer-events: none;
  }

  .u-sp {
    display: none;
  }

  @media screen and (max-width: 767px) {

    .u-sp {
      display: block;
    }
    .u-pc {
      display: none;
    }
    .form-new__wrap {
      width: 450px;
      margin-top: 20px;
      padding: 40px 25px;
      background-image: url(../image/present-form_bg_sp.png);
      background-size: 100% 100%;
    }
    
    .form-new__item {
      display: block;
      margin-bottom: 10px;
    }
    
    .form-new__input {
      flex: 1;
    }
    
    .form-new__head {
      width: auto;
      display: inline-block;
      padding: 2px 4px;
      font-size: 14px;
      line-height: 1.3;
      margin-bottom: 4px;
    }
    
    .form-new__head.lh2 {
      line-height: 2.4;
    }
    
    
    .form-new__input input[type=text] {
      padding: 8px 12px;
      background: #fff;
      width: 100%;
      font-size: 12px;
    }
    
    .form-new__input {
      position: relative;
    }
    
    .form-new__input-remark {
      position: relative;
      top: unset;
      left: 0;
      font-size: 12px;
      line-height: 1.2;
      color: #7a7a7a;
      padding-left: 10px;
    }
    
    .form-new__remark {
      margin-top: 50px;
      margin-bottom: 30px;
      font-size: 12px;
    }
    .form-new__submit {
      margin-top: 30px;
    }
    
    .form-new__submit input[type=submit] {
      width: 160px;  
      padding: 6px 12px;
      font-size: 16px;
    }
  }


  .form-new__modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: #0000009b;
  }

  .form-new__modal.js-open {
    display: block;
  }

  .form-new__modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: auto;
    max-width: 95%;
    background: #dadada;
    border: 2px solid #6e6e6e;
    padding: 40px;
  }

  .form-new__modal-text {
    font-size: 20px;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.5;
  }

  .form-new__modal-btn-wrap {
    text-align: center;
  }

  .form-new__modal-btn {
    width: 100px;
    background: rgb(249, 207, 128);
    padding: 4px 10px;
    border: 1px solid rgb(147, 147, 147);
    border-radius: 20px;
    font-size: 20px;
    transition: .3s;
  }

  .form-new__modal-btn:hover {
    cursor: pointer;
    opacity: .7;
  }

  @media screen and (max-width: 767px) {
    .form-new__modal-container {
      max-width: 95%;
      background: #dadada;
      border: 2px solid #6e6e6e;
      padding: 20px;
    }
  
    .form-new__modal-text {
      font-size: 14px;
      margin-bottom: 20px;
    }
    .form-new__modal-btn {
      width: 80px;
      padding: 4px 8px;
      border-radius: 12px;
      font-size: 14px;
    }
  }


.main.--dev {
  background: rgb(246, 197, 197);
}

.main.--stg {
  background: rgb(197, 246, 213);
}