@charset "utf-8";
/* CSS Document */

/*----------------------------------------------------------
 アンケート箇所　/　共通設定フォーム改変
---------------------------------------------------------- */
.form_con #open_questionary dt{
  float: none;
  width: auto;
}

.form_con #open_questionary dd{
  float: none;
  padding-left: 0;
  margin-left: auto;
}
/*----------------------------------------------------------
 MEMBER / form Input field
---------------------------------------------------------- */

/* アンケート内 */
#open_questionary input,
#open_questionary select,
#open_questionary textarea
{
	background-color: #ccc;
}
#open_questionary input:focus,
#open_questionary select:focus,
#open_questionary textarea:focus
{
	background-color: #fff;
}

#open_questionary textarea{
  margin-top: 10px;
}

/* ----- アンケート開閉 ----- */
#open_questionary{
  display: none;
  border-bottom: 1px solid #ccc;
  margin-bottom: 60px;
  padding-bottom: 60px;
}

#open_questionary .hide_box{
  background-color: #efefef;
  padding: 30px;
}
/*#open_questionary .tog_tri{
  min-width: auto;
  width: 100%;
  background-color: #fff;
  color: #2b2b2b;
  padding: 15px 39px 15px 30px;
}

#open_questionary .tog_tri:hover{
  opacity: 0.7;
}

#open_questionary .tog_tri.ban::after{
  content: "\ea43";
  -webkit-transform: translateY(-50%) rotate(0deg);
  -ms-transform: translateY(-50%) rotate(0deg);
  -o-transform: translateY(-50%) rotate(0deg);
  transform: translateY(-50%) rotate(0deg);
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all  0.5s ease;

  font-size: 120%;
}

#open_questionary .tog_tri.ban.open::after{
  -webkit-transform: translateY(-50%) rotate(-180deg);
  -ms-transform: translateY(-50%) rotate(-180deg);
  -o-transform: translateY(-50%) rotate(-180deg);
  transform: translateY(-50%) rotate(-180deg);
}*/


/*----------------------------------------------------------
 MEMBER / 規約ボックス
---------------------------------------------------------- */

#agreement{
  max-height: 100px;
  overflow-y: scroll;
  border: 1px solid #ccc;
  padding: 30px;
  font-size: 80%;
}

#agreement h3{
  font-size: 110%;
  font-weight: 400;
  margin-bottom: 5px;
}

#agreement .text{
  margin-bottom: 20px;
}

#agreement .text:last-child{
  margin-bottom: 0;
}

#agreement ul li{
  margin-bottom: 5px;
}

#agreement ul li:last-child{
  margin-bottom: 0;
}

/*---- PC ----*/
@media (min-width: 769px) {
  
}

/*---- SP ----*/
@media (max-width: 768px) {
  #agreement{
    padding: 15px;
  }
  
  #agreement{
    max-height: 35vh;
  }
}

/*----------------------------------------------------------
 MEMBER / 規約ボックス / 同意ボタン
---------------------------------------------------------- */
#agreement_check{
  display: block;
  text-align: center;
}

/* フォームカスタマイズ */

input[type=radio], input[type=checkbox] {
  display: none;
}

.radio, .checkbox {
  box-sizing: border-box;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all  0.5s ease;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  padding: 10px 12px 10px 42px;
  border-radius: 8px;
  background-color: #efefef;
  cursor: pointer;
 font-size: 16px;
}

.radio:hover, .checkbox:hover {
  background-color: #666;
  color: #fff;
}

.radio::after, .checkbox::after {
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all  0.5s ease;
  position: absolute;
  top: 50%;
  left: 15px;
  display: block;
  margin-top: -10px;
  width: 16px;
  height: 16px;
  border: 2px solid #bbb;
  border-radius: 50%;
  content: '';
}

.radio:hover::after ,
.checkbox:hover::after {
  border-color: #fff;
}

.radio::before {
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all  0.5s ease;
  position: absolute;
  top: 50%;
  left: 20px;
  display: block;
  margin-top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #2b2b2b;
  content: '';
  opacity: 0;
}

.radio:hover::before {
  background-color: #fff;
}

input[type=radio]:checked + .radio:before {
  opacity: 1;
}

.checkbox::before {
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all  0.5s ease;
  position: absolute;
  top: 50%;
  left: 21px;
  display: block;
  margin-top: -7px;
  width: 5px;
  height: 9px;
  border-right: 3px solid #2b2b2b;
  border-bottom: 3px solid #2b2b2b;
  content: '';
  opacity: 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.checkbox:hover::before {
  border-right-color: #fff;
  border-bottom-color: #fff;
}

input[type=checkbox]:checked + .checkbox:before {
  opacity: 1;
}