@charset "utf-8";
/* CSS Document */

/*==============================================
 お問い合わせ
==============================================*/

::placeholder {
    color: #bebebe;
  font-size: 15px;
}
.textType {
  border: 1px solid #9e9e9e;
}
input[type="text"] {
  border: none;
  outline: none;
  width: 100%;
  height: 100%;
  min-height: 38px;
  font-size: 16px;
  padding: 0 10px;
}

.select + .textType,
.textType + .textType {
margin-top: 20px;
}

.textType_Box:not(:first-child) .text_h,
.textType_Box:not(:first-child) .textType {
    margin-top: 20px;
}
textarea {
  border: none;
  outline: none;
  padding: 10px;
  width: 100%;
  max-width: 100%;
  line-height: 1.5;
  font-size: 16px;
}

@media print, screen and (min-width:768px) {
.textType_Box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.textType_Box .text_h {
    width: 25%;
}
.textType_Box .textType {
    width: 75%;
}
}





#formWrap {
	width:95%;
	margin:0 auto;
  padding: 20px 2%;
}
table.formTable{
	width:100%;
	margin:0 auto;
	border-collapse:collapse;
}
table.formTable td,table.formTable th{
	border:1px solid #ccc;
	padding: 16px 10px;
}
table.formTable th{
	width:100%;
	font-weight:normal;
	background:#efefef;
  position: relative;
  text-align: left;
}
table.formTable th p.must {
  position: absolute;
  top: 19px;
  right: 4px;
  background: #2A7C6F;
  color: #FFFFFF;
  font-size: 12px;
  width: 3rem;
  border-radius: 4px;
  text-align: center;
  margin-bottom: 0;
}
table.formTable th, table.formTable td {
	width:auto;
	display:block;
}
form input[type="text"], form textarea {
	width:100%;
	padding:5px;
	font-size: 1rem;
	display:block;
}
 form 
input[type="button"] {
	display:block;
	width:100%;
	height:40px;
}
form input[type="submit"], form input[type="reset"] {
	display:block;
  margin: 0 auto;
  color: #2A7C6F;
  width: 100%;
    height: 100%;
    padding: 15px;
    cursor: pointer;
    font-size: 16px;
  background: #ffffff;
  border: none;
}
.btnBottom {
  margin: 40px auto;
  display: flex;
  gap: 20px;
  flex-direction: column;
}
.btnBottom .btn {
    width: 240px;
    display: block;
    margin: 0 auto;
    background: #ffffff;
    text-align: center;
    border: 1px solid #707070;
}

.menuBox {
  display: flex;
  flex-wrap: wrap;
}
.menuBox p {
  width: calc(100% / 2);
  margin-bottom: 15px;
}
.menuBox p:last-child ,
.menuBox.mb_none p {
  margin-bottom: 0;
}
.textType {
    border: 1px solid #9e9e9e;
}

.thanks {
  margin: 40px 2%;
  padding: 50px 20px 60px;
  background: url("../img/thanks.jpg") no-repeat;
  background-size: cover;
  background-position: top center;
}
.thanks h3 {
  width: 60%;
  margin: 0 auto 20px;
}
.thanks p {
  text-align: center;
}
.row_rgt a {
  color: #2a7c6f;
}
@media print, screen and (min-width:768px) {
#formWrap {
    width: 92%;
    margin: 0 auto;
    padding: 40px 4%;
}
table.formTable tr {
    display: flex;
    flex-wrap: row;
  }
table.formTable th {
    width: 30%;
    display: inline-block;
}
table.formTable td {
  width: calc(100% - 30%);
  padding: 16px 20px;
}
  
table.formTable th p.must {
    right: 8px;
}
.btnBottom {
    gap: 40px;
    flex-direction: row;
    justify-content: center;
}
.btnBottom .btn {
    margin: 0;
}
input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
  background: linear-gradient(295deg,rgba(8, 116, 156, 1) 0%, rgba(82, 188, 191, 1) 100%);
  color: #ffffff;
}
.thanks {
  margin: 80px 4%;
  width: 92%;
    padding: 80px 20px 100px;
}
.thanks h3 {
    width: 30%;
    margin: 0 auto 50px;
}
.toi_row {
    max-width: 900px;
}
}
@media print, screen and (min-width:960px) {
.thanks {
  margin: 80px auto;
  max-width: 960px;
}
}


.privacy {
  margin-top: 20px;
}
#popup  {
  display: none;
}
.popup-open {
  cursor: pointer;
  color: #2A7C6F;
  position: relative;
  padding-left: 20px;
  margin-top: 20px;
}
.popup-open::before {
    content: "\f35a";
    font-family: "Font Awesome 5 Free";
    position: absolute;
    top: 0;
    left: 0;
    color: #2A7C6F;
    font-weight: 900;
}
.popup-overlay {
  display: none;
}
#popup:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
.popup-window {
  width: 90%;
  max-width: 720px;
  padding: 20px;
  text-align: center;
  background-color: #ffffff;
  border-radius: 6px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.box-scroll {
    height: 50vh;
    overflow: auto;
    padding: 10px 20px 10px 10px;
    border: solid 1px #747474;  
    }
.popup-text ,
.popup-window p{
  margin: 0 0 1rem 0;
  text-align: left;
  font-size: .85rem;
}
.popup-text:not(:last-of-type) {
  margin-bottom: 1em;
 text-align: left;
    font-size: .85rem;
}
.popup-window h4 {
  text-align: left;
}
.popup-close {
  position: absolute;
  top: -62px;
  right: 10px;
  transition: all 300ms;
  font-size: 40px;
  line-height: inherit;
  font-weight: bold;
  text-decoration: none;
  color: #FFFFFF;
  padding: 2px;
}
.img_S {
  width: 120px;
}
.img_L {
  width: 100%;
}
@media screen and (min-width: 768px) {
.popup-close {
    position: absolute;
    top: -48px;
    right: 0;
    transition: all 300ms;
    font-size: 30px;
}
.popup-window {
  width: 720px;
}
}