@charset "UTF-8";
/* CSS Document */

/*
=============================
共通
=============================
*/

*, *::before, *::after { 
box-sizing: border-box;
}
#form {
 font-size: var(--font-size-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: var(--font-size-12);
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%;
margin: 0 auto;
 font-size: var(--font-size-18);
 font-weight: normal;
}
.form-area dt, .form-area dd { 
box-sizing: border-box; 
}
.form-area dl{
margin: 1rem 0 4rem 0;
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
box-sizing: border-box;
}
.form-area dt {
text-align: left;
line-height: 1.7em;
padding: 2%;
width: 25%;
}
.form-area dd {
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 {
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;
border-radius: 6px;
padding: 0.5em;
}
.form-area label {
cursor: pointer;
margin-right: 15px;
}
.form-area dd ul li {
margin-bottom: 1rem;
}
.form-area dd ul.kubun {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
width: 95%;
}
.form-area dd ul.kubun li {
width: 32%;
margin-bottom: 1rem;
}
#form .logo {
display: flex;
justify-content: center;
margin: 4rem auto 8rem;
}
#form.confirm {
margin-bottom: 8rem;
}
/*
----------------------------------------------
チェック・セレクトボックス設定 
----------------------------------------------
*/
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: #f5f5f5;
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: var(--font-size-24);
line-height: 1.5em;
padding: 1rem 6rem 1rem 6rem;
font-weight: bold;
margin: 20px auto 30px auto;
border-radius: 6px;
background-color: #dd8973;
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: #ce6e5b;
}
.button {
  display: inline-block;
  padding: 20px 30px;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/*
----------------------------------------------
プライバシーポリシー
----------------------------------------------
*/
#privacy {
text-align: left;
padding-top: 30px;
width: 100%;
margin: 0px auto 8vw auto;
}
#privacy .title {
position:relative;
margin:0;
 font-size: var(--font-size-16);
color: #333;
line-height: 1.5em;
text-align: center;
padding: 0.5em;
margin-bottom: 2rem;
}
#privacy .title.active {
border-bottom: none;
}
#privacy .privacy_contents {
padding: 1em 2em 2em 2em;
margin-bottom: 4rem;
overflow-y: auto;
height: 400px;
background-color: #f9f9f9;
border: solid 1px #919191;
}
 #privacy h5 {
 font-size: var(--font-size-18);
line-height: 1.5em;
font-weight: bold;
color: #fff;
margin: 1rem 0 2rem 0;
background: #B7AC9C;
padding: 1rem;
}
#privacy h6 {
font-size: 18px;
line-height: 1.5em;
font-weight: bold;
margin: 1.5em auto 0.2em auto;
}
#privacy p {
 font-size: var(--font-size-16);
line-height: 1.7em;
margin-bottom: 1em;
text-align: left;
}
#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: var(--font-size-16);
}
#privacy  dd {
width: 100%;
margin: 0;
padding: 0;
 font-size: var(--font-size-16);
}
/*
----------------------------------------------
サンクスページ
----------------------------------------------
*/
#thanks {
text-align: center;
}
#thanks .logo {
display: flex;
justify-content: center;
margin: 4rem auto 8rem;
}
#thanks h2 {
font-family: "Shippori Mincho", serif;
 font-size: var(--font-size-36);
margin-bottom: 4rem;
}
#thanks h2::after {
content: none;
}
#thanks p.thanks {
 font-size: var(--font-size-32);
line-height: 1.5em;
font-weight: bold;
color: #F00;
margin: 50px 0 30px 0;
}
#thanks p {
 font-size: var(--font-size-18);
line-height: 1.8em;
color: #000;
padding-bottom: 1rem;
margin-top: 1rem;
}
#thanks address {
font-style: normal;
 font-size: var(--font-size-18);
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;
}
#thanks p.totop {
margin-bottom: 8rem;
}

/*
=============================
スマホ設定
=============================
*/
@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;
}
.form-area input[type="text"],
.form-area input[type="tel"],
.form-area textarea {
padding: 5px 10px;
}

  .chance li input[type="text"] {
    width: 100% !important;
    box-sizing: border-box;
  }

#submit .css_btn_class {
padding: 1rem 4rem;
}
.form-area dd ul.kubun li {
width: 100%;
}
#thanks {
width: 90%;
padding: 0;
margin: 2rem auto 4rem;
}
#thanks h2 {
line-height: 1.8em;
}
#thanks p {
font-size: 16px;
}

}