@charset "UTF-8";

@import url("reset.css");

.grecaptcha-badge {
visibility: hidden;
}
::placeholder{
color:#ccc;
}



#form p {
font-size: 18px;
line-height: 1.5em;
margin: 1em 0 0 0;
}
#form h4 {
line-height: 1.5em;
letter-spacing: .2em;
font-weight: 700;
border-bottom: 1px solid #ccc;
margin: 0 0 2rem 0;
padding-bottom: 0.5rem;
 font-size: clamp(1.125rem, 1.031rem + 0.47vw, 1.5rem); /*24-18*/
}


#form .err_msg {
    color: red;
}
#form input[type="text"]:hover,
#form textarea:hover {
border: 1px solid #666666;
}
#form input[type="text"]:focus,
#form textarea:focus {
background-color: #ffffcc;
border: 1px solid #333333;
}
#form input[type="text"],
#form input[type="tel"],
#form textarea {
border: 1px solid #999999;
padding-top: 3px;
padding-right: 3px;
padding-bottom: 3px;
padding-left: 5px;
}

.anq_required {
position: relative;
}
.anq_required:after,
.optional:after {
content:"必須";
font-size: 11px;
color: #FFF;
background-color: #F26674;
border-radius: 3px;
padding-top: 3px;
padding-bottom: 3px;
text-align: center;
line-height: 1em;
width: 3em;
position: absolute;
right: 0;  /* 右端に寄せる */
top: 50%;  /* 高さ中央に配置 */
transform: translateY(-50%);
}
.optional {}
.optional:after {
content:"任意";
background-color: #6C6C6C;
}
.form-area {
width: 100%x;
margin: 0 auto;
padding-bottom: 300px;
}
.form-area h3 {
font-size: 30px;
line-height: 1.7em;
font-weight: bold;
text-align: center;
margin: 0 0 20px 0;
}
.form-area p {
text-align: center;
font-size: 18px;
line-height: 1.7em;
}
.form-area dl,
.form-area dt,
.form-area dd {
}
.form-area dl{
margin: 1.25vw 0 8.75vw 0;
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
box-sizing: border-box;
}
.form-area dt {
text-align: left;
font-size: clamp(0.875rem, 0.844rem + 0.16vw, 1rem); /*16-14*/
line-height: 1.7em;
padding: 2%;
width: 25%;
font-weight: bold;
}
.form-area dd {
font-size: clamp(0.875rem, 0.844rem + 0.16vw, 1rem); /*16-14*/
line-height: 1.7em;
padding: 2%;
text-align: left;
color: #000;
width: 75%;
}
.form-area .text_postal {
margin-bottom: 20px;
}
.form-area input[type="text"],
.form-area input[type="tel"],
.form-area textarea {
font-size: 18px;
line-height: 1.8em;
padding-left: 5px;
border: 1px solid #999999;
border-radius: 4px;
box-sizing:border-box;
}
.form-area input[type="text"]:focus,
.form-area textarea:focus {
background-color: #ffffcc;
border: 1px solid #333333;
}
.form-area select {
border: 1px solid #999999;
font-size: 18px;
border-radius: 6px;
padding: 0.5em;
}
.form-area label {
cursor: pointer;
margin-right: 15px;
}
/******************************************************** チェック・セレクトボックス設定 */
input[type=radio],
input[type=checkbox] {
display: none;
}
.radio,
.checkbox {
box-sizing: border-box;
-webkit-transition: background-color 0.2s linear;
transition: background-color 0.2s linear;
position: relative;
display: inline-block;
padding: 12px 12px 12px 42px;
border-radius: 8px;
background-color: #f6f7f8;
vertical-align: middle;
cursor: pointer;
}
.radio:hover,
.checkbox:hover {
background-color: #FFD1D9;
}
.radio:hover:after,
.checkbox:hover:after {
border-color: #FF6600;
}
.radio:after,
.checkbox:after {
-webkit-transition: border-color 0.2s linear;
transition: border-color 0.2s linear;
position: absolute;
top: 45%;
left: 12px;
display: block;
margin-top: -8px;
width: 20px;
height: 20px;
border: 2px solid #bbb;
border-radius: 100vh;
content: '';
}
.radio:before {
-webkit-transition: opacity 0.2s linear;
transition: opacity 0.2s linear;
position: absolute;
top: 50%;
left: 18px;
display: block;
margin-top: -6px;
margin-left: -2px;
width: 12px;
height: 12px;
border-radius: 50%;
background-color: #FF3808;
content: '';
opacity: 0;
}
input[type=radio]:checked + .radio:before {
opacity: 1;
}
.checkbox:before {
-webkit-transition: opacity 0.2s linear;
transition: opacity 0.2s linear;
position: absolute;
top: 46%;
left: 20px;
display: block;
margin-top: -7px;
width: 7px;
height: 12px;
border-right: 3px solid #FF3808;
border-bottom: 3px solid #FF3808;
content: '';
opacity: 0;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
input[type=checkbox]:checked + .checkbox:before {
opacity: 1;
}
/******************************************************** チェック・セレクトボックス設定 */
.accept_ck {
margin-bottom: 2rem;
}

#submit {
text-align: center;
}
#submit .css_btn_class {
  font-size: clamp(1.125rem, 1.031rem + 0.47vw, 1.5rem); /*24-18*/
