@charset "UTF-8";

.contact-form label {
display: block;
margin: 20px 0 5px;
font-weight: bold;
color: #555;
}
.contact-form label.required:after {
    content: '*必須';
    color: #F9841A;
    margin-left: 1rem;
}
.contact-form input,.contact-form textarea{
width: 100%;
padding: 10px;
box-sizing: border-box;
border: 1px solid #ccc;
background-color: #fff;
border-radius: 6px;
}
.contact-form select {
width: 100%;
padding: 10px;
margin-bottom: 15px;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 6px;
}

.contact-form textarea {
resize: vertical;
}

.contact-form .error {
    margin-bottom: 15px;
    color: #cc0000;
}
.contact-form .pp_title {
    font-size: 110%;
    font-weight: 700;
}
.contact-form .pp_box{
    width: 100%;
    height: 50dvh;
    max-height: 300px;
    padding: 10px;
    border: 1px solid #ccc;
    overflow-y: scroll;
    margin-top: 10px;
    margin-bottom: 15px;
    color: #555;
}
.contact-form .pp_box dt {
    font-weight: 700;
    margin-top: 15px;
}
.contact-form .pp_box dd {
    margin-top: 5px;
    padding-left: 1rem;
}
.contact-form input[type="checkbox"].pp_agree {
    display: inline-block;
    height: 1.5em;
    width: 1.5em;
    margin-top: 0px;
    margin-bottom: 15px;
    background-color: #fff;
}
.contact-form input[type="checkbox"].pp_agree:checked {
    accent-color: #F9841A;
    color: #fff;
}
.contact-form label.pp_agree {
    display: inline-block;
    vertical-align: middle;
    margin-top: 0;
    margin-bottom: 15px;
}

.contact-form .buttons {
    margin-top: 20px;
    display: flex;
}
.contact-form button{
    width: 150px;
    height: 2rem;
    background-color: #F9841A;
    color: #fff;
    text-align: center;
    border-radius: 6px;
}
.contact-form button.backBtn {
    background-color: #888;
}

.contact-form .responseMessage {
    margin-top: 20px;
}

.contact-form .sentMessage {
    margin-top: 20px;
    display: none;
}
.contact-form .sentMessage.active {
    display: block;
}

/* バックドロップ */
.confirmModal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  z-index: 1000;
}

.confirmModal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* モーダルコンテンツ */
.confirmModal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px 30px;
  border-radius: 8px;
  /* width: 80vw; */
  min-width: 370px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  z-index: 1001;
}
.confirmModal-content.active {
  opacity: 1;
  visibility: visible;
}
.confirmModal-content dl {
    overflow-y: scroll;
    max-height: 50vh;
}
.confirmModal-content dt {
    margin-top: 0.5rem;
    font-weight: 700;
}
.confirmModal-content dd {
    margin-left: 3rem;
}
.confirmModal-content .confirmModal-buttons {
    margin-top: 1rem;
    text-align: center;
}
/* スクロール禁止 */
body.confirmModal-open {
  overflow: hidden;
}
