/* ヘッダー */

@import url('https://fonts.googleapis.com/css2?family=Corinthia&display=swap');


.form-top{
  padding: 1em 1.5em;
  background: linear-gradient(to bottom, #FFE5C4 55%, #FFF7D8); /*←ここのカラーコードを変える（背景色）*/
  padding: 10px 0 30px;
}
.form-top .form-top-left{
  padding-top: 0;
}

.form-top .form-top-left p{
  background: #FEF6D7; /*←ここのカラーコードを変える（背景色）*/
  border-radius: 8px;
  padding: 25px 16px;
  box-shadow: 0 0 0 7px #fff;
  position: static;
  margin: 0 40px;
}

.form-top .form-top-left h3{
  width: 100%;
  padding: 20px;
  background: #fff;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  box-shadow: 0 5px 0 5px #fff,0 -5px 0 5px #fff;
}
.form-top .form-top-left h3::before{
  content: 'Welcome to PANDAFUL';
  font-family: 'Corinthia', cursive;
  display: block;
  color: rgb(214,214,214);
  text-align: center;
  font-size: 32px;
  letter-spacing: 0.05em;
  font-weight: 400;
  margin-bottom: 15px;
}

.form-top .form-top-left h3::after{
  content: '';
  display: block;
  width: 150px;
  height: 10px;
  background: #FFE0D6;
  margin: 30px auto ;
}


/* フォーム下全体 */
.form-editor{
  opacity: 0;
  animation: fadeIn 1s .5s forwards;
}
@keyframes fadeIn {
  0%{
    opacity: 0;
    transform: translateY(5px);
  }
  100%{
    opacity: 1;
    transform: translateY(0);
  }

}

/* 背景画像 */

/* リンクの色 */
a{
  color: #eab4b5; /*←ここのカラーコードを変える（文字色）*/
}


/* 見出しを初期化 */
.description-md-title{
  display: flex;
  background-color: initial;
  color: initial;
  padding: initial;
  margin: initial;
  box-shadow: initial;
}

/* 中見出し */
h4.description-md-title{
  color: #666;  /*←ここのカラーコードを変える（文字色）*/
  text-align: center;
  flex-direction: column;
  letter-spacing: 0.05em;
  margin-bottom: 2.5em;
  margin-top: 2em;
}

h4.description-md-title::after{
  content: '▼▲▼▲▼▲';
  letter-spacing: 1em;
  color: #FFE0D6;  /*←ここのカラーコードを変える（文字色）*/
  display: block;
  margin-top: 20px;
}

/* 小見出し */
h5.description-title{
  padding-bottom: 7px;
  border-bottom: 5px dotted  #C5DCE3;  /*←ここのカラーコードを変える*/
  font-weight: bold;
}



/* ボタン */
.btn{
  background: #eab4b5;  /*←ここのカラーコードを変える（背景色）*/
  border-color: #eab4b5; /*←ここのカラーコードを変える（枠色）*/
  padding: 16px;
  border-radius: 100rem;
  overflow: hidden;
  position: relative;
}
.btn-primary:hover{
  border-color: #eab4b5; /*←ここのカラーコードを変える（枠色）*/
}
.btn-primary:hover{
  background: #eab4b5;  /*←ここのカラーコードを変える（背景色）*/
}

.btn::after{
  content: '';
  position: absolute;
  top: -10%;
  left: -20%;
  width: 40px;
  height: 100%;
  transform: scale(2) rotate(20deg);
  background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, .5) 100%, rgba(255, 255, 255, 0) 0%);

  /* アニメーション */
  animation-name: shiny;
  animation-duration: 2.5s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes shiny {
  0% {
      transform: scale(0) rotate(25deg);
      opacity: 0;
  }

  50% {
      transform: scale(1) rotate(25deg);
      opacity: 1;
  }

  100% {
      transform: scale(50) rotate(25deg);
      opacity: 0;
  }
}



/* フォームのカスタマイズ */
/* テキスト入力 */
.form-control{
  border-color: #eab4b5; /*←ここのカラーコードを変える*/
}
.form-control:focus{
  border-color: #eab4b5; /*←ここのカラーコードを変える*/
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(242 156 159 / 60%);
}

/* ラジオボタン */
.radio-inline input[type=radio]:after, .radio input[type=radio]:after, input[type=radio]:after{
  border-color: #eab4b5; /*←ここのカラーコードを変える*/
}
.radio-inline input[type=radio]:before, .radio input[type=radio]:before, input[type=radio]:before{
  background-color: #eab4b5; /*←ここのカラーコードを変える*/

}
.radio-inline input[type=radio]:checked:after, .radio input[type=radio]:checked:after, input[type=radio]:checked:after{
  border-color: #eab4b5; /*←ここのカラーコードを変える*/
}

/* チェックボックス */
.checkbox-inline input[type=checkbox]:after, .checkbox input[type=checkbox]:after, input[type=checkbox]:after{
  border-color: #eab4b5; /*←ここのカラーコードを変える*/
}
.checkbox-inline input[type=checkbox]:checked:after, .checkbox input[type=checkbox]:checked:after, input[type=checkbox]:checked:after{
  background-color: #eab4b5; /*←ここのカラーコードを変える*/
}
.checkbox-inline input[type=checkbox]:checked:after, .checkbox input[type=checkbox]:checked:after, input[type=checkbox]:checked:after,.checkbox-inline input[type=checkbox]:focus:after, .checkbox input[type=checkbox]:focus:after, input[type=checkbox]:focus:after{
  border-color: #eab4b5; /*←ここのカラーコードを変える*/
}

/* 入力後の文字色 */

.has-success .checkbox, .has-success .checkbox-inline, .has-success.checkbox-inline label, .has-success.checkbox label, .has-success .control-label, .has-success .help-block, .has-success .radio, .has-success .radio-inline, .has-success.radio-inline label, .has-success.radio label{
  color: inherit /*←ここのカラーコードを変える*/
}

.has-success .form-control{
  border-color: #eab4b5; /*←ここのカラーコードを変える*/
}

/* フォームラベルのアイコン */
.form-group .form-text >  label::before{
  content: '●';
  color: #eab4b5; /*←ここのカラーコードを変える*/
}
/* 必須項目のラベル */
.label-danger{
  background-color: #c25d5e; /*←ここのカラーコードを変える*/
}


@media (max-width: 767px){

  .form-bottom {
    padding: 25px 15px;
  }
}