@charset "utf-8";

.contact-txt{
    padding:0 10px;
    margin-bottom: 30px;
}
@media screen and (min-width:768px),
print {
   .contact-txt{
    padding:0 30px;
    margin:0 auto 50px;
       max-width: 900px;
}
    
}

.con-tel{
	font-size:25px;
	color:#E40C10;
}

@media screen and (min-width:768px),
print {
	.con-tel{
	font-size:35px;
	color:#E40C10;
}
}

.con-tel a{
	color:#E40C10;
}

.con-tel a:visited{
	color:#E40C10;
}

.con-tel2{
	font-size:19px;
	color:#E40C10;
}

.con-tel2 a{
	color:#E40C10;
}

.con-tel2 a:visited{
	color:#E40C10;
}

#form{
  padding-top:60px;
}
#form .con-form{
    padding:0 10px;
}

#form .con-form{
    padding:0 30px;
    max-width:900px;
    margin:auto;
}

#form .con-form li{
   margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    width:100%;
}


@media screen and (min-width: 992px),
print {
  #form .con-form li{
    flex-direction:row;
}
}

#form .con-order{
    padding:0 10px;
}

#form .con-order{
    padding:0 30px;
    max-width:900px;
    margin:auto;
}

#form .con-order li{
   margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    width:100%;
}


@media screen and (min-width: 992px),
print {
  #form .con-order li{
    flex-direction:row;
}
}

#form .con-order li:nth-child(8) {
   margin-bottom: 30px;
    display: block;
    width:100%;
}


@media screen and (min-width: 992px),
print {
  #form .con-order li{
    flex-direction:row;
}
}

#form .shiharai{
    display: block;
}

#form .shiharai-con{
   margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    width:100%;
}


@media screen and (min-width: 992px),
print {
  #form .shiharai-con{
    flex-direction:row;
}
}

#form .con-siharai{
    margin:20px 0 40px;
}


#form .con-form-name{
    margin-bottom: 7px;
}

@media screen and (min-width: 992px),
print {
  #form .con-form-name{
    margin-bottom:0;
       margin-right: 50px;
       width:25%;
} 
}

@media screen and (min-width: 992px),
print {
  #form .con-form-right{
       width:70%;
} 
}

#form input[type="text"] {
	border:#ccc 1px solid;
   font-size: 135%;
   height:40px;
    padding:7px;
    width:100%;
}

#form input[type="email"] {
	border:#ccc 1px solid;
   font-size: 100%;
   height:40px;
    padding:7px;
    width:100%;
}

#form input[type="tel"] {
	border:#ccc 1px solid;
   font-size: 100%;
    height:40px;
    padding:7px;
    width:100%;
}

#form textarea { 
	border:#ccc 1px solid;
    height:auto;
    padding:7px;
    width:100%;

}

/*
++++++++++++++++++++++++

セレクトボックス

++++++++++++++++++++++++
*/

#form .selectbox-001 {
    position: relative;
}

#form .selectbox-001::before,
#form .selectbox-001::after {
    position: absolute;
    content: '';
    pointer-events: none;
}

#form .selectbox-001::before {
    display: inline-block;
    right: 0;
    width: 2.8em;
    height: 2.8em;
    border-radius: 0 3px 3px 0;
    background-color: #2589d0;
}

#form .selectbox-001::after {
    position: absolute;
    top: 50%;
    right: 1.4em;
    transform: translate(50%, -50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
}

#form .selectbox-001 select {
    appearance: none;
    min-width: 230px;
    height: 2.8em;
    padding: .4em 3.6em .4em .8em;
    border: none;
    border-radius: 3px;
    background-color: #e6edf3;
    color: #333;
    font-size: 1em;
    cursor: pointer;
}

#form .selectbox-001 select:focus {
    outline: 2px solid #2589d0;
}

/*
++++++++++++++++++++++++

ラジオボタン

++++++++++++++++++++++++
*/

#form .radio-002 {
    display: flex;
    flex-wrap: wrap;
    gap: .3em 2em;
    border: none;
}

#form .radio-002 label {
    display: flex;
    align-items: center;
    gap: 0 .5em;
    position: relative;
    cursor: pointer;
}

#form .radio-002 label::before,
#form .radio-002 label::after {
    border-radius: 50%;
    content: '';
}

#form .radio-002 label::before {
    width: 18px;
    height: 18px;
    border: 2px solid #dee5eb;
    box-sizing: border-box;
}

#form .radio-002 label::after {
    position: absolute;
    top: 50%;
    left: 9px;
    transform: translate(-50%, -50%);
    width: 9px;
    height: 9px;
    background-color: #dee5eb;
}

#form .radio-002 label:has(:checked)::after {
    background-color: #2589d0;
    animation: anim-radio-002 .3s linear;
}

@keyframes anim-radio-002 {
    0% {
        box-shadow: 0 0 0 1px transparent;
    }
    50% {
        box-shadow: 0 0 0 10px #2589d033;
    }
    100% {
        box-shadow: 0 0 0 10px transparent;
    }
}

#form .radio-002 input {
    display: none;
}

#form .con-submit{
    margin: auto;
    width:80%;
}

@media screen and (min-width: 768px),
print {
  #form .con-submit{
    width:200px;
}
}

#form .btns{
    background:#F1F1F1;
	color:#000;
	letter-spacing: 0.5pt;
	text-decoration: none;
	border: 1px solid #E6E6E6;
    border-radius:50px;
    font-size:17px;
    padding:17px 0;
    width:100%;
} 

@media screen and (min-width: 768px)
{
  #form .btns{
width:250px;

} 
}



#form input[type="submit"] {


}

#form input[type="submit"] + input[type="button"]{
  display: inline-block;
  margin-top: 10px;
}

/*
++++++++++++++++++++++++

お知らせ

++++++++++++++++++++++++
*/
#form .form_notice{font-size: 14px;}
#form .form_notice::before{content:"●";display:inline-block;margin-right: 2px;}

/*
++++++++++++++++++++++++

エラーメッセージ

++++++++++++++++++++++++
*/
#form .error{
  display: block;
  margin-bottom: .2em;
  text-align: left;
  font-size: 14px;
  color: #c70909;
  font-weight: bold;
}
#form .error + input{
  background-color: rgb(199 9 9 / 20%);
  border-width: 2px;
  border-color: #c70909;
}
#form .error + textarea{
  background-color: rgb(199 9 9 / 20%);
  border-width: 2px;
  border-color: #c70909;
}
