﻿a {
    text-decoration: none;
}
.idx_h2 {
    font-size: 14px;
    margin-bottom: 15px;
}
.popup-form {
    display: none;
    z-index: 999999999999;
}
.popup_form_ttl {
    color: #000;
    display: block;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 20px;
}
.popup_form_txt{margin-bottom:15px;}
.popup_form_txt, .popup_form_txt p {
    color: #000;
}

.form-sendmail {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000094;
    z-index: 999999999999;
}
.form-sendmail{color:#fff;}
.frm-main {
    position: relative;
    padding: 20px;
    z-index: 999999999999;
    width: 600px;
    background: #f7f7f7;
    box-shadow: 0px 0px 7px 1px #818181;
    border-radius: 10px;
    
}
.popup_form {
    height: 450px;
    overflow-y: scroll;
}
.popup_form_row {
    display: flex;
    margin-bottom: 10px;
}
.popup_form_row > *:nth-child(1) {
  width: 65%;
  margin-right: 10px;
  flex-shrink: 0;
}
.popup_form_row > *:nth-child(2) {
  width: 100%;
}
.popup_form input, .popup_form select, .popup_form textarea {
  border: 1px solid #e7e7e7;
  background: #fff;
  border-radius: 5px;
  padding: 7px 20px;
  font-size: 15px;
}
.popup_form textarea {
  width: 100% !important;
  height: 120px !important;
}
.popup_form_row.full > * {
  width: 100%;
}
.popup_form input#datepicker {
  background: url("/assets/images/b07_date.png") no-repeat right 15px center #fff;
}
.popup_form button {
  background: var(--scolor);
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  border: none;
  width: 180px;
  padding: 13px;
  border-radius: 70px;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
}
.popup_form button:hover {
  background: var(--mcolor);
}
.popup_main {
  margin-top: 80px;
  background: url("/assets/images/popup_icon_mail.png") no-repeat left 60px center #148f9f;
  color: #fff;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  margin-bottom: -95px;
}
.popup_main_ttl {
  font-size: 42px;
  margin: 0 30px 0 0;
  text-transform: uppercase;
  font-weight: 700;
}
.popup_main_form {
  width: 600px;
  background: #fff;
  padding: 20px 30px 20px 50px;
  border-radius: 500px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.popup_main_form input {
  width: 100%;
  border: none;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
}
.popup_main_form button {
  flex-shrink: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}
.popup_main_form button:hover {
  opacity: 0.7;
}
.popup_close {
    position: absolute;
    top: -12px;
    right: -12px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #ccc;
    padding: 2px 6px;
    font-weight: 500;
    transition: all 0.5s;
    border-radius: 50%;
    font-size: 14px;
}
.popup_close:hover {
    background: #d5d5d5;
}

/*Filter Image*/
.gallery_rows_itm {
    display: flex;
    align-items: center;
}

.gallery_itm {
    margin: 0 10px 20px;
    cursor: pointer;
    overflow: hidden;
}
/*------------*/
.question_itm {
    margin-bottom: 25px;
}

    .question_itm select {
        font-size: 14px;
        width: 100%;
        padding: 5px 10px;
        border-radius: 5px;
    }

    .question_itm label, .question_itm_other label {
        display: block;
        color: #000;
        font-size: 16px;
        margin-bottom: 5px;
        font-weight: 500;
    }
@media screen and (max-width: 480px) {
	
    .frm-main{width:90%;}
	.frm-main .idx_h2 .lager{font-size: 120%;}
	.popup_form input, .popup_form select, .popup_form textarea{font-size: 13px;}
	.popup_form input::placeholder, .popup_form select, .popup_form textarea::placeholder{font-size: 13px;}
    .popup_form_row {display: block;}
    .popup_form_row > *:nth-child(1):not(:last-child) {width: 100%;margin: 0 0 10px;}
	.popup_form input, .popup_form select, .popup_form textarea{padding: 7px 15px;}
	.popup_form textarea {
    width: 100% !important;
    height: 100px !important;
}
.popup_form button{margin-top: 15px;}
    .gallery_rows_itm{flex-wrap: wrap;}
   .gallery_itm {width: 100%; margin: 0 0 4%;}
}