line-height: 1.5em;
padding-left: 50px;
font-weight: bold;
margin: 20px auto 30px auto;
padding: 1rem 4rem;
border-radius: 6px;
background-color: #F26674;
background-clip: padding-box;
border: none;
color: #FFF;
touch-action: manipulation;
}
#submit .css_btn_class:active {
  position: relative;
  top: 1px;
}
#submit .css_btn_class:hover {
background-image: -webkit-linear-gradient(top, #B74959, #702D3A);
background-image: linear-gradient(top, #B74959, #702D3A);
}
.button {
  display: inline-block;
  padding: 20px 30px;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/******************************************************** プライバシーポリシー */
#contents #privacy {
text-align: left;
padding-top: 30px;
width: 100%;
margin: 0px auto 8vw auto;
}

#privacy .title {
position:relative;
margin:0;
 font-size: clamp(0.75rem, 0.688rem + 0.31vw, 1rem); /*16-12*/
color: #333;
line-height: 1.5em;
text-align: center;
padding: 0.5em;
margin-bottom: 2rem;
}
#privacy .title.active {
border-bottom: none;
}
#privacy .title .tg-toggle {
display: block;
vertical-align: middle;
color: #919191;
line-height: 1;
width: 1.2em;
height: 0.25em;
background: #919191;
position: relative;
float: right;
margin-top: 10px;
right: 10px;
}
#privacy .title .tg-toggle::before {
content: '';
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
background: inherit;
border-radius: inherit;
transform: rotate(90deg);
}
#privacy .title.active .tg-toggle {
display: block;
vertical-align: middle;
color: #919191;
position: relative;
width: 18px;
height: 18px;
background: none;
margin-top: 2px;
}
#privacy .title.active .tg-toggle::before,
#privacy .title.active .tg-toggle::after { /* 共通設定 */
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 4px; /* 棒の幅（太さ） */
height: 18px; /* 棒の高さ */
background: #919191;
}
#privacy .title.active .tg-toggle::before {
transform: translate(-50%,-50%) rotate(45deg);
}
#privacy .title.active .tg-toggle::after {
transform: translate(-50%,-50%) rotate(-45deg);
}


#form #privacy .privacy_contents {
padding: 1em 2em 2em 2em;
margin-bottom: 4rem;
overflow-y: auto;
height: 400px;
background-color: #f9f9f9;
border: solid 1px #919191;
}
#form #privacy h5 {
font-size: clamp(0.875rem, 0.813rem + 0.31vw, 1.125rem);/*18-14*/
line-height: 1.5em;
font-weight: bold;
color: #fff;
margin: 1rem 0 2rem 0;
background: #606060;
padding: 1rem;
}
#form #privacy h6 {
font-size: 18px;
line-height: 1.5em;
font-weight: bold;
margin: 1.5em auto 0.2em auto;
}
#form #privacy p {
 font-size: clamp(0.75rem, 0.688rem + 0.31vw, 1rem); /*16-12*/
line-height: 1.7em;
margin-bottom: 1em;
text-align: left;
}
#form #privacy ul {
margin-bottom: 1em;
}

#privacy  dl {
text-align: left;
margin-bottom: 2rem;
}
#privacy  dt {
width: 100%;
font-weight: bold;
padding-bottom: 0.5rem;
margin: 0 0 0.5rem 0 ;
border-bottom: solid 1px #ccc;
 font-size: clamp(0.75rem, 0.688rem + 0.31vw, 1rem); /*16-12*/
}
#privacy  dd {
width: 100%;
margin: 0;
padding: 0;
 font-size: clamp(0.75rem, 0.688rem + 0.31vw, 1rem); /*16-12*/
}

/******************************************************** サンクスページ */

#thanks {
text-align: center;
}
#thanks h2 {
margin-bottom: 2rem;
}
#thanks p.thanks {
font-size: 32px;
line-height: 1.5em;
font-weight: bold;
color: #F00;
margin: 50px 0 30px 0;
}
#thanks p {
font-size: 18px;
line-height: 1.8em;
color: #000;
padding-bottom: 1rem;
margin-top: 1rem;
}
#thanks address {
font-style: normal;
font-size: 18px;
line-height: 1.7em;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #CCC;
padding: 20px 0 0 0;
margin: 40px 0 0 0;
}
#contact {
height: 200px;
margin-bottom: 4rem;
}
p.totop {
margin: 4rem 0!important;
}
@media screen and (max-width:768px) {
#contact {
height: 200px;
margin-bottom: 2rem;
}
}
/******************************************************** タブレット設定 */

@media screen and (min-width:769px)and (max-width:1024px) {


}

@media screen and (min-width:521px) and (max-width:768px) {

}

/******************************************************** スマホ用設定 */

@media screen and (max-width:520px) {
.form-area {
font-size: 16px;
padding-bottom: 100px;
}
.form-area input[type="text"], .form-area input[type="tel"], .form-area textarea {
    font-size: 16px;
}
.form-area dt,.form-area dt {
font-size: 16px;
margin-top: 1.5rem;
margin-bottom: 0.5rem;
font-weight: bold;
}
.form-area dt,.form-area dd {
font-size: 16px;
width: 100%;
padding: 0;
}
#privacy .title {
font-size: 16px;
}
#form #privacy .privacy_contents {
padding: 1rem;
}
#form #privacy h5,#form #privacy p {
font-size: 14px;
}
.form-area label {
font-size: 14px;
}
#thanks {
width: 90%;
padding: 0;
margin: 2rem auto 4rem;
}
#thanks h2 {
line-height: 1.8em;
}
#thanks p {
font-size: 16px;
}

}